- Home /
Using Webcam input as a texture
Is it possible to apply the feed from my built-in webcam to a texture in Unity. Say I wanted to project a live feed onto a TV screen in a room. Thanks.
Answer by DaveA · Oct 13, 2011 at 09:32 PM
Yes, see here: http://unity3d.com/support/documentation/ScriptReference/WWW-texture.html
And set your camera up with a local server. Then just serve yourself on 127.0.0.1
You can also use the Qualcomm AR toolkit (and others). I've used a webcam DLL with good success but it requires Pro.
Check this out: http://forum.unity3d.com/threads/30764-Unity3D-Webcam-Toolkit-for-Windows
And don't forget to Google
Answer by ikriz · Dec 26, 2011 at 11:09 AM
Unity 3.5 (now in public beta) supports WebCamTextures checkout: http://www.ikriz.nl/2011/12/23/unity-video-remake/