@mozillareality/three-batch-manager
TypeScript icon, indicating that this package has built-in type declarations

0.1.10 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @mozillareality/three-batch-manager

Weekly Downloads

56

Version

0.1.10

License

MPL-2.0

Unpacked Size

180 kB

Total Files

18

Last publish

Collaborators

  • mozillarealityops
  • brianpeiris
  • netpro2k