Skip to content

Commit 9637544

Browse files
committed
Update the MDL impelmentation
1 parent fe6c359 commit 9637544

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

source/MaterialXGenMdl/mdl/materialx/pbrlib_1_6.mdl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ export material mx_dielectric_bsdf(
154154
color mxp_tint = color(1.0),
155155
float mxp_ior = 1.5,
156156
float2 mxp_roughness = float2(0.0),
157+
int mxp_priority = 0,
157158
float3 mxp_normal = state::normal(),
158159
float3 mxp_tangent = state::texture_tangent_u(0),
159160
uniform core::mx_distribution_type mxp_distribution = core::mx_distribution_type_ggx [[ anno::unused() ]],

source/MaterialXGenMdl/mdl/materialx/pbrlib_1_9.mdl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ export material mx_dielectric_bsdf(
230230
color mxp_tint = color(1.0),
231231
float mxp_ior = 1.5,
232232
float2 mxp_roughness = float2(0.0),
233+
int mxp_priority = 0,
233234
float3 mxp_normal = state::normal(),
234235
float3 mxp_tangent = state::texture_tangent_u(0),
235236
uniform core::mx_distribution_type mxp_distribution = core::mx_distribution_type_ggx [[ anno::unused() ]],

0 commit comments

Comments
 (0)