set_emission


Description:

public void set_emission (Color emission)

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

Note:

Use the CoglSnippet shader api for lighting

It will look like the surface is a light source emitting this color.

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

Parameters:

this

A CoglMaterial object

emission

The components of the desired emissive color