]> git.lizzy.rs Git - dragonfireclient.git/commitdiff
Clearer explanation of [colorize with alpha
authorSamuel Sieb <samuel@sieb.net>
Wed, 6 Apr 2016 07:38:11 +0000 (00:38 -0700)
committerkwolekr <kwolekr@minetest.net>
Thu, 7 Apr 2016 07:55:17 +0000 (03:55 -0400)
doc/lua_api.txt

index 4a4e345a926a014e619b97bc2a98efc241a6e15b..a03a95d9edb2c6171c2c7e99056f00b79a738695 100644 (file)
@@ -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
 ------