Igalia / wolvic

A fast and secure browser for standalone virtual-reality and augmented-reality headsets.
https://wolvic.org
Mozilla Public License 2.0
813 stars 105 forks source link

[VisionGlass] Do not draw the environment (skybox) #1251

Closed svillar closed 9 months ago

svillar commented 9 months ago

We could completely prevent the environment from rendering by enabling passthrough at startup in the settings. We do the same for other see-through devices like the Lenovo A3. This is not a "real" passthrough as we aren't showing the real world by getting a video stream from a camera. That's because we don't need it as the device is not fully immersive but rather an AR device.

Current Wolvic's code defaults to not rendering the skybox if passthrough is enabled and there is no passthrough layer.