1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Add multiply texture modifier

Allows colorizing of textures using a color multiplication method.
This commit is contained in:
sapier 2017-01-14 23:16:58 +01:00 committed by paramat
parent 6642c8583a
commit e761b9f486
2 changed files with 58 additions and 2 deletions

View file

@ -419,6 +419,13 @@ the word "`alpha`", then each texture pixel will contain the RGB of
`<color>` and the alpha of `<color>` multiplied by the alpha of the
texture pixel.
#### `[multiply:<color>`
Multiplies texture colors with the given color.
`<color>` is specified as a `ColorString`.
Result is more like what you'd expect if you put a color on top of another
color. Meaning white surfaces get a lot of your new color while black parts don't
change very much.
Sounds
------
Only Ogg Vorbis files are supported.