Tasbien Posted August 1, 2018 Share Posted August 1, 2018 Hi, In geo Cristal, in network BiblioShaders, in classicshader_Exter : I wish to control with a ramp gradient or float the parameter Subsurface_intensity between Ymin and max of my cristal. Anyone have any ideas, please ? Many thanks CrystalBall_02.hiplc Quote Link to comment Share on other sites More sharing options...
Jesper Rahlff Posted August 2, 2018 Share Posted August 2, 2018 here is a way of creating a ramp to use for your sss. I disabled refraction, sss, etc and only kept diffuse, but plugged the ramp into the diffuse as it was faster to render. I have done the calculations on sop level in a point wrangle, but you could just as easily do it in the shader instead by referencing a sop by the op: syntax. hope this helps CrystalBall_Ramp.hiplc Quote Link to comment Share on other sites More sharing options...
Tasbien Posted August 2, 2018 Author Share Posted August 2, 2018 Hi Jesper, Thank you very much It helps me understand better how to do that. In your example, can't control ramp values, can you explain how to do that ? Have a nice day Quote Link to comment Share on other sites More sharing options...
tamagochy Posted August 2, 2018 Share Posted August 2, 2018 you can create ramp in sop level and use in shader pointwrangle vector bbx = relbbox(0,@P); f@ramp = chramp("ramp",bbx.y); Quote Link to comment Share on other sites More sharing options...
Jesper Rahlff Posted August 3, 2018 Share Posted August 3, 2018 On 2018-08-02 at 1:49 AM, Tasbien said: Hi Jesper, Thank you very much It helps me understand better how to do that. In your example, can't control ramp values, can you explain how to do that ? Have a nice day if you scroll down on the pointwrangle there is a ramp parameter visible. You probably want to change that to a grayscale color. Quote Link to comment Share on other sites More sharing options...
Tasbien Posted August 3, 2018 Author Share Posted August 3, 2018 Hi, Thank you for tamagochy and Jesper for your explanations. To clarify my need, I wish to make a gradient ramp with one or several cursors to adjust the gradient as I wish it to make several different crystals. For the moment because I'm noob and "more visual graphist" , I prefer doing that with pointvop and sop that with vex in point wrangle but that help me to understand what i do that. I try to doing that and your assistant is welcome I go on holiday for August, I give news of my progress in my return. Thank you very much in any case and nice 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.