From f39d14dd61b56b86455d11e71ef81b89cc048926 Mon Sep 17 00:00:00 2001 From: Dominique LaSalle Date: Mon, 22 Oct 2018 21:09:34 -0700 Subject: Fix gles3 shader to actually multiply specular light by rev_amount for fog calculations. --- drivers/gles3/shaders/scene.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gles3') 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; } -- cgit v1.2.3