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:
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h
index b1a19cb3edc..b06f94db064 100644
--- a/source/blender/makesdna/DNA_view3d_types.h
+++ b/source/blender/makesdna/DNA_view3d_types.h
@@ -144,6 +144,8 @@ typedef struct View3DShading {
char light;
char background_type;
+ char cavity_type;
+ char pad[7];
char studio_light[256]; /* FILE_MAXFILE */
char matcap[256]; /* FILE_MAXFILE */
@@ -163,6 +165,9 @@ typedef struct View3DShading {
float background_color[3];
+ float curvature_ridge_factor;
+ float curvature_valley_factor;
+
} View3DShading;
/* 3D Viewport Overlay settings */
@@ -406,6 +411,13 @@ enum {
V3D_SHADING_BACKGROUND_VIEWPORT = 2,
};
+/* View3DShading->cavity_type */
+enum {
+ V3D_SHADING_CAVITY_SSAO = 0,
+ V3D_SHADING_CAVITY_CURVATURE = 1,
+ V3D_SHADING_CAVITY_BOTH = 2,
+};
+
/* View3DOverlay->flag */
enum {
V3D_OVERLAY_FACE_ORIENTATION = (1 << 0),