기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


Precalculating surface lighting with lightmaps

Resources for improving performance by setting up Unity to do complicated lighting calculations ahead of time.
읽는 시간 1분최근 업데이트: 한 달 전

Resources for improving performance by setting up Unity to do complicated lighting calculations ahead of time, either by baking lightmaps into a build or creating lightmaps at runtime.

Page

Description

Global illuminationLearn about baking lightmaps before runtime, or creating lightmaps at runtime using Enlighten Realtime Global Illumination.
Baking lightmaps before runtimeResources for precalculating the lit colors of GameObjects and storing them in textures called lightmaps.
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.
Configuring 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.