PImage PB; void setup() { PB=loadImage( "palmbackground.jpg"); size(500, 500, P3D); noStroke(); colorMode(RGB, 1); fill(0.4); } void draw() { image (PB,0,0); PImage PB = loadImage( "palmbackground.jpg"); translate(width / 10, height / 7); lightSpecular(3, 2, 0); directionalLight(20, 2, 2, 0, 0, -10); float s = mouseX / float(width); specular(s, s, s); sphere(50); }