"Unity" 2.9 light source (Lights)

Source: Internet
Author: User

Categories: Unity, C #, VS2015

Date Created: 2016-03-31 I. INTRODUCTION

Light sources (Lights) are an important part of each scene. Grids and textures determine the shape and appearance of the scene, while the light source determines the color and ambience of the three-dimensional environment. You might use multiple lights in each scene. Getting them to work together requires some practice, but the results are pretty impressive. Ii. Basic Concepts

is a simple two light source setting:

You can add lights to your scene by creating additional (create other) menus from the Game object (Gameobject). Once you have added a light source, you can manipulate it as you would any other game object (Gameobject). In addition, you can add a lighting component (light Component) to any selected game object (Gameobject) using the render (Rendering), light, as Component (Component).

There are many different options in the light Component of the viewer (Inspector).

Is the light Component attribute in the viewer (Inspector):

By simply changing the color of the light source, you can give the scene a completely different atmosphere.

1. Bright and warm light

2. Dark, Medieval light

3. Ghostly Glow

The lights created in this way are real-time lights-they are calculated at every frame of the game's run. If you know that a light source is constant, you can use a light map to make your game faster and look better.

4. Render Path

Unity supports different render paths (Rendering Paths), which affect light and shadows primarily, so you can improve engineering performance by choosing the correct rendering path for your game. For more information about the render path, you can access the render path section.

5. More information

For more information on using the light source (Lights), refer to the light source (Lights) page in the reference manual.

"Unity" 2.9 light source (Lights)

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.