Lighting not falling correctly.. (3 images inside, 640kb)

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
koaandl
Posts: 6
Joined: Mon Jul 26, 2010 12:30 am

Lighting not falling correctly.. (3 images inside, 640kb)

Post by koaandl »

EDIT: I have fixed it, thank you to everyone who helped, or considered helping. By exporting as a .x from cartography shop, it worked fine (the reason i was having issues was because the billboard was rending just on the light and blocking it, because i forgot to set some settings on it!
Last edited by koaandl on Mon Jul 26, 2010 10:47 pm, edited 1 time in total.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Maybe some normals problem. Did you scale the mesh without setting normalize normals?
koaandl
Posts: 6
Joined: Mon Jul 26, 2010 12:30 am

Post by koaandl »

hybrid wrote:Maybe some normals problem. Did you scale the mesh without setting normalize normals?
The meshes have not been scaled at all (only rotated to fit, but in terms of the room, that is a .csm file from cartography shop), and normalization is on all the models.
koaandl
Posts: 6
Joined: Mon Jul 26, 2010 12:30 am

Post by koaandl »

What appears to be more curious, is that if i export the map from cartography shop as a .x format, the lighting works fine.. when i'm not looking at it. I'f i look directly at the light, it dissapears and goes back to the none working state, but if i turn around, and say, look at a corner, then the room is lit as it should be... (i also tried .b3d and that didn't work)
Post Reply