⚡ v0.125.0 VRMShaders の整理
https://github.com/vrm-c/UniVRM/releases/tag/v0.125.0
https://github.com/vrm-c/UniVRM/milestone/90?closed=1
Updates
v0.125.0 に含まれる更新
VRMShaders パッケージを UniGLTF パッケージに合流して整理しました
https://github.com/vrm-c/UniVRM/issues/2337
`// Packages/manifest.json
{
"dependencies": {
// v0.125.0 から com.vrmc.vrmshaders の記述は不要になります。
"com.vrmc.vrmshaders": "https://github.com/vrm-c/UniVRM.git?path=/Assets/VRMShaders#v0.124.2",
}
}
VRMC_springBone_extended_collider
spec version 1.0
Resources の整理
開発プロジェクトのURP化
URP 対応状況
exporter の URP 対応着手
URP の editor import 未対応
Breaking Changes
Resources
ディレクトリからのシェーダ移動にともなう対応
アプリケーションのビルド時間短縮・ビルドサイズ削減のため、UniVRM の Resources
ディレクトリからシェーダを移動しました。
これに伴い、いくつかのシェーダを Unity プロジェクトに登録する必要があります。
詳しくは以下のページを参照してください。
glTF ファイルを扱うアプリの場合
RenderPipeline に応じて以下のシェーダを Project Settings の Always Included Shaders に追加してください。
Built-in RP | URP | |
---|---|---|
Standard | ✅ | - |
Univesal Render Pipeline/Lit | - | ✅ |
UniGLTF/UniUnlit | ✅ | ✅ |
VRM 0.X ファイルを扱うアプリの場合
RenderPipeline に応じて以下のシェーダを Project Settings の Always Included Shaders に追加してください。
Built-in RP | URP | |
---|---|---|
Standard | ✅ | - |
Univesal Render Pipeline/Lit | - | ✅ |
UniGLTF/UniUnlit | ✅ | ✅ |
VRM/MToon | ✅ | - |
URP用 MToon シェーダ(未実装) | - | - |
VRM 1.0 ファイルを扱うアプリの場合
RenderPipeline に応じて以下のシェーダを Project Settings の Always Included Shaders に追加してください。
Built-in RP | URP | |
---|---|---|
Standard | ✅ | - |
Univesal Render Pipeline/Lit | - | ✅ |
UniGLTF/UniUnlit | ✅ | ✅ |
VRM10/MToon10 | ✅ | - |
VRM10/Universal Render Pipeline/MToon10 | - | ✅ |
詳しい変更点は以下の PR を参照