The below code does what I want when drawing directly without an FBO, but when uncommenting the code to do it within an FBO, the result is that the colors quickly accumulate and turn the screen solid white:
//fbo.begin();
ofSetColor(120);
ofEnableBlendMode(OF_BLENDMODE_ADD);
for (int i = 0; i < webCams.size(); ++i)
{
webCams[i].draw(0, 0, senderWidth, senderHeight);
}
ofDisableAlphaBlending();
//fbo.end();
//fbo.draw(0, 0);
I had a look where @zach points to the fboTrails example. The fading method there involves using ofClear and rectangles, but Iām not sure how to apply it for this specific use case of additive-blending camera images.