Can the shadow buffer be accessed from custom shaders?

I’d like to make a game with the BGE, but the biggest issue I have is I can’t access the shadow buffer from a custom shader. I’m wanting to use dynamic lightmaps with real-time shadows, but I don’t think that’s possible as of now. Any idea if it will be?

Hi, you can have a look at this thread: https://blenderartists.org/forum/showthread.php?390765-Custom-GLSL-Materials-with-Shadows&highlight=custom+glsl+materials+with+shadows (all hardwares seems not supported so the code might have to be adapted)

Thanks. I’ll definately take alook.