# Mesh Edge render as line?

**URL:** <https://forum.babylonjs.com/t/mesh-edge-render-as-line/43267>\
**Category:** Questions\
**Created:** [August 12, 2023, 9:12am UTC](https://forum.babylonjs.com/t/mesh-edge-render-as-line/43267 "2023-08-12T09:12:50Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [August 13, 2023, 11:44pm UTC](https://forum.babylonjs.com/t/mesh-edge-render-as-line/43267/5 "2023-08-13T23:44:13Z")

</div>

> [@Barycentric Generation?](https://forum.babylonjs.com/t/barycentric-generation/9994):
>
> So do we have a way to include Barycentric coordinates in the vertexData just inherently? Currently I parse the data and replace the normal buffer with barycentric info, but it would be nice to keep both. I think I might just have to make a custom Buffer with step for the extra two values.

> [@Trying to get my Barycentric Shader working as a custom material?](https://forum.babylonjs.com/t/trying-to-get-my-barycentric-shader-working-as-a-custom-material/12468):
>
> [https://playground.babylonjs.com/#LFZ3QM](https://playground.babylonjs.com/#LFZ3QM) I am struggling trying to get this to work like I did in this example: [https://www.babylonjs-playground.com/#G3GZA1#162](https://www.babylonjs-playground.com/#G3GZA1#162) Any ideas how to get this working anyone? I was hoping to draw the quad of the ground plane without doing a whole customShader

There is also Barycentric stuff you could do.

> **[Babylon.js Playground](https://www.babylonjs-playground.com/#G3GZA1%23162)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

_[View the full topic](https://forum.babylonjs.com/t/mesh-edge-render-as-line/43267)._
