1,烘焙LightMap
2,让组件有右键Save功能
[ContextMenu("SaveLightMap")]
3,代码设置
render.lightmapIndex = mlightmapIndex;
render.lightmapScaleOffset = mlightmapScaleOffset;
标签:SaveLightMap,场景,LightMap,render,Unity,右键,设置,Save
来源: https://www.cnblogs.com/Jaysonhome/p/14269111.html