Jump to content
  • Advertisement
Sign in to follow this  
Fire Lancer

d3d9 z-buffer and alpha blending

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

It seems that when using alpha blending you cant draw something "behind" an existing object, as it incorrectly blends it (eg say that existing object was a sprite with alpha around the edges, those edges appear solid when somethings rendered behind). Is there anyway around this? I was hoping to use the z-buffer to draw all my sprites and stuff as batches of the same texture, but if its going to do this with my alpha blended sprites it would seem i'll have to sort everything into my own render buffer of sorts and render that without any batching since the textures will be broken up loads in the buffer :(

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!