EEVEE-Next: Improve shadow bias #121088

Merged
Clément Foucault merged 13 commits from fclem/blender:eevee-next-shadow-bias-improved into main 2024-04-27 14:31:02 +02:00
1 changed files with 0 additions and 5 deletions
Showing only changes of commit d0fedfbe63 - Show all commits

View File

@ -521,11 +521,6 @@ ShadowEvalResult shadow_eval(LightData light,
/* Shadow map texel radius at the receiver position. */
float texel_radius = shadow_texel_radius_at_position(light, is_directional, P);
#ifdef GPU_FRAGMENT_SHADER
if (ivec2(gl_FragCoord.xy) == ivec2(512)) {
drw_debug_point(P, texel_radius);
}
#endif
P += shadow_pcf_offset(light, is_directional, L, Ng, texel_radius, random_pcf_2d);