Skip to content

webg v.3.0.0

Latest

Choose a tag to compare

@jun-mizutani jun-mizutani released this 25 Oct 13:37

webg 3.0 is a major release of a self-contained JavaScript and WebGPU library for building 3D applications.

Highlights

  • Application architecture: Build applications with WebgApp and the low-level scene APIs, or use WebgSceneApp with SceneYAML and ModelYAML.
  • Physically based rendering: Create materials with PBR, HDR environment lighting, image-based lighting, and transparent refraction.
  • Water and visual effects: Add animated water surfaces, caustics, shadows, reflections, fog, bloom, and depth of field.
  • CPU and GPU physics: Choose PhysicsSpace or ComputePhysicsSpace for rigid-body simulation, contacts, sleeping, and joints.
  • GPU-driven applications: Use Compute Shaders for particles, cloth, texture generation, and other GPU workloads.
  • Runnable learning resources: Explore the Japanese and English books, chapter examples, and integrated sample applications.

Get started

Clone the repository and serve it over localhost:

git clone https://github.com/jun-mizutani/webg.git
cd webg
python3 -m http.server 8000