Skip to content
Discussion options

You must be logged in to vote

Hi @shiasin

As far as I know, in spectral mode, the refractive index varies across different wavelengths.

That is correct. However, FWIW I believe we don't model this in any of the existing materials.

how does Mitsuba internally handle the fact that direction (wo) and pdf are shared across multiple wavelengths, even though the BSDF evaluation depends on wavelength-specific behaviour like refractive index?

The solution to this, is to build one single geometric light path and evaluate it for 4 different wavelengths. Of course, with something like an ideal dielectric with a spectral-varying refractive index, there is only a single valid outgoing direction (wo) per wavelength. In practice…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shiasin
Comment options

Answer selected by njroussel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants