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

01_(4800K)_Direct_Sun.py « light « pov « presets - git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6d2818375b05020c02e756a5ec1eea044d4907a1 (plain)
1
2
3
4
5
6
7
8
9
10
#Since the dawn of time

import bpy
bpy.context.object.data.type = 'SUN'
lampdata = bpy.context.object.data

lampdata.color = (1.0, 1.0, 0.9843137264251709)
lampdata.energy = 1.2 #100 000lux
#lampdata.distance = 0.001
#lampdata.falloff_type = 'INVERSE_SQUARE'