diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2018-05-23 11:53:10 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2018-05-23 11:54:22 +0300 |
commit | 8d928732301310998a1a13a11460594af1e08a0d (patch) | |
tree | 2ee2a4ef697ece3bc92422d52cb3f8516900580c /source/blender/editors/space_view3d/space_view3d.c | |
parent | e92baab34893f5a5b3d6f59238fdb7855b72d7fe (diff) |
Workbench: See through
Unmultiplied the final color during compositing. Same as the revealage
buffer would do
Also use the DRW_STATE_ADDITION_FULL as it is aware of premultiplied
colors
Diffstat (limited to 'source/blender/editors/space_view3d/space_view3d.c')
-rw-r--r-- | source/blender/editors/space_view3d/space_view3d.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c index d8bcc9de2e2..6d8d4d45feb 100644 --- a/source/blender/editors/space_view3d/space_view3d.c +++ b/source/blender/editors/space_view3d/space_view3d.c @@ -325,7 +325,6 @@ static SpaceLink *view3d_new(const ScrArea *UNUSED(sa), const Scene *scene) v3d->drawtype = OB_SOLID; v3d->shading.light = V3D_LIGHTING_STUDIO; v3d->shading.shadow_intensity = 0.5; - v3d->shading.see_through_transparency = 0.3f; copy_v3_fl(v3d->shading.single_color, 0.8f); v3d->gridflag = V3D_SHOW_X | V3D_SHOW_Y | V3D_SHOW_FLOOR; |