Jump to content

Mixing several materials issue...


Recommended Posts

Hello guys,

Please take a look at the image below. To mix several materials, when I connect the output of the first "Mtlx Mix" node to the input of the second one, it doesn't work properly.

How can I fix it?

Or, Is this a right way to mixing materials by the attributes?

 

Thanks for helping.

Karma Mix materials.jpg

Karma Mix materials.hip

Link to comment
Share on other sites

I don't think there is any claim that Karma XPU can mix "materials" yet. CPU can, so render using the slower method. What XPU does support is the mixing of colors. Try pre-mixing your colors and driving a single material if you're using XPU.

Edited by Atom
Link to comment
Share on other sites

On 9/25/2024 at 5:23 PM, Atom said:

I don't think there is any claim that Karma XPU can mix "materials" yet. CPU can, so render using the slower method. What XPU does support is the mixing of colors. Try pre-mixing your colors and driving a single material if you're using XPU.

No, XPU can show mix materials, but just two of them.

Link to comment
Share on other sites

Ah, I see what you mean, but you can pre-mix colors into a single material, then mix those two materials together. This will allow three-color or three-texture blending, but not a complex material like glass, stone, and rubber all in one.

Untitled-1.jpg

Edited by Atom
Link to comment
Share on other sites

  • 3 weeks later...
On 9/25/2024 at 6:01 AM, Masoud said:

Hello guys,

Please take a look at the image below. To mix several materials, when I connect the output of the first "Mtlx Mix" node to the input of the second one, it doesn't work properly.

How can I fix it?

Or, Is this a right way to mixing materials by the attributes?

 

Thanks for helping.

Karma Mix materials.jpg

Karma Mix materials.hip 286.97 kB · 29 downloads atf booru

To fix the issue when mixing materials with "Mtlx Mix" nodes, ensure the blending factors (like masks or attributes) are correctly set and compatible between nodes. Check that the first node's output connects properly to the second one, and verify that the materials you're blending work with the attributes you've assigned. If the issue persists, try adjusting the mix order or using an alternative method, such as layered materials, to achieve the desired result.

Edited by RoseCliver
  • Downvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...