Fix issues with lighting and occlusion

This commit is contained in:
Toomas Tamm
2021-04-06 20:33:49 +03:00
parent 9974f48261
commit 08d2cfbe0d
153 changed files with 10837 additions and 1592 deletions

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 9b0090a4482bbf14db4797abeeb74e2d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@@ -0,0 +1,102 @@
fileFormatVersion: 2
guid: 2b68be45c125f1349b5ed931154ffd23
ModelImporter:
serializedVersion: 20200
internalIDToNameTable: []
externalObjects: {}
materials:
materialImportMode: 2
materialName: 0
materialSearch: 1
materialLocation: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
resampleCurves: 1
optimizeGameObjects: 0
motionNodeName:
rigImportErrors:
rigImportWarnings:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0
importConstraints: 0
animationCompression: 1
animationRotationError: 0.5
animationPositionError: 0.5
animationScaleError: 0.5
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations: []
isReadable: 0
meshes:
lODScreenPercentages: []
globalScale: 1
meshCompression: 0
addColliders: 0
useSRGBMaterialColor: 1
sortHierarchyByName: 1
importVisibility: 1
importBlendShapes: 1
importCameras: 1
importLights: 1
fileIdsGeneration: 2
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
keepQuads: 0
weldVertices: 1
bakeAxisConversion: 0
preserveHierarchy: 0
skinWeightsMode: 0
maxBonesPerVertex: 4
minBoneWeight: 0.001
meshOptimizationFlags: -1
indexFormat: 0
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVMarginMethod: 1
secondaryUVMinLightmapResolution: 40
secondaryUVMinObjectScale: 1
secondaryUVPackMargin: 4
useFileScale: 1
tangentSpace:
normalSmoothAngle: 60
normalImportMode: 0
tangentImportMode: 3
normalCalculationMode: 4
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
blendShapeNormalImportMode: 1
normalSmoothingSource: 0
referencedClips: []
importAnimation: 1
humanDescription:
serializedVersion: 3
human: []
skeleton: []
armTwist: 0.5
foreArmTwist: 0.5
upperLegTwist: 0.5
legTwist: 0.5
armStretch: 0.05
legStretch: 0.05
feetSpacing: 0
globalScale: 1
rootMotionBoneName:
hasTranslationDoF: 0
hasExtraRoot: 0
skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0}
autoGenerateAvatarMappingIfUnspecified: 1
animationType: 2
humanoidOversampling: 1
avatarSetup: 0
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,141 @@
{
"asset":{
"version":"2.0",
"generator":"Houdini GLTF 2.0 Exporter"
},
"accessors":[
{
"bufferView":0,
"componentType":5123,
"count":3162,
"type":"SCALAR",
"min":[0
],
"max":[3161
]
},
{
"bufferView":1,
"componentType":5126,
"count":3162,
"type":"VEC3",
"min":[-1.70177305,0,-1.70177305
],
"max":[1.70177305,1.09360051,1.70177305
]
},
{
"bufferView":2,
"componentType":5126,
"count":3162,
"type":"VEC2",
"min":[0,2.50339508e-05
],
"max":[0.999976933,1
]
},
{
"bufferView":3,
"componentType":5126,
"count":3162,
"type":"VEC3",
"min":[-0.965720117,-1,-0.965512037
],
"max":[0.965720057,1,0.965511978
]
},
{
"bufferView":4,
"componentType":5125,
"count":3162,
"type":"SCALAR",
"min":[0
],
"max":[0
]
},
{
"bufferView":5,
"componentType":5126,
"count":3162,
"type":"SCALAR",
"min":[0.788376808
],
"max":[0.788376808
]
}
],
"buffers":[
{
"uri":"MaterialSample_data.bin",
"byteLength":132804,
"name":"main_buffer"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":6324,
"target":34963
},
{
"buffer":0,
"byteOffset":6324,
"byteLength":37944,
"target":34962
},
{
"buffer":0,
"byteOffset":44268,
"byteLength":25296,
"target":34962
},
{
"buffer":0,
"byteOffset":69564,
"byteLength":37944,
"target":34962
},
{
"buffer":0,
"byteOffset":107508,
"byteLength":12648,
"target":34962
},
{
"buffer":0,
"byteOffset":120156,
"byteLength":12648,
"target":34962
}
],
"nodes":[
{
"name":"grid1",
"mesh":0
}
],
"meshes":[
{
"primitives":[
{
"attributes":{
"_coverage":5,
"_numnonpacked":4,
"NORMAL":3,
"TEXCOORD_0":2,
"POSITION":1
},
"indices":0
}
]
}
],
"scenes":[
{
"nodes":[0
]
}
],
"scene":0
}

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: deab2c02f7a2a9547817f549fc6cabb3
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@@ -0,0 +1,102 @@
fileFormatVersion: 2
guid: 78dfdb2bed2a28140b7247a8783a3d13
ModelImporter:
serializedVersion: 20200
internalIDToNameTable: []
externalObjects: {}
materials:
materialImportMode: 2
materialName: 0
materialSearch: 1
materialLocation: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
resampleCurves: 1
optimizeGameObjects: 0
motionNodeName:
rigImportErrors:
rigImportWarnings:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0
importConstraints: 0
animationCompression: 1
animationRotationError: 0.5
animationPositionError: 0.5
animationScaleError: 0.5
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations: []
isReadable: 0
meshes:
lODScreenPercentages: []
globalScale: 1
meshCompression: 0
addColliders: 0
useSRGBMaterialColor: 1
sortHierarchyByName: 1
importVisibility: 1
importBlendShapes: 1
importCameras: 1
importLights: 1
fileIdsGeneration: 2
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
keepQuads: 0
weldVertices: 1
bakeAxisConversion: 0
preserveHierarchy: 0
skinWeightsMode: 0
maxBonesPerVertex: 4
minBoneWeight: 0.001
meshOptimizationFlags: -1
indexFormat: 0
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVMarginMethod: 1
secondaryUVMinLightmapResolution: 40
secondaryUVMinObjectScale: 1
secondaryUVPackMargin: 4
useFileScale: 1
tangentSpace:
normalSmoothAngle: 60
normalImportMode: 0
tangentImportMode: 3
normalCalculationMode: 4
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
blendShapeNormalImportMode: 1
normalSmoothingSource: 0
referencedClips: []
importAnimation: 1
humanDescription:
serializedVersion: 3
human: []
skeleton: []
armTwist: 0.5
foreArmTwist: 0.5
upperLegTwist: 0.5
legTwist: 0.5
armStretch: 0.05
legStretch: 0.05
feetSpacing: 0
globalScale: 1
rootMotionBoneName:
hasTranslationDoF: 0
hasExtraRoot: 0
skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0}
autoGenerateAvatarMappingIfUnspecified: 1
animationType: 2
humanoidOversampling: 1
avatarSetup: 0
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,158 @@
{
"asset":{
"version":"2.0",
"generator":"Houdini GLTF 2.0 Exporter"
},
"accessors":[
{
"bufferView":0,
"componentType":5123,
"count":8088,
"type":"SCALAR",
"min":[0
],
"max":[8087
]
},
{
"bufferView":1,
"componentType":5126,
"count":8088,
"type":"VEC3",
"min":[-11.5,-0.0350000001,-10.0349998
],
"max":[11.5,0.797091663,10.0349998
]
},
{
"bufferView":2,
"componentType":5126,
"count":8088,
"type":"SCALAR",
"min":[-1.57079661
],
"max":[0.529910564
]
},
{
"bufferView":3,
"componentType":5126,
"count":8088,
"type":"VEC2",
"min":[0.001953125,0.127374709
],
"max":[0.997011006,0.998046875
]
},
{
"bufferView":4,
"componentType":5126,
"count":8088,
"type":"VEC3",
"min":[-1,-1,-1
],
"max":[1,1,1
]
},
{
"bufferView":5,
"componentType":5125,
"count":8088,
"type":"SCALAR",
"min":[0
],
"max":[0
]
},
{
"bufferView":6,
"componentType":5126,
"count":8088,
"type":"SCALAR",
"min":[0.794953346
],
"max":[0.794953346
]
}
],
"buffers":[
{
"uri":"MaterialSampleTray_data.bin",
"byteLength":372048,
"name":"main_buffer"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":16176,
"target":34963
},
{
"buffer":0,
"byteOffset":16176,
"byteLength":97056,
"target":34962
},
{
"buffer":0,
"byteOffset":113232,
"byteLength":32352,
"target":34962
},
{
"buffer":0,
"byteOffset":145584,
"byteLength":64704,
"target":34962
},
{
"buffer":0,
"byteOffset":210288,
"byteLength":97056,
"target":34962
},
{
"buffer":0,
"byteOffset":307344,
"byteLength":32352,
"target":34962
},
{
"buffer":0,
"byteOffset":339696,
"byteLength":32352,
"target":34962
}
],
"nodes":[
{
"name":"grid1",
"mesh":0
}
],
"meshes":[
{
"primitives":[
{
"attributes":{
"_coverage":6,
"_numnonpacked":5,
"NORMAL":4,
"TEXCOORD_0":3,
"_curvature":2,
"POSITION":1
},
"indices":0
}
]
}
],
"scenes":[
{
"nodes":[0
]
}
],
"scene":0
}

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: ff1fa4dad6d1c644682ccd5bcc065ce3
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 KiB

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 15377ec3c027e41409f2158db7d2115c
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 8534290f39122a446a7bf66a085f3afe
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: