Răsfoiți Sursa

Removed unneeded transparent flag in webgl_shadowmap_pointlight example.

Mr.doob 7 ani în urmă
părinte
comite
0f94a269c1
1 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  1. 1 2
      examples/webgl_shadowmap_pointlight.html

+ 1 - 2
examples/webgl_shadowmap_pointlight.html

@@ -83,8 +83,7 @@
 					var material = new THREE.MeshPhongMaterial( {
 						side: THREE.DoubleSide,
 						alphaMap: texture,
-						alphaTest: 0.5,
-						transparent: true
+						alphaTest: 0.5
 					} );
 
 					var sphere = new THREE.Mesh( geometry, material );