提交 67120f17 编写于 作者: A aardgoose

init time value

上级 79f879a4
...@@ -22,7 +22,7 @@ THREE.FilmPass = function ( noiseIntensity, scanlinesIntensity, scanlinesCount, ...@@ -22,7 +22,7 @@ THREE.FilmPass = function ( noiseIntensity, scanlinesIntensity, scanlinesCount,
} ); } );
this.uniforms[ "tDiffuse" ] = new THREE.Uniform(); this.uniforms[ "tDiffuse" ] = new THREE.Uniform();
this.uniforms[ "time" ] = new THREE.Uniform(); this.uniforms[ "time" ] = new THREE.Uniform( 0 );
if ( grayscale !== undefined ) this.uniforms.grayscale = new THREE.Uniform( grayscale ); if ( grayscale !== undefined ) this.uniforms.grayscale = new THREE.Uniform( grayscale );
if ( noiseIntensity !== undefined ) this.uniforms.nIntensity = new THREE.Uniform( noiseIntensity ); if ( noiseIntensity !== undefined ) this.uniforms.nIntensity = new THREE.Uniform( noiseIntensity );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册