Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Blur post process on UI problem

Discussion in 'Universal Render Pipeline' started by Grzp, Jan 23, 2022.

  1. Grzp

    Grzp

    Joined:
    Jan 25, 2018
    Posts:
    31
    Hi guys,
    I have a small problem with adding blur to one game object on UI. So I want to have a blur only on background image, not on the others object. Is it possible to do it with post process which is integreted with Universal Pipline project (I have 2D project and Unity version 2019.03).

    I have this options in camera settings:
    upload_2022-1-23_16-47-46.png
    This settings on image where I put Volume component:
    upload_2022-1-23_16-48-59.png
    And Ui object:
    upload_2022-1-23_16-54-26.png
    As you can all this objects have blur effect, but I don't want that. I want to have blur effect only on background image (I don't show it because I can't)- not on UI which you can see above image and only in blue rectangle shape. Is it possible to do that?

    Also I tried to create shader, for example from this thread [Solved] Dynamic Blurred Background on UI | Page 2 - Unity Forum, but it dosen't work.

    Can anyone help me with it?
     

    Attached Files:

  2. SwingWren

    SwingWren

    Joined:
    Mar 1, 2014
    Posts:
    30
    The way I'm solving it right now is that I use canvas UI in Overlay mode then it doesn't get affected by the post-processing effects.
     
  3. Grzp

    Grzp

    Joined:
    Jan 25, 2018
    Posts:
    31
    Thanks, I'll try it.