Skip to main content

r.MegaLights.EnableForProject

Var

Unreal Engine Var console variable.

rMegaLightsEnableForProject

Description

Whether to use MegaLights by default, but this can still be overridden by Post Process Volumes, or disabled per-light. MegaLights uses stochastic sampling to render many shadow casting lights efficiently, with a consistent low GPU cost. MegaLights requires Hardware Ray Tracing, and does not support Directional Lights. Experimental feature.

Usage

r.MegaLights.EnableForProject [value]

Set via the console (~) or in DefaultEngine.ini / DefaultGame.ini.