1
2 var texture = new THREE.TextureLoader().load( 'textures/crate.gif' );
3
4
5 var geometry = new THREE.BoxBufferGeometry( 200, 200, 200 );
6 var material = new THREE.MeshBasicMaterial( { map: texture } );
7
8
9 mesh = new THREE.Mesh( geometry, material );
10 scene.add( mesh );
11