# GLSL Shader

**URL:** https://discourse.paraview.org/t/glsl-shader/9704
**Category:** ParaView Support
**Created:** [May 28, 2022, 3:40pm UTC](https://discourse.paraview.org/t/glsl-shader/9704 "2022-05-28T15:40:04Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Lilian](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/l/b5a626/32.png) [@Lilian](https://discourse.paraview.org/u/Lilian)
#### Post date: [May 28, 2022, 3:40pm UTC](https://discourse.paraview.org/t/glsl-shader/9704/1 "2022-05-28T15:40:04Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![mau\_igna\_06](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mau_igna_06/32/17180_2.png) [@mau\_igna\_06](https://discourse.paraview.org/u/mau_igna_06)
#### Post date: [May 28, 2022, 5:07pm UTC](https://discourse.paraview.org/t/glsl-shader/9704/2 "2022-05-28T17:07:29Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Lilian](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/l/b5a626/32.png) [@Lilian](https://discourse.paraview.org/u/Lilian)
#### Post date: [May 28, 2022, 5:39pm UTC](https://discourse.paraview.org/t/glsl-shader/9704/3 "2022-05-28T17:39:32Z")

</div>

Yes, that would be great.

---

<div class="post-metadata">

### Author: ![mau\_igna\_06](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mau_igna_06/32/17180_2.png) [@mau\_igna\_06](https://discourse.paraview.org/u/mau_igna_06)
#### Post date: [May 28, 2022, 6:02pm UTC](https://discourse.paraview.org/t/glsl-shader/9704/4 "2022-05-28T18:02:03Z")

</div>

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](https://githubcomets-vis-interactiveslicerprismrendering.readthedocs.io/en/latest/tutorials.html#implemented-shaders)

Here is the code:

> **[SlicerPRISMRendering/PRISMRendering/PRISMRenderingShaders at master ·...](https://github.com/ETS-vis-interactive/SlicerPRISMRendering/tree/master/PRISMRendering/PRISMRenderingShaders)**
>
> master/PRISMRendering/PRISMRenderingShaders

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

---

<div class="post-metadata">

### Author: ![Lilian](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/l/b5a626/32.png) [@Lilian](https://discourse.paraview.org/u/Lilian)
#### Post date: [May 28, 2022, 6:12pm UTC](https://discourse.paraview.org/t/glsl-shader/9704/5 "2022-05-28T18:12:18Z")

</div>

Thanks so much for the help!
