기술 자료

Unity Engine

Download Unity

Unity Engine

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 illuminationCompare the ways Unity calculates indirect lighting, and choose the approach that suits your project.
Bake lightmaps before runtimeResources for precalculating the indirect lighting of GameObjects and storing it in textures called lightmaps.
Configure lightmappingResources for choosing between baked and real-time lightmapping, and changing how GameObjects contribute to lightmaps.
Lightmap UVs and packingLearn how Unity generates and packs lightmap UVs to store illumination for static geometry.
Update lightmaps at runtime with Enlighten Realtime Global IlluminationResources for using Enlighten to precalculate visibility information, which Unity uses to create and update lightmaps at runtime.
Real-time global illumination with Surface CacheUnderstand how Surface Cache Global Illumination lights a scene at runtime, what it requires, and where its limits are.