Jump to content
  • Advertisement
Sign in to follow this  
ms75214

edges of this sprite

This topic is 2504 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm having trouble with the edges of this sprite:

http://coolfone.comze.com/fight/stand_3.png

They seem partial to a light background.

Here's the problem in action:

http://i1190.photobucket.com/albums/z449/m75214/fighters.png

Is there a quick fix for this?

Share this post


Link to post
Share on other sites
Advertisement
How did you create the sprite? It look like when the sprite was created, it was anti-aliased over a white background, so the damage is already done...

If you re-create the sprite over a black background instead, and render it using premultiplied alpha blending (src=one, dst=invsrcalpha) it will be ok.

Share this post


Link to post
Share on other sites

How did you create the sprite? It look like when the sprite was created, it was anti-aliased over a white background, so the damage is already done...

If you re-create the sprite over a black background instead, and render it using premultiplied alpha blending (src=one, dst=invsrcalpha) it will be ok.


daz studio

Share this post


Link to post
Share on other sites

How did you create the sprite? It look like when the sprite was created, it was anti-aliased over a white background, so the damage is already done...

If you re-create the sprite over a black background instead, and render it using premultiplied alpha blending (src=one, dst=invsrcalpha) it will be ok.


thx 4 the black background tip. looks much better now.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!