Commit Graph

48 Commits

Author SHA1 Message Date
hiroj
f44a9846e9 If Emission keyword is false, do not output a value 2019-03-18 19:54:38 +09:00
yutopp
1f4c2d080c Fix calculation. Make converters public to testing 2019-03-15 17:05:26 +09:00
yutopp
c8489af8ed Fix calculation of smoothness and roughnessFactor conversion 2019-03-15 15:38:34 +09:00
yutopp
92f501e837 Fix indents 2019-03-14 22:29:57 +09:00
yutopp
c95753fc8e Bake smoothness and roughnessFactor into textures. Treat smoothness and roughnessFactor as hardcoded-value 1.0 in Unity world (Resolve #212) 2019-03-14 22:27:14 +09:00
yutopp
5ef38e0153 Remove unused meta files 2019-03-14 19:43:39 +09:00
hiroj
9ee1aaca5c
Merge pull request #219 from dwango/fix/set_cutoff
Set _Cutoff parameters when alphaMode is MASK
2019-03-13 19:24:28 +09:00
yutopp
11d6178990
Trim unnecessary spaces 2019-03-13 17:53:30 +09:00
hiroj
fd413cb156
Merge pull request #218 from dwango/fix/propage_texture_properties
問題無いです
2019-03-13 17:23:34 +09:00
yutopp
a682ee59c2 Fix #214. Set _Cutoff parameters when alphaMode is MASK 2019-03-11 19:04:14 +09:00
yutopp
68636d4b84 Fix #213. Propagate texture properties from src to dst 2019-03-11 18:39:20 +09:00
ousttrue
47e2224e95 Runtimeエクスポーター向けのシェーダープロパティの事前定義を分離 2019-02-28 21:31:33 +09:00
ousttrue
839847e19c Fix null check 2019-02-13 08:35:01 +09:00
ousttrue
0ae38fadb2 Add ImporterContext.UseUniJSONParser. Add Test. Add nullcheck. 2019-02-13 08:35:01 +09:00
ousttrue
a0f23d3739 Add default constructor 2019-02-13 08:35:01 +09:00
j-hirose
bfff027bca Metallicマップ設定時にSmoothnessの値を復元するように修正 2019-02-07 16:58:07 +09:00
yutopp
76bc9427da
Merge pull request #173 from dwango/calc_inverseBindMatrices_if_not_exists
Calculate inverseBindMatrices(Mesh.bindposes) in SkinnedMeshRenderer.…
2019-02-05 17:20:56 +09:00
ousttrue
cb91f66969 Skip AssetPostProcessor when file in StreamingAssets folder. #166 2019-02-05 00:48:02 +09:00
ousttrue
da27a71538 Calculate inverseBindMatrices(Mesh.bindposes) in SkinnedMeshRenderer.transform local #127 2019-02-04 17:04:31 +09:00
yutopp
7d90913007 Merge branch 'master' into feature/adf 2019-01-31 22:48:32 +09:00
yutopp
1d0c2d8840 Set 'ExplicitIgnorableItemLength = 0' to glTF elements to export models without errors 2019-01-31 15:31:16 +09:00
yutopp
ad0de15096 Rearrange directory structures to support Assembly Definition Files. Add asmdef files 2019-01-29 18:07:48 +09:00
yutopp
077a6d8ddb
Merge pull request #145 from dwango/fix_asset_assign_for_avoid_overwrite
Fix asset assign for avoid overwrite
2019-01-28 16:54:07 +09:00
ousttrue
7a09b59307 Load and assign VRMBlendShapeProxy.BlendShapeAvatar when importer avoid overwrite #142 2019-01-26 17:19:08 +09:00
ousttrue
fcbea02954 Load Material when importer avoid overwrite #142 2019-01-26 17:10:08 +09:00
ousttrue
1ccef789c4 Fix exporter logic that getting node.mesh index #140 2019-01-26 16:12:10 +09:00
yutopp
885823748a Add comments 2019-01-23 23:59:02 +09:00
yutopp
21dad1497e Remove conditions for WEBGL when exporting normal map textures 2019-01-23 23:51:25 +09:00
yutopp
69ff1c7fa9 Switch logics in the shader instead of C#
Co-authored-by: Masataka SUMI <santarh@gmail.com>
Co-authored-by: junichi_hirose <junichi_hirose@dwango.co.jp>
2019-01-23 22:27:34 +09:00
ousttrue
6b5edd383d
Merge pull request #131 from dwango/organize_menu
UniGLTF menu to VRM/UniGLTF. UniVRM menu to VRM/UniVRM
2019-01-22 01:17:32 +09:00
ousttrue
d35e42b2c4 UniGLTF menu to VRM/UniGLTF. UniVRM menu to VRM/UniVRM 2019-01-21 16:20:47 +09:00
yutopp
38a0a7a715 Remove draco related fields to ignore extensions field. Extensions are already checked by 'ExtentionsUsed' field, it is safe to remove 2019-01-17 20:58:58 +09:00
yutopp
d2709ea4fd Change a logic to check draco to a way written in the specification 2019-01-17 19:06:46 +09:00
yutopp
120dc42901 Fix a default value of glTFTexture.bufferView (Use 0 intead to save compatibility). 2019-01-17 15:00:16 +09:00
yutopp
66d8adc191 Fix validation configs for JsonSchema when converting to glb bytes 2019-01-16 17:40:19 +09:00
yutopp
da2f7b8490 Add experimental expoter option. Enable error checks for glTF 2019-01-15 17:56:44 +09:00
yutopp
8479c7c9b2 Add a test for glTF components. Fix json schema to export them correctly by using JsonSchema 2019-01-15 16:07:15 +09:00
ousttrue
e6829b268f bug fix ! 2019-01-11 17:26:09 +09:00
ousttrue
221e1e573d Fixed build warnings 2019-01-10 23:18:12 +09:00
ousttrue
0108d018e0 Allow external root 2019-01-10 18:44:57 +09:00
ousttrue
612df39e0b
Merge pull request #102 from saturday06/limit-gltf-material-emissiveFactor
Round glTF2.0 materials[].emissiveFactor value to its maximum limit
2019-01-09 23:37:34 +09:00
ousttrue
7fee636df8
Merge pull request #110 from saturday06/fix-invalid-gltf-value-output
Remove invalid json like `meshes[].primitives[].targets[].TANGENT = -1`
2019-01-09 23:35:13 +09:00
ousttrue
43eae3e9e9 UNIGLTF_DEVELOP to VRM_DEVELOP #97 2019-01-09 16:03:06 +09:00
yutopp
5dec92c374 Call base constructor 2019-01-07 14:48:51 +09:00
yutopp
29ca308f80 Use uint instead of UInt32. A base type of enums must be underlying types and uint is same as UInt32. (ref: https://docs.microsoft.com/ja-jp/dotnet/csharp/language-reference/keywords/uint) 2019-01-07 14:44:58 +09:00
Isamu Mogi
da2fb76fd4 Remove invalid json like meshes[].primitives[].targets[].TANGENT = -1
In UniVRM v0.45 invalid glTF json values like
`meshes[].primitives[].targets[].TANGENT = -1` had been removed
by UniGLTF.JsonSerializableBase.SerializeMembers(). But it was disabled
unexpectedly since v0.46's following commit:
a85b9699e7 (diff-6d81c3ba04eb19e159e64767f9dd1325L36)

Now call UniGLTF.GLTFJsonFormatter.GLTFValue() explicitly to run serializable's
SerializeMembers() for removing those values that restores UniVRM v0.45
behavior without reflections.

Fixes #105
2019-01-04 02:40:23 +09:00
Isamu Mogi
9986e5615e Round glTF2.0 materials[].emissiveFactor value to its maximum limit 2018-12-31 00:55:34 +09:00
yutopp
7938679772 Move Assets/* (expect Plugins) to Assets/VRM/* 2018-12-29 13:21:42 +09:00