Hi,
I have a MeshPhongMaterial with map that has an image (that is loaded via THREE.TextureLoader)
The image appears rotated by 90 degrees in the scene
I have another material of type SpriteMaterial with map that has an image that I can rotate, by setting the rotation flag:
let rotationVal = (-Math.PI / 2);
var material = new THREE.SpriteMaterial( { map: map2,
color: 0xffffff,
rotation: rotationVal,
fog: true } );
The SpriteMaterial has a rotation variable, but the MeshPhongMaterial doesn’t
How can I rotate the map image in the MeshPhongMaterial by 90 degrees?
Thanks,
Avner