Wave equation based illumination analysis