瀏覽代碼

Removed unneeded transparent flag in webgl_shadowmap_pointlight example.

Mr.doob 7 年之前
父節點
當前提交
0f94a269c1
共有 1 個文件被更改,包括 1 次插入2 次删除
  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 );