PBR Step by Step(二)辐射度
https://zhuanlan.zhihu.com/p/21376124
转载请注明出处:http://www.cnblogs.com/jerrycg/p/4929119.html
基于物理的渲染要尽量遵循能量守恒原则,主要的测量单位为辐射度。
辐射能Radiant energy
辐射能
![](https://i-blog.csdnimg.cn/blog_migrate/2e336a9bd5fdd8c99fe0e3aacfd035e1.png)
表示。
单个光子的辐射能
![](https://i-blog.csdnimg.cn/blog_migrate/cd368b6dc987cb4c2b6cc4028bee2ca8.png)
![](https://i-blog.csdnimg.cn/blog_migrate/cd368b6dc987cb4c2b6cc4028bee2ca8.png)
![](https://i-blog.csdnimg.cn/blog_migrate/40827a6398fcec6b551562eca003ceb9.png)
![](https://i-blog.csdnimg.cn/blog_migrate/df0a4dd3909b42076fea1bb7b2d04641.png)
![](https://i-blog.csdnimg.cn/blog_migrate/c07423d870c1baa0abbb30064948b4c0.png)
![](https://i-blog.csdnimg.cn/blog_migrate/df0a4dd3909b42076fea1bb7b2d04641.png)
![](https://i-blog.csdnimg.cn/blog_migrate/14dfee35b05e4e5a4f35539d54abc9a9.png)
![](https://i-blog.csdnimg.cn/blog_migrate/df0a4dd3909b42076fea1bb7b2d04641.png)
![](https://i-blog.csdnimg.cn/blog_migrate/14dfee35b05e4e5a4f35539d54abc9a9.png)
![](https://i-blog.csdnimg.cn/blog_migrate/9526014231cb300f9a18b572ec0a0cf5.png)
![](https://i-blog.csdnimg.cn/blog_migrate/b18c6098cc48ae7e23301c6ba367f044.png)
![](https://i-blog.csdnimg.cn/blog_migrate/e2918013f651930d37d12461f46ef48e.png)
![](https://i-blog.csdnimg.cn/blog_migrate/9526014231cb300f9a18b572ec0a0cf5.png)
![](https://i-blog.csdnimg.cn/blog_migrate/0d148ab3aa96ade2103826300c28c7b5.png)
![](https://i-blog.csdnimg.cn/blog_migrate/a5033a9c7e3b2f84f6f470ea1ed925ce.png)
![](https://i-blog.csdnimg.cn/blog_migrate/38e8f23c897e3d70ea3e0350d80c9e0e.png)
![](https://i-blog.csdnimg.cn/blog_migrate/f9a754f299fb97260010ce70a4f5f8c4.png)
![](https://i-blog.csdnimg.cn/blog_migrate/f9a754f299fb97260010ce70a4f5f8c4.png)
![](https://i-blog.csdnimg.cn/blog_migrate/40827a6398fcec6b551562eca003ceb9.png)
![](https://i-blog.csdnimg.cn/blog_migrate/14dfee35b05e4e5a4f35539d54abc9a9.png)
![](https://i-blog.csdnimg.cn/blog_migrate/c07423d870c1baa0abbb30064948b4c0.png)
![](https://i-blog.csdnimg.cn/blog_migrate/5e4bf9f4e026c12e75eb1e90b80619f4.png)
![](https://i-blog.csdnimg.cn/blog_migrate/5e4bf9f4e026c12e75eb1e90b80619f4.png)
![](https://i-blog.csdnimg.cn/blog_migrate/b8c67129c02e3c6577f2a77286556b7d.png)
![](https://i-blog.csdnimg.cn/blog_migrate/b18c6098cc48ae7e23301c6ba367f044.png)
![](https://i-blog.csdnimg.cn/blog_migrate/e2918013f651930d37d12461f46ef48e.png)
![](https://i-blog.csdnimg.cn/blog_migrate/9526014231cb300f9a18b572ec0a0cf5.png)
![](https://i-blog.csdnimg.cn/blog_migrate/6fbf8d42fa262346165de9f0685ec00a.png)
![](https://i-blog.csdnimg.cn/blog_migrate/6561dda2f0dced00462a2eb0542de1a4.png)
为波长,单位为米。
辐射通量Radiant flux
辐射通量
![](https://i-blog.csdnimg.cn/blog_migrate/2e336a9bd5fdd8c99fe0e3aacfd035e1.png)
![](https://i-blog.csdnimg.cn/blog_migrate/8a844c0da58a6dca22d09d0d37b227da.png)
![](https://i-blog.csdnimg.cn/blog_migrate/20b8f7fe76a652aa611d756382773389.png)
![](https://i-blog.csdnimg.cn/blog_migrate/b68e62e6a024d19a6c113fe70a584248.png)
。
光源每秒所发射的辐射能(辐射功率)为
辐射照度Irradiance
辐射照度是单位面积上的辐射通量,
![](https://i-blog.csdnimg.cn/blog_migrate/9b6e509147a31872b96d8c47eea9211d.png)
![](https://i-blog.csdnimg.cn/blog_migrate/94c8576b4bacc9c98e63c49444c05d73.png)
![](https://i-blog.csdnimg.cn/blog_migrate/b68e62e6a024d19a6c113fe70a584248.png)
![](https://i-blog.csdnimg.cn/blog_migrate/91cbba5373cdb9b0ea69436b86c37b9e.png)
![](https://i-blog.csdnimg.cn/blog_migrate/a41d925578911827223e58aa2d055639.png)
![](https://i-blog.csdnimg.cn/blog_migrate/0d148ab3aa96ade2103826300c28c7b5.png)
![](https://i-blog.csdnimg.cn/blog_migrate/83b735baca293efb604041e83fafa479.png)
)。
辐射亮度Radiance
辐射亮度
![](https://i-blog.csdnimg.cn/blog_migrate/b68e62e6a024d19a6c113fe70a584248.png)
![](https://i-blog.csdnimg.cn/blog_migrate/91cbba5373cdb9b0ea69436b86c37b9e.png)
![](https://i-blog.csdnimg.cn/blog_migrate/a41d925578911827223e58aa2d055639.png)
![](https://i-blog.csdnimg.cn/blog_migrate/0d148ab3aa96ade2103826300c28c7b5.png)
![](https://i-blog.csdnimg.cn/blog_migrate/83b735baca293efb604041e83fafa479.png)
![](https://i-blog.csdnimg.cn/blog_migrate/91cbba5373cdb9b0ea69436b86c37b9e.png)
![](https://i-blog.csdnimg.cn/blog_migrate/20b8f7fe76a652aa611d756382773389.png)
![](https://i-blog.csdnimg.cn/blog_migrate/e9cebed62e32535ffe4be3f3c21f7ef5.png)
![](https://i-blog.csdnimg.cn/blog_migrate/0d148ab3aa96ade2103826300c28c7b5.png)
![](https://i-blog.csdnimg.cn/blog_migrate/5afff27d9a807ba051985c56928d4f50.png)
)。
其中入射角度如下图所示:
![](https://i-blog.csdnimg.cn/blog_migrate/5fc13cb22af6a54e1bf88db96219fc8d.png)
![](https://i-blog.csdnimg.cn/blog_migrate/40827a6398fcec6b551562eca003ceb9.png)
![](https://i-blog.csdnimg.cn/blog_migrate/003d53944ab11fa8f7f0508d1941d443.png)
![](https://i-blog.csdnimg.cn/blog_migrate/87b02672f1e348f53685395e1f8b581d.png)
![](https://i-blog.csdnimg.cn/blog_migrate/003d53944ab11fa8f7f0508d1941d443.png)
![](https://i-blog.csdnimg.cn/blog_migrate/69f711b761c1cd09e86315cab4af7a36.png)
![](https://i-blog.csdnimg.cn/blog_migrate/c724e0b73b47e49c5fdc950e404b1746.png)
![](https://i-blog.csdnimg.cn/blog_migrate/5c45533195fd6e4bfb19912ca309b44d.png)
![](https://i-blog.csdnimg.cn/blog_migrate/4f4477f4347bbfffb7d2cea0afe8b561.png)
![](https://i-blog.csdnimg.cn/blog_migrate/2ba1316773b156bfd04e23c9c5968dbd.png)
![](https://i-blog.csdnimg.cn/blog_migrate/003d53944ab11fa8f7f0508d1941d443.png)
![](https://i-blog.csdnimg.cn/blog_migrate/72a40e7b3485d0cd7d5dd005cf43d0ed.png)
辐射度积分
有了以上定义,可知辐射照度为物体表面上的辐射亮度。极小单位表面(投影立体角)上的单位入射辐射度为:
其中,
![](https://i-blog.csdnimg.cn/blog_migrate/231f514695d578c3ce4f9897f3b3f36e.png)
![](https://i-blog.csdnimg.cn/blog_migrate/5dd6ad9677a32c1c974a5401b7307d2e.png)
![](https://i-blog.csdnimg.cn/blog_migrate/32b872421c39024c9af6ba7daa73f28a.png)
的入射辐射亮度。
对上式积分,可得有限立体角
上的入射辐射度为: