diff options
author | Winston Hartnett <winstonhartnett@gmail.com> | 2021-05-20 21:11:40 -0500 |
---|---|---|
committer | Winston Hartnett <winstonhartnett@gmail.com> | 2021-05-20 21:11:40 -0500 |
commit | 96fa2ee2a0043d1338ae8bc0322bb40d7bbecab5 (patch) | |
tree | 2bc00ac129383fb7e88794da33a1ae2f3833748f /servers/rendering/renderer_rd/forward_clustered | |
parent | d5f9f58b61c2430ee5fae59a0366581482a3b636 (diff) |
Fix instance uniform typo
Diffstat (limited to 'servers/rendering/renderer_rd/forward_clustered')
-rw-r--r-- | servers/rendering/renderer_rd/forward_clustered/scene_shader_forward_clustered.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/renderer_rd/forward_clustered/scene_shader_forward_clustered.cpp b/servers/rendering/renderer_rd/forward_clustered/scene_shader_forward_clustered.cpp index f7ed0205af..c96c541461 100644 --- a/servers/rendering/renderer_rd/forward_clustered/scene_shader_forward_clustered.cpp +++ b/servers/rendering/renderer_rd/forward_clustered/scene_shader_forward_clustered.cpp @@ -749,7 +749,7 @@ void SceneShaderForwardClustered::init(RendererStorageRD *p_storage, const Strin actions.default_filter = ShaderLanguage::FILTER_LINEAR_MIPMAP; actions.default_repeat = ShaderLanguage::REPEAT_ENABLE; 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); } |