formZ SDK | 5.0 API Reference | Project | Modeling | Rendering | Shaders
Description
Gets the value of the 3d geometric normal associated with a pixel.
This normal direction is the same everywhere on a polygon.
Unlike the shading normal returned by
the geometric normal is not adjusted by the smooth shading
algorithm. It should be used when calculations need to be
performed with the true geometry.
Note, that this function only has a meaningful use when
called from a shader's pixel function. When called from
any other place, the resulting xyz value is undefined.
Plugin Prototype
void fz_shdr_get_world_geom_normal(
pnt ) |
Parameters
pnt [Result]
The current pixel's geometric normal direction
Returns
none
Availability
5.0.0.0
Function Set
Defined in