Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Qix99

Direct Draw Scaling with Color Keys

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

Ive been stuck on this problem for quite a while so i decided to post it here: For my game I added window mode and scaled all the bricks down with blt function... however the blt function seems to "smooth" when you scale down so my transparent color (pink) apears around the actual image - not as pure pink so it is not transparent but as slightly darker pinks or lighter pinks?????? How can i stop this Plz Help Qix

Share this post


Link to post
Share on other sites
Advertisement
Forget about colorkeying, use alpha instead !

1) newer cards dont have chromakeying in hw they have to fake it with alpha
2) as you said, the interpolation makes it go jukky when rescaling ..

So use alpha instead and you will have the holes smoothed around them when rescaled.. wich is alot nicer.. or you can if you really need the speed just use alphatesting will still work

-- stefan

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!