|
@@ -192,7 +192,6 @@
|
|
|
// cloth geometry
|
|
|
clothGeometry = new THREE.ParametricGeometry( clothFunction, cloth.w, cloth.h );
|
|
|
clothGeometry.dynamic = true;
|
|
|
- clothGeometry.computeFaceNormals();
|
|
|
|
|
|
var uniforms = { texture: { type: "t", value: clothTexture } };
|
|
|
var vertexShader = document.getElementById( 'vertexShaderDepth' ).textContent;
|