2D Toolkit Forum
2D Toolkit => Support => Topic started by: ealtorfer on June 18, 2013, 06:38:08 pm
-
Hey there,
In our game we have a need to "colorize" sprites like this:
(http://i.imgur.com/OJF0X36.png)
Setting tk2dBaseSprite.color definitely does...well, something. Can you explain the intended behavior of this property?
Thanks!
-
It is the same as the Multiply blend mode in Photoshop.
You can modify the shader to get what you need. Some blend modes aren't doable, and some of them will end up costing a lot of performance.
-
Sweet - thank you so much. For other people's reference, this is how my reference image looks when adjusted for the fact that tk2dBaseSprite.color behaves like the Multiply blend mode in photoshop:
(http://i.imgur.com/RWvCwW2.png)
Just gotta be kind of careful since multiply is a darken blend mode, but I think this will serve my purposes. Thanks!