# Surface overlapping on DualDepthPeeling

**URL:** <https://discourse.vtk.org/t/surface-overlapping-on-dualdepthpeeling/11586>\
**Category:** Development\
**Tags:** code\
**Created:** [May 31, 2023, 2:42pm UTC](https://discourse.vtk.org/t/surface-overlapping-on-dualdepthpeeling/11586 "2023-05-31T14:42:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cnd](https://discourse.vtk.org/user_avatar/discourse.vtk.org/cnd/32/7180_2.png) [@cnd](https://discourse.vtk.org/u/cnd)\
**Post date:** [May 31, 2023, 2:42pm UTC](https://discourse.vtk.org/t/surface-overlapping-on-dualdepthpeeling/11586/1 "2023-05-31T14:42:05Z")

</div>

Using VTK 9.1 with enabled translucent depth peeling (using dual depth peeling pass) translucent surfaces are overlapping opaque ones (MITK-based code)

 ![image](https://discourse.vtk.org/uploads/default/original/2X/1/167ed8c8a11a742fd473a2478ca2678a9c3a7692.jpeg)  
 ![image](https://discourse.vtk.org/uploads/default/original/2X/f/f808a44c8ab7e090dd77a3ecc9e2c7ae1e98aeaf.jpeg)

I was strongly following example [https://vtk.org/Wiki/VTK/Tutorials/TranslucentGeometry](https://vtk.org/Wiki/VTK/Tutorials/TranslucentGeometry)

so I set all the properties as above and I depth peeling itself is working for single surface, but I can’t guess so far what is possibly breaking depth order?
