tagosaku Posted April 23, 2019 Share Posted April 23, 2019 (edited) 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 April 24, 2019 by tagosaku Quote Link to comment Share on other sites More sharing options...
davpe Posted May 6, 2019 Share Posted May 6, 2019 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. Quote Link to comment Share on other sites More sharing options...
tagosaku Posted May 6, 2019 Author Share Posted May 6, 2019 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. Quote Link to comment Share on other sites More sharing options...
davpe Posted May 7, 2019 Share Posted May 7, 2019 (edited) it definitely works, you must be doing something wrong. check the gif and the hipfile. edit: it works when you have material applied on SOP level with Material node as well. disable_displ.hiplc Edited May 7, 2019 by davpe 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.