Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


Multiple Textures Single Pass


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 BLaBZ   Members   -  Reputation: 110

Like
0Likes
Like

Posted 19 December 2012 - 07:09 AM

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!

Sponsor:

#2 Morphex   Members   -  Reputation: 298

Like
0Likes
Like

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 BitMaster   Crossbones+   -  Reputation: 4437

Like
0Likes
Like

Posted 19 December 2012 - 09:05 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.

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.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS