Non-Surface Models
Participating Media 散射介质
Fog

Cloud

- At any point as light travels through a participating medium, it can be (partially) absorbed and scattered.
如果云中间有光源,那么中间会发光。
在光线行进的过程中,云里面有各种晶体,会把光线随机打到其他光线去。
传播的时候也可能接收到其他地方散射过来的光。
有些光传播着能量就没了,例如乌云,穿不过去,就等于被吸收了。

- Use Phase Function to describe the angular distribution of light scattering at any point x within participating media.
任何一个点都会向各种地方散射,怎么散由一个函数来定义:Phase Function(相位函数),这个函数决定是均匀地散(下图左2),还是主要往背后散(下图左1)或者向前散(下图左3),与 BRDF 很像。

Rendering
- Randomly choose a direction to bounce
- Randomly choose a distance to go straight
- At each ‘shading point’, connect to the light