You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.
currently disabling ARCoreBackgroundRenderer does not disable background rendering for me.
The way to go is to set the ARBackgroundRenderer.mode to ARRenderMode.MaterialAsBackground when we want to enable it, and to ARRenderMode.StandardBackground when we want to disable it. It's a bad idea to do a null check on it every frame anyway, as it is unnecessary.
A piece of code I'm currently using as a hack, in another script on the camera:
currently disabling
ARCoreBackgroundRenderer
does not disable background rendering for me.The way to go is to set the
ARBackgroundRenderer.mode
toARRenderMode.MaterialAsBackground
when we want to enable it, and toARRenderMode.StandardBackground
when we want to disable it. It's a bad idea to do a null check on it every frame anyway, as it is unnecessary.A piece of code I'm currently using as a hack, in another script on the camera:
And then:
The text was updated successfully, but these errors were encountered: