Author Topic: Multiple render targets  (Read 2167 times)

Offline Thomas.

  • double
  • *****
  • Posts: 833
    • View Profile
Multiple render targets
« on: October 01, 2012, 07:45:11 pm »
Egon, is in OGLES 2.0 supported multiple render targets, please? Or is it supported in some extension by manufacturer?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Multiple render targets
« Reply #1 on: October 02, 2012, 09:25:24 am »
Not sure if i get the question!? You can render into one FBO and multiple render buffers. The render buffers can't be accessed though. IIRC, rendering into multiple FBOs at a time isn't supported. Why would you want to?

Offline Thomas.

  • double
  • *****
  • Posts: 833
    • View Profile
Re: Multiple render targets
« Reply #2 on: October 02, 2012, 12:16:41 pm »
I wanted to save different colors into many textures just in one rendering pipeline. But as I read, it is not supported in OGL ES 2.0 (version 3 has this feature). With multiple render targets it is possible to create scene, depth, normals, motions,... textures just in one rendering pipeline. In my opinion it's bringing great speedup.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Multiple render targets
« Reply #3 on: October 02, 2012, 12:52:34 pm »
As you say for yourself, it's not supported. I once tried to do it and it gave me an GL error IIRC.