Amplifying your potential.

UNITY_PROJ_COORD node version

Node-based Shader Editor
6 posts • Page 1 of 1

UNITY_PROJ_COORD node version

Postby elettrozero » Wed Nov 14, 2018 2:34 pm

Hi!

I should use the UNITY_PROJ_COORD function. What's the corrisponding node to use?

Thanks.
elettrozero
 
Posts: 9
Joined: Fri Jan 26, 2018 10:43 pm

Re: UNITY_PROJ_COORD node version

Postby Amplify_Borba » Wed Nov 14, 2018 3:22 pm

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!
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: 900
Joined: Mon Jul 24, 2017 9:50 am

Re: UNITY_PROJ_COORD node version

Postby elettrozero » Sat Nov 17, 2018 7:39 am

Thank you very much.
elettrozero
 
Posts: 9
Joined: Fri Jan 26, 2018 10:43 pm

Re: UNITY_PROJ_COORD node version

Postby Amplify_Borba » Mon Nov 19, 2018 12:16 pm

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!
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: 900
Joined: Mon Jul 24, 2017 9:50 am

Re: UNITY_PROJ_COORD node version

Postby elettrozero » Tue Nov 20, 2018 10:46 am

Amplify_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!


Done already quite some time ago ;)
elettrozero
 
Posts: 9
Joined: Fri Jan 26, 2018 10:43 pm

Re: UNITY_PROJ_COORD node version

Postby Amplify_Borba » Wed Nov 21, 2018 10:50 am

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


6 posts • Page 1 of 1

Return to Amplify Shader Editor

Who is online

Users browsing this forum: No registered users and 2 guests