So I’m rendering an object using vertex arrays: position, normals, texcoords, ya know, the basics. I’m also rendering a light (and have used both directional and positional). The object renders fine.
So I move and rotate the object and render again (in the same frame), but it looks exactly the same, as if the light moved with it. If a light shines on the front of an object, and I rotate the object 180 degrees, the light should then shine on the back of it, right?
A possible cause could be that the normals don’t rotate… but wouldn’t this be bad behavior? My guess is I’m forgetting something simple. Any ideas?
-boog