Hi,
I'm trying to add ILightSceneNode to a Quake 3 BSP octree node using shadow volume nodes. It accepts shadows from Irrlicht nodes correctly (i.e. box node), but I'd like to somehow make the BSP mesh to also drop shadows on itself.
Is this possible? I tried to add shadow volume node to map node, but the shadows are not drawn.
I know q3map2 + Irrlicht can compile lightmaps for BSP, but I want to handle lights by my engine.
Thanks in advance!
BSP dropping shadows on itself
Re: BSP dropping shadows on itself
Hey,
Seems like I figured it out. I just had to increase light radius a bit, and it works!
I'm using ELT_SPOT light that is pointed down (direction 90;0;0) with InnerCone=0 and OuterCone=90.
I also had to compile BSP without "-light" (using just single "-meta").
Seems like I figured it out. I just had to increase light radius a bit, and it works!
I'm using ELT_SPOT light that is pointed down (direction 90;0;0) with InnerCone=0 and OuterCone=90.
I also had to compile BSP without "-light" (using just single "-meta").