AddOctreeSceneNode doesnt support lighting?

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
krama757
Posts: 451
Joined: Sun Nov 06, 2005 12:07 am

AddOctreeSceneNode doesnt support lighting?

Post by krama757 »

When I tested this on my 3ds building, the octree scene node wasnt affected by a dynamic point light.

Can anybody else confirm this also?
AndreOdendaal
Posts: 16
Joined: Tue Dec 27, 2005 10:13 am
Location: Johannesburg, South Africa

Post by AndreOdendaal »

I'm also having a problem with OctTrees and dynamic lighting (I know this doesn't answer your question, sorry)
krama757
Posts: 451
Joined: Sun Nov 06, 2005 12:07 am

Post by krama757 »

Nope, that was the question. Thanks for confirming.
ProSoft
Posts: 59
Joined: Thu Sep 08, 2005 10:55 am
Location: Brasil

Post by ProSoft »

Set material type to EMT_LIGHTMAP_LIGHTING

// from docs
EMT_LIGHTMAP_LIGHTING Like EMT_LIGHTMAP, but also supports dynamic lighting.

Never tested it...
ProSoft
Posts: 59
Joined: Thu Sep 08, 2005 10:55 am
Location: Brasil

Post by ProSoft »

Sorry. I misunderstood.

Im used DMF with octtree without probl.
krama757
Posts: 451
Joined: Sun Nov 06, 2005 12:07 am

Post by krama757 »

But with the dmf files, you still get affected by dynamic lights?
Post Reply