Additional Blending modes
Update: this is in trunk (Blender Release 2.42)
This is a small project i'm doing to get familiar with blender code. I added 6 different blending modes.
Here is the list :
- Color Dodge
- Color Burn
Color dodge has a similar effect to Screen. The difference is that Color Dodge don't affect dark parts of the base color, and that it tends to saturate colors. It is mainly used to add some heat to a picture, or to obtain overbright/saturated hilights. The factor of Color Dodge is similar to the "Fill" Factor in photoshop. If you want the opacity factor, combine it with a mix node. Notes : - Color dodge has no effect on black. - Output is clamped to 0-1, but inputs aren't.
Color Burn is the opposite of color Dodge, it is similar to multiply, but it also saturates dark colors, and doesn't affect bright parts of the base pictures. It is also used to add some heat to an already dark picture, or to add scratches / dirt. The factor of Color Burn is similar to the "Fill" Factor in photoshop. If you want the opacity factor, combine it with a mix node. Notes : - Output is clamped to 0-1, inputs aren't.
Hue replaces the Hue of the base color with the hue of the secondary color. If the secondary color is completely desaturated, the base color is left untouched.
Same as Hue, but for saturation. The saturation filter doesn't modify completely desaturated base colors.
Once again, same as Hue but with "Value". (Value is a synonym of brightness)
Replaces the Hue and the saturation of the base color with those of the secondary.
The patch can be found in the patchtracker : https://projects.blender.org/tracker/?func=detail&aid=3951&group_id=9&atid=127