Quantcast
Viewing all articles
Browse latest Browse all 10823

WebCamTexture rotated and flipped on iPhone when applied to renderer.material.texture

Hi,

I have created a WebCamTexture webCamTexture = new WebCamTexture( ... ) and then applied this texture to a plane.

renderer.material.mainTexture = webCamTexture.
This works in the editor as expected!

On the iPhone the result texture is rotated 90 degrees and flipped instead of being like the screen in landscape. It's like it's storing the result texture in portrait mode.

In the editor it works ok but on the iPhone or iPad the result texture is rotated and flipped.

Anyone...

WebCamTexture rotated and flipped on iPhone when applied to renderer.material.texture

Viewing all articles
Browse latest Browse all 10823


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>