set_diffuse
Description:
Sets the material's diffuse color, in the standard OpenGL lighting model.
Note:
Use the CoglSnippet
shader api for lighting
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 |
diffuse |
The components of the desired diffuse color |