Multiple render targets

Started by Thomas., October 01, 2012, 07:45:11 PM

Previous topic - Next topic

Thomas.

Egon, is in OGLES 2.0 supported multiple render targets, please? Or is it supported in some extension by manufacturer?

EgonOlsen

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?

Thomas.

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.

EgonOlsen

As you say for yourself, it's not supported. I once tried to do it and it gave me an GL error IIRC.