Blender Git Loki
Git Commits -> Revision 6a4f5f6
Revision 6a4f5f6 by Clément Foucault (master) November 30, 2018, 01:02 (GMT) |
Workbench: Cleanups & Simplifications * Move the curvature computation to the cavity pass: One can argue it's not the best performance wise (it gets a tiny perf pernalty if it is done alone without the ssao), but it make the code cleaner and reduce considerably the number of shader variation possible. * Lower shader variation to 2^8 instead of 2^12 |
Commit Details:
Full Hash: 6a4f5f6eb44b3dacff51ae8c152689e8ddf6e7b2
Parent Commit: e102301
Lines Changed: +126, -111
8 Modified Paths:
/source/blender/draw/engines/workbench/shaders/workbench_cavity_frag.glsl (+16, -3) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_common_lib.glsl (+2, -0) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_curvature_lib.glsl (+25, -22) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_deferred_composite_frag.glsl (+4, -11) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_prepass_frag.glsl (+2, -4) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+63, -34) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+10, -34) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+4, -3) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_common_lib.glsl (+2, -0) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_curvature_lib.glsl (+25, -22) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_deferred_composite_frag.glsl (+4, -11) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_prepass_frag.glsl (+2, -4) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+63, -34) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+10, -34) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+4, -3) (Diff)