Flip pixels after gl.readTexture
:
var flip = var w = gldrawingBufferWidth;var h = gldrawingBufferHeightvar pixels = w * h * 4;gl;
Based on this question.
See also clip-pixels.
Flip pixels after gl.readTexture
:
var flip = var w = gldrawingBufferWidth;var h = gldrawingBufferHeightvar pixels = w * h * 4;gl;
Based on this question.
See also clip-pixels.
npm i flip-pixels
20,822
1.0.2
MIT
3.65 kB
6