Difference between revisions of "BlendMode"
Antoniomoder (talk | contribs) (add image example) |
Antoniomoder (talk | contribs) m (add Source .love) |
||
Line 15: | Line 15: | ||
== Example == | == Example == | ||
[[File:blendModes_0.9.2.png|800px|thumb|none]] | [[File:blendModes_0.9.2.png|800px|thumb|none]] | ||
+ | [https://drive.google.com/file/d/0BxsLw2s2AfEiNjRkRHh2a1Fsbjg/view?usp=sharing Source .love] | ||
== See Also == | == See Also == | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] |
Revision as of 14:00, 1 September 2015
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.
Contents
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.
Example
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info