Original Post
I am making a simple app right now that has 1 light (all default values) a normalized cube, and I am moving about the scene with gluLookAt. The problem is that the light seems to move along with my gluLookAt command similar to a flashlight, so no matter what part of the cube I look at it is always most bright when it is in the center of my view. What I want to be able to do is move behind the cube, and see the dark side of it. Has anyone had this problem before?
I dont have the code with me right now but here is the basic procedure I use:
1. Init OpenGL + Window
2. Init OpenGL Options (culling, depth test, lighting)
Then in my render loop
1. Clear (Color + Depth)
2. LoadIdentity
3. Position and rotate the camera
4. Call gluLookAt
5. Draw Cube
Thank you.
PS. I started with the Java Port of Nehe''s First Tutorial.