No xr option on my render

Hello,
I tried to develop an webxr application and I use three.js for xr.
But when I look on my renderer the xr option is not set.
I have the file three.js and I do var renderer = new THREE.WebGLRenderer();
I’ve just vr not xr
If someone know why …

What version of three.js are you using?

When I do console.log( THREE.REVISION ); I’ve 99 so I think is this XD

Okay. The xr property was introduced with R112. When developing with WebXR, I highly recommend to use the latest version of three.js to ensure you get all the neat features and performance tweaks which were added in the last month.

1 Like

Ok thank you very much !!! IT’s good now :slight_smile: