Video acquisition via WebCamTexture is extremely slow (less than 3 FPS) in 1200*760 on a moto G2 Android one, which should be capable of better performances…
Any idea guys to improve it? I’m under Unity 5.0.1.
I’ve tried to play with different _requestedFPS but it didn’t help.
After searching for a while, I’ve find different solutions
http://forum.unity3d.com/threads/extremely-poor-webcamtexture-performances-under-android-in-high-resolution.221862/
Here is the little code I’ve used for testing:
public class CameraController : MonoBehaviour
{
public WebCamTexture mCamera = null;
public Transform plane;
void Start ()
{
mCamera = new WebCamTexture ( 1280,720,30);
plane.GetComponent<Renderer>().material.mainTexture=mCamera;
mCamera.Play ();
}
}