Cannot add elment graph as a layer for painting

So I created a simple material using the Element Graph function. My outputs are a base color, Roughness and Metalness.

When trying to use this new material into the Layering interface, I get the following error:

ERROR: Cannot drop object='(Element 'Dirt' ae83f5f5-86f2-42ca-ada1-3f9ec6ee1d69)' in current layer graph (Reason: incompatible object)
ERROR: Cannot drop object='(Element 'Dirt' ae83f5f5-86f2-42ca-ada1-3f9ec6ee1d69)' in current layer graph (Reason: Only layer graphs or graphs with an image output can be added to the layer stack)

Screenshot added to show the current output of my material (it is outputting images!)

Any help would be greatly appreciated.

Welcome to the community @FrancisJ!

By default layering applies a filter over which nodes can be used in the layering to hide clutter. The list is currently hardcoded but can be configured in a future update, it’s already available internally.

I think the solution here is to change the category of your Graph from “Default” to “Patterns” or “Materials”

1 Like

That worked! Thanks :smiley:

1 Like

That’s awesome! We’re already working on disabling the filters for user content!

Hello

I have a similar problem as I’m trying to learn Instamat as it seems like a potentially very interesting tool for my students. I am unable to find a way to use/connect the graph created in “painting” a surface. I always get the message “cannot instance element”.

I was trying to test the PBR node setup and layering does not load it. I was also trying others with no success. I also tried to change the Default category to Mat etc.

Any guide? Maybe a suitable topic for a tutorial?

1 Like

Hello @pavelzoch and welcome to our community!

Could you explain further what you are looking to do in InstaMAT? If I understand you correctly, are you looking to use the InstaMAT painting engine to paint directly onto a 3D model?

If so, I can provide you with some articles here to get started with painting:

If you are trying to use a material that you have created with InstaMAT’s Element Graph project in a Layering project, there’s an article explaining more about that here:

In addition, we have a playlist on our YouTube channel that can help you get started as well:

Hope this helps, and please let us know if you have any further questions.

Thanks!

thanks, let me check the article

P

1 Like