Members - Reputation: 110
Posted 19 December 2012 - 07:09 AM
I'm new to forum and to openGL as well and struggled these last few days to get an SSAO shader to work.
For this I needed a Color, Luminance, and Depth Texture. Is it possible to acquire all of these with a single pass?
Crossbones+ - Reputation: 8493
Posted 19 December 2012 - 09:05 AM
The question is about generating the textures as input for another pass. Array textures will not really help directly. glDrawBuffers should be what the OP is looking for though.
Well, if I am not mistaken (and I might be) you can use a texture array http://www.opengl.org/wiki/Array_Texture to pass a arbitary number of textures to a single pass I guess.