Hi All,
Calx |
http://calx.co.uk
I'm using Processing 2.0a5, and have a PShape like this:
theShape = createShape(QUADS);
theShape.noStroke();
theShape.texture(tex);
theShape.vertex(0, 0, 0, 0, 0);
theShape.vertex(w, 0, 0, w, 0);
theShape.vertex(w, h, 0, w, h);
theShape.vertex(0, h, 0, 0, h);
theShape.end();
I would like
tex to be desaturated for a while and at a certain point fade up to full colour. How can I apply a tint to the texture on the fly? or would this require redefining the PShape object?
Thanks in advance
Dave
1