Fix gles3 shader to actually multiply specular light by rev_amount for fog calculations.

This commit is contained in:
Dominique LaSalle 2018-10-22 21:09:34 -07:00
parent b77a411258
commit f39d14dd61

View file

@ -2053,7 +2053,7 @@ FRAGMENT_SHADER_CODE
emission = emission * rev_amount + fog_color * fog_amount; emission = emission * rev_amount + fog_color * fog_amount;
ambient_light *= rev_amount; ambient_light *= rev_amount;
specular_light *rev_amount; specular_light *= rev_amount;
diffuse_light *= rev_amount; diffuse_light *= rev_amount;
} }