Using webcam in game tutorial or walkthrough?

I just want to use my webcam as part of my game but I can’t really find a tutorial or documentation to set up an easy example to understands whats going on. Can anyone point me in the right direction? atm, i’m just trying to render my webcam onto a cube.

Hi @paul_shoultz,

Here is a good starting point:

https://developer.playcanvas.com/en/tutorials/video-textures/

And study how to get a video feed from a camera device using a javascript native method (getUserMedia):

2 Likes