SCREEN constant

BlendMode const SCREEN

Multiplies the complement (inverse) of the display object color by the complement of the background color, resulting in a bleaching effect.

This setting is commonly used for highlights or to remove black areas of the display object.

Implementation

static const BlendMode SCREEN =
    BlendMode(gl.WebGL.ONE, gl.WebGL.ONE_MINUS_SRC_COLOR, 'screen');