kiryha Posted February 24 Share Posted February 24 Hello, I am trying to replicate the Principled Shader setup with MaterialX and can't get it working. I see 2 issues: the "bind" node doesn't read "pagea" and "pageb" attributes (string path to the texture files, e.g. E:/textures/page_1.jpg) defined in SOP context twosided node is not working with material X If you assign "/materials/page_principal" material shader will work, "/materials/page_mtlx" - no. book_flip_pages_008.hiplc Quote Link to comment Share on other sites More sharing options...
Librarian Posted February 25 Share Posted February 25 https://www.sidefx.com/forum/topic/84705/?page=1#post-366207 Quote Link to comment Share on other sites More sharing options...
kiryha Posted February 25 Author Share Posted February 25 Right, I saw that post. That particular one is with principledshadercore, which is not what I need, and next post is more close but I still don't get how to gett attribute, attach texture etc. Quote Link to comment Share on other sites More sharing options...
Librarian Posted February 25 Share Posted February 25 @kiryha maybe this ex gonna Help. Diffways.hipnc 1 Quote Link to comment Share on other sites More sharing options...
kiryha Posted February 26 Author Share Posted February 26 Why can't I create a "USD Prim Var Reader" node in the "USD MaterialX Builder" context? But I can create this node in the "USD Preview Material Builder" context and then copy-paste it to the USD MaterialX Builder. Why if I connect the "USD Prim Var Reader" result to the "MtlX Image" file, it also affect the signature? How can I break the connection to the signature? It is also giving an error: Input storage type (uniform/varying) does not match input 'file'. Quote Link to comment Share on other sites More sharing options...
kiryha Posted February 26 Author Share Posted February 26 I am trying to get varable value with expression from that node (rather then by connecting it): `chs("../usdprimvarreader1/result")` And it is not working as well... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.