Fog

Fog is a lighting feature that was added to Roblox on December 9, 2011. Its purpose is to emulate real-life fog, making games seem more realistic and appealing. The color and distance of the fog can be modified by the service. Currently, Roblox is using range fog over depth fog.
==History==
RangeFogBefore.png|Before (depth fog)
RangeFog.png|After (range fog)
On January 7, 2015, fog was added for players with their graphics quality set to 7. It was heavily criticized, with one reason being that official fog had 'ruined' scripted fog. Many players on the forum had asked Roblox to add a feature to make fog optional instead of mandatory. Instead, as a response to the protests, Roblox removed this feature.
On May 6, 2019, it was announcedhttps://devforum.roblox.com/t/range-fog-incoming/280606 that depth fog will be replaced with range fog. After a few weeks, this change was made.
== What the properties do ==
FogColor - The color of the fog. It should normally be left alone, or changed to the color of the skybox.
FogEnd - The point where the fog cannot be seen past
FogStart - The point where the fog is first visible
To have no fog, both properties FogStart and FogEnd should be set at a distance of 100000 studs, where the rendering normally stops. An alternative is to add Atmosphere under Lighting and set its Density to 0.
== Enabling fog ==
Enabling fog is extremely easy:
# Open your place in Roblox Studio.
# Select the service in the Explorer Pane
# Adjust the fog properties (there are 3)
== Tips ==
* Having the "Atmosphere" object under "Lighting" will disable fog and remove its properties from Lighting. "Atmosphere" has to be deleted in order for Fog to work.
*Fog on Roblox will look better if the fog color is the same as the skybox color.
* Adjusting the FogStart property will bring more depth into the game.
* Fog can make your place an adventure, especially in first person.
* Fog can make your place seem like night (solid black fog).
==References==
Category:Game development