From 3126619aa501e0731895a0c6ced3eb2cc1e38ec5 Mon Sep 17 00:00:00 2001 From: clayjohn Date: Fri, 30 Sep 2022 14:10:46 -0700 Subject: Update Instance flags in shaders to match instance flags in engine --- .../rendering/renderer_rd/forward_clustered/render_forward_clustered.h | 1 + 1 file changed, 1 insertion(+) (limited to 'servers/rendering/renderer_rd/forward_clustered') diff --git a/servers/rendering/renderer_rd/forward_clustered/render_forward_clustered.h b/servers/rendering/renderer_rd/forward_clustered/render_forward_clustered.h index cde241f231..1e70f6880c 100644 --- a/servers/rendering/renderer_rd/forward_clustered/render_forward_clustered.h +++ b/servers/rendering/renderer_rd/forward_clustered/render_forward_clustered.h @@ -230,6 +230,7 @@ class RenderForwardClustered : public RendererSceneRenderRD { float sh[9 * 4]; }; + // When changing any of these enums, remember to change the corresponding enums in the shader files as well. enum { INSTANCE_DATA_FLAGS_NON_UNIFORM_SCALE = 1 << 4, INSTANCE_DATA_FLAG_USE_GI_BUFFERS = 1 << 5, -- cgit v1.2.3