Hello!
I’ve been trying to resolve an issue where I’m seeing shadow “popping” between resolutions on some assets as the camera pulls out. It should be noted that I’m not particularly worried about performance.
The light is a stationary pointlight, with these modified properties (attached, not sure how to embed image in this message)
The prop is moveable and has no LODs (looks like lod popping at first)
I’m a bit new to light setting, so any help much appreciated!
Dang… there’s no way to push the cascade distance? The shadow needs to stay animated, as the light material flickers causing the shadow to flicker (a desired result)
its not a shadow cascade problem. it’s the the default per-object shadows. they cannot transition smoothly like cascades.
Use Cascaded Shadow Maps if you want a smoother transition. or you can play around with
r.Shadow.MinResolution
r.Shadow.MaxResolution
r.Shadow.FadeResolution
r.Shadow.FadeExponent
r.Shadow.minRadius
This can be fixed easily tho, if you have the performance. Put your min resolution to 1024.
This will force the shadows to stay sharp at a1/4 level of maximum.
Fade resolution and exponent did nothing for me and you shouldnt play around with these bc they break under lower settings.
and also
r.Shadow.MinResolution=2048
r.Shadow.MaxResolution=2048
into my defaultEngine.ini , also just in the editor prompt (also tried sticking them in defaultEditor and defaultGame… because I’m flailing around wildly), but they don’t seem to make any difference. Am I doing something dumb?
Necro Answering this for UE 5.3 because of a lack of clear, concise information on this topic when you google for ‘Dynamic Shadows Popping’. (Lumen Disabled)
In order to cleanly fade out dynamic directional shadows r.Shadow.FadeResolution must be LARGER than r.Shadow.MinResolution. The fading starts at the FadeResolutionvalue, and is complete when the occupied onscreen texels are less than or equal to the MinResolution value.
You can use r.Shadow.FadeExponent to control the speed at which the fade occurs. (slower < 1.0, default: 1.0, faster > 1.0)
You’ll want to fine tune these parameters in your [ShadowQuality@#] Scalability Groups for the specific visual fidelities and distances you desire.