Fog Tag

The fog tag extends the camera object with the ability to render fog in both the raytracer and the OpenGL preview. Adding fog to your scene is now as easy as adding a fog tag to your camera object.

Attention: You can only add a fog tag to a camera object.

The fog tags usage is not just limited to creating fog. You can also use it to render under water scenes (blue fog color) or to darken out the back of a scene (black fog color) for night-time effects.


Black fog was used here to darken out the trees in the back.

Properties

  • color: The color of the fog.
  • type:
    • linear: The fog intensity increases linearly.
    • exp: The fog intensity increases exponentially.
    • exp^2: The fog intensity increases squared exponentially.
  • density: The higher the density, the foggier it will become.
  • start: Distance from the camera were the fog starts. So the atmosphere in the front of the scene can be crystal clear while the back is foggy.

© 2001-2010 Martin Wengenmayer. All rights reserved.