Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var floorTexture = THREE.ImageUtils.loadTexture( 'image.png' );
- var floorMaterial = new THREE.MeshBasicMaterial( { map: floorTexture, side: THREE.DoubleSide } );
- var floorGeometry = new THREE.PlaneGeometry(1000, 1000, 10, 10);
- var floor = new THREE.Mesh(floorGeometry, floorMaterial);
- floor.rotation.x = Math.PI / 2;`
Add Comment
Please, Sign In to add comment