Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
make alpha spite white?
« previous
next »
Print
Pages: [
1
]
Author
Topic: make alpha spite white? (Read 4628 times)
destro
Newbie
Posts: 5
make alpha spite white?
«
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
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: make alpha spite white?
«
Reply #1 on:
February 20, 2014, 11:18:46 am »
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.
Logged
destro
Newbie
Posts: 5
Re: make alpha spite white?
«
Reply #2 on:
February 20, 2014, 03:27:53 pm »
thanks for answer
Can You point me in the right direction how to make/ change shader to make simple white blink on spite?
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: make alpha spite white?
«
Reply #3 on:
February 20, 2014, 09:13:13 pm »
You could start with something like this
http://2dtoolkit.com/forum/index.php/topic,391.msg1708.html#msg1708
Logged
destro
Newbie
Posts: 5
Re: make alpha spite white?
«
Reply #4 on:
February 21, 2014, 04:12:09 am »
Works great!
Thank You Sir
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
make alpha spite white?