With a careful and complex set up, one MIGHT be able to use my shadow system to both have shadows and cast "spotlight" like pools of light.
If you imagine that you first render the level with only lights and shadows and no textures, then in theory you could get something set up where you have 50% grey over most of the scene, but white shadows for spotlights and black shadows for actual shadows. Then you render the scene on top of this with textures and no lighting, using multiply, or preferably, x2 multiply blending. Then you'd have both spotlights and shadows.
Would probably have to have a third layer which is rendered before the shadow stuff though that contains a lightmapped layer.
Actually, in theory you should be able to render the lightmapped layer with the shadows/spotlights at the same time. The shadows would fall on top of the lightmaps and modulate the lighting correctly.
Then you just render the texture layer over that with the multiply or x2 multiply blending
Yeah, that'd probably work. x2 multiply isn't into Blitz yet, but it will be realtively soon I think.
|