Make readRenderTargetPixels() compatible with implementation defined formats
We have to bind the buffer before making the test, because the answer is circumstantial ( https://www.khronos.org/registry/webgl/specs/1.0/#readpixels ). Did you know that with the OES_texture_float extension Chrome allows rendering to a float texture then reading a float render target to a Float32ArrayBuffer in readPixels() ?
Showing
想要评论请 注册 或 登录