|
发表于 2009-9-6 23:01:00
|
显示全部楼层
Re:有没有比较深入介绍SSAO算法的中文文章?
the main idea:
We sample the 3D space around point P (using a predefined kernel of offset points distributed in t he surrounding sphere) and for every sample point we check whether we are inside the geometry or not. This can be implemented by a simple comparison between the screen-space depth of the 3D sample point and the value stored in the depth buffer at the sampe screen position. If the depth value of a smaple point is greater than the depth buffer value, the sample considered to be inside the geometry
--Vladimir Kajalin from crytek
ssao需要显卡高带宽的支持,crysis里优化过的ssao ps也有86条指令,sm2.0的卡还是算了吧......
|
|