• Advertisement
Sign in to follow this  

simple(?) blending question

This topic is 4751 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
Advertisement
Darn, I knew it had to be something plain like that ;)

Thanks a lot *hits himself on the head*

Share this post


Link to post
Share on other sites
hehe, glDisable(GL_BLEND);
:)
hehe, people rule!
Am i too drunk to be posting again?
lol

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement