Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
Can I use premultipliedAlpha in runtime spritecollection?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Can I use premultipliedAlpha in runtime spritecollection? (Read 4140 times)
sagolboss
2D Toolkit
Newbie
Posts: 2
Can I use premultipliedAlpha in runtime spritecollection?
«
on:
September 30, 2013, 05:29:22 pm »
Hi there.
I want to use premultipliedAlpha in runtime spritecollection.
I will make this function.
Is it have performance issue or other problem?
Thanks.
«
Last Edit: September 30, 2013, 05:31:13 pm by sagolboss
»
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: Can I use premultipliedAlpha in runtime spritecollection?
«
Reply #1 on:
September 30, 2013, 05:32:42 pm »
Premultiplied alpha modifies the texture. If you can create your texture with premultiplied alpha, then yes you can use it at runtime - all you need to do is use the correct shader.
Logged
sagolboss
2D Toolkit
Newbie
Posts: 2
Re: Can I use premultipliedAlpha in runtime spritecollection?
«
Reply #2 on:
September 30, 2013, 05:34:41 pm »
Thank you for reply
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
Can I use premultipliedAlpha in runtime spritecollection?