• 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 /
  • Help Room /
avatar image
0
Question by TheDJBuntin · Feb 01, 2017 at 08:05 PM · camerapost processingeffectsblurstandard assets

Stop Post-Processing Effects on UI?

Using Standard Asset Package > Effects > Image Effects > TiltShift (but would like to know for any effects)

I have attached TiltShift to my Main Camera, it makes the background look really good; however, the UI is also getting blurred.

How can I stop this from happening?

Screenshot: http://i.imgur.com/k0cprEs.jpg

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
1
Best Answer

Answer by TheDJBuntin · Feb 02, 2017 at 12:12 AM

Figured it out... Although I don't fully understand it, this fixes it.

Basically previously my Canvas was setup like this: http://i.imgur.com/5dqb14V.png With Rendermode set as Screen Space - Camera.

I simply change it to screenspace overlay and the blur is removed. New settings: http://i.imgur.com/0tYYLT3.png

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 abeldantas · May 29, 2018 at 02:55 PM 1
Share

This is not a solution. You may in fact need to use Screen Space - Overlay. Like when rendering UI elements underneath 3d objects.

avatar image
1

Answer by sthekken · Jul 17, 2020 at 01:21 PM

Setting the render mode to Screen Space - Overlay might work for many people, but for those who have custom shaders that need a camera this may be an alternate solution, if you're using the Universal Render Pipeline:

  • Create a duplicate of the Main Camera, Call it UI Camera.

  • Remove all scripts and the audio listener from the UI Camera.

  • Uncheck Post-Processing on the UI Camera.

  • Set the UI Camera as a child of the Main Camera and reset its transform.

  • Use the UI Camera as the source for the Canvas in Screen Space - Camera mode

  • Set the Main Camera to have Render Type - Base (which is default).

  • Set the UI Camera to have Render Type - Overlay.

  • Add the UI Camera to the Stack in the Main Camera.

  • Uncheck UI from the Main Camera's Culling Mask.

  • Uncheck everything except UI from the UI Camera's Culling Mask.

This should keep the UI rendering on top of everything else, while still benefiting from the camera space rendering, while ignoring the Post Processing.

Hope this helps, it worked for my case (adding a blur element to the UI).

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 obaydaSSJ · Dec 04, 2020 at 08:33 PM 0
Share

Your solution is great, thank you so much it's work perfectly on windows I will be more thankful if you tell me how to make this way work on mobile!

avatar image
0

Answer by Kazkadez · Jul 31, 2017 at 01:06 PM

If you're not using more than 1 Camera, just remove the Main Camera object under Render Camera when you're in Screen Space - Camera. The Render Camera picks up all of the post processing scripts the object you put in there. The UI will automatically overlay over the main camera but this way it won't pick up the post processing scripts.

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 jsleek · Jun 07, 2018 at 07:05 PM 0
Share

What do you mean by Render Camera? What is Render Camera?

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

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

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

Motion Blur is always affecting camera even when its not moving 1 Answer

Standard Assets / Effects missing Camera effects in 5.6.0f3 1 Answer

Shader blurs only one shader 0 Answers

How to draw texture on top of everything? 0 Answers

What kind of anti aliasing was used? 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