Distance Shader

From Terragen Documentation from Planetside Software
Revision as of 18:50, 1 June 2011 by JavaJones (talk | contribs)
Jump to: navigation, search

Distance Shader

The Distance Shader generates colour based on a computation of distance into the scene from a specific camera. You can specify the "near" and "far" colours, and the distances within which the shading will be performed. The output of a Distance Shader can be used to control surface textures, populations, even clouds and other scene features by distance from the camera, allowing you to for example specify that there are no clouds near to the camera and that coud coverage increases with distance.