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

I cut my teeth on WebGL shaders by digging into the source of glfx.js: http://evanw.github.com/glfx.js/

I needed to add a shader to allow a mask to be used for video with an alpha channel, like this: http://jakearchibald.com/scratch/alphavid/

It's definitely helpful seeing everything laid out tutorial-style. As simple and well-written as glfx.js is, there are still some quirks of WebGL and shaders that are not at all obvious to the uninitiated JS hacker.



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

Search: