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 after the include and therefore not seen by my include file.
Manually moving the global variable to the top solves the issue but is of course not very efficient doing this after each refresh of the shader .
Does someone know if there is another option I can pass data along from my include that I missed ?
Thank you,
Cheers,
Dennis