0027818: Visualization - provide an interface to define highlight presentation properties
[occt.git] / src / OpenGl / OpenGl_Context.cxx
index fe8be66..bc7ecf8 100644 (file)
@@ -2880,6 +2880,7 @@ void OpenGl_Context::SetShadingMaterial (const OpenGl_AspectFace* theAspect,
       if (theHighlightColor != NULL)
       {
         aParams.SetColor (*theHighlightColor);
+        aParams.Diffuse.a() = theHighlightColor->a();
       }
 
       myActiveProgram->SetUniform (this, aLoc, OpenGl_Material::NbOfVec4(),