Question by
tampa · Jan 22, 2017 at 08:48 AM ·
webcamtexture
WebCamTexture Screen not smooth
Help!!!
my camera is 1080p. soo 1920*1080 not smooth,but 1280*720 no problem.
public class Example : MonoBehaviour {
private WebCamTexture webTexture;
private Texture texture;
void Start()
{
webTexture = new WebCamTexture(WebCamTexture.devices[0].name, 1920, 1080, 30);
texture = webTexture;
webTexture.Play();
}
void OnGUI()
{
GUI.DrawTexture(new Rect(0, 0, Screen.width, Screen.height), texture);
}
}
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612105328im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
WebCamDevice set .isFrontFacing 0 Answers
How to capture Camera disconnect in using Webcamtexture for Webgl 1 Answer
Displaying the WebCamTexture in Cardboard 0 Answers
Play Videos multiple times in unity 0 Answers
Webcam not streaming on Unity3D windows 0 Answers