-- if (this->DrawingTubesOrSpheres(*this->LastBoundBO, actor))
-- {
-- vtkShaderProgram::Substitute(FSSource, "//VTK::Depth::Impl",
-- "float Zdc = gl_FragDepth*2.0 - 1.0;\n"
-- " float Z2 = -1.0*cDValue/(Zdc + cCValue) + cSValue;\n"
-- " float Zdc2 = -1.0*cCValue - cDValue/Z2;\n"
-- " gl_FragDepth = Zdc2*0.5 + 0.5;\n");
-- }
-- else
-- {
-- vtkShaderProgram::Substitute(FSSource, "//VTK::Depth::Impl",
-- "float Zdc = gl_FragCoord.z*2.0 - 1.0;\n"
-- " float Z2 = -1.0*cDValue/(Zdc + cCValue) + cSValue;\n"
-- " float Zdc2 = -1.0*cCValue - cDValue/Z2;\n"
-- " gl_FragDepth = Zdc2*0.5 + 0.5;\n");
-- }
-+ vtkShaderProgram::Substitute(FSSource, "//VTK::Coincident::Dec",
+- vtkShaderProgram::Substitute(FSSource, "//VTK::Depth::Impl",
+- "float Zdc = gl_FragCoord.z*2.0 - 1.0;\n"
+- " float Z2 = -1.0*cDValue/(Zdc + cCValue) + cSValue;\n"
+- " float Zdc2 = -1.0*cCValue - cDValue/Z2;\n"
+- " gl_FragDepth = Zdc2*0.5 + 0.5;\n");