Introduction to 3D Graphics and VRML

[ Previous | Index | Next ]


Fog

Fog can be used to provide a depth cue, add atmosphere, and increase realism

VRML Fog Example

  
#VRML V2.0 utf8
Group {
  children [

    ...
    
    Fog {
      color 1.0 1.0 1.0
      fogType "EXPONENTIAL"
      visibilityRange 30.0
    }
  ]
}

Author: Michael Louka (Michael.Louka@of.telia.no)
Last Updated: 19 November 1996