Build Application

Precautions for building applications that use UniVRM

Shaders to include in the build

Project Settings = Graphics - Always Included Shaders などに設定して、以下のシェーダーがビルドに含まれるようにしてください。

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.

Shaders for texture conversion during runtime import/export

  • 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.