UEConsole Commands
VariableConsole VariableRenderer

r.Shadow.ShadowMaxSlopeScaleDepthBias

r.Shadow.ShadowMaxSlopeScaleDepthBias is a console variable in Unreal Engine 5 (UE5). See what r.Shadow.ShadowMaxSlopeScaleDepthBias does, its values, and how to use this cvar in the Unreal console below.

Category: Renderer · Namespace: r

Help

Max Slope depth bias used for shadows for all lights Higher values give better self-shadowing, but increase self-shadowing artifacts

Usage

Unreal console (open with ~)
> r.Shadow.ShadowMaxSlopeScaleDepthBias 1

Console variables take a value. Replace 1 with the setting you need. Run it with no value to print the current one.

Related in r