Type | Attributes | Description |
TextureCombineBufferInput | BufferInputAlpha |
The alpha buffer input. This can be set for texture combiners 1, 2, 3 and 4 only.
|
---|
TextureCombineBufferInput | BufferInputRgb |
The color buffer input. This can be set for texture combiners 1, 2, 3 and 4 only.
|
---|
TextureCombineMode | CombineAlpha |
The number of alpha combiners.
|
---|
TextureCombineMode | CombineRgb |
The number of color combiners.
|
---|
ConstantColorCtr | Constant |
The constant color index.
|
---|
TextureCombineScale | ScaleAlpha |
The scale for the output alpha.
|
---|
TextureCombineScale | ScaleRgb |
The scale for the output color.
|
---|
Value | Description |
Replace |
Only Operation 0 is used. Result = Arg0
|
---|
Modulate |
Multiplies Operation 0 and Operation 1. Result = Arg0 + Arg1
|
---|
Add |
Adds operation 0 and Operation 1. Result = Arg0 + Arg1
|
---|
AddSigned |
Subtracts 0.5 from the sum of Operation 0 and Operation 1. Result = Arg0 + Arg1 - 0.5
|
---|
Interpolate |
Interpolates Operation 0 and Operation 1 using Operation 2. Result = Arg0 * Arg2 + Arg1 * (1 - Arg2)
|
---|
Subtract |
Subtracts Operation 1 from Operation 0. Result = Arg0 - Arg1
|
---|
DotProduct3Rgb |
Replaces each RGB with the dot product of Operation 0 and Operation 1. ResultRGB = 4 * ((Arg0r - 0.5) * (Arg1r - 0.5) + (Arg0g - 0.5) * (Arg1g - 0.5) + (Arg0b - 0.5) * (Arg1b - 0.5))
|
---|
DotProduct3Rgba |
Replaces each RGBA with the dot product of Operation 0 and Operation 1. ResultRGBA = 4 * ((Arg0r - 0.5) * (Arg1r - 0.5) + (Arg0g - 0.5) * (Arg1g - 0.5) + (Arg0b - 0.5) * (Arg1b - 0.5))
|
---|
AddMult |
Multiplies the sum of Operation 0 and Operation 1 by Operation 2. Result = (Arg0 + Arg1) * Arg2
|
---|
MultAdd |
Adds the product of Operation 0 and Operation 1 to Operation 2. Result = (Arg0 * Arg1) + Arg2
|
---|