r.Shadow.Virtual.SMRT.RayLengthScaleDirectional
r.Shadow.Virtual.SMRT.RayLengthScaleDirectional is a console variable in Unreal Engine 5 (UE5). See what r.Shadow.Virtual.SMRT.RayLengthScaleDirectional does, its values, and how to use this cvar in the Unreal console below.
Category: Renderer · Namespace:
rHelp
Length of ray to shoot for directional lights, scaled by distance to camera.Shorter rays limit the screen space size of shadow penumbra. Longer rays require more samples to avoid shadows disconnecting from contact points.
Usage
Unreal console (open with ~)
> r.Shadow.Virtual.SMRT.RayLengthScaleDirectional 1Console variables take a value. Replace 1 with the setting you need. Run it with no value to print the current one.
Related in r
r.Shadow.Virtual.ShowClipmapStatsVarr.Shadow.Virtual.ShowStatsVarr.Shadow.Virtual.SMRT.AdaptiveRayCountVarr.Shadow.Virtual.SMRT.MaxRayAngleFromLightVarr.Shadow.Virtual.SMRT.RayCountDirectionalVarr.Shadow.Virtual.SMRT.RayCountLocalVarr.Shadow.Virtual.SMRT.SamplesPerRayDirectionalVarr.Shadow.Virtual.SMRT.SamplesPerRayLocalVarr.Shadow.Virtual.SMRT.TexelDitherScaleVarr.Shadow.Virtual.UseFarShadowCullingVarr.Shadow.Virtual.UseHZBVarr.Shadow.Virtual.VisualizeVar