提交 64298819 编写于 作者: A aardgoose

use setFocalLength() to avoid deprecation warning

上级 45b5071f
......@@ -300,7 +300,7 @@ Use WEBGL Depth buffer support?
postprocessing.enabled = effectController.enabled;
postprocessing.bokeh_uniforms[ 'znear' ].value = camera.near;
postprocessing.bokeh_uniforms[ 'zfar' ].value = camera.far;
camera.setLens(effectController.focalLength);
camera.setFocalLength(effectController.focalLength);
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册