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
2
Question by byfine · Oct 10, 2014 at 03:33 AM · effect

How to make a spread grid effect, like the unity-chan c86 demo ?

I want to make a spread grid just like the unity-chan c86 live demo. In my opinion, it's a big texture or a model like a spider web, and then you can change its transparency, but i dont know how to do this.

unity-chan c86: http://unity-chan.com/events/c86/WebPlayer/

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 Bunny83 · Oct 10, 2014 at 09:31 PM 0
Share

@byfine: I've updated my answer.

avatar image Bunny83 · Oct 18, 2018 at 01:12 PM 0
Share

Since the webplayer is no longer available, there's a recording of the webplayer on Youtube just for reference

1 Reply

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

Answer by Bunny83 · Oct 10, 2014 at 07:12 AM

This could be done with a a circular gradient and use this approach. You just need to write a shader that doesn't cut at one point but shows a section. It'S also possible to have a fading area. However using a gradient map for such a huge area would either doesn't look good or you would have to use a huge texture.

Another approach which is independent from the size is to use a custom mesh that has a single vertex in the center. Now you can provide a vertex attribute (vertex color for example) that is 1 in the center and 0 on the remaining corners. That way you get a perfect smooth gradient in the shader. Now you just need to select a range from that gradient based on a shader property.

I don't have the time to write that shader at the moment, maybe later ;)

edit
Had some time and have created a "small" example with a simple mask shader i've just written. Below the webplayer you'll find a download link for a unitypackage containing the whole example scene.

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 byfine · Oct 11, 2014 at 11:52 AM 0
Share

Thank you so much!! You are so nice! I still have a lot to learn.

avatar image TerrySantos · May 27, 2019 at 05:54 AM 0
Share

Could I use your shader for my project?? what in "small" example package

avatar image Bunny83 TerrySantos · May 27, 2019 at 07:45 AM 0
Share

Of course :) There's nothing special about that shader. Though note that the image i used i just downloaded from the net. I can't remember the license but i would generally assume it's not for commercial use. So use your own textures. You can do what you want with the shader or the script.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

How to blur my background 2 Answers

Subnautica like underwater effect / rays 0 Answers

How to do a heat-haze effect in unity (FREE)? 1 Answer

Create wind over sand effect! 2 Answers

Help with my Light Flicker Script... 1 Answer


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