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.
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.
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.
Blend
tmBlend includes transparency and will mix the texture color with the
TGLTexture envcolor. In the example below the envcolor is blue.
Unit:
GLTexture∞
|
|
Attachment
|
Size
|
Date Added
|
| | |