# Supporting multiview for VR Quest2 with custom PBR NME material

**URL:** <https://forum.babylonjs.com/t/supporting-multiview-for-vr-quest2-with-custom-pbr-nme-material/34198>\
**Category:** Questions\
**Created:** [September 23, 2022, 8:29pm UTC](https://forum.babylonjs.com/t/supporting-multiview-for-vr-quest2-with-custom-pbr-nme-material/34198 "2022-09-23T20:29:53Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![br-matt](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/br-matt/32/22436_2.png) [@br-matt](https://forum.babylonjs.com/u/br-matt)\
**Post date:** [September 23, 2022, 8:50pm UTC](https://forum.babylonjs.com/t/supporting-multiview-for-vr-quest2-with-custom-pbr-nme-material/34198/3 "2022-09-23T20:50:47Z")

</div>

There is this old thread about doing it through pure code for reference:

> [@VR Quest Multiview missing content](https://forum.babylonjs.com/t/vr-quest-multiview-missing-content/4920/2):
>
> Yeah multiview is complicated to implement as you need to update your shader to take care of the specific info that are required by the multiview extension. First you need to add #extension GL\_OVR\_multiview2 : require\nlayout (num\_views = 2) in at the beginning of your shader then you need to know that you will receive 2 viewProjection matrices like here: What we do automatically for you is that if your defines contain “MULTIVIEW” we will add the extension declaration then you need to t…

---

_[View the full topic](https://forum.babylonjs.com/t/supporting-multiview-for-vr-quest2-with-custom-pbr-nme-material/34198)._
