OpenGL Library for Delphi,
maintained by Eric Grange,
based on Mike Lischke's GLScene.

 

Reference Manual - TGLTextureMode


Enumerated type for TGLTexture texturemode property.
TGLTextureMode = (tmDecal, tmModulate, tmBlend, tmReplace);
Texture mode specifies how textures are applied to an object.

Replace
tmReplace displays a texture on an object with no transparency or blending. It completely replaces the underlying color.
image

Decal
tmDecal is similar to tmReplace except that transparency is displayed. For example if blending mode is set to bmTransparency and frontproperties.diffuse.alpha=0.5 then the texture is transparent. Like replace no blending takes place. Decal wont provide transparency with the alpha channel. All the other texturemodes will.
image

Modulate
tmModulate includes transparency and will also mix the texture color with the frontproperties.emission.color. In the example below the emission color is blue.
image

Blend
tmBlend includes transparency and will mix the texture color with the TGLTexture envcolor. In the example below the envcolor is blue.
image


Unit: GLTexture


  Attachment Size Date Added
    
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0410 seconds