patriciogonzalezvivo / glslCanvas

Simple tool to load GLSL shaders on HTML Canvas using WebGL
http://patriciogonzalezvivo.github.io/glslCanvas/
MIT License
1.97k stars 183 forks source link

webcam #64

Open weepy opened 4 years ago

weepy commented 4 years ago

hiya - looking at the source I'm guessing it's not currently possible to use the webcam as a texture.

I can see it would be fairly easy to hack in e.g. by a ".webcam" extension, but I'm wondering if this was the best way?

Additionally, I would like to get access to the texture elements that are created - is this possible. (e.g so I can change the various parameters including CSS).