The lighting is wrong, why?
-
- Posts: 230
- Joined: Mon Oct 10, 2005 2:24 am
The lighting is wrong, why?
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]
-
- Posts: 230
- Joined: Mon Oct 10, 2005 2:24 am
-
- Posts: 322
- Joined: Tue Aug 30, 2005 10:34 am
- Location: slovakia
-
- Posts: 31
- Joined: Mon Sep 05, 2005 4:47 pm
- Contact:
Is this light behind the polygon?
Then the normal of the polygon would be facing away, so it would be dark.
I think...
Then the normal of the polygon would be facing away, so it would be dark.
I think...
GMan
Black Ninja Games
Black Ninja Games
-
- Posts: 230
- Joined: Mon Oct 10, 2005 2:24 am
For example: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...
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.