Lite running natively on your mobile, today!

Hi there,

Just want to share my prototype of Babylon Lite running natively in IOS and Android using react-native-webgpu and Expo.

react-native-webgpu is a fantastic project bringing Dawn to react native.

At the moment, the prototype simply loads a GLB file and displays it fullscreen. There’s nothing particularly fancy about it, but it’s a proof of concept I had previously tried to build with Babylon.js and couldn’t get working. With Babylon Lite, it worked almost immediately. The only extra requirement was a Blob polyfill for the glTF loader.

Here is the code : GitHub - laurentdiazfr/babylon-lite-react-native-webgpu · GitHub

Happy hacking !

8 Likes

cc @BabylonNative

This is really cool. I also failed trying to get running with Expo on @babylonjs/core - I’m definitely going to give this a try in the coming days.

Thanks for sharing and also splitting the commit where you added separately! :smiley:

1 Like

Cool !

My next step is loading local assets. I started a separate discussion here : [LITE] loader compatibilities with native platforms : fork or fix?