Fog: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Quenty
No edit summary
>Flurite
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 12: Line 12:


== What the properties do: ==
== What the properties do: ==
[[FogColor_(Property)]]|FogColor]] – This is the color of the fog. For best results, use light grey or the background color of your skybox.
[[FogColor_(Property)|FogColor]] – This is the color of the fog. For best results, use light grey or the background color of your skybox.


[[FogEnd_(Property)|FogEnd]] – This is the distance at which the scene is 100% fogged.
[[FogEnd_(Property)|FogEnd]] – This is the distance at which the scene is 100% fogged.

Latest revision as of 19:56, 25 April 2012

What is Fog?

In the real world, Fog is, according to Wikipedia 'a collection of liquid water droplets or ice crystals suspended in the air at or near the Earth's surface'. On ROBLOX, you can simulate fog. The properties can be found in Lighting.

Fog on ROBLOX

How to Enable Fog

Enabling fog is extremely easy.

  1. Open you place in ROBLOX Studio (ROBLOX Studio Help)
  2. Select the Lighting service in the Explorer Pane
  3. Adjust the fog properties (there are 3 – to see something all you need to do is set FogEnd to 100. Now you have a ton of fog.)

What the properties do:

FogColor – This is the color of the fog. For best results, use light grey or the background color of your skybox.

FogEnd – This is the distance at which the scene is 100% fogged.

FogStart – This is the distance at which the fog begins. Inside this distance you will not see fog.

About Fog

To remain compatible with older graphics cards that use a fixed-function rendering pipeline, ROBLOX’s fog uses linear interpolation between FogStart and FogEnd. ROBLOX is using GL_LINEAR

Tips

  • Fog on ROBLOX will look better if you have the sky the same color as the fog itself.
  • You can also adjust the fog start.
  • Fog can make your place an adventure, especially in First Person
  • Fog can make your place seem like night (Solid Black Fog)


See Also