• 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
1
Question by Altissimus · Jun 23, 2019 at 10:32 PM · alpha

Use Alpha to dissolve an object progressively

Hi,

I've played around with this concept but can't make it work.

How would you use Alpha settings to take (say) a cube, and dissolve it from right to left over time? It starts as a solid cube and finished as a 100% transparent cube, but dissolves from one side to another.

To add: once transparent, to also not have a physical presence - i.e., no collisions. Can this also be done progressively? Probably matters less, as I can just turn it off once the alpha hits max.

Way beyond my skills :)

Thanks,

A

Comment
Add comment · Show 1
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 Altissimus · Jul 10, 2019 at 10:34 PM 0
Share

Bump please?

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by deeeeed · Jul 11, 2019 at 12:39 AM

Hey, beyond my skills too. If we where to use your example (a cube), i guess you could do a cheap hack and just scale it on one axis, but i'd imagine you need to do this any object, so that solution is out of the question.

If you are working in 2d, spritemasks will probably do the job, but those won't do it in 3d, so to do that i think the only solution is some kind of shader. Sadly i don't have any experience with them at all, i have just seen the magic performed by them :)

I know my answer doesn't really provide anything meaningful im sorry i couldn't really help, you said you have played around with the concept, so you probably tried most of what i mentioned already. Whatever, hope theres at least something in there worth reading. Good luck

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 Altissimus · Jul 11, 2019 at 06:29 AM 0
Share

Thank you for replying :-)

avatar image
2

Answer by dbchest · Jul 11, 2019 at 09:51 AM

maybe this can help? https://www.youtube.com/watch?v=taMp1g1pBeE

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 Bunny83 · Jul 12, 2019 at 12:46 AM 0
Share

Who downvoted this answer? It's pretty much a spot on answer. Downvotes are for misinformation, wrong answers or abuse (spam, unrelated advertisement, toxic language, ...). A downvote should always be paired with a comment. $$anonymous$$eep in $$anonymous$$d that downvoting actually costs the voter some karma / reputation.

avatar image dbchest · Jul 12, 2019 at 01:14 AM 0
Share

Oh. So this is why I lost 20 reputation points. Someone said I gave them bad info. I thought I pointed out a pretty great starting point.

avatar image Altissimus · Jul 12, 2019 at 09:27 AM 0
Share

Wasn’t me guvnor. I upvoted it.

avatar image dbchest Altissimus · Jul 13, 2019 at 03:02 AM 0
Share

no problem; no way of knowing who did it! as far as your problem is concerned, you should be able to achieve the desired effect by following the instructions in that video while replacing the noise texture with a linear gradient texture for alpha masking.

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

109 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 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 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 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 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

How do I use Movie Texture with alpha channel? 4 Answers

Acces the secondary colors in the shaders. 1 Answer

Stenciling on Unity iPhone 1 Answer

Non rectangular GUI Mask / Matte? 2 Answers

Gui alpha change 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