Using an fbo which is bigger than 1x1 is a waste of space since we only want to know Z values. Using a 32x32 fbo with some custom shaders we could handle 32*32 entries and so on.
With some more shader magic maybe we could have the left half of the fbo for minZ values and the other half for maxZ values?
More food for thought:
Using an fbo which is bigger than 1x1 is a waste of space since we only want to know Z values. Using a 32x32 fbo with some custom shaders we could handle 32*32 entries and so on.
With some more shader magic maybe we could have the left half of the fbo for minZ values and the other half for maxZ values?
Am I dreaming or is this doable?