www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: Thomas. on October 01, 2012, 07:45:11 pm

Title: Multiple render targets
Post by: Thomas. 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?
Title: Re: Multiple render targets
Post by: EgonOlsen 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?
Title: Re: Multiple render targets
Post by: Thomas. 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.
Title: Re: Multiple render targets
Post by: EgonOlsen 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.