summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-11-26 17:47:37 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2021-12-14 12:01:12 +0100
commite962900f2344b4ca797002ddf440625087f63291 (patch)
treebef23717366f375d967850e1556d86f6bb41b1a6 /servers/rendering/renderer_rd
parent80e292b3e019d4084b09431572bba12f87e81023 (diff)
Rename and reorder bake mode properties for consistency
The order now goes from least to most computationally expensive: - Disabled - Static - Dynamic
Diffstat (limited to 'servers/rendering/renderer_rd')
-rw-r--r--servers/rendering/renderer_rd/shaders/light_data_inc.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/rendering/renderer_rd/shaders/light_data_inc.glsl b/servers/rendering/renderer_rd/shaders/light_data_inc.glsl
index fdc7729338..52787bb204 100644
--- a/servers/rendering/renderer_rd/shaders/light_data_inc.glsl
+++ b/servers/rendering/renderer_rd/shaders/light_data_inc.glsl
@@ -1,6 +1,6 @@
#define LIGHT_BAKE_DISABLED 0
-#define LIGHT_BAKE_DYNAMIC 1
-#define LIGHT_BAKE_STATIC 2
+#define LIGHT_BAKE_STATIC 1
+#define LIGHT_BAKE_DYNAMIC 2
struct LightData { //this structure needs to be as packed as possible
highp vec3 position;