diff options
author | Thomas Dinges <blender@dingto.org> | 2016-04-03 00:36:14 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2016-04-03 00:36:14 +0300 |
commit | d91316dc672dc1ee69fbd24d2f00124a24b75c6b (patch) | |
tree | bcaa68dc4059f4a8d42f0a4157b05c671e39093c /source/blender/makesdna/DNA_node_types.h | |
parent | 74e40663da696ac965349204ef4aa4a47271c431 (diff) |
Cycles: Remove the Preetham Sky model.
The improved Hosek / Wilkie model was added during my GSoC 2013 and the default since then.
The older model was kinda kept for compatibility, but after more than 2 years it's time to remove it.
The Hosek / Wilkie model is more realistic anyway, and people who really want a day / night transition can mix the Sky Shader with another one (e.g. color) and fade between the two.
Diffstat (limited to 'source/blender/makesdna/DNA_node_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_node_types.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index c75a019a28e..dbb49d1429d 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,10 +977,6 @@ 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 |