static raytracing with shadows