Lighting is an important consideration in 3D animation and no less so for virtual reality storytelling. In our story, we want the lighting to start at night and progress through dawn to daylight. We'll do this by manipulating the Directional Light game object, a Point Light, and Skybox Material. The Directional Light game object has Intensity parameters we can animate directly. The skybox is defined with a material, so we are going to have to write a script to control its contribution to the lighting in the scene.
Animating lights
For dramatic effect, let's make the scene slowly fade from night to daytime. We will turn off Directional Light at the start and slowly increase its Intensity:
- SelectBlackbird Director inHierarchyand open theTimeline Editorwindow.
- Drag theDirectional Lightobject fromHierarchyonto the Timeline and select Animation Track.
- Press itsRecordbutton.
- Ensure...