Sign in to follow this  
Hydrael

simple(?) blending question

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this