Z buffers and transparancy

Hey there

Whats the usual solution to rendering transparent objects when using the z-buffer? I have a partially transparent quad I’m rendering which I want to be occluded by geometry in front of it (which works) but the transparent parts of the quad write into the z-buffer and obscure stuff behind the quad which should otherwise be visible.

any ideas?

thx!

Uhm… Google?

  1. render opaque geometry (roughly front to back)
  2. render transparant geometry (strictly back to front)