UEConsole Commands
VariableConsole VariableRenderer

r.RayTracing.DebugForceOpaque

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

Category: Renderer · Namespace: r

Help

Forces all ray tracing geometry instances to be opaque, effectively disabling any-hit shaders. This is useful for debugging and profiling. (default = 0)

Usage

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