Build Application¶
Precautions for building applications that use UniVRM
Shaders to include in the build¶
Project Settings = Graphics - Always Included Shaders
などに設定して、以下のシェーダーがビルドに含まれるようにしてください。
URP¶
Standard¶
Universal Render Pipeline/Lit
Unlit¶
Assets\VRMShaders\GLTF\UniUnlit\Resources\UniGLTF\UniUnlit.shader
Always Included Shaders
Since it is placed in Resources
, it will be included in the build even if it is not explicitly specified.
MToon¶
Assets/VRMShaders/VRM10/MToon10/Resources/VRM10/vrmc_materials_mtoon_urp.shader
Always Included Shaders
Since it is placed in Resources
, it will be included in the build even if it is not explicitly specified.
builtin¶
Standard¶
Standard
Used by GLTF PBR materials.
Always Included Shaders
Must be explicitly specified
Unlit¶
Assets\VRMShaders\GLTF\UniUnlit\Resources\UniGLTF\UniUnlit.shader
Always Included Shaders
Since it is placed in Resources
, it will be included in the build even if it is not explicitly specified.
MToon¶
Assets\VRMShaders\VRM\MToon\MToon\Resources\Shaders\MToon.shader
Always Included Shaders
Since it is placed in Resources
, it will be included in the build even if it is not explicitly specified.
テクスチャー変換用のシェーダー¶
import/export 時に使用します。
Note
ビルトイン/URP の両方で使われます
Assets\VRMShaders\GLTF\IO\Resources\UniGLTF\NormalMapExporter.shader
Assets\VRMShaders\GLTF\IO\Resources\UniGLTF\StandardMapExporter.shader
Assets\VRMShaders\GLTF\IO\Resources\UniGLTF\StandardMapImporter.shader
Always Included Shaders
Since it is placed in Resources
, it will be included in the build even if it is not explicitly specified.
URP package が必要です¶
未インストールの場合は PackageManager から URP package をインストールしてください
エラーメッセージ