Added a separate shadow caster to buckets to eliminate holes in shadows.

This commit is contained in:
Jamie Greunbaum
2024-12-24 15:28:03 -05:00
parent 8f2102b4f6
commit 59802bc793
11 changed files with 302 additions and 7 deletions
+186
View File
@@ -4407,6 +4407,90 @@ MonoBehaviour:
m_BeforeTransparentBundles: []
m_BeforeStackBundles: []
m_AfterStackBundles: []
--- !u!1001 &1100105415
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 1996911895}
m_Modifications:
- target: {fileID: -8679921383154817045, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_LocalPosition.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_CastShadows
value: 3
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_ReceiveShadows
value: 0
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_Name
value: StableBucketShadowCaster
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 3ddb0451dad252242864b32020552839, type: 3}
--- !u!4 &1100105416 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 3ddb0451dad252242864b32020552839,
type: 3}
m_PrefabInstance: {fileID: 1100105415}
m_PrefabAsset: {fileID: 0}
--- !u!136 &1133539333
CapsuleCollider:
m_ObjectHideFlags: 0
@@ -6123,6 +6207,11 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: 25a933472283f65479c44509aaa95a80,
type: 3}
propertyPath: m_CastShadows
value: 0
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: 25a933472283f65479c44509aaa95a80,
type: 3}
propertyPath: m_Materials.Array.data[0]
@@ -6179,6 +6268,10 @@ PrefabInstance:
type: 3}
insertIndex: -1
addedObject: {fileID: 1341096851}
- targetCorrespondingSourceObject: {fileID: -8679921383154817045, guid: 25a933472283f65479c44509aaa95a80,
type: 3}
insertIndex: -1
addedObject: {fileID: 2088896226}
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 25a933472283f65479c44509aaa95a80,
type: 3}
@@ -10418,6 +10511,11 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: 0f4231ba4649fae4982efeda513486ff,
type: 3}
propertyPath: m_CastShadows
value: 0
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: 0f4231ba4649fae4982efeda513486ff,
type: 3}
propertyPath: m_Materials.Array.data[0]
@@ -10444,6 +10542,10 @@ PrefabInstance:
type: 3}
insertIndex: -1
addedObject: {fileID: 1949666870}
- targetCorrespondingSourceObject: {fileID: -8679921383154817045, guid: 0f4231ba4649fae4982efeda513486ff,
type: 3}
insertIndex: -1
addedObject: {fileID: 1100105416}
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 0f4231ba4649fae4982efeda513486ff,
type: 3}
@@ -11813,6 +11915,90 @@ CapsuleCollider:
m_Height: 0.65
m_Direction: 2
m_Center: {x: 0, y: 0, z: 0.25}
--- !u!1001 &2088896225
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 1497055170}
m_Modifications:
- target: {fileID: -8679921383154817045, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.9994383
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_LocalRotation.x
value: -0.00000008940697
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_LocalRotation.y
value: -0.0000000037252903
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_LocalRotation.z
value: 0.03351285
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_CastShadows
value: 3
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_ReceiveShadows
value: 0
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 3ddb0451dad252242864b32020552839,
type: 3}
propertyPath: m_Name
value: StableBucketShadowCaster
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 3ddb0451dad252242864b32020552839, type: 3}
--- !u!4 &2088896226 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 3ddb0451dad252242864b32020552839,
type: 3}
m_PrefabInstance: {fileID: 2088896225}
m_PrefabAsset: {fileID: 0}
--- !u!1 &2119893723 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: -6499919913259150661, guid: 1eacafefeab5b0147841493b0e5a7355,