![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Enumerations | |
| enum | Type : int { Default , RayTracing , VirtualShadowMap } |
MegaLights Shadow type for a light component.
| 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. |