Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'presets/pov/world/1_Clear_Blue_Sky.py')
-rw-r--r--presets/pov/world/1_Clear_Blue_Sky.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/presets/pov/world/1_Clear_Blue_Sky.py b/presets/pov/world/1_Clear_Blue_Sky.py
index 9928c0e7..54a18fd8 100644
--- a/presets/pov/world/1_Clear_Blue_Sky.py
+++ b/presets/pov/world/1_Clear_Blue_Sky.py
@@ -1,7 +1,7 @@
import bpy
scene = bpy.context.scene
-scene.world.use_sky_blend = True
+scene.world.pov.use_sky_blend = True
#below multiplied by two for a better proportion Clear vs Overcast sky
#since Clear sky is 19807 lux vs 2000 for overcast (sun is min 32000 max 100000)
#http://www.pssurvival.com/PS/Lighting/Typical_LUX_Intensities_for_Day_and_Night-2017.pdf
@@ -19,9 +19,9 @@ scene.world.use_sky_blend = True
#Ground color = rgb <0.996, 0.965, 0.855> = hsl <0.128, 0.141, 0.996>
#Ground Brightness = 0.996
-scene.world.horizon_color = (0.047, 0.034, 0.025) #24000 or 22000 lux roughly equals (sun+sky)/5
-scene.world.zenith_color = (0.006, 0.013, 0.033) #19807 lux roughly equals hign noon Sun / 5
-scene.world.ambient_color = (0.0, 0.0, 0.0)
+scene.world.pov.horizon_color = (0.047, 0.034, 0.025) #24000 or 22000 lux roughly equals (sun+sky)/5
+scene.world.pov.zenith_color = (0.006, 0.013, 0.033) #19807 lux roughly equals hign noon Sun / 5
+scene.world.pov.ambient_color = (0.0, 0.0, 0.0)
scene.world.mist_settings.use_mist = False
scene.world.mist_settings.intensity = 0.0
scene.world.mist_settings.depth = 25.0