Skip to content

Repository files navigation

Expo + React Native WebGPU + Babylon Lite

Minimal Expo application using Babylon.js Lite and react-native-webgpu to load a GLB file.

Run this app

git clone https://github.com/laurentdiazfr/babylon-lite-react-native-webgpu
cd babylon-lite-react-native-webgpu
npm install
npx expo prebuild
npx expo run:android   # or: npx expo run:ios

Expected Output

Android

Create the same setup

npx create-expo-app@latest --template blank-typescript
npx expo install react-native-webgpu expo-build-properties
npm install @babylonjs/lite

Add these plugins to app.json:

"plugins": [
  "react-native-webgpu",
  [
    "expo-build-properties",
    {
      "android": {
        "minSdkVersion": 26
      }
    }
  ]
]

Then prebuild and run:

npx expo prebuild
npx expo run:android   # or: npx expo run:ios

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages