Dynamic real-time lighting is very resource-intensive compared to static lighting. So in addition to the dynamic characters and objects (such as can be beaten around the flying oil barrels) static terrain and buildings, all use Lightmap.
powerful Unity has built-in a powerful lighting map Baking tool Beast, which is the product of Autodesk Company (horrible monopoly, feeling and 3d of software to be plugged in one hand). It is said to have been used to make the edge of the killing strip and mirror.
Mirror edge of the architectural scene beautiful clean lighting, lightmap effect.
It is easy to make lightmap in unity, and you can bake them directly after adjusting several parameters. Support Gi,skylight,
first-Class effect!!! Of course you need a better machine, or you'll have to wait for a long baking process.
Built-in lighting map baking tool Beast
p Scene preparation and lighting map baking
Click Window--- lightmapping to open the lighting map baking panel :
1. Verify that all the mesh bodies that will be used to bake the light map Uvs are correct. The simplest approach is to select the Generate lightmap uvs option in the Mesh import settings ( Beas T auto-split UV)
2. Mark all mesh bodies or terrains as static – in object panel This will tell unity, these objects will not be moved and changed and can be given a light map.
3. To control the accuracy of the illumination map , enter the Bake Panel and adjust the value of the Resolution . (To get a better understanding of your lightmap texels usage , find lightmap Display in the scene window Small window and select Show Resolution).
1. Click the Bake button.
2. Unity Editor ' s will appear with a progress bar in the lower right corner .
3. When the baking is finished , the Lightmap editor window displays the already baked light map .
Scene and game views are automatically updated at the same time – now your scene has the effect of a light map !
Unity Lightmap's settings are more detailed and high-end content, please refer to your own documentation, that is the king!!!!!
Unity3d Game scene Optimization talk (2)