2
0
Эх сурвалжийг харах

customDistanceMaterial is no longer required (#25091)

WestLangley 2 жил өмнө
parent
commit
ae6f291920

+ 0 - 7
examples/webgl_shadowmap_pointlight.html

@@ -80,13 +80,6 @@
 					sphere.receiveShadow = true;
 					light.add( sphere );
 
-					// custom distance material
-					const distanceMaterial = new THREE.MeshDistanceMaterial( {
-						alphaMap: material.alphaMap,
-						alphaTest: material.alphaTest
-					} );
-					sphere.customDistanceMaterial = distanceMaterial;
-
 					return light;
 
 				}