plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

Please take a moment to read the platform’s guidelines before you get started!

question

tonypezz avatar image
tonypezz asked Simbol answered

Deformed texture in game only

Hello,
I am having a strange issue which occurs only once the package is imported in game.

I exported the 3D model from blender to Substsance painter and did the texture.
I imported this texture in Blender and until here, all is fine.
Then i export the model from blender to glTF2 using the mfs2020 export plugin and build the package in game.

The first picture is in substance

substance-painter.jpg

The second picture is in Blender

blender-clean.jpg

The third picture is the same model/texture once imported in gamestrech-import.jpg


As you can see in the last picture in game, some object's UV map get deformed in a strange way, this is obviously a big issue if I have a livery with some precise line since it will display it wavy.

I tried already:

- Re-unwrap the part that looks wrong

- be sure the uv map is not streched in the UV editor

- new material from scratch

- triangulate myself the mesh before import in substance painter

- there is no additional UV map channel

- The vertex color is only one

- the normals use the autosmooth from blender (also i tried to bake the normal/tangets with/without substance)

- I checked if the .DDS texture generated from the game build is streched, and it is not:

uvmap.png


I hope any of you have an idea on why this is happening.
I also hope the issue is not withing the glTF2 exporter plugin from Blender because there is no alternative so far...

Any help would be very much appreciated.
Thank you all.

aircrafttexturingblender
blender-clean.jpg (56.2 KiB)
substance-painter.jpg (105.7 KiB)
strech-import.jpg (139.0 KiB)
uvmap.png (548.5 KiB)
10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

tonypezz avatar image
tonypezz answered

any Dev that can help on this one please?

10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

DrzewieckiDesign avatar image
DrzewieckiDesign answered DrzewieckiDesign edited

We see this all the time too, this deformation issue has already been mentioned, f/e here: https://forums.flightsimulator.com/t/uv-distortion-after-building-project/387354

Basically, Asobo said that this can not be fixed on their side.

10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Simbol avatar image
Simbol answered

Have you tried the suggestion from the documentation inside the SDK? This issue is well documented by Asobo..

1624867816381.png

Shifting the UV to negative values and see if that fixes it?



1624867816381.png (109.5 KiB)
10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.