Guest User

Untitled

a guest
Nov 20th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. var floorTexture = THREE.ImageUtils.loadTexture( 'image.png' );
  2. var floorMaterial = new THREE.MeshBasicMaterial( { map: floorTexture, side: THREE.DoubleSide } );
  3. var floorGeometry = new THREE.PlaneGeometry(1000, 1000, 10, 10);
  4. var floor = new THREE.Mesh(floorGeometry, floorMaterial);
  5. floor.rotation.x = Math.PI / 2;`
Add Comment
Please, Sign In to add comment