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:
authorThomas Dinges <blender@dingto.org>2016-04-05 13:25:54 +0300
committerThomas Dinges <blender@dingto.org>2016-04-05 13:25:54 +0300
commitb8ca4819b2e9288cb86988c01b0b6a2a5b39fe8a (patch)
tree4e6e0c8659108725dc10e14324530d6a1595483e /source/blender/makesdna/DNA_node_types.h
parent46aaa539984231021a2e895afa8c04734de96c86 (diff)
Revert "Cycles: Remove the Preetham Sky model."
This reverts commit d91316dc672dc1ee69fbd24d2f00124a24b75c6b.
Diffstat (limited to 'source/blender/makesdna/DNA_node_types.h')
-rw-r--r--source/blender/makesdna/DNA_node_types.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h
index dbb49d1429d..c75a019a28e 100644
--- a/source/blender/makesdna/DNA_node_types.h
+++ b/source/blender/makesdna/DNA_node_types.h
@@ -718,10 +718,10 @@ typedef struct NodeTexBase {
typedef struct NodeTexSky {
NodeTexBase base;
+ int sky_model;
float sun_direction[3];
float turbidity;
float ground_albedo;
- int pad;
} NodeTexSky;
typedef struct NodeTexImage {
@@ -977,6 +977,10 @@ typedef struct NodeSunBeams {
#define SHD_WAVE_PROFILE_SIN 0
#define SHD_WAVE_PROFILE_SAW 1
+/* sky texture */
+#define SHD_SKY_OLD 0
+#define SHD_SKY_NEW 1
+
/* image/environment texture */
#define SHD_COLORSPACE_NONE 0
#define SHD_COLORSPACE_COLOR 1