Build Application

-

UniVRMを使うアプリケーションのビルドに関する注意事項

+

Precautions for building applications that use UniVRM

Shaders to include in the build

-

Set Project Settings = Graphics - Always Included Shaders to included in the build

+

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

+
+

Standard

+
    +
  • Standard

  • +
+

Used by GLTF PBR materials.

+
+

Always Included Shaders

+

明示的に指定する必要があります

+
+

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

@@ -339,6 +358,10 @@
  • 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.

    +
    @@ -396,6 +419,7 @@