You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.
vrm-c/UniVRM#17 より移動
現状だとUnity以外の実装もUnity向けの情報をVRM独自拡張から解析して変換しなければならないのが辛いです。glTF標準で表現できない情報であれば仕方ありませんが、たとえばUnityの
RenderType
タグのうち透明度に関わるものはRenderType
タグmaterial.alphaMode
プロパティOpaque
OPAQUE
(デフォルトなので出力は不要)Transparent
BLEND
TransparentCutout
MASK
のように対応します。また
VRM/Unlit
系シェーダーは、すでに標準化されているKHR_materials_unlit
拡張で(ZWriteの有無以外)ほぼ表現可能です。VRM/UnlitCutout
などのシェーダーの_Cutoff
プロパティは、glTFのmaterial.alphaCutoff
に変換して表現できます。互換性のために従来の情報を維持するのはかまいませんが、これらのglTF標準の情報もエクスポートできないでしょうか。VRMの独自拡張に非対応のglTFビューアーとの相互運用性も向上すると思われます。
The text was updated successfully, but these errors were encountered: