Add the hero cutout to the main camera and tune the deoccluder
Attach the HeroCutout component to the Main Camera with dialed-in cone values (radius 0.42, feather/depthFeather 0.15) and lower the deoccluder MinimumDistanceFromTarget to 0.05.
This commit is contained in:
1 parent
3709bf76db
commit
1e17b90358
1 file changed
+35
-2
@@ -334,7 +334,7 @@ MonoBehaviour:
|
||||
TransparentLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
MinimumDistanceFromTarget: 0.5
|
||||
MinimumDistanceFromTarget: 0.05
|
||||
AvoidObstacles:
|
||||
Enabled: 1
|
||||
DistanceLimit: 0
|
||||
@@ -717,6 +717,7 @@ GameObject:
|
||||
- component: {fileID: 330585544}
|
||||
- component: {fileID: 330585547}
|
||||
- component: {fileID: 330585548}
|
||||
- component: {fileID: 330585549}
|
||||
m_Layer: 0
|
||||
m_Name: Main Camera
|
||||
m_TagString: MainCamera
|
||||
@@ -874,6 +875,31 @@ MonoBehaviour:
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
CustomBlends: {fileID: 11400000, guid: 47b57a7fe51fd154e975311ad293878a, type: 2}
|
||||
--- !u!114 &330585549
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 330585543}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: c7d67030b8dcdec489471b88c35dd78b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::HeroCutout
|
||||
orbitInput: {fileID: 0}
|
||||
modes: {fileID: 0}
|
||||
replaceDeoccluderPullIn: 1
|
||||
radius: 0.42
|
||||
feather: 0.15
|
||||
depthFeather: 0.15
|
||||
heightOffset: 0
|
||||
occluderMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
ignoreTag: Player
|
||||
minDistanceFromTarget: 0
|
||||
occlusionHold: 0.15
|
||||
--- !u!134 &539493728
|
||||
PhysicsMaterial:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -1882,10 +1908,17 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::HeroCutout
|
||||
orbitInput: {fileID: 0}
|
||||
modes: {fileID: 0}
|
||||
replaceDeoccluderPullIn: 1
|
||||
radius: 0.3
|
||||
feather: 0.1
|
||||
depthBias: 0.5
|
||||
depthFeather: 0.5
|
||||
heightOffset: 0
|
||||
occluderMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
ignoreTag: Player
|
||||
minDistanceFromTarget: 0
|
||||
occlusionHold: 0.15
|
||||
--- !u!21 &1752619484
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
|
||||
Reference in new issue
Block a user