Original Post
Hello, does anyone here can explane to me how buffer formats really works? My 3D model had some imperfections when rendering, then I figured out that i have to put D3DFMT_D24X8 insted D3DFMT_D16. I know that I added 8 bits to the depth buffer, but what did really changed? Why it wasnt capable to make a perfect rendering with only 8 bits? What kind of information does it store in the depth buffer? And what about stencil? What kind of information doest it store in stencil buffer? Does 8 bits per pixel can do the trick? How can I always know how much bits per pixel is enough to deph and stencil buffer?