Jump to content
  • Advertisement
Sign in to follow this  
rjh05

OpenGL Textures, and a few other questions

This topic is 4501 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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!