summaryrefslogtreecommitdiff
path: root/servers/rendering/rasterizer_rd/shaders/sky.glsl
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2020-04-16 23:38:22 -0700
committerclayjohn <claynjohn@gmail.com>2020-04-17 09:32:24 -0700
commit7cd2ff309c5f1c512ed871998157f3fd19aa23ec (patch)
tree2c9b8a2513c334481f28ee3c6633af1d03e1aed4 /servers/rendering/rasterizer_rd/shaders/sky.glsl
parent30ab5c9baae1cad3e157d906395a4eb8cef77e42 (diff)
Add light size to Sky Shaders
Diffstat (limited to 'servers/rendering/rasterizer_rd/shaders/sky.glsl')
-rw-r--r--servers/rendering/rasterizer_rd/shaders/sky.glsl5
1 files changed, 2 insertions, 3 deletions
diff --git a/servers/rendering/rasterizer_rd/shaders/sky.glsl b/servers/rendering/rasterizer_rd/shaders/sky.glsl
index c6c863ec60..e4019725cb 100644
--- a/servers/rendering/rasterizer_rd/shaders/sky.glsl
+++ b/servers/rendering/rasterizer_rd/shaders/sky.glsl
@@ -96,9 +96,8 @@ layout(set = 2, binding = 2) uniform texture2D quarter_res;
#endif
struct DirectionalLightData {
- vec3 direction;
- float energy;
- vec3 color;
+ vec4 direction_energy;
+ vec4 color_size;
bool enabled;
};