But I’m having a small issue, where the view in AR is not ‘see-through’ or clear. The purple background is showing instead of the camera feed. The movements of the camera through the scene are correct with how I’m moving the phone, so I know everything else is working correctly.
I already found that I now have to add a rendertarget to enterXRAsync, from BabylonReactNative/App.tsx at master · BabylonJS/BabylonReactNative · GitHub
But I still have the purple background.
I did not have this issue in the previous version of the library, and I feel this should be an easy fix but I can’t seem to find it , any ideas?
just making sure - are you using babylon web or babylon native?
It seems to be an issue with clearing. Have you tried the latest beta (beta.5)? we have been changing the way we clear the scene in the last few versions
This is in native, Babylon React Native specifically.
I’ll try the latest beta, but I wasn’t sure if it would mix well with the Babylon React Native version I’m using.