webaverse-studios / webaverse

An open metaverse engine for everyone
https://moemate.io
47 stars 23 forks source link

Failure to handle non square textures for the auto character atlasing. #103

Open GuiltyRegicide opened 1 year ago

GuiltyRegicide commented 1 year ago

Describe the bug If a VRM is uploaded with non - square resolution textures, those textures fail to load properly.

To Reproduce 1: create avatar with more then one material, and have it be non 1:1 ratio. 2: upload the character into webaverse by the drag n drop method. 3: observe the textures being incorrectly displayed on the model.

Expected behavior The auto atlas feature should be able to handle arbitrary texture sizes.

Screenshots image image image