Skip to content
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

fix tangentless mesh #271

Merged
merged 4 commits into from
Jul 24, 2023
Merged

fix tangentless mesh #271

merged 4 commits into from
Jul 24, 2023

Conversation

nil-vr
Copy link
Contributor

@nil-vr nil-vr commented Jul 23, 2023

I noticed when using any of the mesh modifying tools with Mamehinata, the outlines would disappear. I tracked it down to a problem with meshes that are imported with "Tangents: None". MeshInfo2 assumed that all meshes have tangents and would assign tangents to the new mesh.

メッシュを変更する道具はまめひなたちゃんに使うと輪郭を消するのを気づきました。FBXを入る時に「Tangents: None」を使うの問題が見つけました。MeshInfo2はtangentなしメッシュがありませんと思い込みて新しいメッシュにtangentを入りました。

The Unity documentation says that normals are also optional. Unityの文献集はnormalがないメッシュもあると言います。

Mamehinata's FBX import settings:

image

Demo scene that demonstrates the issue without Mamehinata (requires liltoon and AvatarOptimizer):

demo.zip

@anatawa12
Copy link
Owner

ご指摘ありがとうございます。

@anatawa12 anatawa12 enabled auto-merge July 24, 2023 01:54
@anatawa12 anatawa12 merged commit 1bb72dc into anatawa12:master Jul 24, 2023
4 checks passed
@nil-vr nil-vr deleted the no-tangent branch July 24, 2023 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants