Results 1 to 2 of 2

Thread: glClearDepth

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2005
    Posts
    1

    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?

    Japanese Tera

  2. #2
    Guest

    Re: glClearDepth

    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.

Similar Threads

  1. glClearDepth
    By Flurite in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 08-27-2012, 11:32 AM
  2. Reg : glClearDepth and glDepthFunc
    By Chaitra CJ in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 03-05-2012, 09:29 PM
  3. Replies: 3
    Last Post: 04-13-2005, 03:40 AM
  4. Purpose of glClearDepth
    By Iceman in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 10-10-2001, 08:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean