void CameraScreenShot() { var rt = new RenderTexture(Screen.width, Screen.height, 24); _mainCam.targetTexture = rt; _lensTex = new Texture2D(Screen.width, Screen.height, TextureFormat.RGB24, false); CameraEffects.LensDistortionStatus(true, 60); _mainCam.Render(); RenderTexture.active = rt; _lensTex.ReadPixels(new Rect(0, 0, Screen.width, Screen.height), 0, 0); _lensTex.Apply(); _mainCam.targetTexture = null; CameraEffects.LensDistortionStatus(false); CameraBounds.Lens.texture = _lensTex; }