diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-26 08:24:45 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-26 08:24:45 +0200 |
commit | 5ae6379e5d1ec8d6ea53a2bd04f4302f0fe312ad (patch) | |
tree | d90231d91528d90b96506579f9ed6932d1d85b21 /servers/rendering/renderer_rd/shaders | |
parent | d437a5858e5456e49cf882b3c177d0960fa7c9b4 (diff) | |
parent | 125f0be8b716978d639b49b873eb215eebe859e9 (diff) |
Merge pull request #66394 from bitbrain/fix-unshaded-canvas-modulate
Fix Unshaded CanvasItem for Vulkan
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 |