"Unity" 5.2 Days Empty Box

Source: Internet
Author: User
Tags unity 5

Categories: Unity, C #, VS2015

Date Created: 2016-04-20 I. INTRODUCTION

The Sky box in unity is actually a material that uses a special type of shader, a material that hangs out of the entire game scene and simulates a similar vision, sky, and other effects based on the texture specified in the material, making the game scene look more complete. Second, collect the Sky box and pack

Because the sky boxes used in different scenarios may be different, as game developers, you can usually pay attention to collecting some common sky boxes and exporting them to a skyboxes. The Unitypackage. This way, when you want to use a project in the future, you can simply import the required one or more sky boxes from the package.

The Ch05demos project is a collection of some sky boxes. As shown in the following:

Iii. Specifying the Sky box for the camera

Import skyboxes in the project. After one or more sky boxes in the Unitypackage, you can specify which Sky box is used in the camera of different scenes.

1, designated Sky Box

Here's a quick overview of how to specify a sky box in Unity 5.x.

1. Select the camera object in the hierarchy view and click the "Component", "Rendering", "skybox" option in the menu bar, which adds a Sky box component to the camera. As shown in the following:

2. In the viewer view, specify the Sky box used for this camera. As shown in the following:

As a result, the default Sky box in the current scene is automatically replaced with the sky box you specified.

2. Tips

If you have a Sky box (Skybox) assigned to the camera, make sure that the camera's Sky Box (Skybox) is set to clear mode.

The color of Fog (FOG) is a good idea to match the color of the sky box. You can set the color of Fog (FOG) in the render settings. Four, make the sky box yourself

In addition to collecting sky boxes made by others, if you collect sky boxes that still do not meet the requirements, you can also make new sky boxes on your own request.

Please refer to the other materials for the specific production method, which is not introduced here.

"Unity" 5.2 Days Empty Box

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.