SIGGRAPH 上顽皮狗的分享
Here are a few more examples. Note how the puddles show four characteristic regions. A) Core of the puddle, the water surface is totally flat. B) Region where surface tension causes water to cling to the surface underneath, causing a shrink-wrapped look. C) Region where water has saturated the surface, causing a darkening of the albedo, but not significantly affecting normals or specular response. D) Dry, unmodified surface.
而这里是代码。 艺术家可以控制两个参数,”湿润度 “和 “孔隙度”,它们可以独立混合。 湿润度驱动不同阶段之间的过渡,在上一张幻灯片中已经解释过。 多孔性是一个可选的控制(如果省略了,就用粗糙度来代替)。 多孔性会影响基色的变暗–多孔性强的表面会变暗,多孔性弱的表面,更 “硬 “的表面,变暗的程度更低。 请注意,我们只是将基色 “平方 “化 - 与现实世界的参考相比,这是一个合理的近似值,即当一个表面被弄湿时发生的变暗。