Heya, I have a piece of code in glsl which is:
texture2D(dispSampler, convolutionUV).r
It means I can get vec3 color by feed in a custom uv from outside, but as far as I know, maya api of CPU shader node run through a different way transfer data and compute output, so if I want to modify values of uv and do something like texture2d() method in glsl, how to achieve that?
Many thanks.