wgpuEngine is an open-source framework that allows creating desktop, XR and web 3D applications.
It uses Dawn, which provides WebGPU for desktop and web (via emscripten). We are using a forked version with XR support, not the official one (until support is added).
For desktop XR it uses OpenXR. XR on the web still not possible until WebGPU and WebXR are integrated.
See Rooms for an example of how to use this framework.
- Web export (Still no XR enabled)
- Flat screen + Desktop VR Rendering Supported
- OBJ/GLB parsing
- Instancing
- Physically Based Materials (PBR)
- HDR+IBL Lighting
- Scene node management
- 2D/3D UI
- Text Rendering
You will need to install the following tools:
git submodule update --init --recursive
mkdir build
cd build
cmake ..
Download emscripten and follow the installation guide.
On Windows you may need to download ninja and include the folder in your PATH environment variable, then:
git submodule update --init --recursive
mkdir build-web
cd build-web
emcmake cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .