UEConsole Commands
VariableConsole VariableRenderer

r.BasePassWriteDepthEvenWithFullPrepass

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

Category: Renderer · Namespace: r

Help

0 to allow a readonly base pass, which skips an MSAA depth resolve, and allows masked materials to get EarlyZ (writing to depth while doing clip() disables EarlyZ) (default) 1 to force depth writes in the base pass. Useful for debugging when the prepass and base pass don\'t match what they render.

Usage

Unreal console (open with ~)
> r.BasePassWriteDepthEvenWithFullPrepass 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