Use ambient_blue, ambient_green and ambient_red for the conresponding material. For example:

mat_model.ambient_green = 255;

The default value for all three parameters is 200.

If you referred to the sunlight and the dynamic lights use the diffuse_blue, diffuse_red and diffuse_green vector.


Always learn from history, to be sure you make the same mistakes again...