Original Post
I was wondering if there is an easy way to make OpenGL only write to the depth buffer for non-transparent pixels. For instance, if you draw a quad with a picture of a tree, and parts of the quad are transparent, those parts will still affect the depth buffer even though they're transparent. I don't want the depth buffer affected by transparent pixels.