Hi folks, we have a VR app that uses passthru on other platforms. We’d like to enable passthru (mixed reality) capability in Fully Immersive VR on Vision Pro. Is this possible?
The system APIs do not allow it. You’ll have to convert to a mixed reality app via polyspatial.
What about when trying to something like this? Is this only possible with polyspatial as well?
You won’t have access to the camera feed but you could create a similar effect, or use progressive immersion to create a portal-like experience.
There is an API called ProgressiveImmersionStyle that lets you adjust the level of immersion using the digital crown that looks like this.
Dimming effect should be possible by just varying the transparency of a textured sphere in MixedImmersionStyle, however that cannot be controlled using the digital crown.
Yes Immersive Spaces style: Progressive (and Mixed) is only supported with PolySpatial. In a fully immersive VR app rendered with metal compositor services the pass through video is turned off.
So if our app wants to have any passthrough features inside the app, for example just one section of the app uses mixed reality, then the whole app needs to be polyspatial compatible i.e. limited to shadergraph only shaders and no custom shaders?
Correct, for apps that show passthrough video they must be rendered using RealityKit which is enabled with PolySpatial.
For custom shaders the one exception to this is render textures. You can render custom shaders with a render texture but currently the platform only supports a limited number of render textures.
See documentation here: PolySpatial Asset Support | PolySpatial visionOS | 0.1.0