unreal.MegaLightsShadowMethod

class unreal.MegaLightsShadowMethod

Bases: EnumBase

MegaLights Shadow type for a light component.

C++ Source:

  • Module: Engine

  • File: EngineTypes.h

DEFAULT: MegaLightsShadowMethod = Ellipsis

Recommended. Uses the default MegaLights shadow method.

Type:

0

RAY_TRACING: MegaLightsShadowMethod = Ellipsis

Preferred method, which guarantees fixed MegaLights cost and correct area shadows, but is dependent on the BVH representation quality.

Type:

1

VIRTUAL_SHADOW_MAP: MegaLightsShadowMethod = Ellipsis

Has a significant per light cost, but can cast shadows directly from the Nanite geometry using rasterization.

Type:

2