You should add the declaration of the texture sampler at the CUSTOM_FRAGMENT_DEFINITIONS
injection point (and/or CUSTOM_VERTEX_DEFINITIONS
if you want to use the sampler in the vertex shader):
4 Likes
You should add the declaration of the texture sampler at the CUSTOM_FRAGMENT_DEFINITIONS
injection point (and/or CUSTOM_VERTEX_DEFINITIONS
if you want to use the sampler in the vertex shader):