mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0032143: Visualization - add option excluding transparent object from sorting
Added option Graphic3d_AlphaMode_MaskBlend combining Mask (no sorting) and Blend (enable blending with background) behavior.
This commit is contained in:
@@ -516,6 +516,7 @@ void RWGltf_GltfMaterialMap::DefineMaterial (const XCAFPrs_Style& theStyle,
|
||||
break;
|
||||
}
|
||||
case Graphic3d_AlphaMode_Blend:
|
||||
case Graphic3d_AlphaMode_MaskBlend:
|
||||
{
|
||||
myWriter->Key ("alphaMode");
|
||||
myWriter->String ("BLEND");
|
||||
|
Reference in New Issue
Block a user