examples/graphics/blendingExample/README.md
This example demonstrates how to set the blend mode and the available blend modes for usage.
In the code, pay attention to:
ofEnableBlendMode() to set the blend mode.OF_BLENDMODE_ALPHA, OF_BLENDMODE_ADD, OF_BLENDMODE_MULTIPLY,OF_BLENDMODE_SUBTRACT and OF_BLENDMODE_SCREENWhen launching this application you will see:
When keys 1, 2, 3,4 or 5 are pressed :
When the mouse is moved:
Instructions for use:
1 to switch to a blend mode of Alpha2 to switch to a blend mode of Additive3 to switch to a blend mode of Multiply4 to switch to a blend mode of Subtract5 to switch to a blend mode of ScreenThis Example uses no other classes.