Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Blur effects

Discussion in 'Shaders' started by ralnur, Apr 9, 2009.

  1. ralnur

    ralnur

    Joined:
    Feb 9, 2009
    Posts:
    21
    I want to apply a blur effect to individual objects in my scene (with different intensities of blurring to each object).

    I've looked at the example "BlurEffect" script in the Unity Pro standard assets package, but I have no idea how I could go about modifying this to do a single object and not the entire scene.

    Can someone tell me what I should be looking into? I don't completely understand how shaders are used or the intricate details of how Unity renders a scene.
     
  2. ralnur

    ralnur

    Joined:
    Feb 9, 2009
    Posts:
    21
    This sounds really simple. Can anyone at least point me to what I should be reading?

    Thanks in advance.
     
  3. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    I don't think this is possible...as far as I know, shaders can only affect the geometry of an object and nothing outside it. Therefore in order to have an object look blurred, you need a full-screen effect.

    --Eric
     
  4. yazzgoth

    yazzgoth

    Joined:
    Oct 7, 2008
    Posts:
    7
    Would this be what you're looking for by any chance?