# How to Ensure One Actor Always Renders on Top of Another Actor in VTK Without Z-Fighting?

**URL:** https://discourse.vtk.org/t/how-to-ensure-one-actor-always-renders-on-top-of-another-actor-in-vtk-without-z-fighting/15485
**Category:** Support
**Created:** [April 10, 2025, 7:35am UTC](https://discourse.vtk.org/t/how-to-ensure-one-actor-always-renders-on-top-of-another-actor-in-vtk-without-z-fighting/15485 "2025-04-10T07:35:51Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![yarenakin](https://discourse.vtk.org/user_avatar/discourse.vtk.org/yarenakin/32/9802_2.png) [@yarenakin](https://discourse.vtk.org/u/yarenakin)
#### Post date: [April 14, 2025, 7:46am UTC](https://discourse.vtk.org/t/how-to-ensure-one-actor-always-renders-on-top-of-another-actor-in-vtk-without-z-fighting/15485/5 "2025-04-14T07:46:25Z")

</div>

I try multiple layer and I have a problem like this:

> [@Layered rendering with multiple renderers](https://discourse.vtk.org/t/layered-rendering-with-multiple-renderers/4670):
>
> Hello developers, I am stuck in a problem that seems a bit basic but still could not solve it yet. I am using multiple rendering layers to render different kinds of Fiber tracts (Red and orange) overlaid each other. As shown in the Figure below. Red fibers are rendered always on the top of the orange fibers as they are rendered on another renderer. [image] This is what I needed and it worse really well. The problem rises when I visualize slices on the ordering window. Since the slices are re…

---

_[View the full topic](https://discourse.vtk.org/t/how-to-ensure-one-actor-always-renders-on-top-of-another-actor-in-vtk-without-z-fighting/15485)._
