2D Toolkit Forum
2D Toolkit => Support => Topic started by: destro on February 20, 2014, 04:20:40 am
-
Is it possible to make sprite with alpha more white, maybe not 100% white but whiter than orginal, would be great if color of sprite works like that black to 50%grey like multiplay and from grey to white like screen in photoshop :) for now I only need whitefuncionality but more flexible way to control spites color can be always usefull :)
-
You can do anything you like in a shader. Remember though that changing the shader will affect performance, especially if its something more "complicated" like what you're requesting. I don't think screen is possible with blend hardware.
-
thanks for answer :)
Can You point me in the right direction how to make/ change shader to make simple white blink on spite? :)
-
You could start with something like this
http://2dtoolkit.com/forum/index.php/topic,391.msg1708.html#msg1708
-
Works great! :) Thank You Sir :)