Skip to content

Commit 6310a99

Browse files
gabrieldelacruzGitHub Enterprise
authored andcommitted
Setting ZClip in shadow caster templates (#99)
* Setting ZClip in shadow caster templates Shadows from directional lights where culled by the near plane in some cascades Added ZClip [_ZClip] to every PassShadowCaster.template file. * Update CHANGELOG.md Update changelog * Modify graphic test for vfx shadows to test ZClip Added an extra particle mesh output that could potentially be clipped by the near plane in some cascades
1 parent 61505d8 commit 6310a99

File tree

15 files changed

+1237
-15
lines changed

15 files changed

+1237
-15
lines changed

TestProjects/VisualEffectGraph_HDRP/Assets/AllTests/VFXTests/GraphicsTests/08_Shadows.unity

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,7 @@ GameObject:
734734
- component: {fileID: 1849253499}
735735
- component: {fileID: 1849253498}
736736
- component: {fileID: 1849253500}
737+
- component: {fileID: 1849253501}
737738
m_Layer: 0
738739
m_Name: Visual_Effect_Shadow
739740
m_TagString: Untagged
@@ -833,3 +834,23 @@ VFXRenderer:
833834
m_SortingLayerID: 0
834835
m_SortingLayer: 0
835836
m_SortingOrder: 0
837+
--- !u!114 &1849253501
838+
MonoBehaviour:
839+
m_ObjectHideFlags: 0
840+
m_CorrespondingSourceObject: {fileID: 0}
841+
m_PrefabInstance: {fileID: 0}
842+
m_PrefabAsset: {fileID: 0}
843+
m_GameObject: {fileID: 1849253497}
844+
m_Enabled: 1
845+
m_EditorHideFlags: 0
846+
m_Script: {fileID: 11500000, guid: 20f198885badb1f4fa1e65869995ff82, type: 3}
847+
m_Name:
848+
m_EditorClassIdentifier:
849+
ImageComparisonSettings:
850+
TargetWidth: 512
851+
TargetHeight: 512
852+
PerPixelCorrectnessThreshold: 0
853+
AverageCorrectnessThreshold: 0.00001
854+
UseHDR: 0
855+
UseBackBuffer: 0
856+
ImageResolution: 0

0 commit comments

Comments
 (0)