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 TristanSchaaf · Jan 16, 2012 at 01:40 PM · shadercullingclothcull

Cloth shader disabled?

Hi, I'm very new to Unity, and so, probably have dumb questions. But i couldn't find the answer googling it so here goes.

I need a cloth to be dragged around by a input device (will be heat camera's in the future) the problem is, the cloth is one sided. I figured out that this is because culling is on in my shader, so I tried to change that, the problem is: I can't change the shader, only the color and texture of the material.

Somehow the shader dropdown is grayed out and will stay on "Default-Diffuse" I can't edit the shader either.

Just discovered, that more of objects have the "default-deffuse" shader, is there a certain rule that disables me for using other shaders on some objects?

Comment
Add comment · Show 2
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 Meltdown · Jan 16, 2012 at 01:43 PM 0
Share

Which 'cloth' shader are you using exactly?

avatar image TristanSchaaf · Jan 16, 2012 at 01:48 PM 0
Share

It is for an interactive cloth, and the only shader i can use is Default-Diffuse, i can't select anything.

1 Reply

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

Answer by Meltdown · Jan 16, 2012 at 02:02 PM

Download Unity's built-in shaders from this page

Then edit one of the diffuse shaders to turn culling off. Assign it to a new material then assign the material to the cloth renderer.

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 TristanSchaaf · Jan 16, 2012 at 02:34 PM 0
Share

Thnx, somehow dragging a new material worked like a charm, still confused why i couldn't change the shader on the material in the first place, but it works! Thanks!

avatar image Meltdown · Jan 16, 2012 at 02:39 PM 0
Share

The default-diffuse is a special internal material that cannot be changed. If you could change this material then new objects that got instantiated that used this material would have all the properties of the changed material.. not something you'd want for new game objects :)

avatar image TristanSchaaf · Jan 16, 2012 at 02:42 PM 0
Share

Aha, we 'learned' unity at my college, they failed to mention that. But it does explain a lot. Thanks again!

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

How to fix weird culling problem? 1 Answer

Shader Forge - Stop culling objects that are behind specific objects 0 Answers

Center a logo on an interactive cloth. 1 Answer

Culling part of a sprite in Sprite Manager 2 1 Answer

Shader for ZTest Between Terrain and Objects 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