Get Altitude: Difference between revisions

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:
[[Image:drex_module_24_image_0.png|485pxpx|Get Altitude]]
[[Image:drex_module_24_image_0.png|485pxpx|Get Altitude]]


Provides the Altitude of the input node as its output.
Provides the "Altitude" of the current [[Render State]]. The [[Render State]] is affected by any shaders which were called before this function is called, among other things. Get Altitude provides the signed difference between [[Get Position]] and [[Get Position in Geometry]] in the direction of [[Get Normal in Geometry]]. For a planet this basically means the altitude of the current point being rendered. Refer to [[Get Position]] for more information.
 
The Input connection is not used by this node.


__NOTOC__
__NOTOC__
<!-- imported from file: module_24.html-->
<!-- imported from file: module_24.html-->

Revision as of 00:21, 2 May 2011

Get Altitude

Get Altitude

Provides the "Altitude" of the current Render State. The Render State is affected by any shaders which were called before this function is called, among other things. Get Altitude provides the signed difference between Get Position and Get Position in Geometry in the direction of Get Normal in Geometry. For a planet this basically means the altitude of the current point being rendered. Refer to Get Position for more information.

The Input connection is not used by this node.