Time for action - move and rotate the light

This new light is really harshing our mellow. Let's move and rotate it so that it casts light a little less blazingly.

  1. Ensure that the Directional Light is still selected. If you deselected it, click on the Directional Light label in the Hierarchy panel.
  2. In the Inspector panel, change the light's position to move it up and in front of our Scene. Enter 0 for the X position, 4 for the Y position, and -4 for the Z position. Moving a Directional Light like this does not alter its intensity, but we're just making sure it's within reach in the Scene view.
  3. Rotate the light so that it shines down on the objects. Enter a value of 44 for the light's X Rotation in the Inspector panel.
  4. Now, the light is casting ...

Get Unity 3D Game Development by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.