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 chillersanim · May 02, 2013 at 10:12 AM · screenoverlayhighlightgraphic

Get visible part shape of object in screen

Good day everyone. I'm trying to create a highlight script, which only highlights the currently visible part of an object. For that I am looking for a way, to get the visible shape of the object.

Is there a way to get this shape from the screen or the renderer? Because I'm not that good with filters, I want to do it with a screen overlay.

Greetings Chillersanim

Comment
Add comment · Show 4
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 moha · May 02, 2013 at 12:04 PM 0
Share

hi, $$anonymous$$aybe you could look at the shaders. i think it's the best to do this.

avatar image chillersanim · May 02, 2013 at 09:37 PM 0
Share

As far as I understood, a shader only affects the material of an object, doesn't it? But then I get a problem, when a single mesh contains multiple materials. Please tell me, if I am thinking the wrong way. ;)

avatar image moha · May 03, 2013 at 07:16 AM 0
Share

There différent kind of shaders. the surface shader which affect the material of the object ans react to the lighting. the others are vertex and fragment shaders wich affect the pixel on the screen. you should give a look to the documentation. but be warned, this subject is a bit hard if you are a beginner : http://docs.unity3d.com/Documentation/$$anonymous$$anual/Shaders.html

avatar image chillersanim · May 03, 2013 at 10:24 AM 0
Share

Thank you for your help. I looked into it and how you said, it is really heavy. I searched for an other tutorial and found this great one from that I learned the basics. But however, I did not get it working, that a material affects all other materials, or overlay each other material. Ins$$anonymous$$d, it is or fully visible, or invisible. Is there a possibility to make it partially overlay all other materials on an object?

0 Replies

· Add your reply
  • Sort: 

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

13 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

Related Questions

Unknown shape on screen (galaxy s4) 0 Answers

Aligning an overlay to existing GUI elements 0 Answers

Screen Space Camera object following a Screen Space Overlay object - (trail renderer) HELPLZ! 1 Answer

Converting world point to screen point 2 Answers

Print Anything to Screen 4 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