Open AlexAPPi opened 1 month ago
WebGL 2 adds support for this using WEBGL_draw_instanced_base_vertex_base_instance but its support seems to be very low (less than 1%) here https://web3dsurvey.com/webgl2
WebGL 2 adds support for this using WEBGL_draw_instanced_base_vertex_base_instance but its support seems to be very low (less than 1%) here https://web3dsurvey.com/webgl2
If you focus on chromium-like browsers, they have support; this greatly speeds up the work with indexes, for example for the LOD system.
I see this:
My MacOS on latest Chrome does not expose this extension.
What data do you see?
Sorry, I'm talking about webGPU support.
Hi!
It would be nice to have baseVertex support for the mesh.
https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexed
https://github.com/playcanvas/engine/blob/03920ded44f6cee81ab16a904551b8b1ddecaeb5/src/platform/graphics/webgpu/webgpu-graphics-device.js#L521
https://github.com/playcanvas/engine/blob/03920ded44f6cee81ab16a904551b8b1ddecaeb5/src/scene/mesh.js#L256