MaterialObject::SetTextureBlendMode
Defined in: C4MaterialObjects.h
Sets the texture blend mode.
Prototype
void SetTextureBlendMode(TextureBlendMode mode);
Parameters
mode |
The new texture blend mode.
|
Description
The GetTextureBlendMode function sets the mode used when blending two diffuse texture maps in a material. The blend mode can be one of the following values.
kTextureBlendAdd |
Add the texture values.
|
kTextureBlendAverage |
Average the texture values.
|
kTextureBlendMultiply |
Multiply the texture values.
|
kTextureBlendVertexAlpha |
Blend the texture values using the interpolated vertex alpha.
|
kTextureBlendPrimaryAlpha |
Blend the texture values using the alpha channel from the primary texture.
|
kTextureBlendSecondaryAlpha |
Blend the texture values using the alpha channel from the secondary texture.
|
kTextureBlendPrimaryInverseAlpha |
Blend the texture values using the inverse of the alpha channel from the primary texture.
|
kTextureBlendSecondaryInverseAlpha |
Blend the texture values using the inverse of the alpha channel from the secondary texture.
|
See Also
MaterialObject::GetTextureBlendMode
|