• Advertisement
Sign in to follow this  

cube map with glsl

This topic is 2935 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 not sure why this isn't working but when I have a cup map, even hard coded to be all white, my shader isn't showing the correct render. It appears as if the cube map only shows at a certain portion. For now I'm rendering a sphere and using the cube map as a reflection map, but not all side reflect the texture. I'm correctly setting all 6 sides of the cube map and my shader is, at this point, literally copied from the example at (http://www.evl.uic.edu/aej/525/lecture03.html) but I can't seem to get this to work... all my code is pretty much the same too ( you'll have to scroll down a bit to see the cube map example), but if I'm missing something, please help. Thanks!

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement