Page 1 of 1
Clip node
Posted: Tue Feb 19, 2019 1:24 pm
by mossman
Hello,
I would know if exists a clip function node that works as the clip function of standard library of CG.
http://developer.download.nvidia.com/cg/clip.html
Thanks
Re: Clip node
Posted: Tue Feb 19, 2019 2:03 pm
by Amplify_Borba
Hello, we provide a node for this purpose called
Clip, which you can find in the Miscellaneous section of the node list.
Re: Clip node
Posted: Tue Feb 19, 2019 3:10 pm
by mossman
Hello, many thanks!
Re: Clip node
Posted: Tue Feb 19, 2019 4:30 pm
by mossman
Hello,
I try a little test (I attatched a shader). In this shader I enable or disable the clip function with a static toggle but the result is the same always, the clip function works always.
Thanks
Re: Clip node
Posted: Fri Feb 22, 2019 3:12 pm
by Amplify_Borba
This is expected and due to the way that the node works as a relay, it will always be applied to the shader.
There is a possible workaround, however, which is to set up the toggle in the Threshold value as follows:
Please let me know if this helps.
Re: Clip node
Posted: Mon Feb 25, 2019 11:49 am
by mossman
Ok, thanks for your help and explanation about this node. I will do this.