Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
0
Question by $$anonymous$$ · Mar 18, 2014 at 07:32 PM · androidopengl

How to change OpenGL type per script

As you can see I have the question: How can I change the the Quality Level, means the OpenGl type per script. The problem is, that the shadows with OpenGL 2.0 looks bad, but OpenGL ES 3.0 isn't supported by many devices. And I don't want to publish two types of the .apk - one for OpenGL 2.0 and one for OpenGL ES 3.0. Is there any way to change it ingame?

Sorry for my bad english... :)

Comment
Add comment · Show 8
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 emergki · Aug 31, 2016 at 06:48 PM 0
Share

I have the same problem, have you fixed it?

avatar image $$anonymous$$ emergki · Aug 31, 2016 at 07:03 PM 0
Share

In later versions of Unity you can set the OpenGL Version to automatic detection.

avatar image TheMasonX emergki · Aug 31, 2016 at 07:53 PM 0
Share

What version are you using? I can't remember for sure, I think it's been around for a little while, but for sure in 5.4 it's in the Player Settings -> Other Settings (Edit -> Project Settings -> Player)alt text

5d0821813cc37263b6a6afa5c11b439c.png (42.2 kB)
avatar image $$anonymous$$ TheMasonX · Aug 31, 2016 at 08:04 PM 0
Share

Just tick the Auto Graphics API box. That's what i meant.

avatar image emergki · Aug 31, 2016 at 08:13 PM 0
Share

I'm using Unity 5.4, but, if I set it to automatic, it never make the correct choice, for example, I have an iPhone 5s, this Device supports OpenGL3.0, but, If I use it in Automatic, I have problems with the lights on device, but, if I set it to ONLY OpenGL3, the lights works fine on device.

avatar image $$anonymous$$ emergki · Aug 31, 2016 at 08:24 PM 0
Share

Sounds weird... But if this doesn't work I don't know anything else. :/ When toggling GL 2.0 only, is there the lights bug, too?

avatar image emergki · Aug 31, 2016 at 09:44 PM 0
Share

Well, In iOS iPhone 5s, if I use just OpenGL2, the problem happen, if I use only OpenGL3, the problem doesn't happen. (But, it make the game incompatible with a lot of Devices)

And in the Device Android $$anonymous$$oto G 2 ($$anonymous$$otorola) for example, if I use OpenGL3 or Automatic, the problem Happen, if I use OpenGL 2 only, the problem doesn't happen, anyway, a lot of devices have the same problem.

avatar image $$anonymous$$ · Aug 31, 2016 at 10:00 PM 0
Share

Strange... $$anonymous$$aybe it's a bug? I don't think I can help you any further. $$anonymous$$aybe someone else?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by emergki · Sep 01, 2016 at 08:32 AM

I'm using Unity 5.4, but, if I set it to automatic, it never make the correct choice, for example, I have an iPhone 5s, this Device supports OpenGL3.0, but, If I use it in Automatic, I have problems with the lights on device, but, if I set it to ONLY OpenGL3, the lights works fine on device.

Comment
Add comment · 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

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

21 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

Related Questions

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

Application.OpenURL not working 1 Answer

Android plugin calling glTexSubImage2D etc 3 Answers

Resize GUI Button (linked to website) ?? 1 Answer

Button reaction time problem 1 Answer


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