godRays property

GodRaysSettings godRays
final

Directional volumetric god rays. Off by default; set GodRaysSettings.enabled to turn them on. Requires a shadow-casting DirectionalLight and a PerspectiveCamera (they march the cascaded shadow map against the camera depth); skipped otherwise.

Implementation

final GodRaysSettings godRays = GodRaysSettings();