Click or drag to resize

TextureOperation Enumeration

Defines how the Nth texture of a specific type is combined with the result of all previous layers.

Example (left: key, right: value): DiffColor0 - gray DiffTextureOp0 - TextureOperation.Multiply DiffTexture0 - tex1.png DiffTextureOp0 - TextureOperation.Add DiffTexture1 - tex2.png

Written as an equation, the final diffuse term for a specific pixel would be:

diffFinal = DiffColor0 * sampleTex(DiffTexture0, UV0) + sampleTex(DiffTexture1, UV0) * diffContrib;


Namespace: Internal.Assimp
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public enum TextureOperation
Members
Member nameValueDescription
Multiply0 T = T1 * T2
Add1 T = T1 + T2
Subtract2 T = T1 - T2
Divide3 T = T1 / T2
SmoothAdd4 T = (T1 + T2) - (T1 * T2)
SignedAdd5 T = T1 + (T2 - 0.5)
See Also