Distance Shader: Difference between revisions

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search
jrfconvert import
 
Line 3: Line 3:


[[Image:drex_module_144_image_0.png|485pxpx|Distance Shader]]
[[Image:drex_module_144_image_0.png|485pxpx|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.
__NOTOC__
__NOTOC__
<!-- imported from file: module_144.html-->
<!-- imported from file: module_144.html-->

Revision as of 20:11, 28 April 2011

Distance Shader

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.