I’m currently working on a project where I change my assets from .obj to .glb.
I solved most of the annoying cases that can be encountered while doing the transition but there’s till something which I don’t really know how to manage.
The UVs of all my glb seems to be inverted in Y so I tried to solve this by setting my textures to
InvertY = false inside the constructor of Texture.
It works however there are also meshes that I create with the MeshBuilder which are fine and get the texture inverted if I set InvertY to false.
The thing is when I call the constructor I’m in a case where I don’t know if it’s a remote model or a procedural and what could have helped me is to set the InvertY property afterward but I get an error when I try to because the property only has a getter.
So is there a way to set it when I want to and avoid to set it inside the constructor or change something on the material where I apply my texture ?
Thanks for helping !