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 3 of 3

Thread: glFramebufferTextureFace/Layer/2D

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2009
    Posts
    8

    glFramebufferTextureFace/Layer/2D

    To create 2D FBO using single cubemap face, we could use glFramebufferTextureFace: http://www.opengl.org/sdk/docs/man4/...extureFace.xml

    However this is not implemented on NVidia drivers (259.39).
    I was albo unable to use glFramebufferTextureLayer for this purpose (got GL_INVALID_OPERATION error generated. <texture> does not name a layered texture.). I was however successful with simple glFramebufferTexture2D using GL_TEXTURE_CUBE_MAP_POSITIVE_X + face.

    Is this driver bug or spec bug?

    See also http://www.opengl.org/discussion_boa...943#Post280943

  2. #2
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,714

    Re: glFramebufferTextureFace/Layer/2D

    To create 2D FBO using single cubemap face, we could use glFramebufferTextureFace:
    That function doesn't exist. That's an error in the documentation; the GL spec does not define any such function.

    This wiki page does a better job of explaining your options.

  3. #3
    Junior Member Newbie
    Join Date
    Sep 2009
    Posts
    8

    Re: glFramebufferTextureFace/Layer/2D

    Thank you for clarification.

Posting Permissions

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