Closed tom-twinlabs closed 5 months ago
I was able to get this in the end with
const {gl} = useThree();
gl.autoClear = false
gl.info.autoReset = false
useFrame((state) => {
console.log(gl.info)
state.gl.info.reset()
})
Not sure if that's intended to be the way you have to do it or not. Either way I will close the issue
when using effectcomposer, if you get the webgl.info via useThree(), you will always get triangles: 1 (because its true) however, that's not very useful when trying to analyse your scene, instead you probably want the triangles from the initial renderpass, which might tell you some interesting stats about your scene. Is there a way to get it?
Thank you