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 MichaelTaylor3d · Mar 27, 2013 at 08:25 PM · quality settingsnormal maps

Normal maps with quality settings

How might you disable Normal maps if it detects the quality settings to be at the lowest.

I can easily do it on an individual object, but Im looking for a more global solution.

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

1 Reply

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by iwaldrop · Mar 27, 2013 at 08:43 PM

Have your bump-map shader fallback to a diffuse shader at a particular LOD cutoff. Then set the Maximum LOD Level in the quality settings. You can access that setting through script with QualitySettings.maximumLODLevel. You might need to do a little sleuthing to find out what the LOD level of the built-in normal mapped shader is, but that's how you do it. :)

Comment
Add comment · Show 4 · 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 MichaelTaylor3d · Mar 27, 2013 at 08:57 PM 0
Share

So in the shader LOD is set to 400 and its fallback is specular, In the "Fastest" quality setting I dont want the Normal map to show up at all. In the quality settings, the maximumlod is 0 and the highest it can go up to is 7. Im not sure where to go from here.

avatar image iwaldrop · Mar 27, 2013 at 09:09 PM 0
Share

Sorry! I gave you a bit of incorrect info there!

Use Shader.global$$anonymous$$aximumLOD to set the LOD. You set the LOD to something lower than the fallback number in the shader. See this page for more info.

It is strange, however, that the fallback of a bump shader is to spec. This page indicates otherwise. But if it really is the case that its falling back to spec, then I'd download the standard shader pack, change the fallback, and use that shader ins$$anonymous$$d.

avatar image MichaelTaylor3d · Mar 27, 2013 at 09:10 PM 0
Share

got it:) Shader.global$$anonymous$$aximumLOD = 100(anything under the shader LOD);

avatar image angralon · Feb 22, 2016 at 07:47 AM 0
Share

I'm trying to acheive the same thing with Unity 5 and feel like this idea doesn't work anymore.

In Unity 5 i also use the Standard shader for normal maps. So is there still a maximumLODLevel for normals?

How else can i globally disable normal maps for a specific quality level in Unity 5?

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

12 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

Related Questions

Auto Adjust Quality Settings 1 Answer

Quality settings always switch the "fastest" 0 Answers

Can't apply a normal map to imported model 2 Answers

Why can't I change the anisotropic filter at runtime? 0 Answers

Disable VSync in WebGL build 0 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