Sign in to follow this  
BloodLust666

cube map with glsl

Recommended Posts

BloodLust666    104
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

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