Fog: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Quenty
Redirected page to Lighting
 
>Flurite
No edit summary
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
#redirect [[lighting]]
__TOC__
== 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. 
[[File:Fog_on_ROBLOX.png|thumb|center|600px|Fog on ROBLOX]]
 
== How to Enable Fog ==
Enabling fog is extremely easy. 
 
# Open you place in ROBLOX Studio [[Roblox Studio|(ROBLOX Studio Help)]]
# Select the Lighting service in the Explorer Pane
# 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_(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.
 
[[FogStart_(Property)|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 [[FogStart_(Property)|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 ==
* [[RBX.lua.Lighting_(Object)]]
* [[FogStart_(Property)]]
* [[FogEnd_(Property)]]
* [[FogColor_(Property)]]

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