How can i apply multiple shaders to a ofTexture or a ofFbo?

How can i apply multiple shaders to a ofTexture or a ofFbo ?

Thanks a lot

Eviral

Hey @Eviral , would multiple (sequential) shader passes work OK? I’ve often used 2 ofFbo with a “ping-pong” approach, reading from one while rendering to the other in one pass, then switching them for the next pass, etc. ofFbo seems to work OK with std::swap() if it helps.

1 Like