List
My camera
Posted Date: 2019-05-28 3:35     Edited Date: 2019-10-24 0:31     Writer: inactive

My camera  divided into 2 parts when adding the SDK, how to fix it ???

Posted Date: 2019-05-29 0:34     Edited Date: 2019-10-24 0:31     Writer: inactive

Maybe you seem to be using Unity 2019 version. Right?
We have not yet officially supported the Unity 2019 version.
If you still want to use the Unity 2019 version, you can modify the code below.

 

private void CreateCameraTexture(int imageWidth, int imageHeight, ColorFormat imageFormat)
{
 ...
BEFORE
uvs[0].x = 0; uvs[0].y = 1;
uvs[1].x = 1; uvs[1].y = 0;
uvs[2].x = 1; uvs[2].y = 1;
uvs[3].x = 0; uvs[3].y = 0;

 ...
AFTER
uvs[0].x = 0; uvs[0].y = 1;
uvs[1].x = 1; uvs[1].y = 1;
uvs[2].x = 0; uvs[2].y = 0;
uvs[3].x = 1; uvs[3].y = 0;
}

Thank you. 

 

Leo

Maxst Support Team

Posted Date: 2019-06-27 14:21     Edited Date: 2019-06-27 14:21     Writer: inactive

Thank you Leo, my camera is work great now