https://en.wikipedia.org/wiki/Ambient_occlusion

https://gamedev.stackexchange.com/questions/23/what-is-ambient-occlusion

http://people.mpi-inf.mpg.de/~ritschel/Papers/SSDO.pdf

 

注解:

论文(http://people.mpi-inf.mpg.de/~ritschel/Papers/SSDO.pdf)中A,B,C,D这些采样点是怎么取的。

Ambient occlusion

采样点A,B,C,D的取法是:使方向PA,PB,PC,PD恰好均分半球立体角(2pi球面度),但这四个向量的长度均为[0,r_max]内的随机值。

btw:然后发现A,B,D均落在了物体内部,于是认为PA,PB,PD这三个方向都被遮蔽了,而C点落在了物体外部,认为PC方向没有遮蔽。

 

相关文章:

  • 2021-05-24
  • 2022-01-26
  • 2022-12-23
  • 2022-01-09
  • 2022-12-23
  • 2021-12-06
  • 2021-09-07
猜你喜欢
  • 2022-12-23
  • 2022-01-13
  • 2022-12-23
  • 2021-09-18
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案