Hi guys,
I'm wondering whats better in the view of performance (shadows, lights... ):
A) Making opacity of sprites directly in PNG file ( using aplha value )
B) Setting the opacity in cocos2d
Thanks ;-)
A fast, easy to use, free, and community supported 2D game engine
Hi guys,
I'm wondering whats better in the view of performance (shadows, lights... ):
A) Making opacity of sprites directly in PNG file ( using aplha value )
B) Setting the opacity in cocos2d
Thanks ;-)
Since alpha is pre-multiplied on textures, I don't think it will make a difference.
You must log in to post.