2D Toolkit Forum

2D Toolkit => Support => Topic started by: sagolboss on September 30, 2013, 05:29:22 pm

Title: Can I use premultipliedAlpha in runtime spritecollection?
Post by: sagolboss 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.
Title: Re: Can I use premultipliedAlpha in runtime spritecollection?
Post by: unikronsoftware 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.
Title: Re: Can I use premultipliedAlpha in runtime spritecollection?
Post by: sagolboss on September 30, 2013, 05:34:41 pm
Thank you for reply  :)