Browse Source

Forgot a example using flipSided.

Mr.doob 13 năm trước cách đây
mục cha
commit
43daa51ab9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/canvas_materials_video.html

+ 1 - 1
examples/canvas_materials_video.html

@@ -99,7 +99,7 @@
 				textureReflection.minFilter = THREE.LinearFilter;
 				textureReflection.magFilter = THREE.LinearFilter;
 
-				var materialReflection = new THREE.MeshBasicMaterial( { map: textureReflection, flipSided: true, overdraw: true } );
+				var materialReflection = new THREE.MeshBasicMaterial( { map: textureReflection, side: THREE.BackSide, overdraw: true } );
 
 				//