Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
1
Question by eitanwass · Oct 01, 2016 at 04:48 PM · camerashaderblurblurrycorner

How to blur the corners of the screen?

Hello human beings!

I need to blur the corners of the screen in a more red color as the player get hurt more. I don't know how to do this... Is there an asset from the store for that?

Please help me. Tx.

Comment
Add comment
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

3 Replies

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

Answer by TheFish657 · Oct 02, 2016 at 12:11 PM

Here's an image you can use for your red vignette, took me all of 20 secs to make!

When you imprt it into unity change texture type to Sprite.

Then make a new UI image, set the source image to your sprite

Then just change the anchor presets so it fills the screen(The anchor presets are just under the word "rect transform" on your image. Select the option on the bottom left)

then just change your script to increase the alpha of the colour of this image as your player's hp goes down. p.s. Probably gonna use this in my game now XD [1]: /storage/temp/79371-screen-red-vignette.png


screen-red-vignette.png (14.6 kB)
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 TheFish657 · Oct 02, 2016 at 12:15 PM 1
Share

Anyone who looks at this feel free to use this in your game.

avatar image eitanwass · Oct 02, 2016 at 12:41 PM 0
Share

Thanks! I think i'll create a different picture but the general idea was good.

avatar image Team_26 · Oct 02, 2016 at 01:08 PM 0
Share

Good job, mate ;]

avatar image
0

Answer by Metorphium · Oct 02, 2016 at 05:39 AM

You could blur the Screen and add a Vignette effect with the Standard Effect Asset Pack already installed in your Unity.

Just import the Standard Effects Asset Pack into your Project and go into the Scripts folder to select your Script you want to use

Comment
Add comment · Show 2 · 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 eitanwass · Oct 02, 2016 at 06:06 AM 0
Share

But how can i make it red?

avatar image Metorphium eitanwass · Oct 02, 2016 at 07:28 AM 0
Share

That would be the one problem, but perhaps you can find the line in the code that says that the vignette is supposed to be black and change that value to red. I cant check that atm.

avatar image
0

Answer by Sondre-S · Oct 01, 2016 at 05:57 PM

I would just use a transparent png image. Then you could adjust the alpha value as the players health is decresing.

Comment
Add comment · Show 2 · 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 eitanwass · Oct 01, 2016 at 05:59 PM 0
Share

I didn't find such picture. i searched...

avatar image Sondre-S · Oct 01, 2016 at 07:52 PM 0
Share

Just make one in photo shop or paint.net. If you don't know how, there are lots of tutorials out there.

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

94 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

Related Questions

How to add blurry effect to outline of circle wipe 1 Answer

Any way to remove the texture blur on camera? 2 Answers

Blur(Optimized) Image effect look blocky on mobile 0 Answers

Odd image effects around edges of the camera 1 Answer

Fog/color tint shader for orthographic camera 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