Skip to content
This repository was archived by the owner on Oct 20, 2021. It is now read-only.

Commit 33f19ac

Browse files
paulbalajizeroZshadow
authored andcommitted
Fix shadow issues (#138)
* shadow changes * Anti flickering content updates - Tweaked shadow bias and cascade ranges. Adjusted first person camera clip settings to have a further near clip and a closer far clip. Changed texture filtering settings on some environment textures. Swapped PC first person camera to use Temporal AA to try and improve general aliasing.
1 parent 6933962 commit 33f19ac

File tree

11 files changed

+264
-60
lines changed

11 files changed

+264
-60
lines changed

workers/unity/Assets/Fps/Art/Materials/Textures/T_Projected_Blank_M.png.meta

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workers/unity/Assets/Fps/Art/Materials/Textures/T_Projected_Default_M.png.meta

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workers/unity/Assets/Fps/Art/Materials/Textures/T_Projected_Default_N.png.meta

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workers/unity/Assets/Fps/Art/Materials/Textures/T_Projected_Foliage_M.png.meta

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workers/unity/Assets/Fps/Art/Materials/Textures/T_Projected_Glossy_M.png.meta

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workers/unity/Assets/Fps/Art/Materials/Textures/T_Projected_Top_M.png.meta

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workers/unity/Assets/Fps/Art/Materials/Textures/T_Projected_Variant_M.png.meta

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workers/unity/Assets/Fps/Resources/Prefabs/MobileClient/Authoritative/Player.prefab

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -504,8 +504,8 @@ Camera:
504504
y: 0
505505
width: 1
506506
height: 1
507-
near clip plane: 0.05
508-
far clip plane: 3000
507+
near clip plane: 0.12
508+
far clip plane: 2000
509509
field of view: 50
510510
orthographic: 0
511511
orthographic size: 5
@@ -601,11 +601,6 @@ PrefabInstance:
601601
m_Modification:
602602
m_TransformParent: {fileID: 4620716434285874}
603603
m_Modifications:
604-
- target: {fileID: 1620896566736479575, guid: 99c1c836e4262284d9b458f03442a4f6,
605-
type: 3}
606-
propertyPath: m_Name
607-
value: FirstPersonModel
608-
objectReference: {fileID: 0}
609604
- target: {fileID: 1371366245061083600, guid: 99c1c836e4262284d9b458f03442a4f6,
610605
type: 3}
611606
propertyPath: m_LocalPosition.x
@@ -661,6 +656,11 @@ PrefabInstance:
661656
propertyPath: m_LocalEulerAnglesHint.z
662657
value: 0
663658
objectReference: {fileID: 0}
659+
- target: {fileID: 1620896566736479575, guid: 99c1c836e4262284d9b458f03442a4f6,
660+
type: 3}
661+
propertyPath: m_Name
662+
value: FirstPersonModel
663+
objectReference: {fileID: 0}
664664
- target: {fileID: 6108130638274169511, guid: 99c1c836e4262284d9b458f03442a4f6,
665665
type: 3}
666666
propertyPath: gunSocket

workers/unity/Assets/Fps/Resources/Prefabs/UnityClient/Authoritative/Player.prefab

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -499,8 +499,8 @@ Camera:
499499
y: 0
500500
width: 1
501501
height: 1
502-
near clip plane: 0.05
503-
far clip plane: 3000
502+
near clip plane: 0.12
503+
far clip plane: 2000
504504
field of view: 55
505505
orthographic: 0
506506
orthographic size: 5
@@ -537,12 +537,12 @@ MonoBehaviour:
537537
m_Bits: 256
538538
stopNaNPropagation: 1
539539
finalBlitToCameraTarget: 1
540-
antialiasingMode: 2
540+
antialiasingMode: 3
541541
temporalAntialiasing:
542542
jitterSpread: 0.75
543-
sharpness: 0.25
543+
sharpness: 0.4
544544
stationaryBlending: 0.95
545-
motionBlending: 0.85
545+
motionBlending: 0.5
546546
subpixelMorphologicalAntialiasing:
547547
quality: 2
548548
fastApproximateAntialiasing:
@@ -596,11 +596,6 @@ PrefabInstance:
596596
m_Modification:
597597
m_TransformParent: {fileID: 4620716434285874}
598598
m_Modifications:
599-
- target: {fileID: 1620896566736479575, guid: 99c1c836e4262284d9b458f03442a4f6,
600-
type: 3}
601-
propertyPath: m_Name
602-
value: FirstPersonModel
603-
objectReference: {fileID: 0}
604599
- target: {fileID: 1371366245061083600, guid: 99c1c836e4262284d9b458f03442a4f6,
605600
type: 3}
606601
propertyPath: m_LocalPosition.x
@@ -656,16 +651,21 @@ PrefabInstance:
656651
propertyPath: m_LocalEulerAnglesHint.z
657652
value: 0
658653
objectReference: {fileID: 0}
659-
- target: {fileID: 7451537192968994047, guid: 99c1c836e4262284d9b458f03442a4f6,
654+
- target: {fileID: 1620896566736479575, guid: 99c1c836e4262284d9b458f03442a4f6,
660655
type: 3}
661-
propertyPath: m_Controller
662-
value:
663-
objectReference: {fileID: 9100000, guid: f4ed84bfa2745d546a04e298e1de998e, type: 2}
656+
propertyPath: m_Name
657+
value: FirstPersonModel
658+
objectReference: {fileID: 0}
664659
- target: {fileID: 6108130638274169511, guid: 99c1c836e4262284d9b458f03442a4f6,
665660
type: 3}
666661
propertyPath: gunSocket
667662
value:
668663
objectReference: {fileID: 114801285074366292}
664+
- target: {fileID: 7451537192968994047, guid: 99c1c836e4262284d9b458f03442a4f6,
665+
type: 3}
666+
propertyPath: m_Controller
667+
value:
668+
objectReference: {fileID: 9100000, guid: f4ed84bfa2745d546a04e298e1de998e, type: 2}
669669
m_RemovedComponents: []
670670
m_SourcePrefab: {fileID: 100100000, guid: 99c1c836e4262284d9b458f03442a4f6, type: 3}
671671
--- !u!4 &7450142387778287261 stripped

0 commit comments

Comments
 (0)