Commit Graph

14 Commits

Author SHA1 Message Date
Masataka SUMI
0a7ac08dac specify a Shader instead of a string in MaterialDescriptor. 2022-12-05 17:21:20 +09:00
Masataka SUMI
847b2703bc Remove concrete VRM shader's info from UniGLTF. 2022-12-05 17:03:48 +09:00
Masataka SUMI
2f915b4777 Take off responsibility of determining shaders from ImporterContext. 2022-12-05 16:30:43 +09:00
Masataka SUMI
aed1d170d4 make MaterialDescriptor class 2022-12-05 16:05:20 +09:00
Masataka SUMI
f8ac8075e7 use static getter instead of preprocessors. 2022-11-03 20:58:14 +09:00
ousttrue
85f4e22a98 typo 2022-10-04 17:55:49 +09:00
ousttrue
c0d7869258 より上流で防御
* Vector には Color も入っているぽい(Vector4 と Colorは実質同じ)
* Texture が無いときにも OffsetScale が入っているケースがある
2022-06-08 17:42:31 +09:00
ousttrue
b90c5026a6 unity-2021 では SetVector により offset, scale をセットするとエラー Property PROP_NAME already exists in the property sheet with a different type: 5 が発生する。 2022-06-07 17:37:07 +09:00
ousttrue
61422eb94c VRMShaders.GLTF.IO.Runtime から UniUnlit への参照を除去。MaterialFallback.cs にフォールバック情報を移動 2022-06-02 14:43:31 +09:00
ousttrue
090d86ba60 default material 2021-12-22 18:25:27 +09:00
notargs
adcf43dcbe Merge remote-tracking branch 'upstream/master' into readonly_struct_material_descriptor 2021-10-25 17:02:13 +09:00
notargs
700f033fd7 MaterialDescriptorをreadonly structに変更 2021-10-25 16:52:55 +09:00
Masataka SUMI
4d6bf7d614 不要なフォールバックになったので削除する 2021-10-22 17:10:13 +09:00
Masataka SUMI
22bb8ba01b VRMShaders.GLTF.IO.Runtime 以下のディレクトリ整理 2021-10-14 17:57:20 +09:00