You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Implement global and per instance shader uniforms.
Adds two keywords to shader language for uniforms: -'global' -'instance' This allows them to reference values outside the material.
This commit is contained in:
@@ -207,6 +207,8 @@ public:
|
||||
StringName window_input;
|
||||
|
||||
StringName theme_changed;
|
||||
StringName shader_overrides_group;
|
||||
StringName shader_overrides_group_active;
|
||||
|
||||
enum {
|
||||
MAX_MATERIALS = 32
|
||||
|
||||
Reference in New Issue
Block a user