Search Unity

Center Blur

Discussion in 'Shaders' started by JesseMartin, Aug 24, 2015.

  1. JesseMartin

    JesseMartin

    Joined:
    Jun 2, 2015
    Posts:
    9
    I'm in need of a shader that basically has the opposite effect of the vignette filter, where it blurs/darkens the center of the camera view and becomes clear at the edges of the frame. I've found a radialblur script in the Effects package, but I don't know how to attach it to the camera.

    I've found some scripts that describe how to write and apply a radial blur effect, but the scripts throw some errors for me that don't seem to make much sense (it says there is an unexpected [ at line 35, when there is no [ at line 35 to begin with). http://forum.unity3d.com/threads/radial-blur.31970/

    If anyone can shed some light on my struggle I'd be super grateful!

    Thanks,
    -Jesse
     
  2. JesseMartin

    JesseMartin

    Joined:
    Jun 2, 2015
    Posts:
    9
    ok....got the radial blur script to work by changing how the samples array was declared, but unfortunately it doesn't do what I had hoped, so back to square 1 of looking for a "Center blur" shader.