Skip to main content
Version: 0.11

Brightness Effect

etro.effect.Brightness changes the brightness of the target.

tip

This effect is GPU-accelerated (see etro.effect.Shader).

Usage

const effect = new etro.effect.Brightness({
brightness: -128, // default: 0
});

Inheritance

etro.effect.Brightness inherits from etro.effect.Shader.

Options

brightness

tip

This is a Dynamic Property.

The strength of the brightness effect (in the range -255 to 255). The default value is 0.