Closed Outssiss closed 9 months ago
I was able to determine that the Submit was throwing a Compositor error 105, which is VRCompositorError_TextureUsesUnsupportedFormat. The headset being used is an HTC Vive Pro
Try using an RGBA texture instead of an RGB one.
I'm guessing this is due to SteamVR using DirectX 11 internally, which doesn't support 24 bit texture formats. https://learn.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format
Try using an RGBA texture instead of an RGB one.
I'm guessing this is due to SteamVR using DirectX 11 internally, which doesn't support 24 bit texture formats. https://learn.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format
It was exactly that. Now the scene renders in the headset. Thanks!
I have this code, whic creates a VR scene using OpenGL:
This is the include file:
A window is created in the PC screen and the headset movement is followed correctly.
But on the headset nothing is seen: