albedo

The albedo value assigned to the entity in WED. It can be used as an additional parameter in the script or in shaders or effects.

Range:

0 .. 100 (default: 50)

Type:

var

Remarks:

This value is available in shaders through the fAlbedo variable.

Example:

action player()
{
  my.ambient = 20;
  my.albedo = 50;
  ...
}

See also:

ambient, fAlbedo

► latest version online