Refactor shader hints

This commit is contained in:
Yuri Rubinsky 2022-05-31 11:44:44 +03:00
parent 3df8296d8d
commit cf240a7ae0
5 changed files with 334 additions and 170 deletions

View file

@ -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;