merge
This commit is contained in:
commit
03be372af2
@ -361,7 +361,7 @@ void Mesh::draw(SceneContext &ctx) {
|
|||||||
shader.addUniform("mvp", ctx.mvpMatrix);
|
shader.addUniform("mvp", ctx.mvpMatrix);
|
||||||
shader.addUniform("NormalMatrix", ctx.normalMatrix);
|
shader.addUniform("NormalMatrix", ctx.normalMatrix);
|
||||||
shader.addUniform("ModelMatrix", ctx.modelMatrix);
|
shader.addUniform("ModelMatrix", ctx.modelMatrix);
|
||||||
|
|
||||||
glActiveTexture(GL_TEXTURE0);
|
glActiveTexture(GL_TEXTURE0);
|
||||||
glBindTexture(GL_TEXTURE_2D, textures["0"].tex_ref);
|
glBindTexture(GL_TEXTURE_2D, textures["0"].tex_ref);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user