Tecomo

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: [作业2]在web里显示不出来。。。 #8374 Score: 0
    Tecomo
    Participant

    不用回了。是自己脑残。。。。算法没问题。。。

    in reply to: 给WpenumbraRatio乘上NEAR_PLANE / zReceiver效果更好 #8065 Score: 0
    Tecomo
    Participant

    penumbraRatio = (dReceiver – dBlocker) / dBlocker;
    penumbraRatio = penumbraRatio * lightSize * NEARPLANE / dReceiver;
    按理说直接penumbraRatio * lightSize就是filtersize了,后面这两是在干嘛?

    “如果渲染shadowmap用的是透视投影,那根据相似三角形乘上NEAR_PLANE / zReceiver就是WpenumbraRatio在shadowmap上的大小”

    这句还是没太明白,三角形是哪几个边构建的?方便的话可以麻烦画个图吗?

Viewing 2 posts - 1 through 2 (of 2 total)