Sign in to follow this  

OpenGL Textures, and a few other questions

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

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

This topic is 4218 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.

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