-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementing thin-film interference in combination with F82-tint metallic Fresnel #79
Comments
We discussed this and agree that it's not ideal that the interaction between the thin film and the rest of the model is under-specified. In Arnold the thin-film effect amounts to adding some color fringes to the Fresnel term of the base (metal or dielectric) via "Airy" theory, but this involves knowing the IOR, which as you point out for the metal we no longer define. What we do in Arnold's OpenPBR implementation (for example) is convert from the F82 model to the conductor IOR using the Gulbrandsen model. We probably do need to say something about the need for such an approximation (i.e. how to interpret the physics given the not strictly physical F82 model). |
We need a PR to clarify the thin film behavior. |
Thanks for this original report, @lukasstockner, and it's now addressed in #167. |
The current spec draft points out the method used for implementing thin-film interference effects. However, this paper and its reference implementation assume that the physically correct dielectric and conductive Fresnel terms are used so that the optical phase shift can be computed.
However, OpenPBR uses the F82-tint model for metals, which directly computes the reflectivity without going through computing a complex IOR and then using it in the conductive Fresnel term.
Therefore, it might be helpful to include a note in the spec on how to reconcile this and how to compute/estimate the phase shift when implementing the thin-film component.
The text was updated successfully, but these errors were encountered: