Original Post
Hi, I have my stage with lighting enabled, one point light turned on in the position of my camera (meaning that its using the same xPos yPos & zPos that I use in the viewport coordinates). The object in the view is iluminated and when it rotates it gets the appropiate shading, so everything ''till here is ok. But when I move the camera I can only see the front face of my object (it dissapears when I turn the camera around) and in the same movement function I update the values of the light and call setlight again, so in theory the light should be following the camera right?
The camera rotates around the object, allways looking to the origin. Another weird thing is that no matter where I put the light the object is allways equally iluminated, even if the light is 1000 units far or near, but maybe that''s a rare property of point lights, or what?
I hope I made myself clear.
Cheers
James