can someone please explain to me or give example code on how to implement shadows. i need to do it for a room so the figuring out the planes is easy because the planes would be along the axis. I’m not sure on how to code it though.

last contest was about Lights&Shadows, the entries are provided with source code. Hope it helps