set_specular


Description:

public void set_specular (Color specular)

Sets the material's specular color, in the standard OpenGL lighting model.

Note:

Use the CoglSnippet shader api for lighting

The intensity of the specular color depends on the viewport position, and is brightest along the lines of reflection.

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

Parameters:

this

A CoglMaterial object

specular

The components of the desired specular color