Search Unity

How to do blur with UGUI?

Discussion in 'Scripting' started by Tongie, Feb 24, 2015.

  1. Tongie

    Tongie

    Joined:
    Sep 19, 2012
    Posts:
    90
    I create a camera and put optimised blur on the it but nothing is blur?

    What am I still missing? Thanks!
     
  2. karljj1

    karljj1

    Joined:
    Feb 17, 2011
    Posts:
    440
    Nothing blurs or just the UI does not blur?
    Do you have Unity pro? Image effects wont work without it.
    What type of UI is it, overlay, camera or world?
     
  3. Tongie

    Tongie

    Joined:
    Sep 19, 2012
    Posts:
    90
    Like the example below. When a popup appear, the back all the back image become blur
     

    Attached Files:

  4. karljj1

    karljj1

    Joined:
    Feb 17, 2011
    Posts:
    440
    Do you have Unity Pro or Free?
     
  5. cmcpasserby

    cmcpasserby

    Joined:
    Jul 18, 2014
    Posts:
    315
    The blur post process only works with unity pro since free lacks the render to texture feature needed for such a effect.

    If you got free and want a similar effect I would make a new ui image the size of the while screen and put that behind the menu. Then give it a black texture and like 50% Alpha. This way you can darken the game that is behind the menu since you can't blur it.
     
  6. Tongie

    Tongie

    Joined:
    Sep 19, 2012
    Posts:
    90
    Thanks for the answer! i solved it by changing the render mode on the canvas to screen space - camera
     
    karljj1 likes this.
  7. Ben-BearFish

    Ben-BearFish

    Joined:
    Sep 6, 2011
    Posts:
    1,204
    I was interested in implementing this as well with a clear UI in the foreground and a blurred UI in the background. How would we actually implement this with uGUI?