Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: glGetTexImage

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2004
    Posts
    2

    glGetTexImage

    Is it possible to use glGetTexImage to retrieve a shadow map texture set up with glCopyTexImage2D and GL_DEPTH_COMPONENT?

  2. #2
    Senior Member OpenGL Pro sqrt[-1]'s Avatar
    Join Date
    Jun 2002
    Location
    Australia
    Posts
    1,006

    Re: glGetTexImage

    Yes, just make sure you pass GL_DEPTH_COMPONENT as the format type.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •