Click or drag to resize
Ab4d.SharpEngine logo

StandardMaterialBaseIsPreMultipliedAlphaColor Property

When IsPreMultipliedAlphaColor is true (false by default) and Opacity is less than 1, then the color components of the DiffuseColor are already multiplied with alpha value to produce pre-multiplied colors. When false, then non-premultiplied color is converted in pre-multiplied color when this is required by the shader. Default value is false.

Namespace: Ab4d.SharpEngine.Materials
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public bool IsPreMultipliedAlphaColor { get; set; }

Property Value

Boolean

Implements

IDiffuseMaterialIsPreMultipliedAlphaColor
See Also