SteamVR

SteamVR

Does SteamVR support alpha transparency?
I'm trying to edit the HelloVR sample app to have a transparent background. However, it seems that SteamVR doesn't respect the alpha values submitted to the compositor, despite the pixel format being RGBA. Is there a flag that I can enable which will force SteamVR to transmit the alpha value submitted to the runtime?

I see that I can create an overlay application with alpha between [0, 1]. I would like to do the same with a scene application.
< >
Showing 1-3 of 3 comments
BOLL Feb 7 @ 2:06pm 
What do you expect to be behind the transparent parts in this case? I think it'd just become black and not the base SteamVR environment as a scene application is rendering frames...
sjacobs Feb 8 @ 8:33am 
I'd like to underlay the passthrough camera image on the client side to enable mixed reality experiences.
Rectus Feb 8 @ 12:55pm 
Unfortunately there is no support for compositor based passthrough, neither through OpenVR or OpenXR. The only way SteamVR supports passthough for applications is through the TrackedCamera interface in OpenVR, which means you need to manually reproject the camera frames.

Or use OpenXR with my API layer (that pulls the camera data from OpenVR)
https://github.com/Rectus/openxr-steamvr-passthrough
< >
Showing 1-3 of 3 comments
Per page: 1530 50