Hi all,
I want to do edge-detection and get the max or min x position of those edges in fragment shader. There seems no problem on edge detection, but I’m blocked on how to storage parameter calculated by the previous fragment and then used by the next fragment. Does anyone have an idea about parameter storage calculated by the previous fragment and used by the next one in fragment shader, thx a lot in advance!




