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 /
This question was closed Jun 20, 2014 at 12:43 AM by ikelaiah for the following reason:

OP too dumb

avatar image
0
Question by ikelaiah · Jun 19, 2014 at 11:07 PM · shader

What is the best way to deactivate ALL pro-shaders only from a project?

How can I disable all pro only shaders from a project? One way I can think of is to return my pro license and make builds by using free version of Unity.

What is the best way of accomplishing this? Is there a switch in Unity that disable the use of pro shaders in a project and use only the basic ones?

Additional info: Some people would like to use my training simulation, however, their department has 5-6 y.o. single core processor PCs with no fancy graphics card. Trying to get funding to upgrade all PCs is an absolute bleak attempt at the moment.

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

  • Sort: 
avatar image
0
Best Answer

Answer by Bunny83 · Jun 19, 2014 at 11:24 PM

I think you don't know what a shader is, do you? A shader is responsible for shading your triangles on your screen. If you don't have a shader you wouldn't see anything. Next thing is the pro license only add some very special features, most shaders will work with the free version as well.

If you don't have a good PC, the most problems you get from too many drawcalls or too many triangles / vertices. Shaders are almost irrelevant unless you don't have some heavy stuff in the fragment shader.

So shaders can't be "deactivated". You can replace the shader of a Material with another one, however most shaders are there to serve a specific effect. Replacing a transparent shader with the default diffuse will result in strange results.

Comment
Add comment · Show 2 · 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 ikelaiah · Jun 19, 2014 at 11:28 PM 0
Share

I'm sorry. I re-worded my question for clarity.

avatar image Bunny83 · Jun 19, 2014 at 11:50 PM 1
Share

There's no way to deter$$anonymous$$e if a shader needs Unity pro or not. The shaders actually should run even on Unity free.

Only certain API features are pro only like RenderTextures and shadows for example. If a shader really doesn't work, it's mainly because the clients hardware isn't capable of running that shader which is independent from the "pro" state of your application.

You can check if a shader is supported on the users hardware by using the Shader.isSupported property, however almost all shaders have a built-in fallback shader which should work on almost all kinds of hardware. If the fallback doesn't work, it's most likely that your whole application won't run at all.

Follow this Question

Answers Answers and Comments

22 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

Related Questions

Material doesn't have a color property '_Color' 4 Answers

A node in a childnode? 1 Answer

DirectX11 & Unity problem 1 Answer

Upgraded to Unity 3.4 problem 2 Answers

The name 'Joystick' does not denote a valid type ('not found') 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