Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
jpasek's avatar
jpasek
Explorer
5 years ago

No Occlusion Mesh on Quest?

Hi there, 
I'm just looking for confirmation that there is no Occlusion Mesh for the Quest. We have a custom SRP which calls 
XRUtils.DrawOcclusionMesh
before we do any Rendering of scene geometry. This works as expected for PC/Rift and in the Editor, however RenderDoc shows that nothing is happening on the Quest:


We are using Unity 2019.3.5, is this intended behaviour or should I file a bug report?

Thanks in advance!


4 Replies

Replies have been turned off for this discussion
  • Have you found more info on that ? I mean any performance uplift on Quest is crucial, right? 
  • If you're using an oculus package that is pre new XR Plugin Management System, then there's also OVRPlugin.occlusionMesh = true . I've forced this to enable and XRSettings.useOcclusionMesh too but i am not sure it's really doing that much, as OVRPlugin.occlusionMesh is set to false automatically after. I also added a Debug.Log to XRUtils.cs (in Universal Render Pipeline package) where the draw occluion mesh function of XR resides, and apparently it is at least issuing the draw command.But i can't find any evidence in Render Doc that the occlusion mesh is actually drawn.
  • This has been resolved ! 
    can't post the link to the unity forum but this is the gist of it
    Quote: I was informed, by Oculus, that Occlusion Mesh is not (at least currently) supported on Quest. Using Fixed Foveated Rendering should be a comparable performance boost.