Jump to content
  • Advertisement
Sign in to follow this  

simple(?) blending question

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

Hello everyone, I'm trying to get into OpenGL a littlebit. Basically I am doing those great tutorials here and then try out things for myself. Until now that worked out pretty good, but now, while doing the blending tutorial, I stumbled upon a little problem I can't seem to solve: I have drawn two objects. One should use alpha blending, the other one not. The problem is, that the opaque object always appears transparent. The first thing I tried, was using different glColor4f alpha values, but 1.0 won't make the object fully opaque. After that I played around with the glBlendFunc parameters, but that always caused weird apperance. The only thing that works, would be disabling Blending completly, but then my transparent object won't be transparent anymore ;) Can anyone help?

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!