Get Altitude in Texture

From Planetside Software Wiki
Jump to: navigation, search

Get Altitude in Texture


Provides the "Altitude in Texture" 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 in Texture provides the signed difference between Get Position in Texture and Get Position in Geometry in the direction of Get Normal in Geometry. For a planet this basically means the altitude of the current texture coordinates.

The Input connection is not used by this node.

A single object or device in the node network which generates or modifies data and may accept input data or create output data or both, depending on its function. Nodes usually have their own settings which control the data they create or how they modify data passing through them. Nodes are connected together in a network to perform work in a network-based user interface. In Terragen 2 nodes are connected together to describe a scene.