The goal of this lab is to simply get familiar with the basics of Unity through exploration. There are a few things that you should look into - listed below - but otherwise, you are free to make whatever you like. Sort of like playing in a sand box.
You need to install Unity 3D on your own machine before you start. You get the latest version from the Unity 3D download page.
MainCamera
, giving you a point of view into the environment you are constructing. Now add a second object, which will serve as your ground. From the main menu select GameObject→CreateOther→Plane, this will add a large flat object to the scene. If you now selct your Main Camera
object from the Hierarchy panel, you may see from the little Camere Preview pop-up window that this ground is not visible due to the relative position of these two ojbects. You can place objects precisely in the world by adjusting the Position
property of the object in the Inspector pane. From Hierarcy select Main Camera
and then in the Inspector give the camera the position (0,1,0) in the Transform component. Now select the Plane
and give it the position (0,0,0). You should now be able to see the ground in the camera previw. Press the Play (in the play control panel above the 3D view) button to confirm that when you run your environment you will see the ground below you and the sky behind it. Press the Play button again to stop running the scene (there is no stop button!).Directional light
and change the Shadow Type
property to HardShadows
. You should now see your objects casting shadows in the scene.Fog
property (check box) and experiment with its settings, see if you can create the effect of having more distant objects appear faded. In the same settings panel, pick a Skybox Material
. If you click on the little circle next to the property, it will show you a selection box, from which you can select a material to assign to this property. Type sky
in the search box to limit the view to assets with the name sky
in them. Pick something and see how it looks. Experiment with this.