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_world_types.h')
-rw-r--r--source/blender/makesdna/DNA_world_types.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_world_types.h b/source/blender/makesdna/DNA_world_types.h
index efa17af4996..c325c2d1b8a 100644
--- a/source/blender/makesdna/DNA_world_types.h
+++ b/source/blender/makesdna/DNA_world_types.h
@@ -91,8 +91,13 @@ typedef struct World {
float starsize, starmindist;
float stardist, starcolnoise;
+ /* unused now: DOF */
short dofsta, dofend, dofmin, dofmax;
-
+
+ /* ambient occlusion */
+ float aodist, aodistfac;
+ short aomode, aosamp, aomix, aototsamp;
+
int physicsEngine;
struct Ipo *ipo;
@@ -117,6 +122,17 @@ typedef struct World {
#define WO_STARS 2
#define WO_DOF 4
#define WO_ACTIVITY_CULLING 8
+#define WO_AMB_OCC 16
+
+/* aomix */
+#define WO_AOADD 0
+#define WO_AOSUB 1
+#define WO_AOADDSUB 2
+
+/* aomode (use distances & random sampling modes) */
+#define WO_AODIST 1
+#define WO_AORNDSMP 2
+
/* mapto */
#define WOMAP_BLEND 1