67
edits
Michaelfavor (talk | contribs) m (→Changing illumination color: typo) |
Paul Richter (talk | contribs) (→Illuminate during dark: explanation of the 1.57 horizon) |
||
Line 54: | Line 54: | ||
===Illuminate during dark=== | ===Illuminate during dark=== | ||
If you want a face to illuminate during dark we use the sun angle property (/sim/time/sun-angle-rad). | If you want a face to illuminate during dark we use the sun angle property (/sim/time/sun-angle-rad). The value is expressed in radians from the zenith, so a common value where our face should start illuminate is pi/2, or 1.57, right on the horizon. But you could change the value if you want to illuminate earlier or later. Depends on your needs. | ||
'''To turn lights on if the sky is dark:''' | '''To turn lights on if the sky is dark:''' |
edits