@SebastianSobotka wrote:
I am trying to blend two FBOs and change the opacity of blending effect.
If I set a lower alpha value (blendOpacity parameter), the image becomes brighter. It makes me confused a little bit.
What am I doing wrong?Here is a pseudo code:
fbo1.begin() something... fbo1.end() fbo2.begin(); ofClear(255, 255, 255, 0); fbo1.draw(0, 0); ofEnableBlendMode(blendMode); //OF_BLENDMODE_MULTIPLY ofSetColor(255, 255, 255, blendOpacity); pic.draw(0, 0); ofSetColor(255, 255, 255); ofDisableBlendMode(); fbo2.end();
Posts: 1
Participants: 1