summaryrefslogtreecommitdiff
path: root/drivers/gles3
diff options
context:
space:
mode:
authorDominique LaSalle <dominique@solidlake.com>2018-10-22 21:09:34 -0700
committerDominique LaSalle <dominique@solidlake.com>2018-10-22 21:09:34 -0700
commitf39d14dd61b56b86455d11e71ef81b89cc048926 (patch)
tree46b381b3dbb8f07a6316ad23d6e879b3fb7111fa /drivers/gles3
parentb77a41125847633509a2af7d2e693ebdd4c35c01 (diff)
Fix gles3 shader to actually multiply specular light by rev_amount for fog calculations.
Diffstat (limited to 'drivers/gles3')
-rw-r--r--drivers/gles3/shaders/scene.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/shaders/scene.glsl b/drivers/gles3/shaders/scene.glsl
index 8388b15edb..91ab34f775 100644
--- a/drivers/gles3/shaders/scene.glsl
+++ b/drivers/gles3/shaders/scene.glsl
@@ -2053,7 +2053,7 @@ FRAGMENT_SHADER_CODE
emission = emission * rev_amount + fog_color * fog_amount;
ambient_light *= rev_amount;
- specular_light *rev_amount;
+ specular_light *= rev_amount;
diffuse_light *= rev_amount;
}