Hi Amplify Borba!
Thank you for your answer. Didn't know about the custom expression node (much like the code node in shader forge which I missed until now) !
Which was exactly what I needed and is a much better solution for my problems in the long run too!
So all is working perfectly now and ...
Search found 2 matches
- Mon Jan 15, 2018 7:25 pm
- Forum: Amplify Shader Editor
- Topic: passing variables from includes to shader
- Replies: 3
- Views: 4171
- Mon Jan 15, 2018 6:29 pm
- Forum: Amplify Shader Editor
- Topic: passing variables from includes to shader
- Replies: 3
- Views: 4171
passing variables from includes to shader
Hi there,
I'm using a .cginc file to do some procedural stuff that's executed by instancing_options procedural:setup.
But now I need to access a variable from my .cginc from within amplify shader editor.
This is where I thought global variables should came in handy.
But all globals are declared ...
I'm using a .cginc file to do some procedural stuff that's executed by instancing_options procedural:setup.
But now I need to access a variable from my .cginc from within amplify shader editor.
This is where I thought global variables should came in handy.
But all globals are declared ...