Unity 2017 游戏场景优化 - light map

1.将需要烘焙的物体设置为静态

Unity 2017 游戏场景优化 - light map

 

2.设置灯光的shadow type属性,设置为Hard Shadows,或者soft shadowsUnity 2017 游戏场景优化 - light map

 

3.将灯光的Mode属性设置为Baked

Unity 2017 游戏场景优化 - light map

4.Windows ---->Lighting ---->settings ----->global Maps

取消勾选,点击Generate Lighting 烘焙

 

 

Unity 2017 游戏场景优化 - light map