mrdoob / three.js

JavaScript 3D Library.
https://threejs.org/
MIT License
101.95k stars 35.32k forks source link

Points billboard not working as expected in VR on r137 #23731

Open Getsumi3 opened 2 years ago

Getsumi3 commented 2 years ago

Describe the bug

I’m building a simple scene with multiple particles (points). It works great in browser, but not in VR. When I try it in VR some strange distortion appears on screen. To see it you need to look at specific angles.

It's is difficult to describe it so please take a look at the screenshots.

Topic on discourse.threejs.org

To Reproduce

Steps to reproduce the behavior: 1.Create a simple scene with points or open provided example in your VR headset (not the WebXR emulator)

  1. Enter VR mode
  2. See how points are billboarding

Live example

Expected behavior

An identical rendered scene as without VR

Screenshots image image

Platform:

Additional notes:

Mugen87 commented 1 year ago

I've encountered this issue today with a Quest 2. As mentioned by the OP, billboards are distorted but only at specific parts of the screen. There seems to be discrete thresholds when the rendering starts to break. I've tried setting foveation to 0 but unfortunately this didn't help.

Mugen87 commented 1 year ago

After testing some versions it seems r136 is the first release that breaks billboard rendering in VR. Maybe #22915 introduced the regression...