Search Unity

Shift pixels off of mesh

Discussion in 'General Graphics' started by matt7188, Jun 21, 2022.

  1. matt7188

    matt7188

    Joined:
    Apr 10, 2018
    Posts:
    9
    Is there a way, in shader code, To displace pixles off of the mesh relative to camera space? Trying to make a sudo starburst effect, but only in one direction. To make a extream example, I need to turn this:
    upload_2022-6-21_0-38-44.png

    into this?:
    upload_2022-6-21_0-40-36.png


    The following is acceptable as well:
    upload_2022-6-21_0-42-41.png