Hello!
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?
Thanks!
BlaBZ!
2 replies to this topic
Sponsor:
#2 Members - Reputation: 301
Posted 19 December 2012 - 08:59 AM
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.
Check out my new blog: Morphexe
#3 Members - Reputation: 1405
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.






