Enum Effects.BlendID

Constants for blend mode IDs.

All blending modes except OPAQUE, ADDITIVE and ALPHA_BLEND will use depth sorting for applicable polygons. This may reduce engine performance, so it is preferable to minimize usage of other blending modes.

Members

OPAQUE No transparency.
ALPHA_TEST So called "magenta transparency", every pixel can be either fully transparent or opaque.
ADDITIVE Standard additive blending.
NO_DEPTH_TEST No depth test blending.
SUBTRACTIVE Subtractive blending, with brighter texture areas making everything darker behind them.
WIREFRAME Wireframe mode.
EXCLUDE Produces "inversion" effect.
SCREEN Similar to ADDITIVE, but without excessive overbright.
LIGHTEN Similar to SCREEN, but with a little different blending formula.
ALPHA_BLEND True alpha blending.


Members

OPAQUE
No transparency.
ALPHA_TEST
So called "magenta transparency", every pixel can be either fully transparent or opaque.
ADDITIVE
Standard additive blending.
NO_DEPTH_TEST
No depth test blending.
SUBTRACTIVE
Subtractive blending, with brighter texture areas making everything darker behind them.
WIREFRAME
Wireframe mode.
EXCLUDE
Produces "inversion" effect.
SCREEN
Similar to ADDITIVE, but without excessive overbright.
LIGHTEN
Similar to SCREEN, but with a little different blending formula.
ALPHA_BLEND
True alpha blending. Should be used for textures with gradually changing alpha values.
generated by TEN-LDoc (a fork of LDoc 1.4.6)