vrm-c / UniVRM

UniVRM is a gltf-based VRM format implementation for Unity. English is here https://vrm.dev/en/ . 日本語 はこちら https://vrm.dev/
https://vrm.dev/en
MIT License
2.58k stars 418 forks source link

Exporting issue on URP Lit Materials with transparency #2387

Open 0b5vr opened 1 month ago

0b5vr commented 1 month ago

環境情報

バグについて

Surface TypeがTransparentのURP/Litを持つVRMモデルを出力しようとしたところ、不透明で出力されました。

image

中身のglTFを見たところ、以下のように、 "alphaMode": "BLEND" がない状態で出力されていました。 metallicFactorroughnessFactor についても、Unityで設定した値が設定されていなさそうでしょうか……?

    {
      "doubleSided": false,
      "name": "PBR_Transparent",
      "pbrMetallicRoughness": {
        "baseColorFactor": [
          1,
          1,
          1,
          0.2509804
        ],
        "metallicFactor": 1,
        "roughnessFactor": 1
      }
    }
Santarh commented 4 weeks ago

報告ありがとうございます。 URP での Export は現状まだ未サポートです。対応をお待ちください。