set_shininess


Description:

public void set_shininess (float shininess)

Sets the shininess of the material, in the standard OpenGL lighting model, which determines the size of the specular highlights.

Note:

Use the CoglSnippet shader api for lighting

A higher shininess will produce smaller highlights which makes the object appear more shiny.

The default value is 0.0

Parameters:

this

A CoglMaterial object

shininess

The desired shininess; must be >= 0.0