How performant is it to switch FBOs?

BlitzMax Forums/OpenGL Module/How performant is it to switch FBOs?

beanage(Posted 2009) [#1]
name actually tells it all..
How often can i switch between FBOs per frame?
just need a dimension how many may it be.. 10? 100? 1000? wont play a role?

ThanX for fast answers,

BeAnAge


ImaginaryHuman(Posted 2009) [#2]
How many times do you WANT to switch per frame? Do some tests. You can probably switch many times.

I think the dimensions of the framebuffer are dependent on your `maximum texture size`, I don't think you can have a framebuffer object bigger than the biggest texture supported by the hardware.


beanage(Posted 2009) [#3]
You are right, could've given more informations..

I HOPE for being able to switch about 250 to 300 FBOs sized 512²

..its gonna be an experimental particle system, with a shader applied on each particle "layer" (a.k.a. the 512 image) to calculate particle "movement", each fragment representing a particle, having multiple of those "layers" stacked.

Propably sounds much like a Voxel thing, but really isnt..