This script connect the sun light with the sky texture node.
You only need run this script in your scene in cycles render engine.
If you haven’t a sun light the script will add a new light.
In other words, the script let you have the sun and the sky in the same direction!
If I understood it right, the pluspoint of your Script compared to the Sun Position Script is that I can set the sun whereever I want, where as the Sun Position Scripts lets me set the Sun “only” on geographic correct positions ?
Thanks for the responses!.
The direction sun addon is better than my script, there’s comparative.
My script only align the sky with the sun direction, is basic!
We could think a way to propose something like this in the sky shader, something like a list with the lamps… ?
@Bashi
Thanks for that.
It’s not yet that useful from my point of view.
For a better overview and handling the Lightattributes should be aligned horizontally (think about if you have 20 Lights then you have to scroll down a long list and you lose the overview).
If I create an Instance of a Light then it should not appear in the Light Tools. At the moment it does and this makes no sence to me.