|
InstancedMeshGeometry3DNodeTextureAlphaClipThreshold Property |
TextureAlphaClipThreshold can be set when
TextureShaderResourceView is set.
When its value is above 0 then pixels in texture 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 (by default) 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).
Namespace: Ab3d.DirectX.ModelsAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
Syntax public float TextureAlphaClipThreshold { get; set; }
Property Value
SingleSee Also