WebGLLIS

A modular WebGL2 rendering library built in JavaScript.

Features

Who This Is For

Use this library if you want lower-level control than full game engines, but still want reusable rendering building blocks for WebGL2 projects.

Getting Started

Requirements

Install dependencies

npm install

Build library bundles

npm run build

Build output:

Run demos

npx vite .

Then open:

Core Usage Flow

  1. Create a WebGLRenderDevice from a canvas.
  2. Create a render target (CanvasTarget or ImageTarget).
  3. Create a WebGLRenderer with the plugins needed by your scene.
  4. Build scene objects (meshes, lights, camera).
  5. Call renderer.render(objects, renderDevice) each frame.