提交 665ea8dd 编写于 作者: A aardgoose

remove UniformsUtils

上级 a1e741ed
......@@ -49,7 +49,7 @@ THREE.ShadowMapViewer = function ( light ) {
//HUD for shadow map
var shader = THREE.UnpackDepthRGBAShader;
var uniforms = new THREE.UniformsUtils.clone( shader.uniforms );
var uniforms = Object.assign( {}, shader.uniforms );
var material = new THREE.ShaderMaterial( {
uniforms: uniforms,
vertexShader: shader.vertexShader,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册