Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

Just the call on getImageData to extract texture and read all pixels from an image can take 15s if CORS is in the play...


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.


OK, thanks for the hint! I'll try to play with CORSed image texture binding to see what the performance is.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: