WebcamTexture_v3 Op


Use your webcam camera as a texture

  • you need https for webcam to work on many browsers

Edit Documentation

Full Name
  • Ops.Gl.Textures.WebcamTexture_v3
  • Core Op - Official cables op
  • MIT


Example Patch Webcam texture

Turn the webcam output into a texture which can be processed.

Open In Editor


Render (Trigger)

update the output texture with the current webcam picture

Active (Number:boolean )
Generate Texture (Number:boolean )

activate / inactivate genration of the output texture


Webcam Input index (Number:integer )

index of webcam to use from available cameras

Requested Width (Number:integer )

request width from webcam

Requested Height (Number:integer )

request height from webcam


Flip X (Number:boolean )
Flip Y (Number:boolean )

Video Element

Show HTML Element (Number:boolean )

display the html video element

CSS (String)

css styles for the html video element

Element Flip X (Number:boolean )
Element Flip Y (Number:boolean )


Next (Trigger)
Texture (Object)

texture output

Ratio (Number)

aspect ratio

Available (Number)

webcam ready

Size Width (Number)

output size

Size Height (Number)

output height

Error (String)
HTML Element (Object)

the video element

Available devices (Array)

array of available devices

Active device (String)
Texture updated (Trigger)

output trigger on updated texture

Patches using WebcamTexture_v3

  • Examples
  • Public
  • My Patches


cloned op from Ops.Gl.Textures.WebcamTextureuser avatarpandur - 2020-11-09 14:53
Ops.User.pandur.Webcam renamed to Ops.Gl.Textures.WebcamTexture_v2user avatarpandur - 2020-11-09 15:32
cloned op from Ops.Gl.Textures.WebcamTexture_v2user avatarstephan - 2021-04-09 12:01
Ops.User.stephan.WebcamTexture_v3 renamed to Ops.Gl.Textures.WebcamTexture_v3user avatarstephan - 2021-04-09 12:02
Ops.Gl.Textures.WebcamTexture_v3 renamed to Ops.Dev.Gl.Textures.NewWebcamTextureuser avatarstephan - 2021-08-03 11:35
added core lib: cgl_copytextureuser avatarpandur - 2022-04-28 15:24
Ops.Dev.Gl.Textures.NewWebcamTexture renamed to Ops.Dev.NewWebcamTextureuser avatarpandur - 2022-04-28 17:15
Ops.Dev.NewWebcamTexture renamed to Ops.Dev.Gl.Textures.NewWebcamTextureuser avatarpandur - 2022-04-28 17:16
Ops.Dev.Gl.Textures.NewWebcamTexture renamed to Ops.Gl.Textures.WebcamTexture_v3user avatarpandur - 2022-05-09 11:55
improvementnow only asks for permission if "active"-port is enablesuser avatarpandur - 2022-12-14 17:19