PDA

View Full Version : Drawing overlapping translucent triangles with stencil buffer



devdept
08-07-2007, 09:13 AM
Hi All,

We need a pseudocode of stencil buffer settings to draw the fragment only once.

The objective is to draw a transparent shadow on a plane without the alpha values adding up where triangles overlap.

Thanks,

Alberto

Trenki
08-07-2007, 10:07 AM
Come on! You can come up with that yourself easily.