Skip to content

Commit 71d27bf

Browse files
authored
Thin-film improvements (#167)
This addresses the following: - Implementing thin-film interference in combination with F82-tint metallic Fresnel #79 - For consistency, every section should have a "weight" parameter. #134 - Thin film in micrometers divided by 2 for normalized parameter range #150
1 parent 74ecb22 commit 71d27bf

File tree

7 files changed

+587
-122
lines changed

7 files changed

+587
-122
lines changed

examples/open_pbr_default.mtlx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
<input name="coat_anisotropy" type="float" value="0.0" />
3737
<input name="coat_rotation" type="float" value="0.0" />
3838
<input name="coat_ior" type="float" value="1.6" />
39+
<input name="thin_film_weight" type="float" value="0.0" />
3940
<input name="thin_film_thickness" type="float" value="0" />
4041
<input name="thin_film_ior" type="float" value="1.5" />
4142
<input name="emission_luminance" type="float" value="0.0" />

examples/open_pbr_pearl.mtlx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
<input name="coat_weight" type="float" value="1" />
1414
<input name="coat_roughness" type="float" value="0.15" />
1515
<input name="coat_ior" type="float" value="1.68" />
16-
<input name="thin_film_thickness" type="float" value="420" />
16+
<input name="thin_film_weight" type="float" value="1.0" />
17+
<input name="thin_film_thickness" type="float" value="0.420" />
1718
<input name="thin_film_ior" type="float" value="2" />
1819
</open_pbr_surface>
1920
</materialx>

examples/open_pbr_soapbubble.mtlx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
<input name="specular_roughness" type="float" value="0" />
88
<input name="specular_ior" type="float" value="1.0" />
99
<input name="transmission_weight" type="float" value="1.0" />
10-
<input name="thin_film_thickness" type="float" value="500" />
10+
<input name="thin_film_weight" type="float" value="1.0" />
11+
<input name="thin_film_thickness" type="float" value="0.5" />
1112
<input name="thin_film_ior" type="float" value="1.4" />
1213
<input name="geometry_thin_walled" type="boolean" value="true" />
1314
</open_pbr_surface>

0 commit comments

Comments
 (0)