UEConsole Commands
VariableConsole VariableRenderer

r.AOSpecularOcclusionMode

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

Category: Renderer · Namespace: r

Help

Determines how specular should be occluded by DFAO 0: Apply non-directional AO to specular. 1: (default) Intersect the reflection cone with the unoccluded cone produced by DFAO. This gives more accurate occlusion than 0, but can bring out DFAO sampling artifacts.

Usage

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