Spot light and shadows, also water

are spot lights supposed to cast shadows? im trying to make something like a flashlight but it does not make any shadows, i have called setShadowCaster(true) and directionallight shadows work fine



also if i set the shadow pass to use additive lighting, my projected water turns black, but looks fine using modulative, modulative however doesnt look very nice, is this a common issue?

edit: ok nevermind that^, i just noticed that i had added my rootnode to the shadowpass which included the skybox and water… fixed now

I don't think anyone has implemented shadow mapping for spot lights yet. Or are you using stencil shadows?

im just using ShadowedRenderPass, yes they are stencil shadows