shadow calculation on gpu, works but slow as f..