PDA

View Full Version : glClearDepth



t123
08-01-2005, 07:23 PM
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

08-01-2005, 08:20 PM
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.