Get Altitude: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 1: | Line 1: | ||
[[Image:drex_module_24_image_0.png|485pxpx|Get Altitude]] | [[Image:drex_module_24_image_0.png|485pxpx|Get Altitude]] | ||
| Line 8: | Line 5: | ||
The Input connection is not used by this node. | The Input connection is not used by this node. | ||
<!-- imported from file: module_24.html--> | <!-- imported from file: module_24.html--> | ||
[[Category:Get| ]] | |||
Revision as of 01:16, 18 May 2011
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.
