Blender Git Loki
Git Commits -> Revision 3f95daa
Revision 3f95daa by Jeroen Bakker (master) May 4, 2018, 12:08 (GMT) |
Workbench: Shadows Initial review of the shard shadows in the workbench engine. Speed optimizations like transform feedback are not implemented yet. I first want this part to be reviewed and merged. @fclem please check the note in drw_stencil_set it was holding back nequal == 0 as by default DST.stencil_mask was set to 0. questioin is should we remove the whole check or not. Also I am still looking for a better name (or split the enum) for DRW_STATE_STENCIL_DEPTH_FAIL_INCR_DECR_WRAP Reviewers: fclem Reviewed By: fclem Tags: #code_quest Differential Revision: https://developer.blender.org/D3198 |
Commit Details:
Full Hash: 3f95daa31fa98b1bd67fc71835f0011287c1d136
Parent Commit: d8a03c7
Lines Changed: +268, -108
2 Added Paths:
/source/blender/draw/engines/workbench/shaders/workbench_shadow_geom.glsl (+51, -0) (View)
/source/blender/draw/engines/workbench/shaders/workbench_shadow_vert.glsl (+23, -0) (View)
/source/blender/draw/engines/workbench/shaders/workbench_shadow_vert.glsl (+23, -0) (View)
16 Modified Paths:
/release/scripts/startup/bl_ui/properties_render.py (+1, -11) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+6, -1) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+5, -0) (Diff)
/source/blender/draw/CMakeLists.txt (+2, -0) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_composite_frag.glsl (+3, -3) (Diff)
/source/blender/draw/engines/workbench/solid_mode.c (+3, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_engine.c (+3, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+120, -29) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+7, -0) (Diff)
/source/blender/draw/intern/draw_manager.h (+1, -1) (Diff)
/source/blender/draw/intern/draw_manager_exec.c (+14, -6) (Diff)
/source/blender/draw/intern/DRW_render.h (+4, -3) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+7, -50) (Diff)
/source/blender/makesrna/intern/rna_space.c (+15, -0) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+6, -1) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+5, -0) (Diff)
/source/blender/draw/CMakeLists.txt (+2, -0) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_composite_frag.glsl (+3, -3) (Diff)
/source/blender/draw/engines/workbench/solid_mode.c (+3, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_engine.c (+3, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+120, -29) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+7, -0) (Diff)
/source/blender/draw/intern/draw_manager.h (+1, -1) (Diff)
/source/blender/draw/intern/draw_manager_exec.c (+14, -6) (Diff)
/source/blender/draw/intern/DRW_render.h (+4, -3) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+7, -50) (Diff)
/source/blender/makesrna/intern/rna_space.c (+15, -0) (Diff)