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