Dev:2.4/Source/Materials/Blending Modes - Blender 2.42

提供: wiki
移動先: 案内検索

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
  • Hue
  • Saturation
  • Value
  • Color

Color Dodge

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

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

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.

Saturation

Same as Hue, but for saturation. The saturation filter doesn't modify completely desaturated base colors.

Value

Once again, same as Hue but with "Value". (Value is a synonym of brightness)

Color

Replaces the Hue and the saturation of the base color with those of the secondary.

Patch

The patch can be found in the patchtracker : https://projects.blender.org/tracker/?func=detail&aid=3951&group_id=9&atid=127