I'd like to understand something about light nodes and BSP maps.
Searching the forum I found this thread:
http://irrlicht.sourceforge.net/forum/v ... php?t=9768
which tells that dynamic lights does not works for bsp and suggests a simple patch on Irrlicht code.
The thread is pretty old. Is that still valid or is there something new in the later versions to use light nodes and bsp?
I tried setting up this way (mapnode is the ISceneNode that contains the level):
Code: Select all
mapNode->setMaterialFlag(EMF_LIGHTNING, true);
mapNode->SetMaterialType(EMT_LIGHTMAP_LIGHTING); // Tried many options
If I want, let's say, a switch that turns on and off the lights in a room, should I leave bsp and use some other format (.3ds for example)?
Can you point me in the right direction?
Thanks.