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

Unlit/TextureをVRMに変換するとUniGLTF/UniUnlitのVertex Color Blend ModeがMultiplyになってしまう #565

Closed
masa-ibara opened this issue Sep 24, 2020 · 1 comment
Labels
Milestone

Comments

@masa-ibara
Copy link

masa-ibara commented Sep 24, 2020

バグについて
Unlit/TextureをVRMに変換するとUniGLTF/UniUnlitのVertex Color Blend ModeがMultiplyになってしまう
Unlit/TextureはVertex Colorが反映されないため、UniGLTF/UniUnlitのVertex Color Blend ModeがNoneでないと見た目に差異が出る

再現方法
Vertex Colorに暗色系の色を入れ、UniVRM>Export humanoidでVRM化

期待する動作
変換後のVRMを読み込んだ際にUniGLTF/UniUnlitのVertex Color Blend ModeがNoneになる

環境情報

  • OS: Windows 10
  • Unity version: Unity-2019.2.21f1
  • UniVRM version: 0.60.0
@ousttrue
Copy link
Contributor

現状、VColorを保持するが使わない という選択ができません。

Unlit を記録するときに、GLTFのUnlit として記録していて、 GLTF のマテリアルは、Vertex Color Blend Mode がありません。
そのため、 Import するときに Mesh が VertexColor を保持するか否かで Vertex Color Blend Mode を決めています。

対策としては、

remove_vcolor

を使ってください。

わかりにくいので、Vertex Color Blend Mode == MultiPlay の時以外は 自動で Remove Vertex Color を発動させることに変えることを検討します。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants