mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 22:21:18 +00:00
Fix instance uniform typo
This commit is contained in:
parent
d5f9f58b61
commit
96fa2ee2a0
1 changed files with 1 additions and 1 deletions
|
|
@ -749,7 +749,7 @@ void SceneShaderForwardClustered::init(RendererStorageRD *p_storage, const Strin
|
||||||
actions.default_filter = ShaderLanguage::FILTER_LINEAR_MIPMAP;
|
actions.default_filter = ShaderLanguage::FILTER_LINEAR_MIPMAP;
|
||||||
actions.default_repeat = ShaderLanguage::REPEAT_ENABLE;
|
actions.default_repeat = ShaderLanguage::REPEAT_ENABLE;
|
||||||
actions.global_buffer_array_variable = "global_variables.data";
|
actions.global_buffer_array_variable = "global_variables.data";
|
||||||
actions.instance_uniform_index_variable = "draw_call.instance_uniforms_ofs";
|
actions.instance_uniform_index_variable = "instances.data[instance_index].instance_uniforms_ofs";
|
||||||
|
|
||||||
compiler.initialize(actions);
|
compiler.initialize(actions);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue