Click or drag to resize
Ab4d.SharpEngine logo

PixelMaterialAlphaClipThreshold Property

Pixels with alpha color values below this value will be clipped (not rendered and their depth will not be written to depth buffer). Expected values are between 0 and 1. When 0 then alpha clipping is disabled - this means that also pixels with alpha value 0 are fully processed (they are not visible but its depth value is still written so objects that are rendered afterwards and are behind the pixel will not be visible). Default value is 0.5f.

Namespace: Ab4d.SharpEngine.Materials
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public float AlphaClipThreshold { get; set; }

Property Value

Single

[Missing <value> documentation for "P:Ab4d.SharpEngine.Materials.PixelMaterial.AlphaClipThreshold"]

Implements

IDiffuseTextureMaterialAlphaClipThreshold
Remarks

[Missing <remarks> documentation for "P:Ab4d.SharpEngine.Materials.PixelMaterial.AlphaClipThreshold"]

See Also