|
898 | 898 |
|
899 | 899 | The thickness and IOR together affect the intensity, spacing, and hue of the color fringes. The coverage weight acts as a blend between the BSDF with and without the presence of the film, allowing the overall strength of the effect to be adjusted without altering its structure or color. |
900 | 900 |
|
901 | | -The currently recommended thin-film model for RGB rendering contexts is that of Belcour and Barla [#Belcour2017]. This model provides an efficient, high-quality approximation of thin-film interference suitable for typical RGB-based production rendering. |
| 901 | +The currently recommended thin-film model for RGB rendering is that of Belcour and Barla [#Belcour2017]. This model provides an efficient, high-quality approximation of thin-film interference suitable for typical RGB-based production rendering. |
902 | 902 |
|
903 | | -In addition, implementations that operate in a spectral rendering context (or that otherwise wish to account for wavelength-dependent IOR and extinction) may compute the thin-film Fresnel effect directly from first principles by evaluating the Fresnel and thin-film interference equations at one or more wavelengths and integrating the result according to the renderer's spectral rendering pipeline. In such implementations, the thin-film effect is typically evaluated using the Airy-style multi-bounce formulation described by Belcour and Barla (e.g., Equation 3 in [#Belcour2017]) together with wavelength-dependent Fresnel amplitude and phase at the film interfaces. Implementations should verify that their thin-film Fresnel implementation agrees with the recommended Belcour and Barla model in the parameter regimes where that model applies. |
| 903 | +In addition, implementations that operate in a spectral rendering context (or that otherwise wish to account for wavelength-dependent IOR and extinction) may compute the thin-film Fresnel effect directly from first principles by evaluating Fresnel and thin-film interference at one or more wavelengths and integrating the result according to the renderer's spectral pipeline. In such implementations, the thin-film effect is typically evaluated using an Airy-style multi-bounce formulation (e.g., Equation 3 in [#Belcour2017]) together with wavelength-dependent Fresnel amplitude and phase at the film interfaces. Results should be validated against the recommended Belcour and Barla model in the parameter regimes where that model applies. |
904 | 904 |
|
905 | | -Regardless of which approach is chosen, several considerations apply to both: |
| 905 | +Regardless of which approach is used, several considerations apply: |
906 | 906 |
|
907 | | - - The shape and color of the fringe patterns in the reflection from the film will be affected by the complex IOR of the adjacent media above and below the film, which in general are a statistical mix of metal and dielectric below, and of coat and ambient medium above (to which the fuzz is index-matched). Figure [ior_configs] illustrates the eight possible different structures depending on the presence of both the film and coat, each of which leads to different Fresnel effects due to the differing IORs at the interfaces. In principle the implementation should account for all of these configurations accurately, though the precise modeling of these effects is left to the implementation. |
| 907 | + - The shape and color of the fringe patterns in the reflection from the film are affected by the complex IOR of the adjacent media above and below the film, which in general are a statistical mix of metal and dielectric below, and of coat and ambient medium above (to which the fuzz is index-matched). Figure [ior_configs] illustrates the eight possible different structures depending on the presence of both the film and coat, each of which leads to different Fresnel effects due to the differing IORs at the interfaces. In principle the implementation should account for all of these configurations accurately, though the precise modeling of these effects is implementation-dependent. |
908 | 908 |
|
909 | | - - The thin-film thickness is assumed to be smaller than the scale of the microfacets and assumed to be smooth. With this assumption, in practice the effect is most easily incorporated directly into the Fresnel factor of the microfacet BSDFs of both the metal and dielectric-base layers (thus it is *not* represented by incorporating an explicit thin-film Slab into the model). |
| 909 | + - The thin-film thickness is assumed to be smaller than the scale of the microfacets and the film is assumed to be smooth. With this assumption, in practice the effect is most easily incorporated directly into the Fresnel factor of the microfacet BSDFs of both the metal and dielectric-base layers (thus it is *not* represented by incorporating an explicit thin-film Slab into the model). |
910 | 910 |
|
911 | | - - In the case of the dielectric base, the thin-film should also generate color fringes in the transmission lobe. This is important for example when rendering soap bubbles (see [#Belcour2017]). |
| 911 | + - In the case of a dielectric base, the thin film should also generate color fringes in the transmission lobe. This is important, for example, when rendering soap bubbles (see [#Belcour2017]). |
912 | 912 |
|
913 | | - - In the case of the metallic base the physics is somewhat ambiguous since, as described in the Metal section, the Fresnel factor for metal is defined according to the Schlick-based "F82-tint" parametrization, which does not specify the underlying physical complex IOR. We suggest here that some reasonable approximation is employed to map the Fresnel factor to the best matching effective complex IOR, for example that described by [#Gulbrandsen2014]. |
| 913 | + - In the case of a metallic base the physics is somewhat ambiguous since, as described in the Metal section, the Fresnel factor for metal is defined according to the Schlick-based "F82-tint" parametrization, which does not specify the underlying physical complex IOR. We suggest that some reasonable approximation is employed to map the Fresnel factor to a best-matching effective complex IOR, for example that described by [#Gulbrandsen2014]. |
914 | 914 |
|
915 | | - - Because the thin film is non-absorbing and interference-based, it only redistributes the probabilities of reflection and transmission; therefore, it should not violate energy conservation. |
| 915 | + - Because the thin film is non-absorbing and interference-based, it only redistributes the probabilities of reflection and transmission; therefore, it should not violate energy conservation. |
916 | 916 |
|
917 | 917 | ![Figure [ior_configs]: Schematic of all 8 possible IOR configurations, including those involving the thin-film.](images/IOR_configs.svg width="95%" align="center") |
918 | 918 |
|
|
0 commit comments