View Full Version : how to use depth buffer to blend two meshes

05-04-2001, 06:44 AM
I have two meshes, and I want to blend them. My blending function will be based on the two depth buffers that are formed when I render these meshes. I want to blend them in the video card so that I do not have to loose time with I/O between main memory and buffers in the video card. Does anyone have any idea how to do this? http://www.opengl.org/discussion_boards/ubb/cool.gif