Advertisement

lighting problem

Started by November 10, 2001 04:54 PM
1 comment, last by basilisk 23 years, 3 months ago
hi, i''m rotating the camera a fixed distance around the centre of a square in the z-x plane. The light source is above the centre of the square along the y axis. As i rotate around, the square gets darker or lighter. This dosen''t seem to make sense since the camera is always a fixed distance from the square and the light should be right about the centre of the square. Has anyone else encountered this problem? any help would be appreciated, thanks..
It's probably because you are using per-vertex lighting. Either use perpixel lighting, or break the geometry into small pieces.

. . .

Or you're normals are wrong or not normalized.

Edited by - smart_idiot on November 12, 2001 10:39:07 AM
Chess is played by three people. Two people play the game; the third provides moral support for the pawns. The object of the game is to kill your opponent by flinging captured pieces at his head. Since the only piece that can be killed is a pawn, the two armies agree to meet in a pawn-infested area (or even a pawn shop) and kill as many pawns as possible in the crossfire. If the game goes on for an hour, one player may legally attempt to gouge out the other player's eyes with his King.
Advertisement
thanks,

it turns out that i wasn''t setting the lighting properly, i misplaced a 1 instead of a zero so i had it setup as a light at a finite point rather than a global style lighting from infinity.

-basilisk, the normal kind of idiot

This topic is closed to new replies.

Advertisement