从零开始Unity3D游戏开发【3烘焙】

烘焙:通过烘焙能把动态场景转化为静态场景。从而提高游戏的性能。

【烘焙步骤】

1.Edit---Player---Rendering[forword]

2.Directional light(必须是这个灯光)---Show Type[soft shadows]

3.在场景中,地面设置为static,目标无敌设置为static

 

最后,可以进行烘焙了。

window--Light Mapping[Bake  Scence]

posted @ 2014-11-22 15:33  code_dream  阅读(509)  评论(0编辑  收藏  举报