Blender Git Commit Log
Git Commits -> Revision e4efa16
Revision e4efa16 by Kévin Dietrich (master) July 23, 2016, 23:04 (GMT) |
Fix T48663: The Soft Light blend type layer make the color darker in the 3D view There was a misusage of the `outcol` and `texcol` params. The actual formula should have been: incol = facm * outcol + fact * ((one - outcol) * texcol * outcol + outcol * scr); To make sure the result is consistent with material mode, reuse the material blend function (mix_soft), similarly to what most other texture blend modes do. |
Commit Details:
Full Hash: e4efa16b0079a4644380ae5a7dcc607bf692aafc
Parent Commit: 4cbefde
Lines Changed: +3, -7
1 Modified Path:
/source/blender/gpu/shaders/gpu_shader_material.glsl (+3, -7) (Diff)