lalalune / three-batch-manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

three-batch-manager

CircleCI

High level batching / instancing API for ThreeJS

This project is currently experimental, the API will change, and it may not always be in a working state.

Features

  • Dynamic batching via instance vertex attribute and instance uniforms stored in a uniform array (In Progress)
  • Skinned mesh support
  • Static batching
  • Instancing
  • Batched 2D quads with spritesheet support for UIs
  • Batched SDF font rendering

Running the Example

The example uses models from the glTF-Sample-Models repository which is included as a git submodule.

To pull in the submodule run the following commands:

git submodule init 
git submodule update

Then to start the example run:

npm install
npm start

About

License:Mozilla Public License 2.0


Languages

Language:TypeScript 96.8%Language:JavaScript 1.9%Language:HTML 1.3%