glClearDepth

Hello

I do not understand a meaning of a numerical setting range of glClearDepth.

For example

  • I set it to 10.
    What kind of effect will be provided?

:confused: Japanese Tera

http://www.mevis.de/opengl/glClearDepth.html

As you can see from the spec, the value is clamped to [0,1]. You can play games with this value and the depth range and depth test, but normally you’ll just leave it at the default setting of 1.