Difference between revisions of "Distance Shader"

From Terragen Documentation from Planetside Software
Jump to: navigation, search
Line 5: Line 5:
 
<!-- imported from file: module_144.html-->
 
<!-- imported from file: module_144.html-->
  
[[Category:Colour Shader]]
+
[[Category:Colour Shader| ]]

Revision as of 17:52, 1 June 2011

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.