Skip to content
Permalink
Browse files

Clearer explanation of [colorize with alpha

  • Loading branch information
Samuel Sieb authored and kwolekr committed Apr 7, 2016
1 parent 15e1dcc commit ecdd5921a14a8e61ab1bd1338d61373ad96d5d3d
Showing with 3 additions and 3 deletions.
  1. +3 −3 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
------

0 comments on commit ecdd592

Please sign in to comment.
You can’t perform that action at this time.