Originally Posted by V-man
The GPU would have to go into a series of calculations to figure out what that second fragment is. It would actually need access to the primitive assembly stage information.
And the final question. Is that going to be faster than a 2 pass approach?
Well, GPU should get smarter. Recently it figured out how to tessellate primitives. There is a evolution here
I'm not talking about 1 tetrahedron. I'm talking about a mesh made of thousands of tetrahedrons. Millions of tetrahedrons in frame.
So 2 pass approach is going to be inefficient.
My first usage of tetrahedrons is real-time ambient occlusion & global illumination.