Difference between revisions of "BlendMode"
(I reckon it makes sense to have the formulas on the BlendMode page. But uh, someone might want to fix to up my formatting. :P) |
(Undoing the terrible format. Try again with a better look.) |
||
Line 1: | Line 1: | ||
{{newin|[[0.2.0]]|020|type=enum}} | {{newin|[[0.2.0]]|020|type=enum}} | ||
− | + | Different ways you do alpha blending. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Constants == | == Constants == | ||
− | ;additive | + | ;additive: Additive blend mode. |
− | + | ;alpha: Alpha blend mode ('normal'). | |
− | ;alpha: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{newin|[[0.7.0]]|070|type=following choices|plural=y}} | {{newin|[[0.7.0]]|070|type=following choices|plural=y}} | ||
− | ;subtractive | + | ;subtractive: Subtractive blend mode. |
− | + | ;multiplicative: Multiply blend mode. | |
− | ;multiplicative | ||
− | |||
− | |||
− | |||
− | |||
{{newin|[[0.8.0]]|080|type=following choice}} | {{newin|[[0.8.0]]|080|type=following choice}} | ||
− | ;premultiplied | + | ;premultiplied: Premultiplied blend mode. |
− | |||
{{newin|[[0.9.0]]|090|type=following choice}} | {{newin|[[0.9.0]]|090|type=following choice}} | ||
− | ;replace | + | ;replace: Replace blend mode. |
− | |||
== See Also == | == See Also == | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] |
Revision as of 04:14, 22 June 2013
Available since LÖVE 0.2.0 |
This enum is not supported in earlier versions. |
Different ways you do alpha blending.
Constants
- additive
- Additive blend mode.
- alpha
- Alpha blend mode ('normal').
Available since LÖVE 0.7.0 |
These following choices are not supported in earlier versions. |
- subtractive
- Subtractive blend mode.
- multiplicative
- Multiply blend mode.
Available since LÖVE 0.8.0 |
This following choice is not supported in earlier versions. |
- premultiplied
- Premultiplied blend mode.
Available since LÖVE 0.9.0 |
This following choice is not supported in earlier versions. |
- replace
- Replace blend mode.
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