Hi there,
I’m running into a problem now that Im using more than
8 framebuffers. I don’t use them simultaneously of course,
but different framebuffers are used for different renderpasses.
I have 27 (!) passes to perform in a single frame, and
(would like to) activate a pre-created framebuffer for each pass.
the normal rendering procedure for each frame in pseudocode is:
for each pass in renderpass
----framebuffer = pass->getDrawbuffer()
----framebuffer->bind()
----for each node in pass->getRendernodes()
--------node->render()
----framebuffer->unbind()
the detailed description of the framebuffer bind/unbind calls can be found here:
Dynamica.org - RenderTools-1.0 - Framebuffer
What happens if my number of passes grows beyond 8 is very strange,
it seems the shader used in the 9th pass is writing into a
very different framebuffer (or associated renderbuffer) altogether !
I’d much appreciate any insights, 'cause I can’t seem to figure out reading the specs etc. what’s wrong.
thanks,
J