Game Development Reference
In-Depth Information
1.3 Rendering properties
In this section, I am going to introduce to you the basic properties of object rendering in
Unity. As I have mentioned earlier, Mesh Renderer component is responsible for rendering
the object. Therefore, it can be only found in objects that are visible in the game. Therefore,
it is missing in arc 1 and arc 2 as well as the main camera. It is not, however, the only
component related to rendering; and we are going to deal with other components later on.
First element to discuss in this section is texture . A textures a 2 dimensional image painted
over the surface(s) of a 3D shape to give it unique look. For example, we can assign a sand
texture to the ground, a brick texture to the arcs, and a wood texture to the boxes. The tex-
tures we are going to use are shows in Illustration 5. The files containing these textures
must be added to the project before they can be assigned to game objects.
Search WWH ::




Custom Search