set_diffuse


Description:

public void set_diffuse (Color diffuse)

Sets the pipeline's diffuse color, in the standard OpenGL lighting model.

The diffuse color is most intense where the light hits the surface directly - perpendicular to the surface.

The default value is (0.8, 0.8, 0.8, 1.0)

Parameters:

this

A Pipeline object

diffuse

The components of the desired diffuse color