ambient() / Reference

  • size(400, 400, P3D);
    background(0);
    noStroke();
    directionalLight(153, 153, 153, .5, 0, -1);
    ambientLight(153, 102, 0);
    ambient(51, 26, 0);
    translate(280, 200, 0);
    sphere(120);
    
    Image output for example 1