Name

ambient()

Examples
size(100, 100, P3D)
background(0)
noStroke()
directionalLight(153, 153, 153, .5, 0, -1)
ambientLight(153, 102, 0)
ambient(51, 26, 0)
translate(70, 50, 0)
sphere(30)
Description
Syntax
ambient(rgb)
ambient(gray)
ambient(v1, v2, v3)
Parameters
rgb
gray
v1
v2
v2
Related emissive()
specular()
shininess()
Updated on Wed Jan 18 17:32:20 2017.
Creative Commons License