Currently, I am immersed in a Three.js project that involves integrating multiple images into a 3D space. My approach so far has been to directly use these images as textures on planes. However, the challenge lies in the fact that these images vary in height and width. This discrepancy has led me to ponder whether there exists a method for the plane to adjust its size based on the dimensions of the textures, or at least maintain proportionality.
I have attempted to find a solution but haven't had any success thus far. If anyone out there can provide guidance or advice on this matter, it would be greatly appreciated!