bloom/main.ts
import { configure } from "@bloomengine/web/config";
configure({
app: "racer",
title: "Racer",
root: new URL("../", import.meta.url).pathname,
});
import "@bloomengine/web";
import "../src/main.ts"; Where this stands today
The bridge maps supported materials and meshes to Bloom. Custom shaders, render targets and EffectComposer need a separate rendering path.
Questions and answers
Can I keep a DOM-based HUD?
The racer port kept its DOM HUD. Its phone build needed a simpler stylesheet and less frequent updates. Test your own HUD on the target device.
Ship a Three.js game as a native app