mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-03 06:39:57 +00:00
HWRasterizer: sync specular uniform for new shaders
This commit is contained in:
parent
bab30bcd6e
commit
3268cab26b
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue