فهرست منبع

customDistanceMaterial is no longer required (#25091)

WestLangley 2 سال پیش
والد
کامیت
ae6f291920
1فایلهای تغییر یافته به همراه0 افزوده شده و 7 حذف شده
  1. 0 7
      examples/webgl_shadowmap_pointlight.html

+ 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;
 
 				}