Jordan Walsh Posted December 20, 2012 Share Posted December 20, 2012 Im trying to rip out the guts of the displacement part of the Mantra Shader and add in displacement via a HOT node disp output plugged into the dispOutput 'P' and then a shading normal plugged into the dispOutput 'N' but I am getting no displacement... Is there anything else I need to add/remove for it to work? Quote Link to comment Share on other sites More sharing options...
Fabiano Berlim Posted December 20, 2012 Share Posted December 20, 2012 The "Surface Material" is a clean material built for that purpose. Quote Link to comment Share on other sites More sharing options...
Jordan Walsh Posted December 21, 2012 Author Share Posted December 21, 2012 The "Surface Material" is a clean material built for that purpose. Yeah thats true, but I wanted to use all the stuff already set up in the Mantra Shader and just hack the displacement.. Quote Link to comment Share on other sites More sharing options...
Fabiano Berlim Posted December 21, 2012 Share Posted December 21, 2012 Are you plugging it in the input P to the noise? Noises don't pick up input variables by default. I don't know about HOT though. Im trying to rip out the guts of the displacement part of the Mantra Shader and add in displacement via a HOT node disp output plugged into the dispOutput 'P' and then a shading normal plugged into the dispOutput 'N' but I am getting no displacement... Is there anything else I need to add/remove for it to work? No, you don't need anything else. Try to plug the result of P and N to surface color. It's a good way to debug the shader. Quote Link to comment Share on other sites More sharing options...
Jordan Walsh Posted January 7, 2013 Author Share Posted January 7, 2013 (edited) Here is a test scene showing my problem (or lack of understanding!!) If you dive into the mantra surface you will see that I have disconnected the default displacement stuff and have added in a box texture. The thing I dont understand is that the displacement only works when you turn on other the "Enable Displacement Map" or the "Enable Noise" checkbox in the Displacement tab even though I have disconnected this stuff from the network. customDisplacment_mantraShader.zip Edited January 7, 2013 by Jordan Walsh Quote Link to comment Share on other sites More sharing options...
rob Posted January 8, 2013 Share Posted January 8, 2013 Do you need it to specifically work within the default mantra shader ? . Funny enough Im working on a HOT job at the moment .Ive bulit an example of HOT just in a pure displacement form at the moment if it will help your understanding I might be able to throw it your way. Rob East Quote Link to comment Share on other sites More sharing options...
Fabiano Berlim Posted January 8, 2013 Share Posted January 8, 2013 (edited) There's an invisible render parameter "shop_disable_displace_shader" linked to the "enableDispMap". Go to "Edit Parameter Interface" and turn on the "Show Invisible Parameters" Render parameters will always override the render settings, that's why the behavior. Cheers! Edited January 8, 2013 by Fabiano Berlim Quote Link to comment Share on other sites More sharing options...
Jordan Walsh Posted January 9, 2013 Author Share Posted January 9, 2013 There's an invisible render parameter "shop_disable_displace_shader" linked to the "enableDispMap". Go to "Edit Parameter Interface" and turn on the "Show Invisible Parameters" Render parameters will always override the render settings, that's why the behavior. Cheers! Brilliant! Thanks for that, I hate not understanding some of these little thing... I can turn off the empty displacement map now 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.