Enum Effects.BlendID
Constants for blend mode IDs.
Tables
Effects.BlendID | Table of Effects.BlendID constants. |
Tables
- Effects.BlendID
-
Table of Effects.BlendID constants.
All blending modes exceptOPAQUE
,ADDITIVE
andALPHA_BLEND
will use depth sorting for applicable polygons. This may reduce engine performance, so it is preferable to minimize usage of other blending modes.OPAQUE
- No transparency.ALPHA_TEST
- So called "magenta transparency", every pixel can be either fully transparent or opaque.ADDITIVE
- Standard additive blending.SUBTRACTIVE
- Subtractive blending, with brighter texture areas making everything darker behind them.EXCLUDE
- Produces "inversion" effect.SCREEN
- Similar toADDITIVE
, but without excessive overbright.LIGHTEN
- Similar toSCREEN
, but with a little different blending formula.ALPHA_BLEND
- True alpha blending. Should be used for textures with gradually changing alpha values.