summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2022-05-03 13:28:15 -0700
committerclayjohn <claynjohn@gmail.com>2022-05-11 21:00:21 -0700
commit2bf8831dd62c7ef4977a23e93cb58a9d1f929bd9 (patch)
treefe3f4d9aac90e07c097d715a8a868569fd87e332 /servers/rendering/renderer_rd
parent3bb8e6a9feb22049310ae0111e57113c08d3292c (diff)
SceneShader compiling
Diffstat (limited to 'servers/rendering/renderer_rd')
-rw-r--r--servers/rendering/renderer_rd/shaders/light_data_inc.glsl32
1 files changed, 1 insertions, 31 deletions
diff --git a/servers/rendering/renderer_rd/shaders/light_data_inc.glsl b/servers/rendering/renderer_rd/shaders/light_data_inc.glsl
index 61c8488a05..a3bfb59f92 100644
--- a/servers/rendering/renderer_rd/shaders/light_data_inc.glsl
+++ b/servers/rendering/renderer_rd/shaders/light_data_inc.glsl
@@ -50,34 +50,4 @@ struct ReflectionData {
// notes: for ambientblend, use distance to edge to blend between already existing global environment
};
-struct DirectionalLightData {
- mediump vec3 direction;
- mediump float energy;
- mediump vec3 color;
- mediump float size;
- mediump float specular;
- uint mask;
- highp float softshadow_angle;
- highp float soft_shadow_scale;
- bool blend_splits;
- bool shadow_enabled;
- highp float fade_from;
- highp float fade_to;
- uvec2 pad;
- uint bake_mode;
- mediump float shadow_volumetric_fog_fade;
- highp vec4 shadow_bias;
- highp vec4 shadow_normal_bias;
- highp vec4 shadow_transmittance_bias;
- highp vec4 shadow_z_range;
- highp vec4 shadow_range_begin;
- highp vec4 shadow_split_offsets;
- highp mat4 shadow_matrix1;
- highp mat4 shadow_matrix2;
- highp mat4 shadow_matrix3;
- highp mat4 shadow_matrix4;
- highp vec2 uv_scale1;
- highp vec2 uv_scale2;
- highp vec2 uv_scale3;
- highp vec2 uv_scale4;
-};
+uv_scale1