UniVRM/Assets/VRMShaders
Takayuki Matsuoka a68d0122ce BREAKING CHANGE: Introduce NextFrameIfTimedOut as a new interface method of IAwaitCaller
This is a breaking change since it introduces new interface method to IAwaitCaller.

----

NextFrameIfTimedOut() is added to IAwaitCaller.  The following inheritors also introduce the method.

- ImmediateCaller.NextFrameIfTimedOut() just invokes NextFrame().
- RuntimeOnlyAwaitCaller.NextFrameIfTimedOut() invokes NextFrame() if timed out.  Otherwise, do nothing.
- RuntimeOnlyNoThreadAwaitCaller.NextFrameIfTimedOut() works same as RuntimeOnlyAwaitCaller.

Constructor of RuntimeOnlyAwaitCaller and RuntimeOnlyNoThreadAwaitCaller
now take argument of timeout in seconds.  The default value is 1/1000 (1 milliseconds).

See also:
https://github.com/vrm-c/UniVRM/pull/1781#pullrequestreview-1100131840
2022-09-08 17:39:05 +09:00
..
Documentation add upm documentation for VRM and VRMShaders 2020-07-21 12:54:09 +09:00
GLTF BREAKING CHANGE: Introduce NextFrameIfTimedOut as a new interface method of IAwaitCaller 2022-09-08 17:39:05 +09:00
VRM VRMShaders.PathObject を追加。 MigrationMenu で使う。 2022-06-02 17:56:36 +09:00
VRM10 MToon10にて、Android端末でUVスクロールがカクつく問題を修正 2022-03-16 15:57:54 +09:00
CHANGELOG.md add upm documentation for VRM and VRMShaders 2020-07-21 12:54:09 +09:00
CHANGELOG.md.meta add upm documentation for VRM and VRMShaders 2020-07-21 12:54:09 +09:00
Documentation.meta add upm documentation for VRM and VRMShaders 2020-07-21 12:54:09 +09:00
GLTF.meta Refactoring VRMShaders directory & asmdef 2021-04-08 20:19:37 +09:00
LICENSE.md add upm documentation for VRM and VRMShaders 2020-07-21 12:54:09 +09:00
LICENSE.md.meta add upm documentation for VRM and VRMShaders 2020-07-21 12:54:09 +09:00
package.json fix missing commit 2022-08-02 18:07:32 +09:00
package.json.meta add VRMShaders/package.json 2020-06-19 13:03:32 +09:00
README.md Export dialog のバリデーターを整理 2020-11-10 16:37:22 +09:00
README.md.meta add README in vrm and vrmshaders folder 2020-07-21 13:21:58 +09:00
VRM.meta Refactoring VRMShaders directory & asmdef 2021-04-08 20:19:37 +09:00
VRM10.meta Refactoring VRMShaders directory & asmdef 2021-04-08 20:19:37 +09:00

VRMShaders

VRM model's supported shaders in Unity.

Shader と関連するユーティリティを切り離したパッケージ。

含まれるシェーダー

UniUnlit

  • Gltfの Unlit に適合するようにした。Unlit シェーダー

MToon

UniGLTF.ShaderPropExporter.PreShaderPropExporter

Unityでは、ランタイムにMaterialのPropertyを列挙することができない。 Set/Get はできる。 事前に一覧を作成するユーティリティ。

UPM usage (Unity 2019.3.4f1~)

Window -> Package Manager -> Add package from git URL and paste https://github.com/vrm-c/UniVRM.git?path=/Assets/VRMShaders.

or add the package name and git URL in Packages/manifest.json:

{
  "dependencies": {
    "com.vrmc.vrmshaders": "https://github.com/vrm-c/UniVRM.git?path=/Assets/VRMShaders",
  }
}