Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actual3TATUK2

Posted 25 October 2013 - 10:59 PM

This is a long shot, because I strongly believe what I'm attempting is not even possible...

 

But, does anyone happen to know of a way, even if it's "hackish" - to restrict the max output# samples/fragments/pixels of a render draw call? Specifically even to 1 max pixel before the rest are somehow discarded...

 

 

I'm using this for a visibility test, i'm rendering octree bounding boxes and only need to know if they're visible. Obviously I wrap the draw in an occlusion query... But, again, I only need to know if even *one* pixel passes. All the pixels rendered after the first passed pixel are superfluous and negatively effect performance


#13TATUK2

Posted 25 October 2013 - 10:59 PM

This is a long shot, because I strongly believe what I'm attempting is not even possible...

 

But, does anyone happen to know of a way, even if it's "hackish" - to restrict the max output# samples/fragments/pixels of a render draw call? Specifically event to 1 max pixel before the rest are somehow discarded...

 

 

I'm using this for a visibility test, i'm rendering octree bounding boxes and only need to know if they're visible. Obviously I wrap the draw in an occlusion query... But, again, I only need to know if even *one* pixel passes. All the pixels rendered after the first passed pixel are superfluous and negatively effect performance


PARTNERS