Jump to content

question about pbr and volume inscattering,outscattering,extinction


jonp

Recommended Posts

I've been doing some reseach on volume shading and am working to design a reference shader that is 'correct', from a sort of academic standpoint.

When using PBR, the results of F automatically get multiplied by Of. Which leads me to wonder: if I want to account for out-scattering, I assume I should multiply the density by my scattering color so the extinction/opacity gets tinted appropriately. However, do I need to multiply F by that same color to account for the in-scattering? Or is that theoretically accounted for by multiple volume bounces?

Based on my testing I can't seem to tell either way. Not multiplying F by the scattering color seems to not tint the secondary bounces enough, though.

-Jon

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...