Search Unity

Motion Blur on the non pro v of unity

Discussion in 'Made With Unity' started by ryand-unity, Jul 13, 2011.

  1. ryand-unity

    ryand-unity

    Joined:
    Jan 21, 2011
    Posts:
    547
    2 cams 1 plane and 1 vertex Shader set Cam 1 To depth only and Cam 2 to Skybox place a plane Object in front of both cams. make a new layer name it Blur, set the plane's layer the Blur make it look like this $Blur 1.png cam 1 can not see the plane. cam 2 has to see the plane. The plane needs to have a Transparent Vertex Shader with at least 3 passes in it. if it right it will work like this blur player
     
    Last edited: Jul 13, 2011
  2. windexglow

    windexglow

    Joined:
    Jun 18, 2010
    Posts:
    378
    Neat trick, I wonder how far this could be exploited for us indie guys.
     
  3. 95KillerZ95

    95KillerZ95

    Joined:
    May 27, 2011
    Posts:
    253
    Awesome! Very useful for indie users.....
     
  4. ryand-unity

    ryand-unity

    Joined:
    Jan 21, 2011
    Posts:
    547
    thank you. Im always trying stuff like this so look for me on the forum.
     
  5. ryand-unity

    ryand-unity

    Joined:
    Jan 21, 2011
    Posts:
    547
  6. increpare

    increpare

    Joined:
    Nov 17, 2010
    Posts:
    151
    fabulously glitchy : )
     
  7. AnomalusUndrdog

    AnomalusUndrdog

    Joined:
    Jul 3, 2009
    Posts:
    1,553
    I'm gonna try this, I notice the effect works best for fast moving objects or when you shake your mouse fast. Perhaps you can make it that the camera whose clear flags is depth only behave in a spring-like effect (delayed movement) so the trail is larger.