Blender Git Loki
Git Commits -> Revision bc99f49
Revision bc99f49 by Clément Foucault (master) January 29, 2019, 14:07 (GMT) |
Workbench: Add transparency support for materials This adds the posibility of having certain materials transparent in solid mode. The option is (for now) per material only and thus only shows in material color mode. This uses the same rendering technique as Xray mode. Note that objects are not considered transparent for selection with this. |
Commit Details:
Full Hash: bc99f4903c5f55d35b5fec32d6e18400f25089fb
Parent Commit: d88492d
Lines Changed: +159, -41
8 Modified Paths:
/release/scripts/startup/bl_ui/properties_material.py (+1, -0) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_forward_composite_frag.glsl (+11, -4) (Diff)
/source/blender/draw/engines/workbench/workbench_data.c (+2, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+86, -3) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+41, -33) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+10, -0) (Diff)
/source/blender/makesdna/DNA_material_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_material.c (+6, -0) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_forward_composite_frag.glsl (+11, -4) (Diff)
/source/blender/draw/engines/workbench/workbench_data.c (+2, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+86, -3) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+41, -33) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+10, -0) (Diff)
/source/blender/makesdna/DNA_material_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_material.c (+6, -0) (Diff)