Blender Git Commit Log

Git Commits -> Revision 1dcf956

Revision 1dcf956 by Kévin Dietrich (master)
April 29, 2014, 12:03 (GMT)
Fix for wrong behavior of 'darken' blend mode with factor.

The formula was not consistent across Blender and behaved strangely, now it is
a simple linear blend between color1 and min(color1, color2).

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D489

Commit Details:

Full Hash: 1dcf95684929806e80e3d0b514c8690cd757b1bd
Parent Commit: 4ff3ebf
Committed By: Brecht Van Lommel
Lines Changed: +16, -35

6 Modified Paths:

/intern/cycles/kernel/shaders/node_mix.osl (+1, -1) (Diff)
/intern/cycles/kernel/svm/svm_mix.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/material.c (+3, -6) (Diff)
/source/blender/compositor/operations/COM_MixOperation.cpp (+3, -11) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+4, -8) (Diff)
/source/blender/render/intern/source/render_texture.c (+4, -8) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021