I guess this is of concern when two shapes are over the same pixel. Then this pixel has to take into account values from different shapes.
Staffkatamarisun
Depth passes @Jiawei generally solve some of the problems of overlapping shapes, whereby we only need to consider a single resultant color per position. Actual shape checking is done with ray tracing and depth passes first, and then buffered.
I guess this is of concern when two shapes are over the same pixel. Then this pixel has to take into account values from different shapes.
Depth passes @Jiawei generally solve some of the problems of overlapping shapes, whereby we only need to consider a single resultant color per position. Actual shape checking is done with ray tracing and depth passes first, and then buffered.