I’m developing a xr immersive experience with babylon 6.31.0 for Vision Pro (I don’t have the device itself, but I’m using the XCode VisionOS simulator in a Mac).
When the scene starts rendering in immersive mode the colors look whashed out. The bug is present in any immersive experience, even in the simplest demo: https://playground.babylonjs.com/#F41V6N
No, nothing striking but I was more focused on getting something on screen. Things might have changed since my last testing as well. Simulator is still beta AFAIK
Did you find something in the options that could do something with screen colorspace? I believe macos option also have possibilities to change screen color space.
Did you check for colorspace in the Apple documentation for VisionOS ?
Very washed out, I’m also noticing an issue with where click events seem to be happening. The boxes in my scene are clickable, it works in a normal browser and in XR mode on Android. But for the Vision Pro it seems very offset.
Thanks a lot for reporting this. I currently have no way of testing it as I am waiting on my mac to run an emulator. But this will probably be the first test I will try - finding out what went wrong here.
Here’s how I got the simulator running, since it took me a bit to find it all maybe I can save you some time:
Get beta of XCode
In Xcode menu, start through Xcode > Open Developer Tool > Simulator
In simulator:
In menu bar go to File > New Simulator…
For ‘Device Type’ you can select Vision Pro, it’s all the way at the bottom, if it’s not there then maybe you don’t have the beta simulator running. The beta simulator has a beta icon in the taskbar.
From then on you can start the simulator just through ‘Open Simulator’.
You can summon the menu with the house icon topright of the simulator
In the simulator you need to enable WebXR through ‘Settings’ > Apps > Safari > (click and drag this down for advanced) > (drag down again for hidden ‘Feature Flags’) > and here you can enable all WebXR stuff.
i can only assume that with a dedicated post processing or color space adjustments it is possible to get it to work well. But that would be a device-dedicated hack. It should be fixed by apple themselves. Would be interesting to see if they finally solved this issue in vision OS 2.0