diff options
author | Samuel Sieb <samuel@sieb.net> | 2016-04-06 00:38:11 -0700 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2016-04-07 03:55:17 -0400 |
commit | ecdd5921a14a8e61ab1bd1338d61373ad96d5d3d (patch) | |
tree | 0af6eebecec6be9b66930d09ca1b35c576c204e1 /doc/lua_api.txt | |
parent | 15e1dcc020ca5c64e4b5b306529e513cb2b97bef (diff) | |
download | minetest-ecdd5921a14a8e61ab1bd1338d61373ad96d5d3d.tar.gz minetest-ecdd5921a14a8e61ab1bd1338d61373ad96d5d3d.tar.bz2 minetest-ecdd5921a14a8e61ab1bd1338d61373ad96d5d3d.zip |
Clearer explanation of [colorize with alpha
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r-- | doc/lua_api.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 4a4e345a9..a03a95d9e 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -361,9 +361,9 @@ Colorize the textures with the given color. it is an int, then it specifies how far to interpolate between the colors where 0 is only the texture color and 255 is only `<color>`. If omitted, the alpha of `<color>` will be used as the ratio. If it is -the word "`alpha`", then the alpha of the color will be multiplied with -the alpha of the texture with the RGB of the color replacing the RGB of -the texture. +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. Sounds ------ |