-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exporting textures - 3.6 changes the texture while 4.2 does not #2387
Comments
Update 3.2 and 3.3 does not have this issue. |
Hello, Another related topic: Is there still some issue regarding 4.2 that are not solved regarding hooks & MSFS? |
Hello, About perf: About MSFS: |
Thanks for looking into this. The strange thing is that 4.2 works fine - WITHOUT the MSFS hooks and code, 3.6 does not. my test is a simple cube with only the Khronos glTF code enabled. It also works fine WITHOUT the grouping of the node - it's the group nodes version that does not work. perhaps a Blender issue with inputs and outputs for group nodes. As to my other issues with 4.2, I have been able to get around the neutral_bone naming and the Opaque/Blend issues from before. Here is my hook code for 4.2 Here is my hook code for 3.6 |
Hello,
So, no more issue preventing upgrading to 4.2? |
Here is the texture - also note it's only in a group node. |
Here's what happens when you make a group Node |
Hello, You will not be able to see your texture correctly in 3.6 |
Thanks for your time spent on this and confirmation of this issue. ASOBO has proposed a work around. |
Before closing this ticket, I want to be sure that there is no blocker on my side to let you update to 4.2+ versions? |
The issues I have presented have been resolved or have work around code. So going to 4.2 should not be an issue however MSFS is evolving to 2024 version where new ASOBO extensions/features will be added. I am testing those now. This ticket can be closed. The neutral bone issue has a work around - I have not tested your fixes. There is no reason yet that a 4.2 version of ASOBO's MSFS glTF exporter cannot be used. I don't work for ASOBO, just a crazy dev user, trying to get on the bleeding edge of technology. The only concerning part in the existing code is how we export an image and get the texture_info - we currently add a fake BSDF node and directly connect a temp image texture node to the proper input based on base color, ORM, normal. We use your gather_texture_info and gather_material_normal_texture_info_class There is a complicated node structure that sometimes have two textures that combine to input to base color - gather_texture info does not work because of all the other nodes. Is there a better way to expore? |
Describe the bug
Having a texture node going to a separate RGB node and placed into a group node, and then to roughness and metallic in BSDF. Exporting this as a gltf and having the texture also exported. In Blender 3.6.5 3.6.10 and 3.6.16 and 3.6.17 the texture gets changed to all white, while I do the same in 4.2 and works as expected.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The texture should NOT be modified.
Screenshots
If applicable, add screenshots to help explain your problem.
.blend file/ .glTF (mandatory)
test_omr_compissue_2.zip
texture from source in both scenarios
3.6 export texture is test_comp.png
4.2 export
3.6 shader nodes
4.2 shader nodes
Version
Additional context
Please, This is a huge problem for a lot of MSFS developers, as they use 3.6 and we cannot use 4.2 with all the breaking changes - as I have reported in my previous issues.
The text was updated successfully, but these errors were encountered: