Skip to content
Snippets Groups Projects
Commit db481e72 authored by TriBlade9's avatar TriBlade9 Committed by Craig Robbins
Browse files

Added ratio argument to colorize, removed the weird alpha-based ratio.

parent 60d74512
No related branches found
No related tags found
No related merge requests found
......@@ -337,9 +337,11 @@ Apply a mask to the base image.
The mask is applied using binary AND.
#### `[colorize:<color>`
#### `[colorize:<color>:<ratio>`
Colorize the textures with the given color.
`<color>` is specified as a `ColorString`.
`<ratio>` is an int ranging from 0 to 255, and specifies how much of the
color to apply. If ommitted, the alpha will be used.
Sounds
------
......@@ -3259,4 +3261,3 @@ Definition tables
playername = "singleplayer"
-- ^ Playername is optional, if specified spawns particle only on the player's client
}
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment