Skip to content

Commit 5bb9a13

Browse files
Enable Zeltner sheen (#217)
This changelist enables Zeltner sheen in the reference implementation of OpenPBR, leveraging the new functionality in MaterialX 1.39. Additionally, the open_pbr_velvet.mtlx example has been updated to account for the visual differences between Conty-Kulla and Zeltner sheen.
1 parent 660b206 commit 5bb9a13

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/open_pbr_velvet.mtlx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
<input name="specular_roughness" type="float" value="0.8" />
99
<input name="fuzz_weight" type="float" value="1" />
1010
<input name="fuzz_color" type="color3" value="0.4, 0.4, 0.4" />
11-
<input name="fuzz_roughness" type="float" value="0.2" />
11+
<input name="fuzz_roughness" type="float" value="0.5" />
1212
</open_pbr_surface>
1313
</materialx>

reference/open_pbr_surface.mtlx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,12 +558,12 @@
558558
</layer>
559559

560560
<!-- Fuzz Layer -->
561-
<!-- TODO: Add a new BSDF node for the selected fuzz model in OpenPBR -->
562561
<sheen_bsdf name="fuzz_bsdf" type="BSDF">
563562
<input name="weight" type="float" interfacename="fuzz_weight" />
564563
<input name="color" type="color3" interfacename="fuzz_color" />
565564
<input name="roughness" type="float" interfacename="fuzz_roughness" />
566565
<input name="normal" type="vector3" interfacename="geometry_normal" />
566+
<input name="mode" type="string" value="zeltner" />
567567
</sheen_bsdf>
568568
<layer name="fuzz_layer" type="BSDF">
569569
<input name="top" type="BSDF" nodename="fuzz_bsdf" />

0 commit comments

Comments
 (0)