Difference between revisions of "BlendMode"

m
(Blendmode Formula note)
Line 1: Line 1:
 
{{newin|[[0.2.0]]|020|type=enum}}
 
{{newin|[[0.2.0]]|020|type=enum}}
Different ways you do alpha blending.
+
Different ways you do alpha blending. See the [[BlendMode Formulas]] for additional notes.
 
== Constants ==
 
== Constants ==
 
;additive: Additive blend mode.
 
;additive: Additive blend mode.

Revision as of 03:12, 17 September 2014

Available since LÖVE 0.2.0
This enum is not supported in earlier versions.

Different ways you do alpha blending. See the BlendMode Formulas for additional notes.

Constants

additive
Additive blend mode.
alpha
Alpha blend mode ('normal').
Available since LÖVE 0.7.0
These constants are not supported in earlier versions.
subtractive
Subtractive blend mode.
multiplicative
Multiply blend mode.
Available since LÖVE 0.8.0
This constant is not supported in earlier versions.
premultiplied
Premultiplied alpha blend mode.
Available since LÖVE 0.9.0
This constant is not supported in earlier versions.
replace
Replace blend mode.
Available since LÖVE 0.9.1
This constant is not supported in earlier versions.
screen
Screen blend mode.

See Also

Other Languages