You could use [NatCam][1]. It features a native pipeline where you can access all the camera preview data, from YUV data to RGBA data to the OpenGL texture.
[1]: https://www.assetstore.unity3d.com/en/#!/content/52154
↧