diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-04-03 14:36:10 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-04-03 14:36:10 -0300 |
commit | 5d99e15e43d5a446b35d48e8a3b08a478f1998a9 (patch) | |
tree | 73fbf9ba2efe825815a56a73dd3c2828a34fbc64 /drivers/gles2/shaders | |
parent | 9fa1698c7420bae2c6353bf300ce2cdb73434bf6 (diff) |
fix shadow issue with lights in mix mode, i think fixes #1611
Diffstat (limited to 'drivers/gles2/shaders')
-rw-r--r-- | drivers/gles2/shaders/canvas.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles2/shaders/canvas.glsl b/drivers/gles2/shaders/canvas.glsl index bb47de6688..c4f0847870 100644 --- a/drivers/gles2/shaders/canvas.glsl +++ b/drivers/gles2/shaders/canvas.glsl @@ -369,7 +369,7 @@ LIGHT_SHADER_CODE #if defined(USE_LIGHT_SHADOW_COLOR) color=mix(shadow_color,color,shadow_attenuation); #else - color.rgb*=shadow_attenuation; + color*=shadow_attenuation; #endif //use shadows #endif |