void setupLights(){ ambient(0, 0, 0); specular(0,255,0); emissive(0, 0, 0); shininess(1); ambientLight(0,0,0); directionalLight(0,0,0,0,0,0); } void renderLights() { ///* lightFalloff(1, 0.0, 0.0); pointLight(255, 255, 255, -500, -250, 150); pointLight(255, 255, 255, 0, -250, 150); pointLight(255, 255, 255, 500, -250, 150); //*/ //println("x light: "+sineWave(500)); /* lightFalloff(3, 0.0, 0.0); pointLight(255, 222, 233, sineWave(50000)*500, -100, 100); pointLight(233, 255, 222, sineWave(1875)*1000, -200, 100); pointLight(233, 222, 255, sineWave(3750)*1000, -200, 100); pointLight(222, 233, 255, sineWave(5625)*1000, -200, 100); pointLight(255, 233, 222, sineWave(9375)*1000, -200, 100); //*/ }