AffectsEnvironmentalLighting#

Property in UnderwaterRenderer

Provides out-scattering based on the camera’s underwater depth.

It scales down environmental lighting (sun, reflections, ambient etc) with the underwater depth. This works with vanilla lighting, but uncommon or custom lighting will require a custom solution (use this for reference)

Declaration#

public bool AffectsEnvironmentalLighting { get; set; }