lab icon indicating copy to clipboard operation
lab copied to clipboard

More detail about depth buffer

Open BoRuei-Hong opened this issue 5 years ago • 2 comments

Hi,

First, thanks for providing this great platform. I have some question related to the "depth buffer" as following:

  1. In depth buffer, what is the resolution have? I saw the "seta r_depthbits "0"" in quake3 config file "assets/q3config.cfg". Is it 8 bit by default? Can we change the setting to a 16 bit to increase the dynamic range?

  2. How to convert the values in the depth buffer to real depth in the game world?

I will be very thankful if anyone can help me =)

BoRuei-Hong avatar Aug 19 '19 03:08 BoRuei-Hong

@charlesbeattie: could you take a look at this please?

tkoeppe avatar Dec 05 '19 02:12 tkoeppe

2. How to convert the values in the depth buffer to real depth in the game world?

Have you found solution to this issue?

student-petercai avatar Aug 14 '21 05:08 student-petercai