Get Altitude

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

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.