Get Normal in Geometry: Difference between revisions

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search
Line 4: Line 4:
[[Image:drex_module_36_image_0.png|485pxpx|Get Normal in Geometry]]
[[Image:drex_module_36_image_0.png|485pxpx|Get Normal in Geometry]]


Provides the "Normal in Geometry" 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 Normal in Geometry provides the surface normal, in world space, of the original undisplaced point on the surface being rendered.
Provides the "Normal in Geometry" of the current [[Render State]]. The [[Render State]] is affected by any shaders which were called before this function is called, among other things.
 
Normal in Geometry is the surface normal, in world space, of the original undisplaced point on the surface being rendered. When sampling an atmosphere shader, Normal in Geometry is usually set to the local "Up" vector with respect to the planet to which the atmosphere shader is attached.


The Input connection is not used by this node.
The Input connection is not used by this node.

Revision as of 06:39, 2 May 2011

Get Normal in Geometry

Get Normal in Geometry

Provides the "Normal in Geometry" of the current Render State. The Render State is affected by any shaders which were called before this function is called, among other things.

Normal in Geometry is the surface normal, in world space, of the original undisplaced point on the surface being rendered. When sampling an atmosphere shader, Normal in Geometry is usually set to the local "Up" vector with respect to the planet to which the atmosphere shader is attached.

The Input connection is not used by this node.