Home Forums Games202-高质量实时渲染 PCSS中blocker 在 shadowMap中的region大小是怎么计算的呢

Viewing 2 reply threads
  • Author
    Posts
    • #7976 Score: 0
      Kyrie
      Participant

      如何根据light size 和 distance算出region的大小呢

    • #7978 Score: 2
      zhishao
      Participant
      2 pts

      我的理解是把shadow map置于light space的近平面上,那么面光源为底,shading point为顶是一个三角形。shadow map为底,shading point为顶是第二个三角形。然后利用相似三角形计算。

      具体可以看
      https://zhuanlan.zhihu.com/p/360241171

      This post has received 2 votes up.
    • #7980 Score: 0
      flyingSnow
      Participant
      4 pts

      blocker在SM中的大小就是blocker在SM里的矩形面积啊

Viewing 2 reply threads
  • You must be logged in to reply to this topic.