Texture Array is now working. Enjoy your single Bind().
This commit is contained in:
@@ -8,6 +8,10 @@ ShadowPassState::ShadowPassState(GLuint frameBuffer)
|
||||
Enable(GL_DEPTH_TEST);
|
||||
Enable(GL_CULL_FACE);
|
||||
Disable(GL_BLEND);
|
||||
Disable(GL_TEXTURE_2D);
|
||||
CullFace(GL_FRONT);
|
||||
ClearColor(glm::vec4(255.f, 128.f, 128.f, 128.f));
|
||||
GLERROR("---4");
|
||||
}
|
||||
|
||||
ShadowPassState::~ShadowPassState()
|
||||
|
||||
Reference in New Issue
Block a user