Animating other properties
In our story, we want the lighting to start at night and progress through dawn to daylight. We'll do it by manipulating the Directional Light, Skybox Material, and a Spot Light.
Animating lights
For dramatic effect, let's make the scene slowly fade from night to daytime. We will turn off the Directional Light at the start and slowly increase its Intensity:
- Select
BlackbirdController
inHierarchy
and open theTimeline Editor
window - Drag the
Directional Light
object fromHierarchy
onto theTimeline
- Press its
Record
button - Ensure the
Playhead
is at0:00
- Select the
Directional Light
inHierarchy
and change itsIntensity
parameter to0
- Move the
Playhead
to the40:00
second mark - Set the
Intensity
to1
The Directional Light's Animation Track with the Intensity parameter curve is shown here:
Other parameters of the light could also be animated, including its Color and the Transform Rotation angles. Just imagine the possibilities!
Let's also add a Point Light. For dramatic effect,...