PDA

View Full Version : Depth Bits Question



07-10-2002, 07:27 AM
Hello,

What is the meaning of the member cDepthBits in the PIXELFORMATDESCRIPTOR structure? I mean, I know this means the number of bits the depth buffer will have, but how does this affect the DepthBuffer? What is the actual diference of an 8, 16, 24 or 32 bits depth buffer?

Thanks.

Deiussum
07-10-2002, 09:23 AM
Higher number of bits allows for more precision in the depth buffer, which can reduce depth-fighting artifacts.