Jump to content

how to disable displacement in matnet


Recommended Posts

Hi, I try to make a enable/disable switch for displacement, instead of cutting node's connections . So far, I tried to connect 'switch node' between collect node and displaceOutputVariables and Parameters. but it does not work. 

Next, I tried' Properties > add Disable displace Shader rendering'. However, it still renders displacement. Thus how should I properly create displacement switch?

 

I am using copy instance after material is assigned with a "share displacement with instances" in properties. That's why disable button possibly won't work correctly...

Edited by tagosaku
Link to comment
Share on other sites

  • 2 weeks later...

hi

1 - if you want to use switch in shader, put it in between the displacement VOP and Displace Output Vars. that works.

2 - if you want to use Disable shader rendering property it will work if you add it to your ROP instead of shader. it should also work as an object property i think, but not sure about that.

Link to comment
Share on other sites

Davpe, thanks for reply.

Your method also does not work for me. I took many tests and it seem like problems are that I use packed instacing(copy node) and shaders are applied on material SOP. These combination breaks displacement switch. 

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...