Page 1 of 1

The lighting is wrong, why?

Posted: Tue Nov 08, 2005 8:25 am
by michael520
The vertex very near the light is view so dark, it's wrong. I want to upload the printscreen here but I don't know how to. Help please..[/img]

Posted: Tue Nov 08, 2005 8:26 am
by michael520
does this forum only support hyperlink-image ? can't I upload an image?

Posted: Tue Nov 08, 2005 11:12 am
by needforhint
I experianced the same problem, I know what u mean

Posted: Tue Nov 08, 2005 3:26 pm
by sRc
yeah it doesnt let you upload to it. put the image on like imageshack and then link to it.

Posted: Tue Nov 08, 2005 3:30 pm
by BlackNinjaGames
Is this light behind the polygon?

Then the normal of the polygon would be facing away, so it would be dark.

I think...

Posted: Tue Nov 08, 2005 8:48 pm
by bitplane

Posted: Wed Nov 09, 2005 4:52 am
by michael520
BlackNinjaGames wrote:Is this light behind the polygon?

Then the normal of the polygon would be facing away, so it would be dark.

I think...
For example:
the light is attach with the fps camera.
a cube is near the camera, a wall is further.
so, the cub should be brighter than the wall.
but, in irrlicht, the further corner of the cube is very dark, darker than the wall which is far away!
I know, the further corner of the cube is a vertex, which has faces that the light can't reach, be, the face that is lighted shouldn't have so dark a corner, which is darker than the wall far away.

and , that corner vertex has three normals because it relate with three faces of a cube.