Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SteamVR Oculus HDR Mode issue #56

Closed
ktmlleska opened this issue Oct 24, 2017 · 3 comments
Closed

SteamVR Oculus HDR Mode issue #56

ktmlleska opened this issue Oct 24, 2017 · 3 comments

Comments

@ktmlleska
Copy link

Hello,

I have a game developed with Unity and steamVR working for HTC vive. I would like to add a compatibility with Oculus Rift, as as far as I understood steamVR should be compatible with it.

Trying it I have found a couple of issues that I' appreciate if you could help me to solve or maybe they are a limitations of the plugin.

The first thing I tried is to simply connect the oculus and try the same build I had working for vive, and it was working, but I had a poor image quality as the default HDR Mode is not R11G11B10, so finding how to solve the problem I found that I had to do the following:

  • Add the oculus sdk on the "player settings" and before the OpenVR sdk.
  • Then I had to download and install the "oculus integration" plugin form the asset store, and add an script to my steamVR [CameraRig] object with the following line to enable the R11G11B10 mode. "OVRManager.eyeTextureFormat = OVRManager.EyeTextureFormat.R11G11B10_FP;"

Well with this I solved the problem with the image quality, but now since the oculus SDK is in the first position my controllers are not working and the camera appears to be upside down.

So my questions are, is there anyway to solve this problem? or to activate the R11G11B10 mode without having to add the oculus SDK on the player settings? If it is possible to solve, will this be able to be published on oculus store or it has to have the oculus SDK?

If it isn't possible, then the way to proceed is to have a different camera setup for each headset as well as different builds?

Thank you very much.
Cheers.

@bddckr
Copy link

bddckr commented Oct 24, 2017

Once you use the Oculus plugin/SDK you aren't using SteamVR anymore.

On the question of whether R11G11B10 is supported in OpenVR's Oculus driver you're probably better off asking in the OpenVR repo.

@ktmlleska
Copy link
Author

ktmlleska commented Oct 24, 2017

Ok thank you.
Then, I assume that there is no way to develop for Oculus store using the SteamVR plugin, as it needs the Oculus SDK?

Anyway, If I can find the way to set the R11G11B10 on OpenVR it should work on steam.

Thank you.

@zite
Copy link
Collaborator

zite commented Sep 22, 2018

Hi, thanks for the report. Can you test with modern versions of everything and let me know if this is still an issue?

@zite zite added the Need Retest This is an old or potentially fixed issue. It needs confirmation that it still exists label Sep 22, 2018
@zite zite closed this as completed Oct 25, 2018
@kisak-valve kisak-valve removed the Need Retest This is an old or potentially fixed issue. It needs confirmation that it still exists label Oct 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants