Hello
I’m refactoring shader code into a custom cginc but function in the form of:
Function (sampler2d texture) { return tex2d (texture, sampling) }
Throw this error
Unrecognized identifier ‘sampler2d’ at custom.cginc
I have no idea what’s the nuance, can’t find anything with Google