I was just wondering if it were possible to do a silhouette of a sprite with the DirectDraw Blitter? By silhouette, I mean having the non-transparent pixels of a surface all be drawn in one color, rather than the color of the original surface. I thought that I would be able to do this by combining the color fill blt flag with the key source blt flag. Unfortunately, passing a source surface to a color fill blt always seems returns an invalid parameter error message. Is it possible to do this, and I''m doing something wrong? Or should I just write my own code to do this? Thanks in advance.
"Silhouettes" with DirectDraw Blitter?
1 reply to this topic