Function node isn't adding directives

Your feedback is very important to us. We are listening.

Function node isn't adding directives

Postby KevinVFX » Fri Jul 13, 2018 2:50 am

I have some include cginc directives that I want to add to a function when it's in use. In shader type surface, it works fine when I first import the node, but it disconnects on the next recompile. I have to reimport it for it to reapply. It doesn't work at all in shader type unlit. Nothing is included. I have to manually apply them into the main shader which is quite tedious and makes it difficult for anyone else to use the function.
KevinVFX
 
Posts: 2
Joined: Fri Jul 13, 2018 2:39 am

Re: Function node isn't adding directives

Postby Amplify_Borba » Fri Jul 13, 2018 10:52 am

Hello Kevin, thank you for getting in touch and for your support!

Did you setup your project and the cginc files as per the example guide in our wiki manual?

If so, could you please share a simple sample with the issue present via [email protected], so that we can debug it on our side using your data? Thanks!
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


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 5 guests