blender/release/scripts/presets/sunsky/classic.py
Joshua Leung f99d06bc83 Patch #21011: Tweaks to Sky/Atmosphere presets
Patch by Daniel Salazar - ZanQdo

- Do not change save the distance factor since this is not relevant as a preset, it should stay at what ever the user
set it to work with that particular scene
- fixed a tooltip
2010-02-07 22:26:37 +00:00

14 lines
688 B
Python

bpy.context.object.data.sky.atmosphere_turbidity = 4.0
bpy.context.object.data.sky.sky_blend_type = 'ADD'
bpy.context.object.data.sky.sky_blend = 1.0
bpy.context.object.data.sky.horizon_brightness = 10.0
bpy.context.object.data.sky.spread = 1.49011614159e-09
bpy.context.object.data.sky.sky_color_space = 'SMPTE'
bpy.context.object.data.sky.sky_exposure = 1.0
bpy.context.object.data.sky.sun_brightness = 1.00000011921
bpy.context.object.data.sky.sun_size = 1.00000166893
bpy.context.object.data.sky.backscattered_light = 0.0
bpy.context.object.data.sky.sun_intensity = 4.0
bpy.context.object.data.sky.atmosphere_inscattering = 1.0
bpy.context.object.data.sky.atmosphere_extinction = 1.0