gkjohnson / batched-material-properties-demo

Demonstration of rendering three.js' BatchedMesh with different material properties in one draw call.

Home Page:https://gkjohnson.github.io/batched-material-properties-demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

batched-material-properties-demo

Demonstration of rendering three.js' BatchedMesh with different material properties in one draw call by packing material properties into a single texture. The demo features 5000 individually animate-able geometries in a batched mesh with unique metalness, roughness, emissive, and diffuse color properties.

Demo here

About

Demonstration of rendering three.js' BatchedMesh with different material properties in one draw call.

https://gkjohnson.github.io/batched-material-properties-demo/

License:MIT License


Languages

Language:JavaScript 99.9%Language:HTML 0.1%