Using Device Camera – Unity3D (C#) You can get image from device camera in your scene to use for VR, player portrait etc. It’s pretty easy and tricky. Actually there is no object for device camera. We use the image captured from camera as material and display it on an […]

Using Device Camera – Unity3D (C#)

Change Camera – Unity3D (C#) Switching between multiple cameras is familiar to everybody from racing games. You can get a view from rear, front, interior etc. It’s easy to implement. If you use two or three cameras, you can assign a key to change camera and make them disabled and […]

Change Camera – Unity3D (C#)

Camera Movement with Mouse – Unity3D (C#) This type of camera controller is mostly used in RTS projects. You can move camera with mouse movement. There are two types of camera movement with mouse: Touch the edges of screen or drag the mouse. In “Drag the Mouse” movement type, player […]

Camera Movement with Mouse – Unity3D (C#)

Occlusion Culling Tutorial – Unity3D You can use occlusion culling to hide unnecessary object for camera. You don’t need the object behind the camera. So, hide it! !!(This property is free only for Unity3D 5.0 or newer versions.)!! At first, create a terrain and a cube. Edit the static choices […]

Occlusion Culling Tutorial – Unity3D

Move, Zoom and Rotate Camera – Unity3D (C#) Move: It is same as moving character. Just use keyboard buttons and move camera with a float speed variable. [crayon-650d2fb480e4b089653944/]   Zoom: To zoom with scroll wheel, we need scroll wheel input to zoom in or zoom out. [crayon-650d2fb480e5d518739764/] Rotate: I will give […]

Move, Zoom and Rotate Camera – Unity3D (C#)