Jump to content
  • Advertisement
Sign in to follow this  
loplop

outline around character

This topic is 5060 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

Hi everyone, Ive created my images and want to import them. Theyre PNG files, so theyre small. However, Im now having a problem on masking. When I mask it, the character has an outline around him due to the background being a slightly different shade, so it doesnt get masked. Is there some way I can mask the everything but the image? My only idea is to have the background as a colour similar to black (because thats the colour of the character). However, when I mask this, the character still has jagged edges. Any ideas? Thanks

Share this post


Link to post
Share on other sites
Advertisement
It sounds like you're trying to use alpha testing instead of alpha blending. The latter will almost certainly reduce the number of "jaggies" in your sprite because of the power of interpolation.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!