Skip to content

Commit

Permalink
Clearer explanation of [colorize with alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Sieb authored and kwolekr committed Apr 7, 2016
1 parent 15e1dcc commit ecdd592
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/lua_api.txt
Expand Up @@ -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
------
Expand Down

0 comments on commit ecdd592

Please sign in to comment.