Clip node

Node-based Shader Editor

Clip node

Postby mossman » Tue Feb 19, 2019 1:24 pm

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
mossman
 
Posts: 40
Joined: Sun Dec 10, 2017 3:58 pm

Re: Clip node

Postby Amplify_Borba » Tue Feb 19, 2019 2:03 pm

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!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Clip node

Postby mossman » Tue Feb 19, 2019 3:10 pm

Hello, many thanks!
mossman
 
Posts: 40
Joined: Sun Dec 10, 2017 3:58 pm

Re: Clip node

Postby mossman » Tue Feb 19, 2019 4:30 pm

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
Attachments
New Amplify Shader.rar
(1.81 KiB) Downloaded 205 times
mossman
 
Posts: 40
Joined: Sun Dec 10, 2017 3:58 pm

Re: Clip node

Postby Amplify_Borba » Fri Feb 22, 2019 3:12 pm

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:

Image

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!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Clip node

Postby mossman » Mon Feb 25, 2019 11:49 am

Ok, thanks for your help and explanation about this node. I will do this.
mossman
 
Posts: 40
Joined: Sun Dec 10, 2017 3:58 pm


Return to Amplify Shader Editor

Who is online

Users browsing this forum: No registered users and 17 guests