Ali Şahan Yalçın
DocsSettings

Setting it up

Settings

Every setting and its console variable.

Everything is under Project Settings > Plugins > Multi AO. Each setting has a console variable, so you can change it at runtime or from a scalability preset.

SettingConsole variableDefaultWhat it does
Enabledr.MultiAO.EnableonTurns the plugin on and off
Methodr.MultiAO.MethodSAO (3)Which method runs, see the Method guide
Qualityr.MultiAO.QualityHigh (2)Low, Medium, High, Epic. More samples, less noise
Radiusr.MultiAO.Radius80How far occluders reach, in cm
Intensityr.MultiAO.Intensity1How dark it gets. 0 leaves material AO untouched
Diffuse Strengthr.MultiAO.DiffuseStrength0Also darkens diffuse light, see below
Half Resolutionr.MultiAO.HalfResoffComputes AO at half resolution
Temporalr.MultiAO.TemporaloffNew noise every frame for TSR to smooth
Indirect Strengthr.MultiAO.IndirectStrength0SSILVB and SSDO colour bounce, see Indirect light
SSILVB Thicknessr.MultiAO.SSILVB.Thickness30How thick SSILVB assumes each surface is, in cm
Compatibility RulesDA_MultiAOCompatibilityWhich rules asset to use

Quality

There is no separate sample count setting. Quality sets the samples for whichever method is selected, so switching methods keeps the comparison fair.

MethodLow / Medium / High / Epic
CORTAO4 / 8 / 12 / 16 samples
SSAO, SSDO8 / 12 / 16 / 24 samples
SAO6 / 10 / 16 / 24 samples
AAO6 / 9 / 12 / 16 samples
HBAO4 / 6 / 8 / 8 directions, 4 / 4 / 6 / 8 steps each
GTAO, SSILVB1 / 2 / 3 / 4 slices, 4 / 6 / 8 / 12 steps each
HDAO8 / 16 / 24 / 32 valleys
ASSAO, CACAO, MSVOThe original's own Low to Highest presets

PBAO, Capsule AO, AO Volume and the engine switches ignore it.

Diffuse Strength

Under Screen Space GI the engine adds its diffuse light without looking at material AO, so the AO only reaches sky light and reflections and you barely see it.

Diffuse Strength also darkens the base colour by the AO. At 1 the contacts get clearly darker.

WARNING: It is not physical. It also darkens direct light in contact areas and applies AO twice to sky light. Use it when you want the look, leave it at 0 when you want correct lighting.

Half Resolution

Roughly halves the cost. The result is upsampled with a depth aware filter so edges stay sharp.

INFO: With ASSAO and CACAO, use quality Medium or higher at half resolution. Their Low quality has no edge detection and bleeds across silhouettes.

Temporal

Off, every pixel keeps the same noise pattern every frame. On, the pattern changes each frame and TSR averages it out, which cleans up noisy methods. CACAO, MSVO, HDAO and the analytic methods have no noise to change, so it does nothing for them.

Debug views

r.MultiAO.Debug:

  • 1 shows the computed AO in place of material AO.
  • 2 left half without the plugin, right half with it.
  • 3 writes the AO into base colour, so you see the raw term on lit surfaces.