Quantcast
Channel: Questions in topic: "ios"
Viewing all articles
Browse latest Browse all 4709

Why does this gradient shader invert upside-down?

$
0
0
I'm at a loss here... I have a perspective camera looking at a quad mesh with a gradient shader attached to it. In the Scene view, the gradient top and bottom colors are correct. In game view the colors are inverted (top is bottom and bottom is top). When I build for iOS and run the game on an iPad Air (iOS 10), the gradient is also inverted, but when run on iPhone 4S (iOS 9) the gradient is correct not inverted! But the mesh flickers with white triangles! ![alt text][1] [1]: /storage/temp/100678-gradient-shader-flip.jpg

Viewing all articles
Browse latest Browse all 4709

Trending Articles



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