04-15-2004, 01:49 PM
i have a weird problem
i draw a cube using glutSolidCube() and add one source of lightning, move my camera using
glLookAt() around it and the cube lighted all the way.
the problem is when i do just the same but when
i drew a cube using poligons, that way half cube is lighted and half is not
i do not change anything else but the object
i draw a cube using glutSolidCube() and add one source of lightning, move my camera using
glLookAt() around it and the cube lighted all the way.
the problem is when i do just the same but when
i drew a cube using poligons, that way half cube is lighted and half is not
i do not change anything else but the object