UEConsole Commands
VariableConsole VariableRenderer

r.AmbientOcclusionLevels

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

Category: Renderer · Namespace: r

Help

Defines how many mip levels are using during the ambient occlusion calculation. This is useful when tweaking the algorithm. <0: decide based on the quality setting in the postprocess settings/volume and r.AmbientOcclusionMaxQuality (default) 0: none (disable AmbientOcclusion) 1: one 2: two (costs extra performance, soft addition) 3: three (larger radius cost less but can flicker)

Usage

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