Skip to main content
gamedev.net
🔒 Locked

CubeMapping problem

Started by pkchiu78 Mar 1, 2004 at 1:30 PM 0 replies 200+ views
Original Post
pkchiu78
pkchiu78
Hello there. I have been trying to implement cube mapping in opengl. So far i have been able to get the cube mapping working on objects. But i have two problems. 1. I used the cube map from the nvidia website, but when i run my program the reflection i get on the object is upside down. i have checked the way i send in my textures but it seems back wards when i enter them top as py, bottom as ny, px right, nx left, front pz back nz. 2. my second problem is that the cube mapping coordinates are generated in eye space. So whenver i try to move the camera the same reflection is projected onto the surface. so the reflection isnt really changing wiht the scene. Please could any give me some pointers on how to fix these two problems. cheers

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.