matrix-engine-wgpu
Version:
Networking implemented - based on kurento openvidu server. fix arcball camera,instanced draws added also effect pipeline blend with instancing option.Normalmap added, Fixed shadows casting vs camera/video texture, webGPU powered pwa application. Crazy fas
18 lines (16 loc) • 503 B
JavaScript
import MatrixEngineWGPU from "./src/world.js";
import {downloadMeshes} from './src/engine/loader-obj.js';
import {LOG_MATRIX} from "./src/engine/utils.js";
export let application = new MatrixEngineWGPU({
useSingleRenderPass: true,
mainCameraParams: {
type: 'WASD',
responseCoef: 1000
},
canvasSize: 'fullscreen'
}, () => {
window.app = application
// for now
window.downloadMeshes = downloadMeshes;
console.info(`%c matrix-engine-wgpu [ready]`, LOG_MATRIX);
})