Texturing lines...
in
Programming Questions
•
3 years ago
...doesn't seem to be working for me:
textureMode(NORMALIZED);
beginShape(LINES);
texture(img);
vertex(loc.x, loc.y, loc.z, u0, v0);
vertex(lastLoc.x, lastLoc.y, lastLoc.z, u1, v1);
endShape();
The colour of the lines come out the same (black) even when I switch the texture to all black or all white etc.
Just started with processing and I have to say it is getting me really inspired. Thanks for any help :)
1