void Start()
        {
            Application.targetFrameRate = 90;

            if (_material == null)
            {
                _material = new Material(Shader.Find("Hidden/DrawTextureCloseLight"));
            }
            SetCameraPos();

            StartCoroutine(ThreeGlassesUtils.DelayedRun(() =>
            {
                if (_leftRenderTexture != null && _rightRenderTexture != null)
                {
                    return;
                }

                _leftRenderTexture = new RenderTexture(RenderWidth / 2, RenderHeight, 24,
                                                       RenderTextureFormat.ARGBFloat,
                                                       RenderTextureReadWrite.Default);

                _rightRenderTexture = new RenderTexture(RenderWidth / 2, RenderHeight, 24,
                                                        RenderTextureFormat.ARGBFloat,
                                                        RenderTextureReadWrite.Default);

                leftCamera.SetRenderTarget(_leftRenderTexture);
                rightCamera.SetRenderTarget(_rightRenderTexture);

                upTexture = false;
            }, new WaitForEndOfFrame()));
        }
 void Start()
 {
     StartCoroutine(ThreeGlassesUtils.DelayedRun(() =>
     {
         cam.rect = new Rect(0, 0, 1.0f, 1.0f);
         var cams = gameObject.GetComponentsInChildren <Camera>();
         if (cams == null)
         {
             return;
         }
         foreach (var l_cam in cams)
         {
             l_cam.rect          = cam.rect;
             l_cam.fieldOfView   = cam.fieldOfView;
             l_cam.nearClipPlane = cam.nearClipPlane;
             l_cam.farClipPlane  = cam.farClipPlane;
         }
     }, new WaitForEndOfFrame()));
 }