WebcamTexture_v4 Op
Use your webcam camera as a texture
Use your webcam camera as a texture
Summary (oneliner)
- you need https for webcam to work on many browsers
- Ops.Gl.Textures.WebcamTexture_v4
- Core Op - visible for everyone
- MIT
- Feb 25, 2026 at 19:16
- cgl_copytexture
- cgl
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch WebcamTexture Example
Turn the webcam output into a texture which can be processed.
INPUT PORTS
update the output texture with the current webcam picture
activate / inactivate genration of the output texture
Camera
index of webcam to use from available cameras
request width from webcam
request height from webcam
Texture
Video Element
display the html video element
css styles for the html video element
OUTPUT PORTS
texture output
aspect ratio
webcam ready
output size
output height
the video element
array of available devices
output trigger on updated texture