mirror of
https://github.com/godotengine/godot.git
synced 2025-10-24 10:23:28 +00:00
Refactor shader hints
This commit is contained in:
parent
3df8296d8d
commit
cf240a7ae0
5 changed files with 334 additions and 170 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue