Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by gselfish · Jul 24, 2015 at 11:03 PM · unity 5shaderios

Issue with standard Unity 5 shader on ios8

Hi all, I'm making a 3D puzzle game for ios that, despite having some very simple geometry in the main scene, uses the Standard (Specular setup) shader for the board and the pawns. Only on very slow devices (i.e., iphone 4) I revert to a mobile shader. Now, while this setup works great on devices like an ipad 2 or an iphone 5c, it has big issues on an ipad air. On the air, the frame rate is low (around 15 fps), and some blocky shades appear on the board. Here's a couple of images to show the difference, the first is taken on the iPad Air and the second on an iPad 2:

alt text

alt text

In the scene I only have a single directional light. Forcing graphics API to Open GL ES 3.0 makes no difference, while forcing Open GL 2.0 at least fixes the appearance (all devices look exactly the same), but the ipad air is still probably slower than it should be: 20+ fps, vs a stable 30 fps on iphone 5c.

The iPad Air is the only device that's running ios 8, so I suspect that that might be the real issue.

Any suggestion to fix this? Is there any other graphics setting that might help? Thank you for any help.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image RLin · Jul 25, 2015 at 12:06 AM 0
Share

To tell the truth, you shouldn't be using the standard shader at all on mobile; due to all the extra parameters, I've found that it performs slower than custom shaders that appear exactly the same. As for the iPad air's poor performance I do not know what would occur.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by JamToak · Sep 27, 2015 at 05:17 PM

@gselfish This was a long time ago, but maybe it still helps you or somebody else. You could try changing the graphics api to opengl, because normally its set to automatic (that means every device that can run the Metal will run the Metal api, and maybe this is your problem here).From the devices listed above only the iPad Air uses the Metal Api.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Fattie · Nov 06, 2015 at 05:28 PM 0
Share

I tried OpenGL2 in this situation -- and surprisingly it still does not work. Sucks!

avatar image gselfish · Nov 06, 2015 at 07:30 PM 0
Share

Well for some reason I had missed this answer but yeah, I actually solved this issue months ago by forcing open gl 2.0 therefore I'm still marking it as accpeted. :)

avatar image JamToak · Nov 06, 2015 at 07:44 PM 0
Share

@Fattie Can you post a picture of your problem ?

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

25 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

image got pixelated on ios device 0 Answers

Unity5 standard shader can be used on mobile devices? 1 Answer

Reflections not working on IOS 2 Answers

ios shader problem 1 Answer

How do you get the Standard Shader to work on iOs 9?, 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges