Skip to content

Ensure that gl_FragDepth is set as-intended with tubes/spheres.

The depth was being set in //VTK::Normal::Impl, while the default //VTK::Depth::Impl was still being used. The default depth was being used for determining fragment depth during depth peeling, which led to artifacts on translucent objects.

Refactoring the shaders to set the tube/sphere depth using the appropriate hook fixes issue #17482 (closed).

Closes #17482 (closed)

Backport: release

Edited by David E. DeMarle

Merge request reports