I'd like to have a helper function in the Common tab that does something fancy with texture input and returns the result. I'd like the function in question to be able to use any iChannel, like:
vec3 do_something_fancy( in channelType channel, in vec2 uv, yodeling monkey_nuggets) {
vec4 lookup_result = texture(channel, uv);
...
}
I've taken a few guesses as to the type of iChannel[0-4] but have struck out.
