Started work on blend maps

This commit is contained in:
Tleety
2014-05-26 01:08:10 +02:00
parent e3aab96a75
commit 7d82c43df9
2 changed files with 27 additions and 2 deletions
+1
View File
@@ -781,6 +781,7 @@ void Renderer::DrawFBOScene()
glActiveTexture(GL_TEXTURE3);
glBindTexture(GL_TEXTURE_2D, *texGroup.SpecularMap);
}
//Kolla om den har blendmap, skicka då med texture 4/5/6/7
glDrawArrays(GL_TRIANGLES, texGroup.StartIndex, texGroup.EndIndex - texGroup.StartIndex + 1);
}
}