- Home /
[iOS] Metal API looks good, OpenGL doesnt
Hello,
I'm having trouble displaying some simple objects in my scene on older iOS devices (those that don't run Metal API).
PC version looks fine, Android version looks fine.
I've got Graphics API set to Automatic, but have tried every combination. I thought maybe it's the shaders I'm using, pretty much every object has an Unlit/Transparent Cutout shader.
Any ideas? Thanks!
(1) This is how my scene looks on open gl devices (iPhone 4s)
(2) This is how it looks on Metal API compatible devices (iPad mini 2)
Tried built-in mobile particle shaders and got the same result.
Only thing that looks like it should is UI and SpriteRenderer objects.
Answer by FTBUnity · Oct 13, 2015 at 02:25 PM
Solved it!
I had imported my textures as Sprite2D, since I'm aplying them to a Quad, they should be of Texture type.
I guess Metal API and Android can work around this, some iOS devices can't.
I hope this helps someone in the future.