0
votes
0answers
438 views

Multiple Render Targets, Multiple Fragment Shaders

I render a normal and a depth image of a scene. Then I want to reuse these two images to do further texture/image processing in a second fragment shader. I use a framebuffer with 3 textures attached ...
0
votes
2answers
609 views

Do rendered-to-textures need to be bound when being drawn to?

In OpenGL, if I'm rendering to a texture using a framebuffer, do I have to have that texture bound while I'm rendering to it? In code: glBindTexture(...); glTexImage2D(...); glBindFramebuffer(...); ...