Click or drag to resize
SoTextureModels Enumeration

Texture model.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public enum Models
Members
  Member nameValueDescription
MODULATE8448

The texture color is multiplied by the surface color.

DECAL8449

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.

BLEND3042

Blends between the surface color and a specified blend color.

REPLACE7681

The texture color replaces the surface color.

NOTE: enumeration value available since Open Inventor 4.0

ADD260

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

COMBINE34160

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

Remarks