UNITY
Unity is a cross-platform game engine developed by Unity Technologies. It is used to develop games
for web plugins, desktop platforms, consoles and mobile devices.
It is use to develop games for all the mobile devices such as Android, IOS, Windows and many more.
CAMERA
A Camera is a device that capture and display the world to the player.
By customizing and manipulating camera, we can make the presentation of our game unique.
We can have multiple number of cameras in a scene and assign different depth to them i.e. ,
a Camera with a Depth of 2 will be drawn on top of a Camera with a depth of 1.
Different Cameras can be set to render in any order
at any place on the screen, or only certain parts of the screen.

Properties of Camera:
Field of view:- It is defined as the width of the Camera's view angle, measured in degrees along the local Y axis.
Clipping Planes:-Distances from the camera to start and stop rendering.
Near->The closest point of the camera uptill where the drawing will occur.
Far->The furthest point of the camera uptill where the drawing will occur.
RENDERING
Rendering makes an object appear on the screen. A game object or component can be make rendered through a renderer property:
renderer.enabled=true;
Example:-
renderer.enabled = true;
function
Update ()
{
var seconds :
int = Time.time;
var oddeven =
(seconds % 2) == 0;
renderer.enabled = oddeven;
}
With the help of renderer we can make any object, material or mesh visible.
MATERIALS and SHADERS
Materials are used with Mesh attached to the GameObject.
There is a close relationship between Materials and Shaders in Unity.
Materials define how an object is displayed whereas
Shaders define what kind of properties to be used. The properties can be colors, sliders, textures, numbers, or vectors.
Material can use a particular type of Shader.
Materials include a reference to the Shader used to render the Mesh or Particles,
so these Components can not be displayed without some kind of Material.
Properties Of Material
Shader:- The Shader will be used by the Material.
Main Color:- Any kind of color tint can be applied. Use white for no tint.
Base:- The Texture that will be displayed.
TEXTURES
Textures are the images that we apply around our objects.
Textures brings life to the Meshes, Particles and interfaces.
0 Comment(s)