Using GLSL post-process (2D) pixel shader with Slicer

I am not sure that it will help, there is this VTK class:


in which you can provide your shader and input data (as a vtkImageData) and get the output data (again as a vtkImageData).

Instead, if you’d like to “add” your shader to the regular VTK rendering pipeline, you may try to ask @pieper. He worked on something similar.

1 Like