Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hello, I'm having a problem with lighting when switching from IrrEdit to my Irrlicht-based application. In IrrEdit I have a simple rectangular mesh (.obj), which when lit looks like this: As you can see, the light is nicely interpolated across the surface. However, when I load the scene in my application the mesh is lit very differently: (the light that I placed in irrEdit is located directly above the character model) The mesh only becomes lit at all when the light nears one of the mesh's vertices: Would anybody be able to explain why this is happening? Thank you for reading. |
||||
|
Are you using the an irrEdit version compatible to your irrlicht version? There have been made several changes to the lighting system, maybe this is the cause of the problem. |
||||
|
I'm using irrEdit and Irrlicht SDK 1.5. EDIT: I have also noticed that when I try to load the scene in irrEdit, the mesh is lit as it is in my application (only vertices lit). It seems that the mesh is only lit as I desire (first screenshot) when it is initially imported into the scene. |
||||
|
|