Unity Lighting in a detailed

Source: Internet
Author: User

Lights'll bring personality and flavor to your game. Lights to illuminate the scenes and objects to create the perfect visual mood. Lights can used to simulate the sun, burning match light, flashlights, gun-fire, or explosions, just to name a few. lights will give you the character and taste of the game. You use lighting to illuminate scenes and objects to create a perfect visual atmosphere. Lights can be used to simulate the sun, burning matches, flashlights, gun flares, or explosions, and so on, not listed here.

one. Properties:   Cookies:The Alpha (Alpha) channel of this texture acts as a mask, giving light a different brightness in different places. If the light is a spotlight or directional light, this must be a 2D texture. If the light is a point light, it must be a cubic chart (Cubemap).
Cookie Size: Scale cookie projection. Only for directional light. Shadow type shadow types:A hard or soft shadow will be projected by the light. Only applies to compiling the desktop target program (PC). Soft shadows consume more resources. The castshadows on the Meshrenderer component of a 3D object can control whether a single object has a shadow, provided the light is shaded.   second, baking lightmappingreal-time lighting and shading have a great impact on game performance when the scene contains a large number of objects. Using baking techniques, you can pre-render light effects to map and then simulate shadows on objects to improve performance. Step 1:1. The game object and the ground are set to static;2. Select Window-lightmapping-bake scene The shadow of a static object can only be baked on a static object Render Path: Light source detection:



From for notes (Wiz)



Unity Lighting in a detailed

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.