SoTextureModels Enumeration |
Texture model.
Namespace: OIV.Inventor.Nodes
Member name | Value | Description | |
---|---|---|---|
MODULATE | 8448 | The texture color is multiplied by the surface color. | |
DECAL | 8449 | In this mode, OpenGL requires that the specified texture image have either 3 or 4 components. For a 3-component texture, the texture color replaces the surface color. For a 4-component texture, the texture color is blended with the surface color using the texture alpha value. See OpenGL documentation on glTexEnv for details. | |
BLEND | 3042 | Blends between the surface color and a specified blend color. | |
REPLACE | 7681 | The texture color replaces the surface color. NOTE: enumeration value available since Open Inventor 4.0 | |
ADD | 260 | Adds incoming fragment and texture source colors. To use this option, you must be using OpenGL 1.3 or higher, or your board must support the OpenGL GL_ARB_texture_env_add extension. Otherwise, GL_MODULATE is used. NOTE: enumeration value available since Open Inventor 5.0 | |
COMBINE | 34160 | Provides a wide range of programmable combiner functions using the incoming fragment color, texture source color, texture constant color, and the result of the previous texture environment stage as possible parameters. To use this option, you must be using OpenGL 1.3 or higher, or your board must support the OpenGL GL_ARB_texture_env_combine extension. NOTE: enumeration value available since Open Inventor 5.0 |