summaryrefslogtreecommitdiff
path: root/servers/visual
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-05-07 09:44:17 -0300
committerGitHub <noreply@github.com>2018-05-07 09:44:17 -0300
commit35322c0678edad29927adc7352003f166549a5d3 (patch)
treed937d249464150eb21e7c7c39c086054ec95e00c /servers/visual
parent38aaf78325b9507d825f067f85ce551ebc5cb850 (diff)
parent6103c8d7a36ffce4acc7a0c9d8d19f174a0d360b (diff)
Merge pull request #18677 from BastiaanOlij/add_no_blend
Add no-blend canvas item render_mode
Diffstat (limited to 'servers/visual')
-rw-r--r--servers/visual/shader_types.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/visual/shader_types.cpp b/servers/visual/shader_types.cpp
index a4053ad415..2f05f6d477 100644
--- a/servers/visual/shader_types.cpp
+++ b/servers/visual/shader_types.cpp
@@ -231,6 +231,7 @@ ShaderTypes::ShaderTypes() {
shader_modes[VS::SHADER_CANVAS_ITEM].modes.insert("blend_sub");
shader_modes[VS::SHADER_CANVAS_ITEM].modes.insert("blend_mul");
shader_modes[VS::SHADER_CANVAS_ITEM].modes.insert("blend_premul_alpha");
+ shader_modes[VS::SHADER_CANVAS_ITEM].modes.insert("blend_disabled");
shader_modes[VS::SHADER_CANVAS_ITEM].modes.insert("unshaded");
shader_modes[VS::SHADER_CANVAS_ITEM].modes.insert("light_only");