跳到主要内容
shadow-mapping · 实验课
回到实验工作台
Graphics Learning Lab Shadow Mapping / Depth pass

Observe · Change · Recompute · Explain

阴影是从哪一个视角算出来的?

4 lessons · 7 debug views

先从光源视角写入深度,再在相机 pass 重建 light-space 坐标并比较深度。控制台默认是草稿,只有 Recompute 才会把参数送进双 pass;实时更新仍可按需打开。

这一课怎么学

  1. 观察
  2. 预测
  3. 改一个量
  4. 看证据
  5. 再读代码