# How to implement OutlineGlowPass by using vtk.js?

**URL:** https://discourse.vtk.org/t/how-to-implement-outlineglowpass-by-using-vtk-js/13655
**Category:** Web
**Created:** [April 1, 2024, 12:34am UTC](https://discourse.vtk.org/t/how-to-implement-outlineglowpass-by-using-vtk-js/13655 "2024-04-01T00:34:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![cmoh](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/c/91b2a8/32.png) [@cmoh](https://discourse.vtk.org/u/cmoh)
#### Post date: [April 1, 2024, 12:34am UTC](https://discourse.vtk.org/t/how-to-implement-outlineglowpass-by-using-vtk-js/13655/1 "2024-04-01T00:34:38Z")

</div>

I want to implement a feature that highlights the outline of an object, like the OutlineGlowPass ([https://examples.vtk.org/site/Cxx/Rendering/OutlineGlowPass/](https://examples.vtk.org/site/Cxx/Rendering/OutlineGlowPass/)) found in vtk in c++, on the web.  
There is no OutlineGlowPass in vtk.js, does anyone know how to implement it or have a reference?

---

<div class="post-metadata">

### Author: ![finetjul](https://discourse.vtk.org/user_avatar/discourse.vtk.org/finetjul/32/154_2.png) [@finetjul](https://discourse.vtk.org/u/finetjul)
#### Post date: [April 1, 2024, 9:55pm UTC](https://discourse.vtk.org/t/how-to-implement-outlineglowpass-by-using-vtk-js/13655/2 "2024-04-01T21:55:14Z")

</div>

The best is to look how the glow pass was done in VTK C++ OpenGL and do the same in WebGL.
