sprite3d transparency

Just starting out? Need help? Post your questions and find answers here.
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

Post by dagcrack »

Fred wrote:sprite3() size should be square multiple of 2 to work (almost) everywhere. So, if you need a 5x5 sprite, do a 8x8 one with the remaining pixels as transparent (it's documented in the sprite3D doc IIRC).
Fred: Is there any internal fallback for this? (ie, resize to the nearest power).
Of course his -fred's- advice is not bad at all, as in the case that the internal function rescales to a power of 2, this is a heuge overload and, usually, will give you nasty visual artifacts (although, depends on the used interpolation while supersampling the image data).

_
! Black holes are where God divided by zero !
My little blog!
(Not for the faint hearted!)
Post Reply