VRM4U
VRM4U copied to clipboard
MacのUE5でインポート時のテクスチャ
概要 A clear and concise description of what the bug is. MacのUE5でインポートを行なった場合、テクスチャが崩れるようです。 UE4.27.2では動作しています。
Screenshots, log
UE5で読み込んだもの
UE4.27で読み込んだもの
UnrealEngine Version: [UE5]
Additional context OS:macOS 12.3.1 (21E258) 機種: iMac(24 inch M1 2021) ビルドを行ったXcodeのバージョンは13.3.1 VRMファイルはVRoid Studio 1.6.0で出力しています。 テクスチャのmerge optionはon/offに関わらず再現しています。
報告ありがとうございます。
手元のIntelMacでは再現せず、全く手がかりがない状態です… ざっくり、エディタ上でテクスチャを開いた様子や、マテリアルを開いた様子&パラメータをスクショでいただけないでしょうか?
こちらで良かったでしょうか
マテリアルインスタンス
テクスチャ
UEの5.01が来ていたのでこちらで試してみましたが結果は変わりませんでした。
ありがとうございます。この情報でOKです。
テクスチャやパラメータは正常に読めているようです。 見た目的には、マテリアル内でUVが入れ替わっている… ような挙動に見えます。
根本的な解決は難しそうな気配がします。 試しにですが、M_VrmMToonBaseOpaque に以下のノードを追加して直るか 確認頂いてもよいでしょうか?

教えていただいたノードを追加するとテクスチャは正常になりました。
ありがとうございます。
直接の原因は不明ですが、試しに修正してみました。 お時間ある時に最新をお試しください。 もしこれでダメそうなら、お手数で申し訳ないですが 前述のノードを追加してご利用ください…
UVRotate機能の組み方を、カスタムノードから UEのノードを利用したものに変更しました。
最新のもので試したところ正しく読み込めました。 ご対応ありがとうございました
こちらこそ 報告&テストありがとうございました。
Hey @nornak i am using UE5.2 and i am also trying to import VRM4U on My M1 Mac mini. i am able to build libassimb.a using terminal cmake but my unreal is crashing whenever i try importing vrm model file. can you please share the steps how you build your m1 mac compatible thirdparty files. and if you share your compiled files then i can try them also.
Hi @MrD005 I build for intel chip not for Apple Silicon, so I don't know if this will help
-
change terminal type to x86_64 in terminal, type
arch -x86_64 /bin/zsh
to change mode -
build assimp i used this option
cmake -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.15" -DCMAKE_BUILD_TYPE=Release CMakeLists.txt
cmake --build . --clean-first
I think CMAKE_OSX_DEPLOYMENT_TARGET version is different now
- copy assimp.a to VRM4U library file is at assimp/lib/libassimp.a. Copy this file to VRM4U/ThirdParty/assimp/lib/Mac
I try this over a year ago, so some things may be different