Hello,
I have a question for the PShader API (maybe not if there is another interface available for this matter).
I'd like to bind 3 or more textures in a shader at once (not a step by step sequence) for the uniform sampler2Ds,
but couldn't find any API with the PShader something like
PShader.set(String argument, PImage texture) or
PShader.set(String argument, PGraphics canvas)...
I found the PShader APIs suggests a great way to approach the GLSL, and
shader(PShader) or filter(PShader) works just fine so I loved to work with them. but,,
Well, I guess there might be language issues and reasons that the API designers didn't allow the ways like this.
Anyway,
Any suggestions for this matter?
(I'm on 2.0a7)
Thanks :)
1