File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change 112
112
<input name =" roughness" type =" float" nodename =" coat_affected_roughness" />
113
113
<input name =" anisotropy" type =" float" interfacename =" specular_anisotropy" />
114
114
</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 >
128
115
129
116
<!-- Tangent rotation -->
130
117
<multiply name =" tangent_rotate_degree" type =" float" >
400
387
<input name =" weight" type =" float" value =" 1.0" />
401
388
<input name =" tint" type =" color3" nodename =" if_transmission_tint" />
402
389
<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 " />
404
391
<input name =" normal" type =" vector3" interfacename =" geometry_normal" />
405
392
<input name =" tangent" type =" vector3" nodename =" main_tangent" />
406
393
<input name =" distribution" type =" string" value =" ggx" />
You can’t perform that action at this time.
0 commit comments