# Greased Line not rendering correctly in webXR multiView

**URL:** <https://forum.babylonjs.com/t/greased-line-not-rendering-correctly-in-webxr-multiview/61103>\
**Category:** Bugs\
**Created:** [October 22, 2025, 9:40pm UTC](https://forum.babylonjs.com/t/greased-line-not-rendering-correctly-in-webxr-multiview/61103 "2025-10-22T21:40:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsaffo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/dsaffo/32/31907_2.png) [@dsaffo](https://forum.babylonjs.com/u/dsaffo)\
**Post date:** [October 22, 2025, 9:40pm UTC](https://forum.babylonjs.com/t/greased-line-not-rendering-correctly-in-webxr-multiview/61103/1 "2025-10-22T21:40:38Z")

</div>

It seems like greased line is not rendering correctly in webxr when multiview is enabled. You end up with one eye rendering correctly while the other has the mesh moving around the view with you. This is also the case for some other shader materials I’ve looked at.

> **[Babylon.js Playground](https://playground.babylonjs.com/#5Z72U5%231)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL and WebGPU 3D scenes

It could be related to this issue where there is just a typo in the shader code?

> [@WebXR multiview with custom shaders issue](https://forum.babylonjs.com/t/webxr-multiview-with-custom-shaders-issue/37991):
>
> Hello wonderful team smiley Today I bring an issue I’ve experienced while trying to enable WebXR multiview in my scene. The view inside the headset looks really weird, it seems that there’s no alignment of the “eyes” inside VR and the whole space seems to distort with any head rotation. I’ve narrowed it down to what seems like custom shader code somehow interfering with the view inside the headset (side-effects I’ve seen are objects moving with the headset rotation itself). It triggers when…

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [October 22, 2025, 10:29pm UTC](https://forum.babylonjs.com/t/greased-line-not-rendering-correctly-in-webxr-multiview/61103/2 "2025-10-22T22:29:42Z")

</div>

cc El Maestro: @roland

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [October 24, 2025, 6:16am UTC](https://forum.babylonjs.com/t/greased-line-not-rendering-correctly-in-webxr-multiview/61103/3 "2025-10-24T06:16:34Z")

</div>

Master, give me a bit of time! I’m in the middle of juggling three things at once, this one [Babylon.js meets Google Maps and Mapbox!](https://forum.babylonjs.com/t/babylon-js-meets-google-maps-and-mapbox/60923)  
and a dynamic Navigation debug extension for the new Inspector, plus my daily work… 😰

The fix looks pretty straightforward. Thanks, @dsaffo, for finding the topic in the Bugs section, that really helps! I just need to wrap up at least one of the things I’m currently working on first…

---

<div class="post-metadata">

**Author:** ![dsaffo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/dsaffo/32/31907_2.png) [@dsaffo](https://forum.babylonjs.com/u/dsaffo)\
**Post date:** [November 12, 2025, 2:45pm UTC](https://forum.babylonjs.com/t/greased-line-not-rendering-correctly-in-webxr-multiview/61103/4 "2025-11-12T14:45:50Z")

</div>

The most gentle of bumps 🙂.
