Search the Community
Showing results for tags 'instancing'.
-
In both Three.js and Bablyon.js I have implemented almost the exact same scene of 10000 instances of a 30 vertex mesh. In my Three.js implementation it takes ~3ms to do the draw call that renders these. In my Babylon.js implementation it takes ~40ms (Frame time) to do 1 draw call that renders these instances. I am following the Instance demo on the babylon website. In Three.js, there is a "InstancedBufferGeometry" object that speeds this up considerably. Does BabylonJS have a similar concept? How do I build a vertex buffer that draws these instances faster? The mesh being drawn is the same for all instances, with the same shader being used for all meshes, with only a small amount of data (position, orientation) of the mesh changing per instance.
-
Hi guys, does anybody here know whether Babylon.js supports material instancing or not? Thanks