three.ez/instanced-mesh
Enhanced InstancedMesh with frustum culling and more.
Category:
Tags:
OptimizationWebGLGame DevelopmentLOD (Level of Detail)
Author:
Andrea Gargaro
Author Website:
https://github.com/agargaroDo you know a Resource we should add?Submit a new Resource!
Three.js Boilerplates
Three.js Boilerplates
Check out our collection of Three.js Boilerplates & React Three Fiber [R3F] Boilerplates.
From simple to complex, we have you covered.
Links
Newsletter
Stay Updated with Three.js Resources!
- Weekly curated Three.js resources and tool
- Early access to new tools and boilerplates
No spam, unsubscribe at any time.
Description
InstancedMesh2 is an alternative version of InstancedMesh that offers advantages:
- frustum culling for each instance
- sorting
- visibility for each instance
- each instance can have an object similar to Object3D to simplify its use
- spatial indexing (BVH) for fast raycasting and frustum culling
- LOD (work in progress)
This library has two dependencies:
- three.js r159+
- bvh.js