Search Unity

Distortion shader with alpha

Discussion in 'Shaders' started by Mish, Jan 28, 2015.

  1. Mish

    Mish

    Joined:
    Apr 23, 2010
    Posts:
    96
    I am looking for a shader which is able to distort a sprite which has an alpha value. For instance a ball with transparency around it. Only the ball should be distorted and you should be able to see the rest of the world undistored behind the alpha.

    What I basicly want to avoid is having sharp corners on distorted objects. It should also work with an orthographic camera as I am working in 2D.