How to use the DepthLimitedBlurShader function from three

Find comprehensive JavaScript three.DepthLimitedBlurShader code examples handpicked from public code repositorys.

785
786
787
788
789
790
791
792
793
794
}

this.vBlurMaterial = new THREE.ShaderMaterial( {
	uniforms: THREE.UniformsUtils.clone( THREE.DepthLimitedBlurShader.uniforms ),
	defines: Object.assign( {}, THREE.DepthLimitedBlurShader.defines ),
	vertexShader: THREE.DepthLimitedBlurShader.vertexShader,
	fragmentShader: THREE.DepthLimitedBlurShader.fragmentShader
} );
this.vBlurMaterial.defines[ 'DEPTH_PACKING' ] = this.supportsDepthTextureExtension ? 0 : 1;
this.vBlurMaterial.defines[ 'PERSPECTIVE_CAMERA' ] = this.camera.isPerspectiveCamera ? 1 : 0;
fork icon3
star icon7
watch icon1

+ 107 other calls in file

Other functions in three

Sorted by popularity

function icon

three.Vector3 is the most popular function in three (22341 examples)