reset camera clear color.

This commit is contained in:
fusijie
2018-02-26 13:47:15 +08:00
parent 723cc183a6
commit 4c2d31d28a
+1
View File
@@ -82,6 +82,7 @@ module.exports = {
this._cameraNode = new cc.Node();
this._camera = new renderEngine.Camera();
this._camera.setColor(0, 0, 0, 1);
this._camera.setFov(Math.PI * 60 / 180);
this._camera.setNear(0.1);
this._camera.setFar(1024);