2
0
Эх сурвалжийг харах

Forgot a example using flipSided.

Mr.doob 13 жил өмнө
parent
commit
43daa51ab9

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