Jump to content
  • Advertisement
Sign in to follow this  
Bluebomber357

OpenGL GLSL and cubemapping, please help!

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

Hey all, I am trying to get cubemapping to work. I got spherical environment mapping to work instantly, but the cube version is killing me. Does anyone know of any good examples online with full source code? I can't find any... I tried the one from the orange book, but the reflection follows the camera. I tried the code from Ozone3D.net, but the thing just acts as a normal texture :( I keep reading about some problem with the world view and camera view or something being tied together with openGL. Could my camera be the problem, I rely on gluLookAt to move around. If the Orange Book or Ozone3D just provided the full source rather than just frag and vert code I'd be set. Anyways, if anybody knows how to use the orange book or Ozone3D code let me know, or if anyone has any good examples or advice :) BTW, check out my cool shader gallery. http://www.wegame.com/watch/shader_gallery/. I need to make an updated one, I got cell-shading and multi-texturing working in GLSL :D

Share this post


Link to post
Share on other sites
Advertisement
I have been trying to get cube mapping to work forever now. Can anybody help? I would kill for some sample programs... :(

No matter what I try, the camera is always locked with the reflection :(

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!