Blender Git Commit Log

Git Commits -> Revision ee701ba

Revision ee701ba by Jeroen Bakker (master)
April 23, 2019, 10:05 (GMT)
Workbench: Support Active Vertex Color

Currently it is not possible to view the vertex colors of an object. To
optimize the workflow, workbench will need to support Vertex Colors.

The Vertex Colors is a new option in `shading->color_type`. When objects
do not have vertex color, the objects will be rendered with the
`V3D_SHADING_OBJECT_COLOR`.

In order to support vertex colors in workbench the current texture/solid
shading structure is migrated to a primary shaders and fallback shaders.

Fix: T57000

Reviewers: brecht, fclem

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

Commit Details:

Full Hash: ee701baff8caf6d184fa245e170c1e67981e2608
Parent Commit: c9ed399
Lines Changed: +257, -78

19 Modified Paths:

/source/blender/blenkernel/BKE_pbvh.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/paint.c (+9, -2) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+9, -4) (Diff)
/source/blender/blenkernel/intern/pbvh_intern.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+1, -0) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_forward_transparent_accum_frag.glsl (+6, -1) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_prepass_frag.glsl (+6, -1) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_prepass_vert.glsl (+22, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+30, -22) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+30, -20) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+36, -9) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+20, -14) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+30, -4) (Diff)
/source/blender/draw/modes/sculpt_mode.c (+1, -0) (Diff)
/source/blender/gpu/GPU_buffers.h (+3, -0) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+45, -1) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021