You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks! Was looking into a fix since seeing #29488 and noticing the count was wrong here.
agargaro
changed the title
WebGLRenderer: BatchedMesh triangles aren't reported in renderer.info.render.triangles if use _multiDraw
WebGLRenderer: renderer.info.render data is wrong if use BatchedMesh._multiDrawSep 30, 2024
Description
Using
BatchedMesh
andmultiDrawElementsInstancedWEBGL
, the triangles and drawcalls in therenderer.info.render
are not correct.Reproduction steps
BatchedMesh
renderer.info.render
Code
Live example
In this example I use multidraw to manage the LODs of an InstancedMesh with a single drawcall
https://stackblitz.com/edit/three-ezinstancedthree-js-bug-drawcall-triangles-infomes?file=src%2Fmain.ts
Screenshots
Here there should be one draw call and fewer triangles
Version
r169
Device
No response
Browser
No response
OS
No response
The text was updated successfully, but these errors were encountered: