Page 1 of 1

How to clip leaves (cut out) with Amplify shader?

PostPosted: Fri Mar 23, 2018 2:37 am
by markashburner
Hi I am trying to cut out these leaves with Amplify shader. I have set the render type to transparent cut out and the render Que to Alpha test. I also turned the culling off.

Not sure how to cut out the leaves though, would someone help me?

Image

Here is my current shader code:

Image

Re: How to clip leaves (cut out) with Amplify shader?

PostPosted: Fri Mar 23, 2018 11:45 am
by Amplify_Borba
Hello, in order to use the Transparent Cutout you'll have to assign an alpha mask for your texture to the Opacity Mask port, so that the shader knows which areas will be transparent and which will be opaque.

Let me know if you have any further questions, I'll be happy to elaborate!