Folder structure

v0.104 時点で UniVRM リポジトリの Assets 下には6つのフォルダがあります。

Folders under Assets

VRMShaders

UPM package “com.vrmc.vrmshaders”.

Shaders, Materials and Textures related to gltf, vrm-0.x, vrm-1.0It summarizes the functions related to Includes UniUnlit, MToon and MToon-1.0.

See https://vrm.dev/univrm/shaders/index.html for individual shaders.

UniGLTF

UPM package “com.vrmc.gltf”. Depends on “com.vrmc.vrmshaders”.

It has gltf and glb import/export functionality. For files with extension .gltf and .glbThere is an import function of Editor.

VRM

UPM package com.vrmc.univrm. com.vrmc.vrmshaders and com.vrmc.gltf depends on.

There is an import/export function for vrm-0.x. Editor import file with extension .vrm have a function. If it is vrm-1.0, it cannot be imported.

VRM_Samples

There is a vrm-0.x example scene. It requires VRM, UniGLTF and VRMShaders to work.

VRM10

UPM package com.vrmc.vrm. com.vrmc.vrmshaders and com.vrmc.gltf depends on.

There is an import/export function of vrm-1.0.Editor import of files with extension .vrm.vrm-0.x” can be migrated.

VRM10_Samples

There is a sample scene for vrm-1.0. Depends on VRM10, UniGLTF, VRMShaders.

combination of folders

You can merge folders as long as they meet the conditions of the folders they depend on.vrm-0.x and vrm-1.0 with all folders both work.If you only use one, you can remove the one you don’t need.

Example: Install only VRM-0.X

  • VRMShaders

  • UniGLTF

  • VRM

Example: Install both VRM-1.0 and VRM-0.X

  • VRMShaders

  • UniGLTF

  • VRM

  • VRM10

Example: Install only VRM-1.0

  • VRMShaders

  • UniGLTF

  • VRM10

Example: Install only UniGLTF

  • VRMShaders

  • UniGLTF

Non-working example: install only UniGLTF

  • UniGLTF

It doesn’t work because it doesn’t have VRMShaders.