add basic test texture

This commit is contained in:
erwin coumans
2014-01-17 22:19:12 -08:00
parent 1a507cca52
commit ec4292ad75
9 changed files with 80 additions and 59 deletions

View File

@@ -1563,8 +1563,8 @@ void GLInstancingRenderer::renderSceneInternal(int renderMode)
b3Assert(err==GL_NO_ERROR);
} else
{
glEnable(GL_CULL_FACE);
glCullFace(GL_BACK);
glDisable(GL_CULL_FACE);
//glCullFace(GL_BACK);
}
static b3Vector3 lightPos = b3MakeVector3(-5.f,200,-40);//20,15,10);//-13,6,2);// = b3Vector3(0.5f,2,2);