Answers for "threemeshphonematerial url image three js"

0

threemeshphonematerial url image three js

var texture = new THREE.TextureLoader().load( 'textures/crate.gif' );


				var geometry = new THREE.BoxBufferGeometry( 200, 200, 200 );
				var material = new THREE.MeshBasicMaterial( { map: texture } );


				mesh = new THREE.Mesh( geometry, material );
				scene.add( mesh );
Posted by: Guest on April-10-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language