# Render x passes of effectwrapper in 1 frame

**URL:** <https://forum.babylonjs.com/t/render-x-passes-of-effectwrapper-in-1-frame/55973>\
**Category:** Questions\
**Created:** [January 15, 2025, 7:19am UTC](https://forum.babylonjs.com/t/render-x-passes-of-effectwrapper-in-1-frame/55973 "2025-01-15T07:19:24Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![phaselock](https://avatars.discourse-cdn.com/v4/letter/p/da6949/32.png) [@phaselock](https://forum.babylonjs.com/u/phaselock)\
**Post date:** [January 16, 2025, 7:37am UTC](https://forum.babylonjs.com/t/render-x-passes-of-effectwrapper-in-1-frame/55973/4 "2025-01-16T07:37:36Z")

</div>

Something for you and the team: [Babylon.js Playground](https://playground.babylonjs.com/#W9V2ZA)

A variable width outliner using the jump flood algorithm (jfa), works with instances. I have not yet tested against thin instances. Nor made a proper class for it.

I ported it from 3. Refs here:  
a) [The Quest for Very Wide Outlines. An Exploration of GPU Silhouette… | by Ben Golus | Medium](https://bgolus.medium.com/the-quest-for-very-wide-outlines-ba82ed442cd9)  
b) [Outline Post Process - #14 by manthrax - Jobs - three.js forum](https://discourse.threejs.org/t/outline-post-process/61911/14)

The outliner doesn’t take occluding meshes into account yet. Do you have a quick fix ? or will your frame graph help?

Its a little expensive due to size of the rtts involved so maybe half scaling the tex and then upscaling the final result would help with mem. But I’m not sure if I want to continue development if your upcoming frame graph will make this obsolete.

Or maybe its worth a spot for the repo? Shrugs…

---

_[View the full topic](https://forum.babylonjs.com/t/render-x-passes-of-effectwrapper-in-1-frame/55973)._
