Mantra volume shader lacks Absorption control?

   1292   2   0
User Avatar
Member
5 posts
Joined: March 2021
Offline
Hi guys. I recently read about some volume rendering papers and noticed that there are 3 types of behaviour when light interacts with volumes: SCATTER, ABSORPTION and EMISSION. But the default volume shader core and pyro shader core (in Mantra) doesn't support Absorption. Is there any reason for this or how do we get around that?
User Avatar
Member
7755 posts
Joined: Sept. 2011
Online
You can do it, you just have to refactor the volume material to be based on those parameters. As it is, it uses density and diffuse albedo.
if my memory is correct the relationship is:

scatter + absorption = density
scatter / (scatter + absorption) = diffuse
User Avatar
Member
238 posts
Joined: Nov. 2013
Offline
you should be able to change the signature parameter to vector. to get absorption
http://www.sekowfx.com [www.sekowfx.com]
  • Quick Links