How to use the UnpackDepthRGBAShader function from three

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

839
840
841
842
843
844
845
846
847
}

this.depthCopy = new THREE.ShaderMaterial( {
	uniforms: THREE.UniformsUtils.clone( THREE.UnpackDepthRGBAShader.uniforms ),
	vertexShader: THREE.UnpackDepthRGBAShader.vertexShader,
	fragmentShader: THREE.UnpackDepthRGBAShader.fragmentShader,
	blending: THREE.NoBlending
} );
this.fsQuad = new THREE.FullScreenQuad( null );
fork icon3
star icon7
watch icon1

+ 35 other calls in file

Other functions in three

Sorted by popularity

function icon

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