@aaa wrote:
ofImage img1; img1.load("postit0.png"); ofImage img2; img2.load("postit4.png"); img1.draw(0,0); ofEnableBlendMode(OF_BLENDMODE_ADD); img2.draw(100,100); ofDisableBlendMode();
This should blend the two images, right? I've been pouring through forum questions like this and haven't come across anything that has worked. I feel like I'm misunderstanding something fundamental here. I use blending in lots of other applications, can't seem to get it with OF. Alpha blending is enabled, have tried it disabled, too.
I've also tried adding some things such as img2.setImageType(OF_IMAGE_COLOR_ALPHA);
in case the blend was only being applied to the alpha channel for some reason. Still stuck.
Posts: 5
Participants: 2