Blender Git Loki
Git Commits -> Revision 7ffde28
Revision 7ffde28 by Clément Foucault (master) December 5, 2018, 01:51 (GMT) |
Workbench: Cleanups and reduce shader variations Also optimize deferred engine by only outputing material data if needed. This make the bare flat shading mode (no effects) only a depth prepass. |
Commit Details:
Full Hash: 7ffde286be0774e24ea04b4acaad6c6e4ae16bfe
Parent Commit: 5368540
Lines Changed: +197, -138
8 Modified Paths:
/source/blender/draw/engines/workbench/shaders/workbench_common_lib.glsl (+5, -2) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_deferred_composite_frag.glsl (+16, -7) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_forward_composite_frag.glsl (+4, -6) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_prepass_frag.glsl (+39, -38) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+52, -38) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+30, -31) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+43, -13) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+8, -3) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_deferred_composite_frag.glsl (+16, -7) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_forward_composite_frag.glsl (+4, -6) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_prepass_frag.glsl (+39, -38) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+52, -38) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+30, -31) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+43, -13) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+8, -3) (Diff)