fog property
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();
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.
final Fog fog = Fog();