Clyde #1 You might want to look into raytracing / raycasting, and see if that has anything on setting up shadows and lighting.