SoTextureCoordinate2¶
-
InventorModule
¶ genre InventorNodesAutomatic
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def
Purpose¶
This node defines a set of 2D coordinates to be used to map textures to subsequent vertex-based shapes. It replaces the current texture coordinates in the rendering state for the shapes to use.
The current texture coordinate binding (see SoTextureCoordinateBinding
) determines how texture coordinates are mapped to vertices of shapes. An alternative to using explicit texture coordinates is to generate them using a function.
Texture coordinates range from 0 to 1 across the texture. The horizontal coordinate, called S, is specified first, followed by the vertical coordinate, T.