I want to know how many bits of precsion my depth buffer uses. How do I find this?
What is the typical value?
cheers.
I want to know how many bits of precsion my depth buffer uses. How do I find this?
What is the typical value?
cheers.
Depth buffer precision is set when you create your window. Typical values are 16, 24, or 32 bit.
Here’s a link to MSDN that describes:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/opengl/ntopnglr_73jm.asp
You can also look at the code in Nehe tutorials, or other tutorials.
Hope that helps.
yazuka, it certainly helps. many thanks.