Community
Arnold General Rendering Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does HtoA support layer shader and MaterialX? It doesn't appear so...

5 REPLIES 5
Reply
Message 1 of 6
jamesrobinsonvfx
361 Views, 5 Replies

Does HtoA support layer shader and MaterialX? It doesn't appear so...

Layered Shaders don't appear to work with materialX in Arnold. The following error is raised in the attached example scene, and renders black.

[/obj/render/materialx1] no node definition found for connected shader "/obj/shop/crag_layered/standard_surface1"

Is the layer shader not supported?

layer-shader-mtlx-broken.zip

Tags (2)
Labels (2)
5 REPLIES 5
Message 2 of 6
madsd
in reply to: jamesrobinsonvfx

Sphere001 object .mtlx file a checker through layer to closure, I can call this directly in arnold and it renders perfect. try see for refference ( I made this file outside of houdini

Message 3 of 6

It's not an HtoA-specific issue.

The materialx exporter isn't handling mix_shader or layer_shader, with either one I don't get a working mtlx file.



// Stephen Blair
// Arnold Renderer Support
Message 4 of 6

Is the materialx export issue resolved with Arnold 5.4.0.1 (HtoA 4.3.0)?

Message 5 of 6

@Orn Gunnarsson

Hi Orn, I just tested with HtoA 5.4.0.1 (HtoA 4.3.0) in Houdini 17.5.360, and it appears to still not work on my end.

Message 6 of 6

Hi James. I've identified the issue and logged a bug which we aim to address as soon as possible.

The problem is that the layered standard_surface shaders have an empty type when exported, whereas they should be 'closure' (this only seems to affect closures). If I modify the exported .mtlx file so we have e.g. <standard_surface name="/obj/shop/crag_layered/standard_surface2" type="closure"> then it renders correctly for me.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report