Should have been in the last commit.
This commit is contained in:
parent
416784539b
commit
47db474d4a
@ -242,6 +242,9 @@ void Graphics::render(double time)
|
|||||||
flameShader->use();
|
flameShader->use();
|
||||||
flameShader->setUniform("viewProjectionMatrix", lightingViewProjectionMatrix);
|
flameShader->setUniform("viewProjectionMatrix", lightingViewProjectionMatrix);
|
||||||
flameShader->setUniform("time", (float) time);
|
flameShader->setUniform("time", (float) time);
|
||||||
|
flameShader->setUniform("bottom", true);
|
||||||
|
flame_positions->render();
|
||||||
|
flameShader->setUniform("bottom", false);
|
||||||
flame_positions->render();
|
flame_positions->render();
|
||||||
|
|
||||||
glDisable(GL_CULL_FACE);
|
glDisable(GL_CULL_FACE);
|
||||||
|
Loading…
Reference in New Issue
Block a user