tftl

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: 【作业2】球谐系数求教 #8279 Score: 1
    tftl
    Participant
    1 pt

    可以看一下ext/spherical-harmonics/sh/spherical_harmonics.cc中的ProjectEnvironment函数。

    这个虽然是利用的不是cubemap,但是思路是类似的。

    注意其中weight项,想象一下cubemap的情况。

    This post has received 1 vote up.
    in reply to: 作业一阴影很小 #8035 Score: 0
    tftl
    Participant
    1 pt

    看上去像是projection的cube参数有问题,先画一下shadowmap看看
    具体方法参考这里

    • This reply was modified 3 years, 8 months ago by tftl.
Viewing 2 posts - 1 through 2 (of 2 total)