I am practicing lighting and smooth shading. THe problem is that this code only shines the light for front and the right side , but when the objected is rotated, it shines at constant position (the front and right) and not to the side that are on the positioned light.
If it is still unclearn i am saying that the directed light and position light does not shine at the position as its supposed to and only shines on the front and the right side. please help.
if you need the code ask.