1
0
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:
kgv
2021-03-01 15:16:52 +03:00
committed by bugmaster
parent ba590cbf15
commit 33425a46b8
15 changed files with 105 additions and 18 deletions

View File

@@ -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");