原来 THREE.JS 是这样 readPixels,有大佬知道具体原因么?
資深大佬 : deepkolos 6
https://github.com/mrdoob/three.js/blob/master/src/renderers/WebGLRenderer.js#L1903
翻 three 的代码发现,readPixels 之前需要检查 frameBuffer 是否完成了
有大佬知道具体原因么?
大佬有話說 (1)
https://github.com/mrdoob/three.js/blob/master/src/renderers/WebGLRenderer.js#L1903
翻 three 的代码发现,readPixels 之前需要检查 frameBuffer 是否完成了
有大佬知道具体原因么?
A gl.INVALID_FRAMEBUFFER_OPERATION error is thrown if the currently bound framebuffer is not framebuffer complete.