Skip to content

v0.2.0

Pre-release
Pre-release

Choose a tag to compare

@Zushah Zushah released this 03 Feb 21:03
· 266 commits to main since this release

Overview

This release focuses on developing the core rendering engine features with meshes, transformations, lights, and more.
Commits: v0.1.0...v0.2.0.
Check out the documentation: https://zushah.github.io/WasmGPU.

Highlights

  • Engine and scene graph: new engine/renderer separation with a high-level render loop, scene/mesh/transform primitives and parented transforms, built-in geometry helpers (box, plane, sphere, torus, cylinder, pyramid, prism), and perspective/orthographic camera functions with lookAt() and aspect handling.
  • Materials and lighting: PBR-ish StandardMaterial (color, metallic, roughness, emissive) as well as UnlitMaterial and CustomMaterial support, material uniform and bind-group management, texture/sampler support, and proper model/normal matrix handling for lighting.
  • Builds, WebAssembly, and runtime: AssemblyScript math module (./build/math.wasm and ./build/math.js) with lazy initialization, both ESM and IIFE ./dist/ bundles ready for CDN use, and shader/pipeline and GPU buffer (vertex/index/uniform) management.

Example showcasing the new features.

Stability

This is a pre-release so expect breaking changes between minor versions.

Feedback

Issues and pull requests are welcome: https://www.github.com/Zushah/WasmGPU/issues