fog property

Fog fog
final

Distance fog. Off by default; set Fog.enabled and a Fog.mode to turn it on. Applied per-fragment by every material in linear HDR before tone mapping, so it works on any camera type.

Implementation

final Fog fog = Fog();