From 542462d35c5c17742aa4d3d17c13bbbf312fe7a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Sun, 10 Jun 2018 19:35:25 +0200 Subject: Workbench: Xray: Add selected/active non-occluded outlines This Fix the problem when multiple objects are selected and one of them occlude the others. You cannot see clearly what is selected. With this option, selection is more clear when Xray mode is enabled. --- source/blender/draw/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/draw/CMakeLists.txt') diff --git a/source/blender/draw/CMakeLists.txt b/source/blender/draw/CMakeLists.txt index f049fc87205..7d869982f29 100644 --- a/source/blender/draw/CMakeLists.txt +++ b/source/blender/draw/CMakeLists.txt @@ -286,6 +286,8 @@ data_to_c_simple(modes/shaders/object_empty_image_vert.glsl SRC) data_to_c_simple(modes/shaders/object_outline_resolve_frag.glsl SRC) data_to_c_simple(modes/shaders/object_outline_expand_frag.glsl SRC) data_to_c_simple(modes/shaders/object_outline_detect_frag.glsl SRC) +data_to_c_simple(modes/shaders/object_outline_prepass_vert.glsl SRC) +data_to_c_simple(modes/shaders/object_outline_prepass_geom.glsl SRC) data_to_c_simple(modes/shaders/object_outline_prepass_frag.glsl SRC) data_to_c_simple(modes/shaders/object_grid_frag.glsl SRC) data_to_c_simple(modes/shaders/object_grid_vert.glsl SRC) -- cgit v1.2.3