Quantcast
Channel: Questions in topic: "webcam"
Viewing all articles
Browse latest Browse all 256

Problem with webcam non mirroring me

$
0
0
I want my webcam to look like a mirror, so if i lift the right arm it should look like the left arm. I applied the following script to a 3d Object, a Quad. using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class WebCam1 : MonoBehaviour { private WebCamTexture webcamTexture; void Start() { webcamTexture = new WebCamTexture(); Renderer renderer = GetComponent(); renderer.material.mainTexture = webcamTexture; webcamTexture.Play(); } }

Viewing all articles
Browse latest Browse all 256

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>