Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: GClements

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    493

    If a texture doesn't have all of the mipmap...

    If a texture doesn't have all of the mipmap levels defined, it's necessary for the minification filter to be one which doesn't use mipmaps (i.e. GL_NEAREST or GL_LINEAR). This is true regardless of...
  2. Replies
    8
    Views
    493

    If you want to read depth values via...

    If you want to read depth values via glReadPixels(), then the texture must be bound to the FBO and the FBO itself must be bound.

    If you want to read depth values directly from the texture within a...
Results 1 to 2 of 2