ambient

For increasing the brightness of an entity. Adds the given percentage amount onto the red, green, and blue parameters of the entity's environement light.

Range:

0 .. 100 (default: 0)

Type:

var

Remarks:

This value is available in shaders through the fAmbient variable.

Example:

action player()
{
  my.ambient = 20;
  ... 		  

See also:

material.ambient , fAmbient ► latest version online