shape and light
in
Programming Questions
•
2 years ago
hi im trying to create a 2d plane with a texture
im useing:
beginShape();
texture(tex);
ambient(51, 26, 0);
vertex(0, 0, 0, 0);
vertex(0, 768, 0, 768);
vertex(1024, 768, 1024, 768);
vertex(1024, 0, 1024, 0);
endShape();
and the adding point light
but the light isnt doing anything>
any ideas?
1