diff options
author | clayjohn <claynjohn@gmail.com> | 2023-02-03 15:40:19 -0800 |
---|---|---|
committer | clayjohn <claynjohn@gmail.com> | 2023-02-03 15:40:42 -0800 |
commit | dfbf4390816bee93b373549afc125969d9f13d17 (patch) | |
tree | 80c24bdaa604fb54dc3c9158eb801930c26d3469 /drivers/gles3/shaders | |
parent | b0598dcdb7cd96e2614b687a57a64ce12245e19e (diff) |
Avoid shading CanvasGroup nodes twice
Diffstat (limited to 'drivers/gles3/shaders')
-rw-r--r-- | drivers/gles3/shaders/canvas.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/shaders/canvas.glsl b/drivers/gles3/shaders/canvas.glsl index 1631c65385..12a8302231 100644 --- a/drivers/gles3/shaders/canvas.glsl +++ b/drivers/gles3/shaders/canvas.glsl @@ -645,7 +645,7 @@ void main() { #ifdef MODE_LIGHT_ONLY color = vec4(0.0); -#else +#elif !defined(MODE_UNSHADED) color *= canvas_modulation; #endif |