BlendEquation

Determines how two pixels' values are combined.
Properties:
Name Type Description
ADD Number Pixel values are added componentwise. This is used in additive blending for translucency.
SUBTRACT Number Pixel values are subtracted componentwise (source - destination). This is used in alpha blending for translucency.
REVERSE_SUBTRACT Number Pixel values are subtracted componentwise (destination - source).
MIN Number Pixel values are given to the minimum function (min(source, destination)). This equation operates on each pixel color component.
MAX Number Pixel values are given to the maximum function (max(source, destination)). This equation operates on each pixel color component.

Members

static constant Cesium.BlendEquation.ADD : Number

Pixel values are added componentwise. This is used in additive blending for translucency.
Default Value: WebGLConstants.FUNC_ADD

static constant Cesium.BlendEquation.MAX : Number

Pixel values are given to the maximum function (max(source, destination)). This equation operates on each pixel color component.
Default Value: WebGLConstants.MAX

static constant Cesium.BlendEquation.MIN : Number

Pixel values are given to the minimum function (min(source, destination)). This equation operates on each pixel color component.
Default Value: WebGLConstants.MIN

static constant Cesium.BlendEquation.REVERSE_SUBTRACT : Number

Pixel values are subtracted componentwise (destination - source).
Default Value: WebGLConstants.FUNC_REVERSE_SUBTRACT

static constant Cesium.BlendEquation.SUBTRACT : Number

Pixel values are subtracted componentwise (source - destination). This is used in alpha blending for translucency.
Default Value: WebGLConstants.FUNC_SUBTRACT