提交 3a86f768 编写于 作者: A aardgoose

fixup mirror,js

上级 8877a57d
......@@ -129,9 +129,9 @@ THREE.Mirror = function ( renderer, camera, options ) {
} );
this.material.uniforms.mirrorSampler.value = this.renderTarget.texture;
this.material.uniforms.mirrorColor.value = mirrorColor;
this.material.uniforms.textureMatrix.value = this.textureMatrix;
this.material.uniforms.mirrorSampler = new THREE.Uniform( this.renderTarget.texture );
this.material.uniforms.mirrorColor = new THREE.Uniform( mirrorColor );
this.material.uniforms.textureMatrix = new THREE.Uniform( this.textureMatrix );
if ( ! THREE.Math.isPowerOfTwo( width ) || ! THREE.Math.isPowerOfTwo( height ) ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册