Skip to content

Commit

Permalink
fixed the MDL implementation to use the correct intrinsic
Browse files Browse the repository at this point in the history
  • Loading branch information
krohmerNV committed Jan 27, 2025
1 parent d046beb commit 4c519b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/MaterialXGenMdl/mdl/materialx/stdlib_1_6.mdl
Original file line number Diff line number Diff line change
Expand Up @@ -1459,7 +1459,7 @@ export color mx_fract_color3(
anno::description("Node Group: math")
]]
{
return color(math::fract(float3(mxp_in)));
return color(math::frac(float3(mxp_in)));
}

export core::color4 mx_fract_color4(
Expand All @@ -1469,7 +1469,7 @@ export core::color4 mx_fract_color4(
anno::description("Node Group: math")
]]
{
return core::mk_color4(math::fract(core::mk_float4(mxp_in)));
return core::mk_color4(math::frac(core::mk_float4(mxp_in)));
}

export core::color4 mx_invert_color4(
Expand Down

0 comments on commit 4c519b3

Please sign in to comment.