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 /intern/cycles/app | |
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 'intern/cycles/app')
-rw-r--r-- | intern/cycles/app/cycles_xml.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/intern/cycles/app/cycles_xml.cpp b/intern/cycles/app/cycles_xml.cpp index c845f28ff90..e33fce45bb6 100644 --- a/intern/cycles/app/cycles_xml.cpp +++ b/intern/cycles/app/cycles_xml.cpp @@ -470,8 +470,7 @@ static void xml_read_shader_graph(const XMLReadState& state, Shader *shader, pug } else if(string_iequals(node.name(), "sky_texture")) { SkyTextureNode *sky = new SkyTextureNode(); - - xml_read_enum(&sky->type, SkyTextureNode::type_enum, node, "type"); + xml_read_float3(&sky->sun_direction, node, "sun_direction"); xml_read_float(&sky->turbidity, node, "turbidity"); xml_read_float(&sky->ground_albedo, node, "ground_albedo"); |