Sets the pipeline's ambient color, in the standard OpenGL lighting model.
The ambient color affects the overall color of the object.
Since the diffuse color will be intense when the light hits the surface directly, the ambient will be most apparent where the light hits at a slant.
The default value is (0.2, 0.2, 0.2, 1.0)
this |
A Pipeline object |
ambient |
The components of the desired ambient color |