diff options
author | Miguel Gonzalez Sanchez <822035+bitbrain@users.noreply.github.com> | 2022-09-25 12:13:46 +0100 |
---|---|---|
committer | Miguel Gonzalez Sanchez <822035+bitbrain@users.noreply.github.com> | 2022-09-25 12:13:46 +0100 |
commit | 125f0be8b716978d639b49b873eb215eebe859e9 (patch) | |
tree | 5e633a4216747d497b3db0ef1064d26799aa4177 /servers/rendering/renderer_rd/shaders | |
parent | 15ac442247b2b45ae0e2900d18f26e5b82e6c011 (diff) |
do not apply modulate on canvas when unshaded is set
Diffstat (limited to 'servers/rendering/renderer_rd/shaders')
-rw-r--r-- | servers/rendering/renderer_rd/shaders/canvas.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/renderer_rd/shaders/canvas.glsl b/servers/rendering/renderer_rd/shaders/canvas.glsl index 459d798a80..a3734a7218 100644 --- a/servers/rendering/renderer_rd/shaders/canvas.glsl +++ b/servers/rendering/renderer_rd/shaders/canvas.glsl @@ -597,7 +597,7 @@ void main() { #ifdef MODE_LIGHT_ONLY color = vec4(0.0); -#else +#elif !defined(MODE_UNSHADED) color *= canvas_data.canvas_modulation; #endif |