by abram · 4y ago · 0 comments
So to give some examples, a material with 100% transmission would have a density of 0, a material with 10% transmission would have a density of 1.0, and a material with 1% transmission would have a density of 2.0.
Density values have some advantages, including:
- They can be combined with simple addition
- Compared to transmission or opacity values, they correspond more closely to human visual perception
Been too long since I've done computer graphics, but you made me think about implementing transparency pass using absorbance instead.
[1]: https://en.wikipedia.org/wiki/Absorbance#Absorbance_of_a_mat...
[2]: https://en.wikipedia.org/wiki/Transmittance#Beer%E2%80%93Lam...