Surface lighting with global illumination
Choose how Unity calculates the indirect light that surfaces in your scene receive, and set it up.
읽는 시간 1분최근 업데이트: 5일 전
Unity can calculate the indirect light that bounces onto the surfaces of your scene before runtime, while your application runs, or with a combination of both. Each approach trades runtime cost against how freely your lighting can change.
Page | Description |
|---|---|
| Introduction to global illumination | Compare the ways Unity calculates indirect lighting, and choose the approach that suits your project. |
| Bake lightmaps before runtime | Resources for precalculating the indirect lighting of GameObjects and storing it in textures called lightmaps. |
| Configure lightmapping | Resources for choosing between baked and real-time lightmapping, and changing how GameObjects contribute to lightmaps. |
| Lightmap UVs and packing | Learn how Unity generates and packs lightmap UVs to store illumination for static geometry. |
| Update lightmaps at runtime with Enlighten Realtime Global Illumination | Resources for using Enlighten to precalculate visibility information, which Unity uses to create and update lightmaps at runtime. |
| Real-time global illumination with Surface Cache | Understand how Surface Cache Global Illumination lights a scene at runtime, what it requires, and where its limits are. |