PDA

View Full Version : FBO Attached Textures Reused as Shader Source Textures



Rennie Johnson
06-22-2012, 07:35 PM
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?

cireneikual
06-22-2012, 08:18 PM
No, you do not need to.

Rennie Johnson
06-22-2012, 08:43 PM
Thanks very much.