Fog

The fog tag adds fog to the scene. Fog generates a visual opaqueness to objects in the scene. The color and distance limits are specified in the attributes.

  • color – The color of the fog. See Data Types -> Color for a description of options.
  • near – The distance relative to the camera where the fog starts. Objects (or portions of objects closer than this have no fog applied.
  • far – The distance relative to the camera where the fog completely obscures all objects. Note that the background is never obscured and should generally match the color of the fog.