浏览代码

removed "shading" property from MeshLambertMaterial

Mugen87 9 年之前
父节点
当前提交
5145a6fea3
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      examples/webgl_particles_general.html

+ 0 - 4
examples/webgl_particles_general.html

@@ -553,7 +553,6 @@
 		var groundMaterial = new THREE.MeshLambertMaterial( {
 		var groundMaterial = new THREE.MeshLambertMaterial( {
 
 
 			color: 0xffffff,
 			color: 0xffffff,
-			shading: THREE.SmoothShading,
 			map: groundTexture,
 			map: groundTexture,
 			vertexColors: THREE.NoColors,
 			vertexColors: THREE.NoColors,
 			side: THREE.BackSide
 			side: THREE.BackSide
@@ -573,7 +572,6 @@
 		var campFireMaterial = new THREE.MeshLambertMaterial( {
 		var campFireMaterial = new THREE.MeshLambertMaterial( {
 
 
 			color: 0xffffff,
 			color: 0xffffff,
-			shading: THREE.SmoothShading,
 			vertexColors: THREE.NoColors,
 			vertexColors: THREE.NoColors,
 			side: THREE.FrontSide
 			side: THREE.FrontSide
 
 
@@ -606,7 +604,6 @@
 		var rockMaterial = new THREE.MeshLambertMaterial( {
 		var rockMaterial = new THREE.MeshLambertMaterial( {
 
 
 			color: 0xffffff,
 			color: 0xffffff,
-			shading: THREE.SmoothShading,
 			vertexColors: THREE.NoColors,
 			vertexColors: THREE.NoColors,
 			side: THREE.FrontSide
 			side: THREE.FrontSide
 
 
@@ -653,7 +650,6 @@
 		var treeMaterial = new THREE.MeshLambertMaterial( {
 		var treeMaterial = new THREE.MeshLambertMaterial( {
 
 
 			color: 0xffffff,
 			color: 0xffffff,
-			shading: THREE.SmoothShading,
 			vertexColors: THREE.NoColors,
 			vertexColors: THREE.NoColors,
 			side: THREE.FrontSide
 			side: THREE.FrontSide