unreal.LumenRayLightingModeOverride

class unreal.LumenRayLightingModeOverride

Bases: EnumBase

ELumen Ray Lighting Mode Override

C++ Source:

  • Module: Engine

  • File: Scene.h

DEFAULT: LumenRayLightingModeOverride = Ellipsis

Use the project default method

Type:

0

HIT_LIGHTING: LumenRayLightingModeOverride = Ellipsis

Calculate lighting at a hit point for GI and reflections. This will improve both GI and reflection quality, but greatly increases GPU cost, as full material and lighting will be evaluated at every hit point. Lumen Surface Cache will still be used for secondary bounces.

Type:

3

HIT_LIGHTING_FOR_REFLECTIONS: LumenRayLightingModeOverride = Ellipsis

Calculate lighting at a hit point for reflections. This will improve reflection quality, but increases GPU cost, as full material needs to be evaluated and shadow rays traced. Lumen Surface Cache will still be used for GI and secondary bounces, including GI seen in reflections.

Type:

2

SURFACE_CACHE: LumenRayLightingModeOverride = Ellipsis

Use Lumen Surface Cache for ray hit lighting. This method gives the best GI and reflection performance, but quality will be limited by how well surface cache represents given scene.

Type:

1