Should have been in the last commit.

This commit is contained in:
Faerbit 2015-03-01 17:04:13 +01:00
parent 416784539b
commit 47db474d4a

View File

@ -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);