# shader replacement issue in 9.1.0.rc1

**URL:** <https://discourse.vtk.org/t/shader-replacement-issue-in-9-1-0-rc1/6949>\
**Category:** Development\
**Created:** [October 23, 2021, 10:14am UTC](https://discourse.vtk.org/t/shader-replacement-issue-in-9-1-0-rc1/6949 "2021-10-23T10:14:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andreasbuykx](https://discourse.vtk.org/user_avatar/discourse.vtk.org/andreasbuykx/32/8137_2.png) [@andreasbuykx](https://discourse.vtk.org/u/andreasbuykx)\
**Post date:** [October 23, 2021, 10:14am UTC](https://discourse.vtk.org/t/shader-replacement-issue-in-9-1-0-rc1/6949/1 "2021-10-23T10:14:15Z")

</div>

We use dashed lines in our application. Dashed lines are no longer supported natively, so I have developed an actor that implements the fix proposed by @clintonstimpson in [https://gitlab.kitware.com/vtk/vtk/-/issues/15799](https://gitlab.kitware.com/vtk/vtk/-/issues/15799). This used to work fine, but somewhere between 9.0.3 and 9.1.rc1 the unsigned char point colors that I assign are getting mixed up.

In 9.0.3 I see yellow and blue dashed lines

 ![dashed-lines-vtk9.0.3](https://discourse.vtk.org/uploads/default/original/2X/b/bfbcaa14160ecd7dbcce038ebd088a63c2fd8b3c.png)

In 9.1.0.rc1 they get rendered as blue and red

 ![dashed-lines-9.1.0.rc1](https://discourse.vtk.org/uploads/default/original/2X/b/b3e4603e37a9c8b57e4d60a7ec3196f089e27449.png).

[EDIT: I’m using point colors not cell colors. In fact when I do use cell colors the lines themselves get mixed up]
