Blender Git Loki
Git Commits -> Revision 975eac0
Revision 975eac0 by Clément Foucault (master) May 26, 2018, 21:21 (GMT) |
Workbench: Shadow: Add shader variant for manifold case. Totally Manifold objects only require a single increment/decrement of the stencil value. This result in less geometry generated and less overdraw. |
Commit Details:
Full Hash: 975eac0b0794e6455a3fb642d4e1e0782cdd292e
Parent Commit: 0c9974c
Lines Changed: +81, -32
4 Modified Paths:
/source/blender/draw/engines/workbench/shaders/workbench_shadow_caps_geom.glsl (+0, -2) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_shadow_geom.glsl (+0, -2) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+78, -28) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+3, -0) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_shadow_geom.glsl (+0, -2) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+78, -28) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+3, -0) (Diff)