Intermediate framebuffers are not always shown
juj opened this issue · comments
E.g. in a profile of http://clb.confined.space/dump/unity/Wasm-Tiny3D/Tiny3D.html
Spector.js is unable to render all the screenshots from intermediate renders, see FBO 0 on the left:
This is normal as we only capture colored buffer and this is only a depth component one. It is a tradeoff to ensure a tiny bit more perfs as we would need a new render and changing the webgl state quite a bit to convert into a color buffer.
Would be cool to add an option to do it on demand if you fancy doing a PR ?
I am closing this one, and I am looking into the other ones.
Oh I see.. perhaps if the thumbnail image is not shown, it would make sense to instead print the format of the target, e.g. "Depth16 FBO not captured"?
Totally agree I ll do that ASAP :-)