Get Altitude: Difference between revisions

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
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. Position is modified by displacement shaders, therefore so is altitude. Refer to [[Get Position]] for more information.
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. Position is modified by displacement shaders, therefore so is altitude. Refer to [[Get Position]] for more information.


The Input connection is not used by this node.
The input connection is not used by this node (consistent with all "Get" nodes).


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


[[Category:Get]]
[[Category:Get]]

Revision as of 01:42, 7 October 2018

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. Position is modified by displacement shaders, therefore so is altitude. Refer to Get Position for more information.

The input connection is not used by this node (consistent with all "Get" nodes).