Hacker Newsnew | past | comments | ask | show | jobs | submit | patrick73's commentslogin

Sorry, but if you know nothing about Ruby this is pure hype.


with WebGL?


WebGL textures suffer from the same problem as shaders can be used to extract data. WebGL is hence using CORS as well. Do you say the performance penalty in WebGL is non-existing contrary to canvas?


what data do you want to extract?, all postprocessing effects are made with GLSL shaders, you don't process data with javascript algorithms.


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.


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

Search: