Ali Şahan Yalçın
DocsIndirect light

Setting it up

Indirect light

A screen space colour bounce for SSILVB and SSDO.

SSILVB and SSDO can add one bounce of coloured light: a red wall tints the floor next to it, a bright surface lights up the corner beside it.

Turn it on

code
1
2
r.MultiAO.Method 14
r.MultiAO.IndirectStrength 1

0 is off. 1 is the bounce as computed, higher exaggerates it.

When to use it

Use it with no dynamic GI. It is a cheap way to get some colour bleeding without Lumen.

WARNING: With Screen Space GI the engine already adds a bounce, so this counts it twice. With Lumen it is turned off and only the AO runs.

Limits

  • It only sees what is on screen. Light from something off screen or behind another object does not bounce.
  • It is added late, after fog and translucency, and reflections do not see it.
  • SSDO's bounce is softer than SSILVB's: it only counts the sample points that land inside geometry.

Cost

About 0.2 ms for SSILVB and 0.1 ms for SSDO on the test map, on top of the AO.