Function node isn't adding directives
Function node isn't adding directives
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.
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Function node isn't adding directives
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!
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!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!