RE: Sprite Masking
- Posted by "mic _" <stabmaster_ at hotmail.com> May 27, 2004
- 570 views
You can create a mask (the size of the sprite) in which each element is true (all 1's) if it's a non-transparent color, and false (all 0's) if it's a transparent color. When you draw the sprite you calculate sprite AND mask and background AND (NOT mask). Then you OR these two together.

