diff --git a/src/vrApp.ts b/src/vrApp.ts index 3ecf1f7..727461b 100644 --- a/src/vrApp.ts +++ b/src/vrApp.ts @@ -20,7 +20,8 @@ import {DefaultScene} from "./defaultScene"; import {Introduction} from "./tutorial/introduction"; import {PouchData} from "./integration/database/pouchData"; -const webGpu = false; +const webGpu = new URLSearchParams(window.location.search).has('webGPU'); +console.log(`Rendering backend: ${webGpu ? 'WebGPU' : 'WebGL'}`); log.setLevel('debug', false); export default class VrApp {