diff options
author | Marco <nacioss> | 2021-01-27 16:54:51 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-01-27 18:48:50 +0300 |
commit | 0af512abdf05380088f63e38cac6dbaf90003be0 (patch) | |
tree | ee2f487232a1aaaa2d77d15450eff00998a51bdd /intern/cycles | |
parent | 9b80291412feed2a9942eb41d0bd9390035a702c (diff) |
Sky Texture: change Nishita Altitude to use unit system
Differential Revision: https://developer.blender.org/D9968
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/blender/blender_shader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/blender_shader.cpp b/intern/cycles/blender/blender_shader.cpp index 64e2b172451..02a6638b083 100644 --- a/intern/cycles/blender/blender_shader.cpp +++ b/intern/cycles/blender/blender_shader.cpp @@ -882,7 +882,7 @@ static ShaderNode *add_node(Scene *scene, sky->set_sun_intensity(b_sky_node.sun_intensity()); sky->set_sun_elevation(b_sky_node.sun_elevation()); sky->set_sun_rotation(b_sky_node.sun_rotation()); - sky->set_altitude(1000.0f * b_sky_node.altitude()); + sky->set_altitude(b_sky_node.altitude()); sky->set_air_density(b_sky_node.air_density()); sky->set_dust_density(b_sky_node.dust_density()); sky->set_ozone_density(b_sky_node.ozone_density()); |