if(_ProjectionParams.x<0)// check if the render target is a texture rather than the screen, https://docs.unity3d.com/Manual/SL-PlatformDifferences.html
{
o.vertex.y=-o.vertex.y;
}
o.texcoord=float2(i.texcoord.x,1.0-i.texcoord.y);// Texture2D.LoadRawTextureData follows OpenGL convention and will invert Y-axis for uncompressed data on all platforms
if(_ProjectionParams.x<0)// check if the render target is a texture rather than the screen, https://docs.unity3d.com/Manual/SL-PlatformDifferences.html
{
o.vertex.y=-o.vertex.y;
}
o.texcoord=float2(i.texcoord.x,1.0-i.texcoord.y);// Texture2D.LoadRawTextureData follows OpenGL convention and will invert Y-axis for uncompressed data on all platforms
if(_ProjectionParams.x<0)// check if the render target is a texture rather than the screen, https://docs.unity3d.com/Manual/SL-PlatformDifferences.html
{
o.vertex.y=-o.vertex.y;
}
o.texcoord=float2(i.texcoord.x,1.0-i.texcoord.y);// Texture2D.LoadRawTextureData follows OpenGL convention and will invert Y-axis for uncompressed data on all platforms
if(_ProjectionParams.x<0)// check if the render target is a texture rather than the screen, https://docs.unity3d.com/Manual/SL-PlatformDifferences.html
{
o.vertex.y=-o.vertex.y;
}
o.texcoord=float2(i.texcoord.x,1.0-i.texcoord.y);// Texture2D.LoadRawTextureData follows OpenGL convention and will invert Y-axis for uncompressed data on all platforms
"EasyAR" is the registered trademark or trademark of VisionStar Information Technology (Shanghai) Co., Ltd in China and other countries for the augmented reality technology developed by VisionStar Information Technology (Shanghai) Co., Ltd.
The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software.
The following Open Source Software is included in this application: