Sign in to follow this  
rjh05

OpenGL Textures, and a few other questions

Recommended Posts

I'm quite new to OpenGL, I have made a 3D landscape with a curved river cutting through it and a bridge over the river. It all looks ok in just plan colours but it would be nice to add some texture's to it, but I've been going through a lot of the material online and I just can't seem to get my head round it. Can anyone help? Also I have been trying to make the water transparent with GL_BLEND but all it seems to do is blend it with the colour behind, I want to make see through if you know what I mean. Thanks

Share this post


Link to post
Share on other sites
Check out the NeHe OpenGL Tutorials.

Quote:
Original post by rjh05
Also I have been trying to make the water transparent with GL_BLEND but all it seems to do is blend it with the colour behind, I want to make see through if you know what I mean.

Ummm, what do you see when you look through something transparent? The color behind it, of course. It is doing what you want, but the problem is that rendering realistic water is much more complicated than simply rendering a semi-transparent surface.

Share this post


Link to post
Share on other sites
I've sorted the transparency problem by tweaking a few things, the water looks much more realistic now.

still having problems with loading textures though

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