Blender Git Commit Log
Git Commits -> Revision 2c61062
Revision 2c61062 by Clément Foucault (master) May 20, 2018, 17:14 (GMT) |
Workbench: Precompute light direction in object space. Avoid 2 matrix multiplication in the shader. |
Commit Details:
Full Hash: 2c6106247bfde4d649fc788a6b933d48221dc7b3
Parent Commit: ef90d46
Lines Changed: +17, -17
4 Modified Paths:
/source/blender/draw/engines/workbench/shaders/workbench_shadow_geom.glsl (+2, -7) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_shadow_vert.glsl (+2, -5) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+11, -5) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+2, -0) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_shadow_vert.glsl (+2, -5) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+11, -5) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+2, -0) (Diff)