Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2017-03-18 03:55:41 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-03-18 03:56:34 +0300
commit4137f30928dcfda4539d3d80df2c3e079eed12ec (patch)
treeb5b7fb2cef587ea9c2cdd5789350d42b3f71a9ce /source/blender/draw/engines/eevee/eevee_private.h
parentcddde85f2c5f25f3672a9c985b5174b19670e7af (diff)
Object Mode: Add stencil test to remove object outlines inside the silouhette.
It also adds nice occluded silouhette information for selected objects that are behind visible objects. This methods is really heavy because it needs to render the wires twices.
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_private.h')
-rw-r--r--source/blender/draw/engines/eevee/eevee_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_private.h b/source/blender/draw/engines/eevee/eevee_private.h
index 4e966757718..4d8f697cc64 100644
--- a/source/blender/draw/engines/eevee/eevee_private.h
+++ b/source/blender/draw/engines/eevee/eevee_private.h
@@ -27,6 +27,8 @@ struct Object;
/* keep it under MAX_PASSES */
typedef struct EEVEE_PassList {
+ struct DRWPass *depth_pass;
+ struct DRWPass *depth_pass_cull;
struct DRWPass *pass;
struct DRWPass *tonemap;
} EEVEE_PassList;