Fog
Fog is not creatable, there's only one instance of it. It can only be accessed through its globally exposed variable.
Fog is a shortcut to Client.Fog.
Fog gives control over distance fog settings.
Properties
Distance at which Fog ends. (in blocks)
Fog.Far = 100
-- both near and far can be set at once this way Fog.Near, Fog.Far = 50, 100
Fog absorption factor regarding light emissive blocks.
0.0 ➡️ the color can 100% be seen through the fog.
1.0 ➡️ the color is totally absorbed, like any other block.
Fog.LightAbsorption = 0.1