As we explained previously, rendering in Copy mode is fast, but you skip over all the processing that goes on in the Combiner and Blender. Thus, you cannot make use of functions like Z buffering, which is processed with the Blender.
There is one exception, however, and that is the alpha compare function, which can be used even in Copy mode.
Next we will change the gfx10.c sample program to render in copy mode, and then use the alpha compare function to get a transparency effect. When you change line 40 from undef to define, the small texture rectangle is rendered in Copy mode.
List 10-6 | |
|
By looking at the above source you should be able to deduce what is happening, but a simple explanation of the steps in order follows.