UEConsole Commands
VariableConsole VariableRenderer

r.Shadow.DetectVertexShaderLayerAtRuntime

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

Category: Renderer · Namespace: r

Help

Forces the compilation of the vslayer shader permutation even if the platform (RHI) does not declare compile-time support through RHISupportsVertexShaderLayer.Enabled by default for windows/SM5 as DX11 almost universally supports this at runtime.

Usage

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