This is used when number of primitives is huge, the number of pixels (or rays launched from within the camera) is lesser, so this is better.
if(number of pixels >> number of primitives)
This is used when number of primitives is huge, the number of pixels (or rays launched from within the camera) is lesser, so this is better.
if(number of pixels >> number of primitives)