Instancer: Treating Babylon Lite Instances Like Real Application Objects

Basically, yes :slight_smile:
Drawcalls are minimal.

1 Like

@labris @preact/signals - I am huge fan of this stuff! :wink:

2 Likes

I hope you’ll like it too - Outline for GLB thin instances - Thin Instance Outline Gallery

The outline renderer uses one compact thin-instance draw per attached host and stores only highlighted IDs. Use createThinInstanceOutliner for ordinary meshes or raw Babylon Lite thin-instance indices. A host with a live Babylon Lite skeleton automatically shares its joint/weight streams with the outline and mirrors current bone matrices each frame.

The original idea for this outline feature came from increasinglyHuman/babylon-thin-instance-outline for Babylon.js. This package implements the approach natively for Babylon Lite and adds its own stable-ID, compact-pool, and live-skeleton workflows.

https://www.npmjs.com/package/@litools/instancer

1 Like

Very very cool!

I wish I could switch entirely to WebGPU/Babylon Lite with my Digital Twin implementation, but support on iPhones requires the newest MacOS 26 (not just an updated browser) so unfortunately this would not happen anytime soon.

@roland Specially for you :slight_smile:

Instancer for Babylon.js - https://www.npmjs.com/package/@litools/instancer-babylonjs

npm i @litools/instancer-babylonjs

2 Likes