Skip to content

Commit 8824c7e

Browse files
authored
Remove unused transmission roughness from reference graph (#173)
1 parent 5dc2a16 commit 8824c7e

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

reference/open_pbr_surface.mtlx

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -112,19 +112,6 @@
112112
<input name="roughness" type="float" nodename="coat_affected_roughness" />
113113
<input name="anisotropy" type="float" interfacename="specular_anisotropy" />
114114
</open_pbr_anisotropy>
115-
<!-- Calculate transmission roughness -->
116-
<clamp name="transmission_roughness_clamped" type="float">
117-
<input name="in" type="float" interfacename="specular_roughness" />
118-
</clamp>
119-
<mix name="coat_affected_transmission_roughness" type="float">
120-
<input name="fg" type="float" value="1.0" />
121-
<input name="bg" type="float" nodename="transmission_roughness_clamped" />
122-
<input name="mix" type="float" nodename="coat_affect_roughness_multiply2" />
123-
</mix>
124-
<open_pbr_anisotropy name="transmission_roughness" type="vector2">
125-
<input name="roughness" type="float" nodename="coat_affected_transmission_roughness" />
126-
<input name="anisotropy" type="float" interfacename="specular_anisotropy" />
127-
</open_pbr_anisotropy>
128115

129116
<!-- Tangent rotation -->
130117
<multiply name="tangent_rotate_degree" type="float">
@@ -400,7 +387,7 @@
400387
<input name="weight" type="float" value="1.0" />
401388
<input name="tint" type="color3" nodename="if_transmission_tint" />
402389
<input name="ior" type="float" nodename="modulated_eta_s" />
403-
<input name="roughness" type="vector2" nodename="transmission_roughness" />
390+
<input name="roughness" type="vector2" nodename="main_roughness" />
404391
<input name="normal" type="vector3" interfacename="geometry_normal" />
405392
<input name="tangent" type="vector3" nodename="main_tangent" />
406393
<input name="distribution" type="string" value="ggx" />

0 commit comments

Comments
 (0)