eunchae Posted June 5, 2020 Share Posted June 5, 2020 Hi. I want to apply displacement to the area I want. For example, I want'dis' to be applied only to the red area as in the image. But I am not sure how to do it in the shader. Could you please let me know? Or maybe it's a reference address. The example file is also good. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Nicholas Ralabate Posted June 5, 2020 Share Posted June 5, 2020 You just bind in your Cd attribute and then use that to drive the displacement amount. I included a minimal example, but the principle is the same when using premade shaders like Classic/Principled. If you do it yourself don't forget to turn on the vm_displacebound setting on the object. nr_simple_displacement.hiplc 1 Quote Link to comment Share on other sites More sharing options...
eunchae Posted June 6, 2020 Author Share Posted June 6, 2020 10 hours ago, Nicholas Ralabate said: You just bind in your Cd attribute and then use that to drive the displacement amount. I included a minimal example, but the principle is the same when using premade shaders like Classic/Principled. If you do it yourself don't forget to turn on the vm_displacebound setting on the object. nr_simple_displacement.hiplc Thank you very much! Quote Link to comment Share on other sites More sharing options...
eunchae Posted June 6, 2020 Author Share Posted June 6, 2020 @Nicholas Ralabate I have a question again. Where should "smooth" connect to the displaced part? (From Shader) The edge is too sharp. Thank you. Quote Link to comment Share on other sites More sharing options...
Noobini Posted June 6, 2020 Share Posted June 6, 2020 look at the 1st pic, between red/blue....there simply ain't enough geo for a smooth deformation. try your sphere frequency say 50 ? I don't know anything about displacements in renders tho, so could be wrong. Quote Link to comment Share on other sites More sharing options...
eunchae Posted June 6, 2020 Author Share Posted June 6, 2020 (edited) Thank you. Edited June 6, 2020 by eunchae 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.