I would like to write an real time subsurface scattering algorithm.
With this method I need to keep color and depth information of all fragment that arise at the same screen coordinates on the screen. So, instead of discard these information when the fragment depth is greater than the new that arise I would like to keep these ones like in a stack.
Moreover I would like to add other information in addition to color and depth information for each fragment.
Do you think it is possible to do that?