Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Slin's avatar
Slin
Expert Protege
8 years ago

How to make Dash render with my application in the background?

First issue I noticed is that the documentation for the "Depth Buffer Support" is quite limited, would be nice to at least have the tiny room samples use it. But I think I figured it out now. So if I pin a window it will use the depth to show if it's behind or in front of something in my application, which is quite nice.

But in some games if you open Dash, it will just keep the game mostly functional in the background while in my own application this is not the case and instead everything fades to grey before it opens. Is there any way I can make this behave better?

Thanks!

2 Replies

  • Take a look at this thread: https://forums.oculusvr.com/developer/discussion/59840/why-doesnt-dash-overlay-work-in-my-unity-app
  • Slin's avatar
    Slin
    Expert Protege
    Not using Unity, but helped me find out that what I am looking for is "VR Focus Management": https://developer.oculus.com/documentation/pcsdk/latest/concepts/dg-vr-focus/
    This one explains it better in combination with Dash: https://developer.oculus.com/documentation/pcsdk/latest/concepts/dg-render-advanced/#dg_render_advanced

    Also apparently the Depth Buffer stuff is implemented in the Oculus World Demo, which for some reason I didn't consider checking...

    Thanks for the help!