# How to get the perfect outline

**URL:** <https://forum.babylonjs.com/t/how-to-get-the-perfect-outline/31711>\
**Category:** Questions\
**Tags:** mesh\
**Created:** [June 27, 2022, 6:03am UTC](https://forum.babylonjs.com/t/how-to-get-the-perfect-outline/31711 "2022-06-27T06:03:44Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![CodingCrusader](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/codingcrusader/32/29857_2.png) [@CodingCrusader](https://forum.babylonjs.com/u/CodingCrusader)\
**Post date:** [June 5, 2024, 5:35pm UTC](https://forum.babylonjs.com/t/how-to-get-the-perfect-outline/31711/14 "2024-06-05T17:35:38Z")

</div>

Here is a shader for outline the hole scene

[Test porting xeogl camerawork to Babylon.js | Babylon.js Playground (babylonjs.com)](https://playground.babylonjs.com/#V1DU10#1)

via  
[Porting example by ChatGPT (Porting from xeogl to Babylon.js) - Demos and projects - Babylon.js (babylonjs.com)](https://forum.babylonjs.com/t/porting-example-by-chatgpt-porting-from-xeogl-to-babylon-js/41072/3)

---

_[View the full topic](https://forum.babylonjs.com/t/how-to-get-the-perfect-outline/31711)._
