Jump to content
  • Advertisement


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


Blending makes the edges appear

This topic is 6915 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, I have a simple (to describe) problem: when i use alpha-blending on two polygons that are sharing an edge (such as additive blending), the edge is processed twice (making it appear twice brigher). Strangely, i didn''t have the problem with an older driver, and my code hasn''t changed a lot. I don''t have the problem with normal polygons (only blended, since i must use the GL_LEQUAL depth test). I''m wondering how to fix the problem.. can''t i tell OpenGL not to draw the last right or bottom pixels of a polygon when it''s filled ? Y.

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.

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!