Can TypeGPU Kit and Three.js draw the same GLB on one GPU device?
I wanted to find out how much of an existing garden asset could move between WebGPU renderers. Both TypeGPU Kit 0.1.0 and Three.js r187 loaded the same 53,561-triangle Houdini lavender GLB on an RTX 5070 Ti. The median cold first render call returned at 203.9 ms in Kit and 176.4 ms in Three.js . RAF medians were 16.7 ms for both. This is a startup comparison on one desktop fixture. Kit merged the…
A recent experiment aimed to determine if the TypeGPU Kit and Three.js could render the same GLB file on a single GPU device. Both renderers successfully loaded a 53,561-triangle Houdini lavender GLB file on an RTX 5070 Ti. The TypeGPU Kit completed the initial render in 203.9 milliseconds, while Three.js managed it in 176.4 milliseconds.
The RAF (Request Animation Frame) median time was 16.7 milliseconds for both renderers. TypeGPU Kit managed to merge the scene into four indexed draws, compared to Three.js's ten draws. By instancing the model four times, TypeGPU Kit adjusted the geometry count to 214,244 triangles. Remarkably, both renderers successfully drew on the same GPU device.
Initially, Three.js relied on WebGL2 for the base scene, while TypeGPU Kit operated independently. The study also included separate tests for shadow and bloom, skin and instance-extension loading. The full experiment and downloadable lab are available for further exploration.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to