UEConsole Commands
VariableConsole VariableRenderer

r.Shadow.Virtual.ForceOnlyVirtualShadowMaps

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

Category: Renderer · Namespace: r

Help

If enabled, disallow creation of conventional non-virtual shadow maps for any lights that get a virtual shadow map. This can improve performance and save memory, but any geometric primitives that cannot be rendered into the virtual shadow map will not cast shadows.

Usage

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