diff options
| author | 2016-04-22 10:48:00 -0400 | |
|---|---|---|
| committer | 2016-04-22 10:48:00 -0400 | |
| commit | 3268cab26b49468bbab7c09e6eb8f36ed4a91158 (patch) | |
| tree | d9dad3dd629328f15d218a07e71d242fa546375d | |
| parent | Merge pull request #1436 from tfarley/hw-tex-forwarding (diff) | |
| download | yuzu-3268cab26b49468bbab7c09e6eb8f36ed4a91158.tar.gz yuzu-3268cab26b49468bbab7c09e6eb8f36ed4a91158.tar.xz yuzu-3268cab26b49468bbab7c09e6eb8f36ed4a91158.zip | |
HWRasterizer: sync specular uniform for new shaders
Diffstat (limited to '')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index da4121c35..30187d4cf 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp | |||
| @@ -874,6 +874,8 @@ void RasterizerOpenGL::SetShader() { | |||
| 874 | 874 | ||
| 875 | SyncGlobalAmbient(); | 875 | SyncGlobalAmbient(); |
| 876 | for (int light_index = 0; light_index < 8; light_index++) { | 876 | for (int light_index = 0; light_index < 8; light_index++) { |
| 877 | SyncLightSpecular0(light_index); | ||
| 878 | SyncLightSpecular1(light_index); | ||
| 877 | SyncLightDiffuse(light_index); | 879 | SyncLightDiffuse(light_index); |
| 878 | SyncLightAmbient(light_index); | 880 | SyncLightAmbient(light_index); |
| 879 | SyncLightPosition(light_index); | 881 | SyncLightPosition(light_index); |