Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
11 Jun 22 - 14 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
2
Question by w34edrtfg · Jul 05, 2015 at 01:30 PM · shadermaterialoutline

Apply a Outline shader to multiple materials

I want to show an outline over a model, but this, is splitted in multiple materials.

¿How can i prevent showing the line between their connections?

If you see the image, an outline is shown between the head and the body since those are the material limits.

This is the shader that i'm using: http://wiki.unity3d.com/index.php/Silhouette-Outlined_Diffuse alt text

Comment
Add comment · Show 3
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 SBull · Oct 19, 2015 at 07:02 PM 0
Share

Did you ever receive an answer to this question? I'm running into the same problem. I have the eyes as separate objects on my model and when I use this shader on the main model, it creates an outline around the eyes in addition to the exterior. I imagine there has to be some way to adjust this or exclude children objects from being treated as separate objects.

avatar image w34edrtfg SBull · Oct 19, 2015 at 08:56 PM 0
Share

nope, i removed the feature that required it from my game.

avatar image SBull w34edrtfg · Oct 19, 2015 at 10:07 PM 0
Share

Well that's a bummer. Thanks for responding at least.

2 Replies

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

Answer by jon_underwood · Jun 20, 2020 at 04:42 PM

Hey @w34edrtfg and @johnCpr I was able to get 'Quick Outline' by Chris Nolet - from asset store - working on objects with 2 materials.

My fbx gameObject was exported from 3ds Max. The import settings seen in unity needed to be as below

[1]: /storage/temp/162432-outline-renderer-working-with-2-materials-b.jpg


outline-renderer-working-with-2-materials-b.jpg (93.1 kB)
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
avatar image
0

Answer by johnCpr · Jul 16, 2018 at 09:42 AM

Did anyone figure out how to solve this!

Comment
Add comment · Show 1 · 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 cute4u · Oct 06, 2021 at 08:11 AM 0
Share

Ex6tra's code at the bottom of this thread worked for me: https://answers.unity.com/questions/1737691/quick-outline-does-not-work-with-multiple-material.html

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

8 People are following this question.

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

Related Questions

How to change value from shader 0 Answers

Outline shader being shown only in the material editor 1 Answer

Is there a shader to only add an outline? 7 Answers

Adding to SkinnedMeshRenderer Materials array 2 Answers

QuickOutline: how can I change the shader to work with objects with two materials? 3 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