How to change the location of sun?
hzxie opened this issue · 1 comments
hzxie commented
I changed camera position to:
cam.location = (0, 1, -0.6)
Then, the back side of the 3D object becomes dark.
I wonder how to make it brighter when changing the location of SUN
?
Please help me.
hzxie commented
BTW, I think the following line
bpy.data.objects['Sun'].rotation_euler[0] += 180
should be:
bpy.data.objects['Sun'].rotation_euler[0] += radians(180)