Hi!
I should use the UNITY_PROJ_COORD function. What's the corrisponding node to use?
Thanks.
UNITY_PROJ_COORD node version
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: UNITY_PROJ_COORD node version
Hello, you'll need to use the Custom Expression node in order to access functions or macros that are within .CGinc files, which is the case for the UNITY_PROJ_COORD(a) as it's present within the HLSLSupport.cginc.
Our templates and standard shaders already include the above library, so you won't need to add it through the 'Additional Includes' in your shader parameters, you should be able to access it through the node alone.
Here's an example on using the Custom Expression node to access a function held within a .cginc file.
Let me know if this helps!
Our templates and standard shaders already include the above library, so you won't need to add it through the 'Additional Includes' in your shader parameters, you should be able to access it through the node alone.
Here's an example on using the Custom Expression node to access a function held within a .cginc file.
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!
-
elettrozero
- Posts: 15
- Joined: Fri Jan 26, 2018 10:43 pm
Re: UNITY_PROJ_COORD node version
Thank you very much.
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: UNITY_PROJ_COORD node version
Glad to be of assistance!
Have you had the chance to rate and review Amplify Shader Editor? It would be awesome if you could share your experience with the Unity community, every bit helps, your feedback is extremely valuable to us!
Feel free to get back in touch if you have further issues or questions, thanks!
Have you had the chance to rate and review Amplify Shader Editor? It would be awesome if you could share your experience with the Unity community, every bit helps, your feedback is extremely valuable to us!
Feel free to get back in touch if you have further issues or questions, 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!
-
elettrozero
- Posts: 15
- Joined: Fri Jan 26, 2018 10:43 pm
Re: UNITY_PROJ_COORD node version
Done already quite some time agoAmplify_Borba wrote:Glad to be of assistance!
Have you had the chance to rate and review Amplify Shader Editor? It would be awesome if you could share your experience with the Unity community, every bit helps, your feedback is extremely valuable to us!
Feel free to get back in touch if you have further issues or questions, thanks!
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: UNITY_PROJ_COORD node version
Awesome, thank you for your kindness!
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!