GLSL Shader

Hello all! I am quite new to ParaView and I am trying to familiarize myself with GLSL shaders for a project I will be working on. Is anyone able to give an example of a GLSL shader or any resources on it?
Thanks!

I can provide some GLSL shaders example links about volume rendering (for vtkImageData) if that’s useful for you. All in vtk. Let me know

I don’t have any PolyData shaders example.

Yes, that would be great.

Congratulations to the developers of the repository I’m sharing.

Here is how they look:
https://githubcomets-vis-interactiveslicerprismrendering.readthedocs.io/en/latest/tutorials.html#implemented-shaders

Here is the code:

It helped me implement my own shader. And a module with all this is available as a 3D Slicer extension called PRISM on the extension manager for free.

I recommend to use Slicer and that extension for rapid prototyping

2 Likes

Thanks so much for the help!