r.Shadow.RectLightDepthBias
r.Shadow.RectLightDepthBias is a console variable in Unreal Engine 5 (UE5). See what r.Shadow.RectLightDepthBias does, its values, and how to use this cvar in the Unreal console below.
Category: Renderer · Namespace:
rHelp
Depth bias that is applied in the depth pass for shadows from rect lights. (0.03 avoids peter paning but has some shadow acne)
Usage
Unreal console (open with ~)
> r.Shadow.RectLightDepthBias 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.PreShadowFadeResolutionVarr.Shadow.PreShadowResolutionFactorVarr.Shadow.PreshadowsVarr.Shadow.PreshadowsForceLowestDetailLevelVarr.Shadow.RadiusThresholdVarr.Shadow.RecordInteractionShadowPrimitivesVarr.Shadow.RectLightReceiverBiasVarr.Shadow.RectLightSlopeScaleDepthBiasVarr.Shadow.ResolutionScaleZeroDisablesSmVarr.Shadow.ShadowMaxSlopeScaleDepthBiasVarr.Shadow.SkipCullingNaniteMeshesVarr.Shadow.SpotLightDepthBiasVar