Cycles: Thin film iridescence for metals
Applies thin film iridescence to metals in Metallic BSDF and Principled BSDF. To get the complex IOR values for each spectral band from F82 Tint colors, the code uses the parametrization from "Artist Friendly Metallic Fresnel", where the g parameter is set to F82. This IOR is used to find the phase shift, but reflectance is still calculated with the F82 Tint formula after adjusting F0 for the film's IOR. Co-authored-by: Lukas Stockner <lukas@lukasstockner.de> Co-authored-by: Weizhen Huang <weizhen@blender.org> Co-authored-by: RobertMoerland <rmoerlandrj@gmail.com> Pull Request: https://projects.blender.org/blender/blender/pulls/141131
This commit is contained in:
committed by
Lukas Stockner
parent
6c6d1a9b63
commit
2bd06093c7
BIN
tests/files/render/bsdf/cycles_renders/metallic_thinfilm_f82.png
(Stored with Git LFS)
Normal file
BIN
tests/files/render/bsdf/cycles_renders/metallic_thinfilm_f82.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
tests/files/render/bsdf/cycles_renders/metallic_thinfilm_physical.png
(Stored with Git LFS)
Normal file
BIN
tests/files/render/bsdf/cycles_renders/metallic_thinfilm_physical.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
tests/files/render/bsdf/eevee_renders/metallic_thinfilm_f82.png
(Stored with Git LFS)
Normal file
BIN
tests/files/render/bsdf/eevee_renders/metallic_thinfilm_f82.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
tests/files/render/bsdf/eevee_renders/metallic_thinfilm_physical.png
(Stored with Git LFS)
Normal file
BIN
tests/files/render/bsdf/eevee_renders/metallic_thinfilm_physical.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
tests/files/render/bsdf/metallic_thinfilm_f82.blend
(Stored with Git LFS)
Normal file
BIN
tests/files/render/bsdf/metallic_thinfilm_f82.blend
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
tests/files/render/bsdf/metallic_thinfilm_physical.blend
(Stored with Git LFS)
Normal file
BIN
tests/files/render/bsdf/metallic_thinfilm_physical.blend
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
tests/files/render/bsdf/storm_hydra_renders/metallic_thinfilm_f82.png
(Stored with Git LFS)
Normal file
BIN
tests/files/render/bsdf/storm_hydra_renders/metallic_thinfilm_f82.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
tests/files/render/bsdf/storm_hydra_renders/metallic_thinfilm_physical.png
(Stored with Git LFS)
Normal file
BIN
tests/files/render/bsdf/storm_hydra_renders/metallic_thinfilm_physical.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
tests/files/render/bsdf/storm_usd_renders/metallic_thinfilm_f82.png
(Stored with Git LFS)
Normal file
BIN
tests/files/render/bsdf/storm_usd_renders/metallic_thinfilm_f82.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
tests/files/render/bsdf/storm_usd_renders/metallic_thinfilm_physical.png
(Stored with Git LFS)
Normal file
BIN
tests/files/render/bsdf/storm_usd_renders/metallic_thinfilm_physical.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
tests/files/render/bsdf/workbench_renders/metallic_thinfilm_f82.png
(Stored with Git LFS)
Normal file
BIN
tests/files/render/bsdf/workbench_renders/metallic_thinfilm_f82.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
tests/files/render/bsdf/workbench_renders/metallic_thinfilm_physical.png
(Stored with Git LFS)
Normal file
BIN
tests/files/render/bsdf/workbench_renders/metallic_thinfilm_physical.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
tests/files/render/principled_bsdf/cycles_renders/principled_bsdf_thinfilm_metallic.png
(Stored with Git LFS)
Normal file
BIN
tests/files/render/principled_bsdf/cycles_renders/principled_bsdf_thinfilm_metallic.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
tests/files/render/principled_bsdf/eevee_renders/principled_bsdf_thinfilm_metallic.png
(Stored with Git LFS)
Normal file
BIN
tests/files/render/principled_bsdf/eevee_renders/principled_bsdf_thinfilm_metallic.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
tests/files/render/principled_bsdf/principled_bsdf_thinfilm_metallic.blend
(Stored with Git LFS)
Normal file
BIN
tests/files/render/principled_bsdf/principled_bsdf_thinfilm_metallic.blend
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
tests/files/render/principled_bsdf/storm_hydra_renders/principled_bsdf_thinfilm_metallic.png
(Stored with Git LFS)
Normal file
BIN
tests/files/render/principled_bsdf/storm_hydra_renders/principled_bsdf_thinfilm_metallic.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
tests/files/render/principled_bsdf/storm_usd_renders/principled_bsdf_thinfilm_metallic.png
(Stored with Git LFS)
Normal file
BIN
tests/files/render/principled_bsdf/storm_usd_renders/principled_bsdf_thinfilm_metallic.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
tests/files/render/principled_bsdf/workbench_renders/principled_bsdf_thinfilm_metallic.png
(Stored with Git LFS)
Normal file
BIN
tests/files/render/principled_bsdf/workbench_renders/principled_bsdf_thinfilm_metallic.png
(Stored with Git LFS)
Normal file
Binary file not shown.
Reference in New Issue
Block a user