Hey there, I'm trying to apply a texture (around 300x300) to a simple box model using a box model.
Here's the code I'm currently using to load the material:
new THREE.MeshBasicMaterial( { map: new THREE.TextureLoader().load( 'materials/orange.jpg' ), shininess: 50, shading: THREE.SmoothShading })
The problem I'm facing is that the material is only showing the top left pixel, making it look like a 1x1 model. I'm looking for a solution that allows the texture to stretch and appear as 300x300 on the model.
Any assistance would be greatly appreciated. Thanks, Ed.