summaryrefslogtreecommitdiff
path: root/servers/rendering/shader_compiler.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-06-03 17:26:18 +0200
committerGitHub <noreply@github.com>2022-06-03 17:26:18 +0200
commit361a401fbb1d35206f594be86dd4f5a1010c763a (patch)
tree8f8448b1f75cb762f95270afe968e37c659cc98d /servers/rendering/shader_compiler.cpp
parentf805ecf4e73dc186349784c14862d5519019efed (diff)
parentcf240a7ae097a36830ef1b81aa4e8d1a6910bf1c (diff)
Merge pull request #61554 from Chaosus/shader_fix_hints
Diffstat (limited to 'servers/rendering/shader_compiler.cpp')
-rw-r--r--servers/rendering/shader_compiler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering/shader_compiler.cpp b/servers/rendering/shader_compiler.cpp
index 81cd83aebb..463b67033d 100644
--- a/servers/rendering/shader_compiler.cpp
+++ b/servers/rendering/shader_compiler.cpp
@@ -571,6 +571,7 @@ String ShaderCompiler::_dump_node_code(const SL::Node *p_node, int p_level, Gene
texture.name = uniform_name;
texture.hint = uniform.hint;
texture.type = uniform.type;
+ texture.use_color = uniform.use_color;
texture.filter = uniform.filter;
texture.repeat = uniform.repeat;
texture.global = uniform.scope == ShaderLanguage::ShaderNode::Uniform::SCOPE_GLOBAL;