Blender Git Loki

Git Commits -> Revision 19f46c6

Revision 19f46c6 by Jacques Lucke (master)
September 24, 2018, 15:10 (GMT)
Weight Paint: Multiply overlay on the mesh

Use the multiply blending mode for the weight paint overlay.
To support the opacity slider, we need a new shader. Otherwise this combination of multiplication and mixing does not seem to be supported by glBlendFunc.

Reviewers: brecht

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

Commit Details:

Full Hash: 19f46c6ac071e32482969319f43d148ada97a63f
Parent Commit: 809be00
Lines Changed: +31, -7

1 Added Path:

/source/blender/gpu/shaders/gpu_shader_multiply_and_blend_preprocessing.glsl (+22, -0) (View)

4 Modified Paths:

/source/blender/draw/modes/paint_weight_mode.c (+3, -7) (Diff)
/source/blender/gpu/CMakeLists.txt (+1, -0) (Diff)
/source/blender/gpu/GPU_shader.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+4, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021