summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd/shaders
diff options
context:
space:
mode:
authorNumbuhFour <francesco.thefourth@gmail.com>2022-10-12 19:33:06 -0700
committerNumbuhFour <francesco.thefourth@gmail.com>2022-12-03 22:41:27 -0800
commit1b09fd5410d313a422fa37ce7eff53daea7bf6a3 (patch)
treeb92bf0397c3d255c942ffb8fa5423d76ddb8fe09 /servers/rendering/renderer_rd/shaders
parent015dc492de33a41eaeb14c0503a6be10466fe457 (diff)
Implement CAMERA_VISIBLE_LAYERS as built-in shader variable
Diffstat (limited to 'servers/rendering/renderer_rd/shaders')
-rw-r--r--servers/rendering/renderer_rd/shaders/scene_data_inc.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/renderer_rd/shaders/scene_data_inc.glsl b/servers/rendering/renderer_rd/shaders/scene_data_inc.glsl
index 048257e9ef..b57ee18521 100644
--- a/servers/rendering/renderer_rd/shaders/scene_data_inc.glsl
+++ b/servers/rendering/renderer_rd/shaders/scene_data_inc.glsl
@@ -63,7 +63,7 @@ struct SceneData {
float IBL_exposure_normalization;
bool pancake_shadows;
- uint pad1;
+ uint camera_visible_layers;
uint pad2;
uint pad3;
};