Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
patrick73
· 12y ago · 0 comments
what data do you want to extract?, all postprocessing effects are made with GLSL shaders, you don't process data with javascript algorithms.
Comments
[–]
bitL
12y ago
Just the call on getImageData to extract texture and read all pixels from an image can take 15s if CORS is in the play...
[–]
patrick73
OP
12y ago
you don't call getImageData to extract a texture data. You load the image, make a texture of it, and then apply all postprocessing effects with a WebGL shader.
[–]
bitL
12y ago
OK, thanks for the hint! I'll try to play with CORSed image texture binding to see what the performance is.