We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aa37ca commit 199161fCopy full SHA for 199161f
servers/rendering/renderer_rd/shaders/environment/volumetric_fog_process.glsl
@@ -559,7 +559,7 @@ void main() {
559
vec4 v = vec4(view_pos, 1.0);
560
561
vec4 splane = (spot_lights.data[light_index].shadow_matrix * v);
562
- splane.z -= spot_lights.data[light_index].shadow_bias / (d * spot_lights.data[light_index].inv_radius);
+ splane.z -= spot_lights.data[light_index].shadow_bias;
563
splane /= splane.w;
564
565
vec3 pos = vec3(splane.xy * spot_lights.data[light_index].atlas_rect.zw + spot_lights.data[light_index].atlas_rect.xy, splane.z);
0 commit comments