Search Unity

buffer question

Discussion in 'Image Effects' started by kozle, Oct 14, 2016.

  1. kozle

    kozle

    Joined:
    Aug 6, 2015
    Posts:
    46
    Hi.

    I'm new to writing shaders, so I hope i wont ask something stupid.

    I've played with some basic fragment shaders, and I've managed it to work as screen effects.

    Now... there is something that i don't understand...
    there is shader in https://www.shadertoy.com/view/4dK3Ww# where it uses buffers.
    How do I implement this in Unity shader?
    Do I have to use multiple passes and Graphics.Blit or maybe GrabPass?

    Hope someone can help me.

    best regards
     
  2. SubPixelPerfect

    SubPixelPerfect

    Joined:
    Oct 14, 2015
    Posts:
    224