Difference between revisions of "BlendMode"

m (1 revision: Importing from potato (again).)
(added new blend modes)
Line 1: Line 1:
 
 
Different ways you do alpha blending.
 
Different ways you do alpha blending.
 
== Constants ==
 
== Constants ==
 
;additive: Additive blend mode.
 
;additive: Additive blend mode.
 
;alpha: Alpha blend mode ('normal').
 
;alpha: Alpha blend mode ('normal').
 +
;subtractive: Subtractive blend mode. ([[0.7.0]]+ only)
 +
;multiplicative: Multiply blend mode. ([[0.7.0]]+ only)
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
 
[[Category:Enums]]
 
[[Category:Enums]]
 
{{#set:Description=Different ways you do alpha blending.}}
 
{{#set:Description=Different ways you do alpha blending.}}

Revision as of 09:09, 16 October 2010

Different ways you do alpha blending.

Constants

additive
Additive blend mode.
alpha
Alpha blend mode ('normal').
subtractive
Subtractive blend mode. (0.7.0+ only)
multiplicative
Multiply blend mode. (0.7.0+ only)

See Also