UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
EMegaLightsShadowMethod Namespace Reference

Enumerations

enum  Type : int { Default , RayTracing , VirtualShadowMap }
 

Detailed Description

MegaLights Shadow type for a light component.

Enumeration Type Documentation

◆ Type

Enumerator
Default 

Recommended. Uses the default MegaLights shadow method.

RayTracing 

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

VirtualShadowMap 

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