Hi!
When i turn on stencil buffer my screen depth buffer going to 16bits per pixel even when i set to 32bits, why? when i turn off stencil then i see really 32bits per pixel, i have ati radeon 9000pro maybe my video card not support beter stencil format?? maybe samebody now somthing about this?
best regards
stencil buffer strange behaviour?
Have a look at the video driver implementations. Here is a snip from the D3D9 driver...
Code: Select all
present.BackBufferWidth = screenSize.Width;
present.BackBufferHeight = screenSize.Height;
present.BackBufferFormat = D3DFMT_R5G6B5;
present.BackBufferCount = 0;
present.FullScreen_RefreshRateInHz = D3DPRESENT_RATE_DEFAULT;
// request 32bit mode if user specified 32 bit, added by Thomas Stüfe
if (bits == 32 && !StencilBuffer)
present.BackBufferFormat = D3DFMT_A8R8G8B8;