diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-04 16:52:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 16:52:27 +0100 |
commit | 3a5a3473beda4e5f195bdb3e492f90119802385f (patch) | |
tree | 8b46e08f2fd297e401c2c133ec73fbf9ba54c67f /servers/rendering/renderer_rd/forward_clustered | |
parent | cd91f91d40e5c8b3c7c452a7f31d898ef8d5297a (diff) | |
parent | dbe366a830ca56e047680d1524479e87e2ba5db4 (diff) |
Merge pull request #54791 from NHodgesVFX/master
[4.x] add more OpenGL attributes
Diffstat (limited to 'servers/rendering/renderer_rd/forward_clustered')
-rw-r--r-- | servers/rendering/renderer_rd/forward_clustered/scene_shader_forward_clustered.cpp | 1 |
1 files changed, 1 insertions, 0 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 0cdcbc952d..942e78e1ff 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 @@ -531,6 +531,7 @@ void SceneShaderForwardClustered::init(RendererStorageRD *p_storage, const Strin actions.renames["COLOR"] = "color_interp"; actions.renames["POINT_SIZE"] = "gl_PointSize"; actions.renames["INSTANCE_ID"] = "gl_InstanceIndex"; + actions.renames["VERTEX_ID"] = "gl_VertexIndex"; actions.renames["ALPHA_SCISSOR_THRESHOLD"] = "alpha_scissor_threshold"; actions.renames["ALPHA_HASH_SCALE"] = "alpha_hash_scale"; |