Ambient

Description

Name

class Tinman.Pixel.Ambient

Derived from

Pixel

Computes an ambient lighting term from the input buffer pixels and the light color and adds the resulting color to the pixels in the output buffer.

Fields / Required

source

Type

Pixel

Constraint

# != null

The input buffer.

Fields / Optional

color

Type

Tinman.Color

Default

{Color.Name: Black}

The ambient light color.