Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : Applying the same texture to multiple shapes

$
0
0
you should be able to apply the same texture to several shapes, i.e.:

  1. beginShape(QUADS);
  2. texture(tex);
  3. ...
  4. endShape();

  5. beginShape(QUAD_STRIP)
  6. texture(tex); // same texture object as before
  7. ...
  8. endShape();
Is this not working in your sketch?

Viewing all articles
Browse latest Browse all 1768

Trending Articles