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
Clip node
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Clip node
Hello, we provide a node for this purpose called Clip, which you can find in the Miscellaneous section of the node list.
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Re: Clip node
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
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
- Attachments
-
- New Amplify Shader.rar
- (1.8 KiB) Downloaded 311 times
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Clip node
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.
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.
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Re: Clip node
Ok, thanks for your help and explanation about this node. I will do this.