Skip to content
Snippets Groups Projects
Commit 3268cab2 authored by tfarley's avatar tfarley
Browse files

HWRasterizer: sync specular uniform for new shaders

parent bab30bcd
No related branches found
No related tags found
No related merge requests found
...@@ -874,6 +874,8 @@ void RasterizerOpenGL::SetShader() { ...@@ -874,6 +874,8 @@ void RasterizerOpenGL::SetShader() {
SyncGlobalAmbient(); SyncGlobalAmbient();
for (int light_index = 0; light_index < 8; light_index++) { for (int light_index = 0; light_index < 8; light_index++) {
SyncLightSpecular0(light_index);
SyncLightSpecular1(light_index);
SyncLightDiffuse(light_index); SyncLightDiffuse(light_index);
SyncLightAmbient(light_index); SyncLightAmbient(light_index);
SyncLightPosition(light_index); SyncLightPosition(light_index);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment