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: FBO Attached Textures Reused as Shader Source Textures

  1. #1
    Intern Contributor
    Join Date
    Sep 2007
    Location
    Southern California
    Posts
    60

    FBO Attached Textures Reused as Shader Source Textures

    I have a GLSL Shader that renders to multiple GL_LUMINANCE textures in an FBO. After the FBO render is complete, I then use these same target textures as source texture Samplers in a different shader.

    My question is:

    Do I need to unattach these textures from the FBO before I can use them as source textures in another shader?

  2. #2
    Junior Member Regular Contributor
    Join Date
    Mar 2012
    Posts
    120
    No, you do not need to.

  3. #3
    Intern Contributor
    Join Date
    Sep 2007
    Location
    Southern California
    Posts
    60
    Thanks very much.

Posting Permissions

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