diff --git a/TestProjects/HDRP_DXR_Tests/Assets/Samples/High Definition RP/MaterialSamples/Shadergraphs/SG_Eye.shadergraph b/TestProjects/HDRP_DXR_Tests/Assets/Samples/High Definition RP/MaterialSamples/Shadergraphs/SG_Eye.shadergraph
index a1bb68b4038..e2f6f02f3e8 100644
--- a/TestProjects/HDRP_DXR_Tests/Assets/Samples/High Definition RP/MaterialSamples/Shadergraphs/SG_Eye.shadergraph
+++ b/TestProjects/HDRP_DXR_Tests/Assets/Samples/High Definition RP/MaterialSamples/Shadergraphs/SG_Eye.shadergraph
@@ -65,13 +65,37 @@
},
{
"m_Id": "261f48f1fbc94ccbafc421414859c159"
+ },
+ {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
}
],
"m_Keywords": [],
- "m_Nodes": [
+ "m_Dropdowns": [],
+ "m_CategoryData": [
+ {
+ "m_Id": "dec2d123624f4d2392482719d08589d5"
+ },
+ {
+ "m_Id": "b21e085e5c844bc2a7a5bdedc8d3695c"
+ },
+ {
+ "m_Id": "53fbd192f8dd454795cdb085b345a52e"
+ },
+ {
+ "m_Id": "e9275698f33b43b8be9605f8f67bc908"
+ },
+ {
+ "m_Id": "11eb4d692c1b4adcaa57ced6429b519e"
+ },
{
- "m_Id": "51de60cc4d164e8abec305ea587ab126"
+ "m_Id": "407705ab55b84a768ef8a45175e577ff"
},
+ {
+ "m_Id": "7fdfd7fe176e46ac8406c58968b05189"
+ }
+ ],
+ "m_Nodes": [
{
"m_Id": "c0779491e5784d678b3bdba10586334a"
},
@@ -129,12 +153,6 @@
{
"m_Id": "b60b14d5e0fd4d2393f07b6e45f5daf9"
},
- {
- "m_Id": "bbe7b267a4bf415eb27c61c220570037"
- },
- {
- "m_Id": "85236978d3e34c7ba998ae09de1c1ca1"
- },
{
"m_Id": "d8d837e62b0c4ef68e88967ea71267f3"
},
@@ -195,9 +213,6 @@
{
"m_Id": "5ec1016d88c748c2886a4bbaae434650"
},
- {
- "m_Id": "59abc1723bac4f6587bfde822a6cc955"
- },
{
"m_Id": "618bfa0d2bae47248adf541e2cb607c9"
},
@@ -287,6 +302,39 @@
},
{
"m_Id": "0358f633aae44214ad01442ac8626b00"
+ },
+ {
+ "m_Id": "00184655423241c59bd694de369eb90d"
+ },
+ {
+ "m_Id": "585901d73d654034bc1523fb712e4a44"
+ },
+ {
+ "m_Id": "5dbf3ff35d5d4bf5be6e17ea85aec8a1"
+ },
+ {
+ "m_Id": "1ef5e3350c6d478fa02522623dc5980d"
+ },
+ {
+ "m_Id": "83c8468df57240089f6adeb924ae1efb"
+ },
+ {
+ "m_Id": "b5d8c47b78a147dabe97777e368cc693"
+ },
+ {
+ "m_Id": "97ef57a511a6409e8cdfd1f448e2e660"
+ },
+ {
+ "m_Id": "94b23f84805941888b6c9be7a523647d"
+ },
+ {
+ "m_Id": "7a0d802562824c2bbd243a75a4affeb2"
+ },
+ {
+ "m_Id": "17902cca546343a8a512e5050b020e77"
+ },
+ {
+ "m_Id": "ac024894f1d5456a9414b3a1cd7664ae"
}
],
"m_GroupDatas": [],
@@ -338,6 +386,20 @@
}
],
"m_Edges": [
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "00184655423241c59bd694de369eb90d"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "585901d73d654034bc1523fb712e4a44"
+ },
+ "m_SlotId": 0
+ }
+ },
{
"m_OutputSlot": {
"m_Node": {
@@ -422,6 +484,34 @@
"m_SlotId": 6
}
},
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "17902cca546343a8a512e5050b020e77"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "ac024894f1d5456a9414b3a1cd7664ae"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "1ef5e3350c6d478fa02522623dc5980d"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "83c8468df57240089f6adeb924ae1efb"
+ },
+ "m_SlotId": 1
+ }
+ },
{
"m_OutputSlot": {
"m_Node": {
@@ -551,13 +641,13 @@
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "51de60cc4d164e8abec305ea587ab126"
+ "m_Id": "585901d73d654034bc1523fb712e4a44"
},
- "m_SlotId": 0
+ "m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "73463e1ecceb4da79a7c3c989e1eb8a5"
+ "m_Id": "3471ae3dc7164995a5ec9a7d752498e9"
},
"m_SlotId": 0
}
@@ -565,15 +655,15 @@
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "59abc1723bac4f6587bfde822a6cc955"
+ "m_Id": "5dbf3ff35d5d4bf5be6e17ea85aec8a1"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "5f12ae82497545f2a48dfcd3901fc531"
+ "m_Id": "83c8468df57240089f6adeb924ae1efb"
},
- "m_SlotId": 7
+ "m_SlotId": 0
}
},
{
@@ -775,29 +865,57 @@
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "840c65cb785048018c1d6d934065b84f"
+ "m_Id": "7a0d802562824c2bbd243a75a4affeb2"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "73463e1ecceb4da79a7c3c989e1eb8a5"
+ "m_Id": "ac024894f1d5456a9414b3a1cd7664ae"
},
- "m_SlotId": 4
+ "m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "85236978d3e34c7ba998ae09de1c1ca1"
+ "m_Id": "83c8468df57240089f6adeb924ae1efb"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "485ad063759c4d53b563365cc184e7c5"
},
"m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "83c8468df57240089f6adeb924ae1efb"
+ },
+ "m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "42e9ad38b6f443eebac8a029c3b851ed"
+ "m_Id": "73463e1ecceb4da79a7c3c989e1eb8a5"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "840c65cb785048018c1d6d934065b84f"
},
"m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "73463e1ecceb4da79a7c3c989e1eb8a5"
+ },
+ "m_SlotId": 4
}
},
{
@@ -842,6 +960,20 @@
"m_SlotId": 0
}
},
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "94b23f84805941888b6c9be7a523647d"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "5f12ae82497545f2a48dfcd3901fc531"
+ },
+ "m_SlotId": 7
+ }
+ },
{
"m_OutputSlot": {
"m_Node": {
@@ -856,6 +988,20 @@
"m_SlotId": 1
}
},
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "97ef57a511a6409e8cdfd1f448e2e660"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "94b23f84805941888b6c9be7a523647d"
+ },
+ "m_SlotId": 1
+ }
+ },
{
"m_OutputSlot": {
"m_Node": {
@@ -940,6 +1086,20 @@
"m_SlotId": 1
}
},
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "ac024894f1d5456a9414b3a1cd7664ae"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "42e9ad38b6f443eebac8a029c3b851ed"
+ },
+ "m_SlotId": 0
+ }
+ },
{
"m_OutputSlot": {
"m_Node": {
@@ -971,27 +1131,27 @@
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "b60b14d5e0fd4d2393f07b6e45f5daf9"
+ "m_Id": "b5d8c47b78a147dabe97777e368cc693"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "6c010288ae084f76b3ce42686cf7edfd"
+ "m_Id": "94b23f84805941888b6c9be7a523647d"
},
- "m_SlotId": 3
+ "m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "b7d832af95c7441686257bffb710747a"
+ "m_Id": "b60b14d5e0fd4d2393f07b6e45f5daf9"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "42e9ad38b6f443eebac8a029c3b851ed"
+ "m_Id": "6c010288ae084f76b3ce42686cf7edfd"
},
"m_SlotId": 3
}
@@ -999,15 +1159,15 @@
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "bbe7b267a4bf415eb27c61c220570037"
+ "m_Id": "b7d832af95c7441686257bffb710747a"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "485ad063759c4d53b563365cc184e7c5"
+ "m_Id": "42e9ad38b6f443eebac8a029c3b851ed"
},
- "m_SlotId": 0
+ "m_SlotId": 3
}
},
{
@@ -1271,9 +1431,9 @@
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "3471ae3dc7164995a5ec9a7d752498e9"
+ "m_Id": "585901d73d654034bc1523fb712e4a44"
},
- "m_SlotId": 0
+ "m_SlotId": 1
}
}
],
@@ -1342,9 +1502,10 @@
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
- }
+ },
+ "preventRotation": false
},
- "m_Path": "Shader Graphs",
+ "m_Path": "HDRP",
"m_GraphPrecision": 0,
"m_PreviewMode": 2,
"m_OutputNode": {
@@ -1357,6 +1518,42 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "00184655423241c59bd694de369eb90d",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -2471.0,
+ "y": -1523.0,
+ "width": 135.0,
+ "height": 34.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "d5751c9bd01647d1bcd9b00ae429253e"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -1379,7 +1576,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "00f514551918453f9bc9d3f82097fc6a",
"m_Id": 0,
- "m_DisplayName": "MinimalPupilAperture",
+ "m_DisplayName": "Minimal Pupil Aperture",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -1417,6 +1614,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -1465,7 +1663,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "02eeb9f6fef446b4ae7505d6c2824e51",
"m_Id": 0,
- "m_DisplayName": "IrisClampColor",
+ "m_DisplayName": "Iris Clamp Color",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -1511,6 +1709,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
@@ -1523,7 +1722,7 @@
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
"m_ObjectId": "03e818ae56264fcc9839a8e87d83bd0f",
"m_Id": 0,
- "m_DisplayName": "ScleraTexture",
+ "m_DisplayName": "Sclera Texture",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -1580,7 +1779,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "062c12b3c858418291c6170749df392d",
"m_Id": 0,
- "m_DisplayName": "PupilRadius",
+ "m_DisplayName": "Pupil Radius",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -1753,12 +1952,14 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_TextureType": 0,
- "m_NormalMapSpace": 0
+ "m_NormalMapSpace": 0,
+ "m_EnableGlobalMipBias": true
}
{
@@ -1787,6 +1988,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -1864,12 +2066,33 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "11eb4d692c1b4adcaa57ced6429b519e",
+ "m_Name": "Limbal Ring",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "71630abf51eb4a7293b359652a7133ff"
+ },
+ {
+ "m_Id": "46252f045077431395e01818af3da66f"
+ },
+ {
+ "m_Id": "22e78a32611347ab939960145e45a6c4"
+ },
+ {
+ "m_Id": "b609691398c04e2db2bfa4a0c7b7335f"
+ }
+ ]
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "13ba55f37a194888a303d6c46614753c",
"m_Id": 0,
- "m_DisplayName": "MaximalPupilAperture",
+ "m_DisplayName": "Maximal Pupil Aperture",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -1907,6 +2130,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -1918,8 +2142,8 @@
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "14ca60ef42864e1fb86e2ac61e1abcbc",
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "149f788bb2ea44819a55199598d27c73",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
@@ -1927,19 +2151,67 @@
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
},
"m_DefaultValue": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_Labels": [
- "X",
- "Y",
- "Z"
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "14ca60ef42864e1fb86e2ac61e1abcbc",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [
+ "X",
+ "Y",
+ "Z"
]
}
@@ -1991,6 +2263,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -1998,6 +2271,33 @@
"m_Value": 0.0
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "161492aadcc74afa831b1d5cffb72111",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [
+ "X",
+ "Y",
+ "Z"
+ ]
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
@@ -2022,12 +2322,47 @@
]
}
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.PositionNode",
+ "m_ObjectId": "17902cca546343a8a512e5050b020e77",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Position",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 1942.9998779296875,
+ "y": -685.0,
+ "width": 206.0001220703125,
+ "height": 131.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "161492aadcc74afa831b1d5cffb72111"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 1,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 2,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Space": 0,
+ "m_PositionSource": 0
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "180dfdbb57f349fab94ffc9411f92ecb",
"m_Id": 0,
- "m_DisplayName": "LimbalRingFade",
+ "m_DisplayName": "Limbal Ring Fade",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -2083,12 +2418,60 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "18d972ecd4744beeb8ba268c3f75c141",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
"m_ObjectId": "1a2cbeb7bebe4e9db1fbd7aff8cb9a39",
"m_Id": 0,
- "m_DisplayName": "IrisNormal",
+ "m_DisplayName": "Iris Normal",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -2194,6 +2577,41 @@
]
}
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.PositionNode",
+ "m_ObjectId": "1ef5e3350c6d478fa02522623dc5980d",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Position",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1112.0,
+ "y": -115.0,
+ "width": 206.0,
+ "height": 131.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "4ffb1e655cd241789e2244d36be66f2e"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 1,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 2,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Space": 0,
+ "m_PositionSource": 0
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
@@ -2220,6 +2638,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2328,6 +2747,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2345,6 +2765,7 @@
"m_TransparentWritesMotionVec": false,
"m_AlphaToMask": false,
"m_DepthOffset": false,
+ "m_ConservativeDepthOffset": false,
"m_TransparencyFog": true,
"m_AlphaTestShadow": false,
"m_BackThenFrontRendering": false,
@@ -2379,6 +2800,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2393,12 +2815,15 @@
"m_Guid": {
"m_GuidSerialized": "325a1688-6c35-45f4-9581-2bdc9546fb1f"
},
- "m_Name": "LimbalRingFade",
+ "m_Name": "Limbal Ring Fade",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_6C2C412D",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -2437,6 +2862,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2499,6 +2925,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2512,12 +2939,15 @@
"m_Guid": {
"m_GuidSerialized": "31f90d24-1dd3-4541-b63b-13e08a8eac71"
},
- "m_Name": "ScleraDiffusionProfile",
+ "m_Name": "Sclera Diffusion Profile",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "DiffusionProfile_261f48f1fbc94ccbafc421414859c159",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -2637,6 +3067,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2867,6 +3298,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2880,12 +3312,15 @@
"m_Guid": {
"m_GuidSerialized": "c3743b78-816c-456f-a839-a2885a95c200"
},
- "m_Name": "MaximalPupilAperture",
+ "m_Name": "Maximal Pupil Aperture",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_49C490F5",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -2934,8 +3369,16 @@
"m_SupportLodCrossFade": false,
"m_DoubleSidedMode": 0,
"m_DOTSInstancing": false,
- "m_Version": 0,
- "m_FirstTimeMigrationExecuted": true,
+ "m_CustomVelocity": false,
+ "m_Tessellation": false,
+ "m_TessellationMode": 0,
+ "m_TessellationFactorMinDistance": 20.0,
+ "m_TessellationFactorMaxDistance": 50.0,
+ "m_TessellationFactorTriangleSize": 100.0,
+ "m_TessellationShapeFactor": 0.75,
+ "m_TessellationBackFaceCullEpsilon": -0.25,
+ "m_TessellationMaxDisplacement": 0.009999999776482582,
+ "m_Version": 1,
"inspectorFoldoutMask": 1
}
@@ -2965,6 +3408,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3123,6 +3567,18 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "407705ab55b84a768ef8a45175e577ff",
+ "m_Name": "Cornea",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "e4c0540a193245d4883c3571c17ade93"
+ }
+ ]
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -3145,7 +3601,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "42b1c1deb9104c1b976102d848b26a18",
"m_Id": 0,
- "m_DisplayName": "ScleraNormalStrength",
+ "m_DisplayName": "Sclera Normal Strength",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -3157,6 +3613,54 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "42c4dca4e629460dbc890e644559a0bc",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.EyeSurfaceTypeDebug",
@@ -3198,6 +3702,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3253,7 +3758,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "44ce9c86e38b47e99da3bbc9fd33213e",
"m_Id": 0,
- "m_DisplayName": "ScleraSmoothness",
+ "m_DisplayName": "Sclera Smoothness",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -3272,12 +3777,15 @@
"m_Guid": {
"m_GuidSerialized": "3c690643-530b-4860-af79-7c53df5328cf"
},
- "m_Name": "LimbalRingSizeSclera",
+ "m_Name": "Limbal Ring Size Sclera",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_94E1614A",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -3309,8 +3817,16 @@
"m_SupportLodCrossFade": false,
"m_DoubleSidedMode": 0,
"m_DOTSInstancing": false,
+ "m_CustomVelocity": false,
+ "m_Tessellation": false,
+ "m_TessellationMode": 0,
+ "m_TessellationFactorMinDistance": 20.0,
+ "m_TessellationFactorMaxDistance": 50.0,
+ "m_TessellationFactorTriangleSize": 100.0,
+ "m_TessellationShapeFactor": 0.75,
+ "m_TessellationBackFaceCullEpsilon": -0.25,
+ "m_TessellationMaxDisplacement": 0.009999999776482582,
"m_Version": 0,
- "m_FirstTimeMigrationExecuted": false,
"inspectorFoldoutMask": 0
}
@@ -3360,6 +3876,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3388,7 +3905,7 @@
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "490264c928004aeeabf116e1ca388f8d",
"m_Id": 0,
- "m_DisplayName": "PupilDebugMode",
+ "m_DisplayName": "Pupil Debug Mode",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -3409,10 +3926,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 2134.0,
- "y": -453.0,
- "width": 168.00001525878907,
- "height": 34.000003814697269
+ "x": 2120.0,
+ "y": -444.9999694824219,
+ "width": 173.0,
+ "height": 34.0
}
},
"m_Slots": [
@@ -3423,6 +3940,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3447,55 +3965,49 @@
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
- "m_ObjectId": "5147799b27f446ab902c01e6b3cac868",
- "m_Title": "ScleraNormalSource",
- "m_Content": "",
- "m_TextSize": 0,
- "m_Theme": 0,
- "m_Position": {
- "serializedVersion": "2",
- "x": 505.0,
- "y": 252.0,
- "width": 509.3525390625,
- "height": 410.65252685546877
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "4ffb1e655cd241789e2244d36be66f2e",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
},
- "m_Group": {
- "m_Id": ""
- }
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [
+ "X",
+ "Y",
+ "Z"
+ ]
}
{
- "m_SGVersion": 1,
- "m_Type": "UnityEditor.ShaderGraph.PositionNode",
- "m_ObjectId": "51de60cc4d164e8abec305ea587ab126",
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
+ "m_ObjectId": "5147799b27f446ab902c01e6b3cac868",
+ "m_Title": "ScleraNormalSource",
+ "m_Content": "",
+ "m_TextSize": 0,
+ "m_Theme": 0,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 505.0,
+ "y": 252.0,
+ "width": 509.3525390625,
+ "height": 410.65252685546877
+ },
"m_Group": {
"m_Id": ""
- },
- "m_Name": "Position",
- "m_DrawState": {
- "m_Expanded": true,
- "m_Position": {
- "serializedVersion": "2",
- "x": -1111.0,
- "y": -107.00000762939453,
- "width": 206.00001525878907,
- "height": 131.0
- }
- },
- "m_Slots": [
- {
- "m_Id": "dd9706f0719d4321bef6b327cc24eb17"
- }
- ],
- "synonyms": [],
- "m_Precision": 1,
- "m_PreviewExpanded": false,
- "m_PreviewMode": 2,
- "m_CustomColors": {
- "m_SerializableColors": []
- },
- "m_Space": 0
+ }
}
{
@@ -3538,6 +4050,33 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "53fbd192f8dd454795cdb085b345a52e",
+ "m_Name": "Iris",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "73563f868a3741e296c5b92abb7d4fd7"
+ },
+ {
+ "m_Id": "98eb7ede3dd544aa9d2b1b139d483b96"
+ },
+ {
+ "m_Id": "6ad8827c8f6c457a8e72c940779a3560"
+ },
+ {
+ "m_Id": "9c624b4b85b8409190389e0685a24f01"
+ },
+ {
+ "m_Id": "74ce267f1d8841ec94a07cb2b77f215f"
+ },
+ {
+ "m_Id": "bfbe0deb8ec4428a9cfcdb968651903c"
+ }
+ ]
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
@@ -3599,6 +4138,54 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "56b7c8de0b7b4e46b97d3a7141e736f4",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
@@ -3628,48 +4215,58 @@
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
- "m_ObjectId": "597786ac66034b26809b4642a16760ea",
- "m_Id": 3,
- "m_DisplayName": "Sampler",
- "m_SlotType": 0,
- "m_Hidden": false,
- "m_ShaderOutputName": "Sampler",
- "m_StageCapability": 3,
- "m_BareResource": false
-}
-
-{
- "m_SGVersion": 1,
- "m_Type": "UnityEditor.ShaderGraph.PositionNode",
- "m_ObjectId": "59abc1723bac4f6587bfde822a6cc955",
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "585901d73d654034bc1523fb712e4a44",
"m_Group": {
"m_Id": ""
},
- "m_Name": "Position",
+ "m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 1441.0001220703125,
- "y": -349.0,
- "width": 206.00001525878907,
- "height": 132.00001525878907
+ "x": -2322.0,
+ "y": -1507.0,
+ "width": 130.0,
+ "height": 118.0
}
},
"m_Slots": [
{
- "m_Id": "c117093e98d1432a90306ca98d4c7d68"
+ "m_Id": "18d972ecd4744beeb8ba268c3f75c141"
+ },
+ {
+ "m_Id": "42c4dca4e629460dbc890e644559a0bc"
+ },
+ {
+ "m_Id": "92790c493a4844a7b67b5bd447bcb330"
}
],
- "synonyms": [],
- "m_Precision": 1,
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
"m_PreviewExpanded": false,
- "m_PreviewMode": 2,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
- },
- "m_Space": 0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
+ "m_ObjectId": "597786ac66034b26809b4642a16760ea",
+ "m_Id": 3,
+ "m_DisplayName": "Sampler",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Sampler",
+ "m_StageCapability": 3,
+ "m_BareResource": false
}
{
@@ -3740,6 +4337,42 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "5dbf3ff35d5d4bf5be6e17ea85aec8a1",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1041.0,
+ "y": -155.0,
+ "width": 135.0,
+ "height": 34.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "5f3d9bb32a10452a8ef921aa93d4f2e4"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -3766,6 +4399,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3846,6 +4480,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3878,6 +4513,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3887,6 +4523,21 @@
}
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "5f3d9bb32a10452a8ef921aa93d4f2e4",
+ "m_Id": 0,
+ "m_DisplayName": "Mesh Scale",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -3974,12 +4625,14 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_TextureType": 0,
- "m_NormalMapSpace": 0
+ "m_NormalMapSpace": 0,
+ "m_EnableGlobalMipBias": true
}
{
@@ -4017,6 +4670,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4026,6 +4680,54 @@
}
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "6440e58ff5444bec9ad06be68cac6367",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -4043,12 +4745,40 @@
]
}
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "684964ae6dc74d5f83ee7912478c9f82",
+ "m_Guid": {
+ "m_GuidSerialized": "4087c4df-8e4e-43e0-82a3-c6f6c8284dff"
+ },
+ "m_Name": "Mesh Scale",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Mesh Scale",
+ "m_DefaultReferenceName": "_Mesh_Scale",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 1.0,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
"m_ObjectId": "697b3b1fb8e84c51bcb2d8fa4a81e056",
"m_Id": 0,
- "m_DisplayName": "ScleraNormal",
+ "m_DisplayName": "Sclera Normal",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -4056,6 +4786,54 @@
"m_BareResource": false
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "6aa314d51e2f43d38507d148e4aff603",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
@@ -4063,12 +4841,15 @@
"m_Guid": {
"m_GuidSerialized": "32ca927b-fedc-450d-9a6f-3ed9f328ee77"
},
- "m_Name": "IrisOffset",
+ "m_Name": "Iris Offset",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_76BF2124",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4122,12 +4903,40 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "6cdd9d2c72bd422e95f196685098852f",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [
+ "X",
+ "Y",
+ "Z"
+ ]
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
@@ -4174,6 +4983,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4221,10 +5031,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 1393.0,
- "y": 12.999996185302735,
- "width": 189.0,
- "height": 34.0
+ "x": 1399.0,
+ "y": 195.00001525878907,
+ "width": 194.0,
+ "height": 33.999969482421878
}
},
"m_Slots": [
@@ -4235,6 +5045,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4251,12 +5062,15 @@
"m_Guid": {
"m_GuidSerialized": "50189b63-f398-4395-bfa7-67fb002963a8"
},
- "m_Name": "MinimalPupilAperture",
+ "m_Name": "Minimal Pupil Aperture",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_2D21A623",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4276,12 +5090,15 @@
"m_Guid": {
"m_GuidSerialized": "fb074b99-476d-4c2e-8fc8-8fb0f671c188"
},
- "m_Name": "LimbalRingSizeIris",
+ "m_Name": "Limbal Ring Size Iris",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_C4ED1456",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4299,7 +5116,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "71f5d20edff741e287c6fcbba60756da",
"m_Id": 0,
- "m_DisplayName": "IrisOffset",
+ "m_DisplayName": "Iris Offset",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -4355,6 +5172,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4368,12 +5186,15 @@
"m_Guid": {
"m_GuidSerialized": "99d5e0e9-d718-4435-b820-41515fde398f"
},
- "m_Name": "IrisTexture",
+ "m_Name": "Iris Texture",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Texture2D_D8BF6575",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4382,6 +5203,8 @@
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_Guid": ""
},
+ "isMainTexture": false,
+ "useTilingAndOffset": false,
"m_Modifiable": true,
"m_DefaultType": 0
}
@@ -4393,12 +5216,15 @@
"m_Guid": {
"m_GuidSerialized": "296e2e11-fc1b-4b6e-8415-f1d88705b497"
},
- "m_Name": "IrisNormalStrength",
+ "m_Name": "Iris Normal Strength",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_FC0895C8",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4458,12 +5284,14 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_TextureType": 1,
- "m_NormalMapSpace": 0
+ "m_NormalMapSpace": 0,
+ "m_EnableGlobalMipBias": true
}
{
@@ -4473,12 +5301,15 @@
"m_Guid": {
"m_GuidSerialized": "550d8e4c-b159-40ab-af02-bb1cdcad7bb8"
},
- "m_Name": "PupilAperture",
+ "m_Name": "Pupil Aperture",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_FEA38ABB",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4504,6 +5335,42 @@
"m_BareResource": false
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "7a0d802562824c2bbd243a75a4affeb2",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 2013.9998779296875,
+ "y": -724.9999389648438,
+ "width": 135.0001220703125,
+ "height": 33.99993896484375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "d4c66259595c4c31910639b7ee5d56bd"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
@@ -4659,6 +5526,18 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "7fdfd7fe176e46ac8406c58968b05189",
+ "m_Name": "Geometry",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
+ }
+ ]
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
@@ -4691,7 +5570,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "839584f8c7684dc3bf129218cd402636",
"m_Id": 0,
- "m_DisplayName": "PupilRadius",
+ "m_DisplayName": "Pupil Radius",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -4703,6 +5582,49 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "83c8468df57240089f6adeb924ae1efb",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -892.0,
+ "y": -139.0,
+ "width": 130.0,
+ "height": 118.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "b41708ef2664458598036b9878878aa7"
+ },
+ {
+ "m_Id": "56b7c8de0b7b4e46b97d3a7141e736f4"
+ },
+ {
+ "m_Id": "6aa314d51e2f43d38507d148e4aff603"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -4729,6 +5651,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4763,39 +5686,6 @@
"m_Labels": []
}
-{
- "m_SGVersion": 1,
- "m_Type": "UnityEditor.ShaderGraph.PositionNode",
- "m_ObjectId": "85236978d3e34c7ba998ae09de1c1ca1",
- "m_Group": {
- "m_Id": ""
- },
- "m_Name": "Position",
- "m_DrawState": {
- "m_Expanded": true,
- "m_Position": {
- "serializedVersion": "2",
- "x": 2111.0,
- "y": -705.0,
- "width": 206.0,
- "height": 132.0
- }
- },
- "m_Slots": [
- {
- "m_Id": "ac3709d88f2447fda69c9d2f374695b2"
- }
- ],
- "synonyms": [],
- "m_Precision": 1,
- "m_PreviewExpanded": false,
- "m_PreviewMode": 2,
- "m_CustomColors": {
- "m_SerializableColors": []
- },
- "m_Space": 0
-}
-
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -4822,6 +5712,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4836,7 +5727,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "884ecb90d5b8473b9672e2a40766950b",
"m_Id": 0,
- "m_DisplayName": "LimbalRingIntensity",
+ "m_DisplayName": "Limbal Ring Intensity",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -4853,7 +5744,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "8968117c829146848384633130ae297a",
"m_Id": 0,
- "m_DisplayName": "LimbalRingFade",
+ "m_DisplayName": "Limbal Ring Fade",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -4877,9 +5768,9 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 2156.000244140625,
- "y": -567.0,
- "width": 126.00000762939453,
+ "x": 2167.0,
+ "y": -568.0,
+ "width": 126.0,
"height": 77.0
}
},
@@ -4896,6 +5787,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4944,12 +5836,61 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "92790c493a4844a7b67b5bd447bcb330",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -4972,7 +5913,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "942c464cf68f49bc88165e2cb86e777f",
"m_Id": 0,
- "m_DisplayName": "IrisDiffusionProfile",
+ "m_DisplayName": "Iris Diffusion Profile",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -5010,6 +5951,49 @@
"m_Space": 0
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "94b23f84805941888b6c9be7a523647d",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 1565.0001220703125,
+ "y": -70.0,
+ "width": 130.0,
+ "height": 118.00001525878906
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "97152aee741c4876bc8806266204f43c"
+ },
+ {
+ "m_Id": "d84ebc888f434f54bba39d786425b547"
+ },
+ {
+ "m_Id": "149f788bb2ea44819a55199598d27c73"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -5075,6 +6059,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5124,6 +6109,54 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "97152aee741c4876bc8806266204f43c",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.BooleanShaderProperty",
@@ -5131,12 +6164,15 @@
"m_Guid": {
"m_GuidSerialized": "b1008dd9-bee9-45cc-ab1f-3330fa868732"
},
- "m_Name": "PupilDebugMode",
+ "m_Name": "Pupil Debug Mode",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Boolean_8D34052F",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -5144,6 +6180,41 @@
"m_Value": false
}
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.PositionNode",
+ "m_ObjectId": "97ef57a511a6409e8cdfd1f448e2e660",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Position",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 1345.0,
+ "y": -46.00001907348633,
+ "width": 206.0,
+ "height": 131.00003051757813
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "6cdd9d2c72bd422e95f196685098852f"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 1,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 2,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Space": 0,
+ "m_PositionSource": 0
+}
+
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
@@ -5151,12 +6222,15 @@
"m_Guid": {
"m_GuidSerialized": "d528889a-712b-4dcd-a1bc-2aac2142f258"
},
- "m_Name": "IrisClampColor",
+ "m_Name": "Iris Clamp Color",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Color_83777D09",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -5167,6 +6241,7 @@
"b": 0.5188679099082947,
"a": 0.0
},
+ "isMainColor": false,
"m_ColorMode": 0
}
@@ -5196,6 +6271,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5244,12 +6320,15 @@
"m_Guid": {
"m_GuidSerialized": "2a196c17-a7a7-48b1-9520-057b513cbed4"
},
- "m_Name": "PupilRadius",
+ "m_Name": "Pupil Radius",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_DFF948F3",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -5269,12 +6348,15 @@
"m_Guid": {
"m_GuidSerialized": "e3f9a16c-bc56-4a1e-8a15-ccf48612996e"
},
- "m_Name": "IrisNormal",
+ "m_Name": "Iris Normal",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Texture2D_4DB28C10",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -5283,6 +6365,8 @@
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_Guid": ""
},
+ "isMainTexture": false,
+ "useTilingAndOffset": false,
"m_Modifiable": true,
"m_DefaultType": 0
}
@@ -5292,7 +6376,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "9d77071e19d3423ca2ed8c8fd60d2ef9",
"m_Id": 0,
- "m_DisplayName": "LimbalRingIntensity",
+ "m_DisplayName": "Limbal Ring Intensity",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -5347,6 +6431,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5361,7 +6446,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "9ef1bf58fdbe453892ce55ba15362018",
"m_Id": 0,
- "m_DisplayName": "ScleraDiffusionProfile",
+ "m_DisplayName": "Sclera Diffusion Profile",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -5417,6 +6502,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5428,7 +6514,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "a0126e8d78004c2392e77ec0862d8411",
"m_Id": 0,
- "m_DisplayName": "LimbalRingSizeSclera",
+ "m_DisplayName": "Limbal Ring Size Sclera",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -5445,7 +6531,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "a13dfe1d6ead44c583c8676310d6633b",
"m_Id": 0,
- "m_DisplayName": "IrisNormalStrength",
+ "m_DisplayName": "Iris Normal Strength",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -5486,10 +6572,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": -840.0,
- "y": -748.9999389648438,
- "width": 206.0,
- "height": 132.0
+ "x": -849.9999389648438,
+ "y": -766.9999389648438,
+ "width": 208.0,
+ "height": 316.0
}
},
"m_Slots": [
@@ -5500,6 +6586,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5529,7 +6616,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "a670fbbfdf0b4795855a66139af6baf0",
"m_Id": 0,
- "m_DisplayName": "CorneaSmoothness",
+ "m_DisplayName": "Cornea Smoothness",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -5639,12 +6726,15 @@
"m_Guid": {
"m_GuidSerialized": "4b020807-13bc-490b-bea7-32706d36688d"
},
- "m_Name": "ScleraSmoothness",
+ "m_Name": "Sclera Smoothness",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_F084AE9E",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -5694,29 +6784,45 @@
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "ac3709d88f2447fda69c9d2f374695b2",
- "m_Id": 0,
- "m_DisplayName": "Out",
- "m_SlotType": 1,
- "m_Hidden": false,
- "m_ShaderOutputName": "Out",
- "m_StageCapability": 3,
- "m_Value": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "ac024894f1d5456a9414b3a1cd7664ae",
+ "m_Group": {
+ "m_Id": ""
},
- "m_DefaultValue": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 2163.0,
+ "y": -709.0,
+ "width": 130.0,
+ "height": 118.0
+ }
},
- "m_Labels": [
- "X",
- "Y",
- "Z"
- ]
+ "m_Slots": [
+ {
+ "m_Id": "6440e58ff5444bec9ad06be68cac6367"
+ },
+ {
+ "m_Id": "cc489268d67f4e4eae4f55166b09b47c"
+ },
+ {
+ "m_Id": "be62d6f81f24481685d49749d2c200b3"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
}
{
@@ -5745,6 +6851,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5803,6 +6910,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5908,6 +7016,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5941,6 +7050,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5970,6 +7080,78 @@
}
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "b21e085e5c844bc2a7a5bdedc8d3695c",
+ "m_Name": "Sclera",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "e90c81090c004570bf74081a26ad8d32"
+ },
+ {
+ "m_Id": "ab7c2b6d01dd4488be459395551580e1"
+ },
+ {
+ "m_Id": "fd16faa57aeb4c229829b62bb7f7bfd5"
+ },
+ {
+ "m_Id": "c771e025477545a58f7ca8d09b3a95a3"
+ },
+ {
+ "m_Id": "261f48f1fbc94ccbafc421414859c159"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "b41708ef2664458598036b9878878aa7",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
@@ -6014,6 +7196,42 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "b5d8c47b78a147dabe97777e368cc693",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 1416.0,
+ "y": -86.0000228881836,
+ "width": 135.0,
+ "height": 34.00003433227539
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "fbd90f0016d84bfbaa75c39d3a02b20c"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
+ }
+}
+
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
@@ -6021,12 +7239,15 @@
"m_Guid": {
"m_GuidSerialized": "5025e116-d2b9-4c55-beb9-59d28f9a7355"
},
- "m_Name": "LimbalRingIntensity",
+ "m_Name": "Limbal Ring Intensity",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_A6DA845F",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -6065,6 +7286,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6086,10 +7308,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 2145.0,
- "y": -486.9999694824219,
- "width": 137.00001525878907,
- "height": 34.000003814697269
+ "x": 2154.0,
+ "y": -487.0,
+ "width": 139.0,
+ "height": 34.000030517578128
}
},
"m_Slots": [
@@ -6100,6 +7322,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6204,7 +7427,7 @@
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
"m_ObjectId": "ba6b5472da704f87a05eb3e18cec4439",
"m_Id": 0,
- "m_DisplayName": "IrisTexture",
+ "m_DisplayName": "Iris Texture",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -6255,6 +7478,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6262,39 +7486,6 @@
"m_SerializedDescriptor": "VertexDescription.Position"
}
-{
- "m_SGVersion": 1,
- "m_Type": "UnityEditor.ShaderGraph.PositionNode",
- "m_ObjectId": "bbe7b267a4bf415eb27c61c220570037",
- "m_Group": {
- "m_Id": ""
- },
- "m_Name": "Position",
- "m_DrawState": {
- "m_Expanded": true,
- "m_Position": {
- "serializedVersion": "2",
- "x": -941.9999389648438,
- "y": 418.0,
- "width": 206.0,
- "height": 131.99998474121095
- }
- },
- "m_Slots": [
- {
- "m_Id": "bfbf0634492d4b46a234e1873b9988d0"
- }
- ],
- "synonyms": [],
- "m_Precision": 1,
- "m_PreviewExpanded": false,
- "m_PreviewMode": 2,
- "m_CustomColors": {
- "m_SerializableColors": []
- },
- "m_Space": 0
-}
-
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -6355,6 +7546,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6434,6 +7626,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6443,6 +7636,54 @@
}
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "be62d6f81f24481685d49749d2c200b3",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.Rendering.HighDefinition.DiffusionProfileShaderProperty",
@@ -6450,12 +7691,15 @@
"m_Guid": {
"m_GuidSerialized": "9444b3d5-aa8b-46b7-8b27-9b6ed8fcb3e9"
},
- "m_Name": "IrisDiffusionProfile",
+ "m_Name": "Iris Diffusion Profile",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "DiffusionProfile_bfbe0deb8ec4428a9cfcdb968651903c",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -6465,39 +7709,12 @@
}
}
-{
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "bfbf0634492d4b46a234e1873b9988d0",
- "m_Id": 0,
- "m_DisplayName": "Out",
- "m_SlotType": 1,
- "m_Hidden": false,
- "m_ShaderOutputName": "Out",
- "m_StageCapability": 3,
- "m_Value": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_DefaultValue": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_Labels": [
- "X",
- "Y",
- "Z"
- ]
-}
-
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "c018d4ca2bff4bdd8cc3f7aa0623451b",
"m_Id": 0,
- "m_DisplayName": "PupilAperture",
+ "m_DisplayName": "Pupil Aperture",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -6583,6 +7800,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6605,33 +7823,6 @@
"m_BareResource": false
}
-{
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "c117093e98d1432a90306ca98d4c7d68",
- "m_Id": 0,
- "m_DisplayName": "Out",
- "m_SlotType": 1,
- "m_Hidden": false,
- "m_ShaderOutputName": "Out",
- "m_StageCapability": 3,
- "m_Value": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_DefaultValue": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_Labels": [
- "X",
- "Y",
- "Z"
- ]
-}
-
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
@@ -6678,6 +7869,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6712,12 +7904,15 @@
"m_Guid": {
"m_GuidSerialized": "dff2bf97-4646-4e48-966f-aa8e61c00f31"
},
- "m_Name": "ScleraNormalStrength",
+ "m_Name": "Sclera Normal Strength",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_70564D59",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -6901,6 +8096,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6932,6 +8128,54 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "cc489268d67f4e4eae4f55166b09b47c",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -6975,6 +8219,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7078,6 +8323,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7123,6 +8369,36 @@
"m_DefaultType": 0
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "d4c66259595c4c31910639b7ee5d56bd",
+ "m_Id": 0,
+ "m_DisplayName": "Mesh Scale",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "d5751c9bd01647d1bcd9b00ae429253e",
+ "m_Id": 0,
+ "m_DisplayName": "Mesh Scale",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
@@ -7221,6 +8497,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7228,6 +8505,54 @@
"m_SerializedDescriptor": "SurfaceDescription.BentNormal"
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "d84ebc888f434f54bba39d786425b547",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -7254,6 +8579,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7312,6 +8638,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7361,6 +8688,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7399,6 +8727,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7430,33 +8759,6 @@
]
}
-{
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "dd9706f0719d4321bef6b327cc24eb17",
- "m_Id": 0,
- "m_DisplayName": "Out",
- "m_SlotType": 1,
- "m_Hidden": false,
- "m_ShaderOutputName": "Out",
- "m_StageCapability": 3,
- "m_Value": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_DefaultValue": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_Labels": [
- "X",
- "Y",
- "Z"
- ]
-}
-
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
@@ -7483,6 +8785,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7561,6 +8864,14 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "dec2d123624f4d2392482719d08589d5",
+ "m_Name": "",
+ "m_ChildObjectList": []
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -7656,12 +8967,15 @@
"m_Guid": {
"m_GuidSerialized": "6db4e7d9-6746-4a1f-aaea-f1ded256be02"
},
- "m_Name": "CorneaSmoothness",
+ "m_Name": "Cornea Smoothness",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_8F0D1174",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -7727,6 +9041,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7797,10 +9112,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 1403.0,
- "y": 46.999996185302737,
- "width": 172.99998474121095,
- "height": 34.0
+ "x": 1409.0,
+ "y": 228.99998474121095,
+ "width": 177.0,
+ "height": 33.99998474121094
}
},
"m_Slots": [
@@ -7811,6 +9126,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7867,12 +9183,14 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_TextureType": 1,
- "m_NormalMapSpace": 0
+ "m_NormalMapSpace": 0,
+ "m_EnableGlobalMipBias": true
}
{
@@ -7935,6 +9253,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7949,12 +9268,15 @@
"m_Guid": {
"m_GuidSerialized": "0d4d34f4-8f8f-4afa-89fc-bc008c7fb200"
},
- "m_Name": "ScleraTexture",
+ "m_Name": "Sclera Texture",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Texture2D_5F873FC1",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -7963,10 +9285,36 @@
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_Guid": ""
},
+ "isMainTexture": false,
+ "useTilingAndOffset": false,
"m_Modifiable": true,
"m_DefaultType": 0
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "e9275698f33b43b8be9605f8f67bc908",
+ "m_Name": "Pupil",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "9a6d8a62273c4c4db565fa7872f3919e"
+ },
+ {
+ "m_Id": "97db5880f5d34096a0c3f1d019ec1e5c"
+ },
+ {
+ "m_Id": "76d715779d0943698737ae2608262a35"
+ },
+ {
+ "m_Id": "714c18b2b81f46e7847db477c7242ba4"
+ },
+ {
+ "m_Id": "3624189abff54ea6840759446c17a716"
+ }
+ ]
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -7993,6 +9341,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8037,6 +9386,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8069,6 +9419,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8089,6 +9440,7 @@
"m_TransparentWritesMotionVec": false,
"m_AlphaToMask": false,
"m_DepthOffset": false,
+ "m_ConservativeDepthOffset": false,
"m_TransparencyFog": true,
"m_AlphaTestShadow": false,
"m_BackThenFrontRendering": false,
@@ -8129,6 +9481,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8233,6 +9586,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8252,7 +9606,7 @@
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
- "m_Value": 1.3329999446868897,
+ "m_Value": 1.3300000429153443,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
@@ -8302,6 +9656,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8319,8 +9674,8 @@
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
- "x": 1335.0,
- "y": -72.0,
+ "x": 1341.0,
+ "y": 110.0,
"width": 268.0,
"height": 191.0
},
@@ -8355,6 +9710,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8421,6 +9777,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8433,7 +9790,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "f84cf3d2f73c4d7f8efe58ac5b3f7905",
"m_Id": 0,
- "m_DisplayName": "LimbalRingSizeIris",
+ "m_DisplayName": "Limbal Ring Size Iris",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -8479,6 +9836,21 @@
"m_OverrideBakedGI": false
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "fbd90f0016d84bfbaa75c39d3a02b20c",
+ "m_Id": 0,
+ "m_DisplayName": "Mesh Scale",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
@@ -8491,10 +9863,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": -2398.0,
- "y": -1485.0,
+ "x": -2542.0,
+ "y": -1483.0,
"width": 206.0,
- "height": 132.0
+ "height": 131.0
}
},
"m_Slots": [
@@ -8505,11 +9877,13 @@
"synonyms": [],
"m_Precision": 1,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
- "m_Space": 0
+ "m_Space": 0,
+ "m_PositionSource": 0
}
{
@@ -8546,12 +9920,15 @@
"m_Guid": {
"m_GuidSerialized": "516bed75-9b12-4aff-bace-a3aa2a3a2a41"
},
- "m_Name": "ScleraNormal",
+ "m_Name": "Sclera Normal",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Texture2D_B9F5688C",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -8560,6 +9937,8 @@
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_Guid": ""
},
+ "isMainTexture": false,
+ "useTilingAndOffset": false,
"m_Modifiable": true,
"m_DefaultType": 0
}
@@ -8638,6 +10017,7 @@
"m_Id": "46e21ae687bf4d2a8ed7b7ed6b1186c4"
}
],
- "m_CustomEditorGUI": ""
+ "m_CustomEditorGUI": "",
+ "m_SupportVFX": false
}
diff --git a/TestProjects/HDRP_RuntimeTests/Assets/ReferenceImages/Linear/LinuxPlayer/Vulkan/None/002-HDMaterials.png b/TestProjects/HDRP_RuntimeTests/Assets/ReferenceImages/Linear/LinuxPlayer/Vulkan/None/002-HDMaterials.png
index 788c895bf6d..c193b6c36ce 100644
--- a/TestProjects/HDRP_RuntimeTests/Assets/ReferenceImages/Linear/LinuxPlayer/Vulkan/None/002-HDMaterials.png
+++ b/TestProjects/HDRP_RuntimeTests/Assets/ReferenceImages/Linear/LinuxPlayer/Vulkan/None/002-HDMaterials.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:08f7ffc16e18df0abb457c6d991898ed728085c39aacea61b9575e043d0269ba
-size 2078109
+oid sha256:9af88a41ffc0d074d5a562407ac17a975f5c4ca7ec8d574578d0a88906130981
+size 2073641
diff --git a/TestProjects/HDRP_RuntimeTests/Assets/ReferenceImages/Linear/OSXPlayer/Metal/None/002-HDMaterials.png b/TestProjects/HDRP_RuntimeTests/Assets/ReferenceImages/Linear/OSXPlayer/Metal/None/002-HDMaterials.png
index efa34ddaa75..7d16ff3b99e 100644
--- a/TestProjects/HDRP_RuntimeTests/Assets/ReferenceImages/Linear/OSXPlayer/Metal/None/002-HDMaterials.png
+++ b/TestProjects/HDRP_RuntimeTests/Assets/ReferenceImages/Linear/OSXPlayer/Metal/None/002-HDMaterials.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:67634cdb264ce8eaaf3927792ee241396f1446b345591a923739394600370bad
-size 2096613
+oid sha256:c41b3003b5b3745ba61719d6568ffb8b14298d635370ce46547c3f44f0ccfb9c
+size 2096633
diff --git a/TestProjects/HDRP_RuntimeTests/Assets/ReferenceImages/Linear/WindowsPlayer/Direct3D11/None/002-HDMaterials.png b/TestProjects/HDRP_RuntimeTests/Assets/ReferenceImages/Linear/WindowsPlayer/Direct3D11/None/002-HDMaterials.png
index cc8f0542d38..92eb07581fb 100644
--- a/TestProjects/HDRP_RuntimeTests/Assets/ReferenceImages/Linear/WindowsPlayer/Direct3D11/None/002-HDMaterials.png
+++ b/TestProjects/HDRP_RuntimeTests/Assets/ReferenceImages/Linear/WindowsPlayer/Direct3D11/None/002-HDMaterials.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:699313f5c07d14896d275a292017e7987c615a8ad770684be6a086779990ec11
-size 2082365
+oid sha256:6c8e6c1a386ab9ae24cb984b853fd691223f80d923a0e982ac7884675f525758
+size 2072609
diff --git a/TestProjects/HDRP_RuntimeTests/Assets/ReferenceImages/Linear/WindowsPlayer/Direct3D12/None/002-HDMaterials.png b/TestProjects/HDRP_RuntimeTests/Assets/ReferenceImages/Linear/WindowsPlayer/Direct3D12/None/002-HDMaterials.png
index 4260f4f7cdf..8a683f19380 100644
--- a/TestProjects/HDRP_RuntimeTests/Assets/ReferenceImages/Linear/WindowsPlayer/Direct3D12/None/002-HDMaterials.png
+++ b/TestProjects/HDRP_RuntimeTests/Assets/ReferenceImages/Linear/WindowsPlayer/Direct3D12/None/002-HDMaterials.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:c20adf6c08e40b15a597e6d8fc31775dddb55de3e64941482a0abd6d04e87725
-size 2082512
+oid sha256:f4723e54826823b6b93e21310806a4ae1e6eca1a338630eb8845d9b45df2bc17
+size 2072476
diff --git a/TestProjects/HDRP_RuntimeTests/Assets/ReferenceImages/Linear/WindowsPlayer/Vulkan/None/002-HDMaterials.png b/TestProjects/HDRP_RuntimeTests/Assets/ReferenceImages/Linear/WindowsPlayer/Vulkan/None/002-HDMaterials.png
index 5fe590cd84c..76d123f2c9f 100644
--- a/TestProjects/HDRP_RuntimeTests/Assets/ReferenceImages/Linear/WindowsPlayer/Vulkan/None/002-HDMaterials.png
+++ b/TestProjects/HDRP_RuntimeTests/Assets/ReferenceImages/Linear/WindowsPlayer/Vulkan/None/002-HDMaterials.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:68c9741fb8837d8ed2b158fcbd0cd076ca26b7b16f16ea07862d5c3f872c5aa6
-size 2079408
+oid sha256:a12398a45767e4bc5f41674894fb7924061e9d74731b41991f62e5e7b4dc7fc7
+size 2073610
diff --git a/TestProjects/HDRP_RuntimeTests/Assets/Scenes/002-HDMaterials.unity b/TestProjects/HDRP_RuntimeTests/Assets/Scenes/002-HDMaterials.unity
index 257e8751d61..e2dfc4d822d 100644
--- a/TestProjects/HDRP_RuntimeTests/Assets/Scenes/002-HDMaterials.unity
+++ b/TestProjects/HDRP_RuntimeTests/Assets/Scenes/002-HDMaterials.unity
@@ -978,6 +978,35 @@ MonoBehaviour:
m_CaptureRotation: {x: 0, y: 0, z: 0, w: 0}
m_FieldOfView: 0
m_Aspect: 0
+ m_SHForNormalization:
+ sh[ 0]: 0
+ sh[ 1]: 0
+ sh[ 2]: 0
+ sh[ 3]: 0
+ sh[ 4]: 0
+ sh[ 5]: 0
+ sh[ 6]: 0
+ sh[ 7]: 0
+ sh[ 8]: 0
+ sh[ 9]: 0
+ sh[10]: 0
+ sh[11]: 0
+ sh[12]: 0
+ sh[13]: 0
+ sh[14]: 0
+ sh[15]: 0
+ sh[16]: 0
+ sh[17]: 0
+ sh[18]: 0
+ sh[19]: 0
+ sh[20]: 0
+ sh[21]: 0
+ sh[22]: 0
+ sh[23]: 0
+ sh[24]: 0
+ sh[25]: 0
+ sh[26]: 0
+ m_HasValidSHForNormalization: 0
m_HDProbeVersion: 3
m_ObsoleteInfiniteProjection: 1
m_ObsoleteInfluenceVolume:
@@ -1203,7 +1232,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 172515602e62fb746b5d573b38a5fe58, type: 3}
m_Name:
m_EditorClassIdentifier:
- isGlobal: 1
+ m_IsGlobal: 1
priority: 0
blendDistance: 0
weight: 1
@@ -1366,7 +1395,7 @@ MonoBehaviour:
invertFade: 0
distanceFadeStart: 10000
distanceFadeEnd: 10000
- textureOffset: {x: -0, y: -0, z: 0}
+ textureOffset: {x: -0, y: -0, z: -0}
falloffMode: 0
m_Version: 2
--- !u!4 &289937389
@@ -1376,14 +1405,14 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 289937387}
- m_LocalRotation: {x: 0.38268322, y: -0, z: -0, w: 0.9238797}
+ m_LocalRotation: {x: 0.9238792, y: -0, z: -0, w: 0.38268423}
m_LocalPosition: {x: -9.65, y: 14.476662, z: -13.446383}
m_LocalScale: {x: 2.2014, y: 2.2013998, z: 1.5467696}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1576122520}
m_RootOrder: 12
- m_LocalEulerAnglesHint: {x: 45.000004, y: 0, z: 0}
+ m_LocalEulerAnglesHint: {x: 135, y: 0, z: 0}
--- !u!1 &379148968
GameObject:
m_ObjectHideFlags: 0
@@ -2007,6 +2036,7 @@ Canvas:
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_AdditionalShaderChannelsFlag: 0
+ m_UpdateRectTransformForStandalone: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
@@ -3812,6 +3842,35 @@ MonoBehaviour:
m_CaptureRotation: {x: 0, y: 0, z: 0, w: 0}
m_FieldOfView: 0
m_Aspect: 0
+ m_SHForNormalization:
+ sh[ 0]: 0
+ sh[ 1]: 0
+ sh[ 2]: 0
+ sh[ 3]: 0
+ sh[ 4]: 0
+ sh[ 5]: 0
+ sh[ 6]: 0
+ sh[ 7]: 0
+ sh[ 8]: 0
+ sh[ 9]: 0
+ sh[10]: 0
+ sh[11]: 0
+ sh[12]: 0
+ sh[13]: 0
+ sh[14]: 0
+ sh[15]: 0
+ sh[16]: 0
+ sh[17]: 0
+ sh[18]: 0
+ sh[19]: 0
+ sh[20]: 0
+ sh[21]: 0
+ sh[22]: 0
+ sh[23]: 0
+ sh[24]: 0
+ sh[25]: 0
+ sh[26]: 0
+ m_HasValidSHForNormalization: 0
m_HDProbeVersion: 3
m_ObsoleteInfiniteProjection: 1
m_ObsoleteInfluenceVolume:
@@ -4301,6 +4360,7 @@ MonoBehaviour:
taaAntiFlicker: 0.5
taaMotionVectorRejection: 0
taaAntiHistoryRinging: 0
+ taaBaseBlendFactor: 0.875
physicalParameters:
m_Iso: 200
m_ShutterSpeed: 0.05
@@ -5460,6 +5520,7 @@ MonoBehaviour:
taaAntiFlicker: 0.5
taaMotionVectorRejection: 0
taaAntiHistoryRinging: 0
+ taaBaseBlendFactor: 0.875
physicalParameters:
m_Iso: 200
m_ShutterSpeed: 0.005
@@ -5723,7 +5784,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 172515602e62fb746b5d573b38a5fe58, type: 3}
m_Name:
m_EditorClassIdentifier:
- isGlobal: 1
+ m_IsGlobal: 1
priority: 0
blendDistance: 0
weight: 1
@@ -6138,7 +6199,7 @@ LightingSettings:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
- serializedVersion: 3
+ serializedVersion: 5
m_GIWorkflowMode: 1
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 0
@@ -6151,7 +6212,7 @@ LightingSettings:
m_LightmapMaxSize: 1024
m_BakeResolution: 40
m_Padding: 2
- m_TextureCompression: 1
+ m_LightmapCompression: 3
m_AO: 0
m_AOMaxDistance: 1
m_CompAOExponent: 1
@@ -6178,7 +6239,7 @@ LightingSettings:
m_LightProbeSampleCountMultiplier: 4
m_PVRBounces: 2
m_PVRMinBounces: 2
- m_PVREnvironmentMIS: 1
+ m_PVREnvironmentImportanceSampling: 1
m_PVRFilteringMode: 1
m_PVRDenoiserTypeDirect: 1
m_PVRDenoiserTypeIndirect: 1
@@ -6192,6 +6253,7 @@ LightingSettings:
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
m_PVRFilteringAtrousPositionSigmaIndirect: 2
m_PVRFilteringAtrousPositionSigmaAO: 1
+ m_PVRTiledBaking: 0
--- !u!1 &1521259788
GameObject:
m_ObjectHideFlags: 0
@@ -7134,6 +7196,35 @@ MonoBehaviour:
m_CaptureRotation: {x: 0, y: 0, z: 0, w: 0}
m_FieldOfView: 0
m_Aspect: 0
+ m_SHForNormalization:
+ sh[ 0]: 0
+ sh[ 1]: 0
+ sh[ 2]: 0
+ sh[ 3]: 0
+ sh[ 4]: 0
+ sh[ 5]: 0
+ sh[ 6]: 0
+ sh[ 7]: 0
+ sh[ 8]: 0
+ sh[ 9]: 0
+ sh[10]: 0
+ sh[11]: 0
+ sh[12]: 0
+ sh[13]: 0
+ sh[14]: 0
+ sh[15]: 0
+ sh[16]: 0
+ sh[17]: 0
+ sh[18]: 0
+ sh[19]: 0
+ sh[20]: 0
+ sh[21]: 0
+ sh[22]: 0
+ sh[23]: 0
+ sh[24]: 0
+ sh[25]: 0
+ sh[26]: 0
+ m_HasValidSHForNormalization: 0
m_HDProbeVersion: 3
m_ObsoleteInfiniteProjection: 1
m_ObsoleteInfluenceVolume:
@@ -7473,6 +7564,7 @@ MonoBehaviour:
taaAntiFlicker: 0.5
taaMotionVectorRejection: 0
taaAntiHistoryRinging: 0
+ taaBaseBlendFactor: 0.875
physicalParameters:
m_Iso: 200
m_ShutterSpeed: 0.005
@@ -7902,6 +7994,7 @@ Canvas:
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_AdditionalShaderChannelsFlag: 0
+ m_UpdateRectTransformForStandalone: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Common/3DObjects/HumanEyeModelScaled.fbx b/TestProjects/HDRP_Tests/Assets/GraphicTests/Common/3DObjects/HumanEyeModelScaled.fbx
new file mode 100644
index 00000000000..69aaf78e591
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Common/3DObjects/HumanEyeModelScaled.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:84763e5e47e074260e57ad4e7809a14d3e2af92993153bf45d8975134545174c
+size 55472
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Common/3DObjects/HumanEyeModelScaled.fbx.meta b/TestProjects/HDRP_Tests/Assets/GraphicTests/Common/3DObjects/HumanEyeModelScaled.fbx.meta
new file mode 100644
index 00000000000..d50d37487bd
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Common/3DObjects/HumanEyeModelScaled.fbx.meta
@@ -0,0 +1,109 @@
+fileFormatVersion: 2
+guid: 10866cd07fce62147be811646f38ab79
+ModelImporter:
+ serializedVersion: 22101
+ internalIDToNameTable:
+ - first:
+ 74: 1827226128182048838
+ second: Take 001
+ externalObjects: {}
+ materials:
+ materialImportMode: 1
+ materialName: 0
+ materialSearch: 1
+ materialLocation: 1
+ animations:
+ legacyGenerateAnimations: 4
+ bakeSimulation: 0
+ resampleCurves: 1
+ optimizeGameObjects: 0
+ removeConstantScaleCurves: 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: 0.5
+ meshCompression: 0
+ addColliders: 0
+ useSRGBMaterialColor: 1
+ sortHierarchyByName: 1
+ importVisibility: 1
+ importBlendShapes: 1
+ importCameras: 1
+ importLights: 1
+ nodeNameCollisionStrategy: 0
+ fileIdsGeneration: 1
+ swapUVChannels: 0
+ generateSecondaryUV: 0
+ useFileUnits: 1
+ keepQuads: 0
+ weldVertices: 1
+ bakeAxisConversion: 0
+ preserveHierarchy: 0
+ skinWeightsMode: 0
+ maxBonesPerVertex: 4
+ minBoneWeight: 0.001
+ optimizeBones: 1
+ meshOptimizationFlags: -1
+ indexFormat: 0
+ secondaryUVAngleDistortion: 8
+ secondaryUVAreaDistortion: 15.000001
+ secondaryUVHardAngle: 88
+ secondaryUVMarginMethod: 1
+ secondaryUVMinLightmapResolution: 40
+ secondaryUVMinObjectScale: 1
+ secondaryUVPackMargin: 4
+ useFileScale: 1
+ strictVertexDataChecks: 0
+ 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: 0.005
+ rootMotionBoneName:
+ hasTranslationDoF: 0
+ hasExtraRoot: 0
+ skeletonHasParents: 1
+ lastHumanDescriptionAvatarSource: {instanceID: 0}
+ autoGenerateAvatarMappingIfUnspecified: 1
+ animationType: 2
+ humanoidOversampling: 1
+ avatarSetup: 0
+ addHumanoidExtraRootOnlyWhenUsingAvatar: 0
+ additionalBone: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1401_HairGraph_Area_Light.unity b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1401_HairGraph_Area_Light.unity
index a812e9e322f..e74a40f4b5d 100644
--- a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1401_HairGraph_Area_Light.unity
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1401_HairGraph_Area_Light.unity
@@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
- m_IndirectSpecularColor: {r: 0.09658644, g: 0.10047502, b: 0.10278165, a: 1}
+ m_IndirectSpecularColor: {r: 0.09726915, g: 0.101576716, b: 0.1044133, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
@@ -125,6 +125,103 @@ NavMeshSettings:
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
+--- !u!1 &109122454
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 109122455}
+ - component: {fileID: 109122458}
+ - component: {fileID: 109122457}
+ - component: {fileID: 109122456}
+ m_Layer: 0
+ m_Name: Sphere Hair (1)
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &109122455
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 109122454}
+ m_LocalRotation: {x: 0.013634171, y: 0.15583922, z: 0.08608275, w: 0.9839299}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1.047619, y: 1.0476191, z: 1.0476191}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 1715220000}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 18, z: 10}
+--- !u!135 &109122456
+SphereCollider:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 109122454}
+ m_Material: {fileID: 0}
+ m_IsTrigger: 0
+ m_Enabled: 1
+ serializedVersion: 2
+ m_Radius: 0.5
+ m_Center: {x: 0, y: 0, z: 0}
+--- !u!23 &109122457
+MeshRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 109122454}
+ m_Enabled: 1
+ m_CastShadows: 1
+ m_ReceiveShadows: 1
+ m_DynamicOccludee: 1
+ m_StaticShadowCaster: 0
+ m_MotionVectors: 1
+ m_LightProbeUsage: 1
+ m_ReflectionProbeUsage: 1
+ m_RayTracingMode: 2
+ m_RayTraceProcedural: 0
+ m_RenderingLayerMask: 1
+ m_RendererPriority: 1
+ m_Materials:
+ - {fileID: 2100000, guid: a56b1449bfe7c814cbf0b992f78a7507, type: 2}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_ReceiveGI: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_StitchLightmapSeams: 1
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+ m_AdditionalVertexStreams: {fileID: 0}
+--- !u!33 &109122458
+MeshFilter:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 109122454}
+ m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1 &333805871
GameObject:
m_ObjectHideFlags: 0
@@ -217,6 +314,7 @@ Transform:
m_LocalRotation: {x: 0.013634171, y: 0.15583922, z: 0.08608275, w: 0.9839299}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1.047619, y: 1.0476191, z: 1.0476191}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1718021479}
m_RootOrder: 0
@@ -399,6 +497,104 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: ddd66e417395c7d4cbcbf2de29527b2e, type: 3}
+--- !u!1 &1034269315
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1034269319}
+ - component: {fileID: 1034269318}
+ - component: {fileID: 1034269317}
+ - component: {fileID: 1034269316}
+ m_Layer: 0
+ m_Name: Sphere (1)
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 4294967295
+ m_IsActive: 1
+--- !u!135 &1034269316
+SphereCollider:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1034269315}
+ m_Material: {fileID: 0}
+ m_IsTrigger: 0
+ m_Enabled: 1
+ serializedVersion: 2
+ m_Radius: 0.5
+ m_Center: {x: 0, y: 0, z: 0}
+--- !u!23 &1034269317
+MeshRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1034269315}
+ m_Enabled: 1
+ m_CastShadows: 1
+ m_ReceiveShadows: 1
+ m_DynamicOccludee: 1
+ m_StaticShadowCaster: 0
+ m_MotionVectors: 1
+ m_LightProbeUsage: 1
+ m_ReflectionProbeUsage: 1
+ m_RayTracingMode: 2
+ m_RayTraceProcedural: 0
+ m_RenderingLayerMask: 1
+ m_RendererPriority: 0
+ m_Materials:
+ - {fileID: 2100000, guid: 33b70156a300851489f650590cc59e92, type: 2}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_ReceiveGI: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_StitchLightmapSeams: 1
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+ m_AdditionalVertexStreams: {fileID: 0}
+--- !u!33 &1034269318
+MeshFilter:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1034269315}
+ m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!4 &1034269319
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1034269315}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0.3, y: 0.5, z: 1.21}
+ m_LocalScale: {x: 0.8018109, y: 0.8018109, z: 0.8018109}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 1715220000}
+ m_Father: {fileID: 0}
+ m_RootOrder: 11
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1038286093
PrefabInstance:
m_ObjectHideFlags: 0
@@ -580,6 +776,7 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0.078, y: 0.5, z: 0}
m_LocalScale: {x: 0.8018109, y: 0.8018109, z: 0.8018109}
+ m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1718021479}
m_Father: {fileID: 0}
@@ -677,6 +874,7 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0.078, y: 0.5, z: -1.5}
m_LocalScale: {x: 0.8018109, y: 0.8018109, z: 0.8018109}
+ m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1391346169}
m_Father: {fileID: 0}
@@ -711,6 +909,7 @@ Transform:
m_LocalRotation: {x: 0.013634171, y: 0.15583922, z: 0.08608275, w: 0.9839299}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1.047619, y: 1.0476191, z: 1.0476191}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1391346169}
m_RootOrder: 0
@@ -807,6 +1006,7 @@ Transform:
m_LocalRotation: {x: -0, y: -0, z: 0.01817496, w: 0.99983484}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1.05, y: 1.05, z: 1.05}
+ m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1350357055}
m_Father: {fileID: 1115885345}
@@ -1022,7 +1222,7 @@ PrefabInstance:
- target: {fileID: 114777190906822814, guid: c07ace9ab142ca9469fa377877c2f1e7,
type: 3}
propertyPath: m_Version
- value: 7
+ value: 8
objectReference: {fileID: 0}
- target: {fileID: 114777190906822814, guid: c07ace9ab142ca9469fa377877c2f1e7,
type: 3}
@@ -1071,7 +1271,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 172515602e62fb746b5d573b38a5fe58, type: 3}
m_Name:
m_EditorClassIdentifier:
- isGlobal: 1
+ m_IsGlobal: 1
priority: 0
blendDistance: 0
weight: 1
@@ -1086,6 +1286,7 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
@@ -1105,6 +1306,105 @@ MonoBehaviour:
m_Profile: {fileID: 11400000, guid: c5cc9b32f8c21194d93b79f9b7ed8ad5, type: 2}
m_StaticLightingSkyUniqueID: 1
m_StaticLightingCloudsUniqueID: 0
+ m_StaticLightingVolumetricClouds: 0
+--- !u!1 &1715219999
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1715220000}
+ - component: {fileID: 1715220003}
+ - component: {fileID: 1715220002}
+ - component: {fileID: 1715220001}
+ m_Layer: 0
+ m_Name: Sphere Hair
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &1715220000
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1715219999}
+ m_LocalRotation: {x: -0, y: -0, z: 0.01817496, w: 0.99983484}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1.05, y: 1.05, z: 1.05}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 109122455}
+ m_Father: {fileID: 1034269319}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 2.0830002}
+--- !u!135 &1715220001
+SphereCollider:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1715219999}
+ m_Material: {fileID: 0}
+ m_IsTrigger: 0
+ m_Enabled: 1
+ serializedVersion: 2
+ m_Radius: 0.5
+ m_Center: {x: 0, y: 0, z: 0}
+--- !u!23 &1715220002
+MeshRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1715219999}
+ m_Enabled: 1
+ m_CastShadows: 1
+ m_ReceiveShadows: 1
+ m_DynamicOccludee: 1
+ m_StaticShadowCaster: 0
+ m_MotionVectors: 1
+ m_LightProbeUsage: 1
+ m_ReflectionProbeUsage: 1
+ m_RayTracingMode: 2
+ m_RayTraceProcedural: 0
+ m_RenderingLayerMask: 1
+ m_RendererPriority: 0
+ m_Materials:
+ - {fileID: 2100000, guid: a56b1449bfe7c814cbf0b992f78a7507, type: 2}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_ReceiveGI: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_StitchLightmapSeams: 1
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+ m_AdditionalVertexStreams: {fileID: 0}
+--- !u!33 &1715220003
+MeshFilter:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1715219999}
+ m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1 &1718021475
GameObject:
m_ObjectHideFlags: 0
@@ -1197,6 +1497,7 @@ Transform:
m_LocalRotation: {x: -0, y: -0, z: 0.01817496, w: 0.99983484}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1.05, y: 1.05, z: 1.05}
+ m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 333805875}
m_Father: {fileID: 1041598171}
@@ -1503,6 +1804,7 @@ Transform:
m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068}
m_LocalPosition: {x: 0.626, y: 1.78, z: -0.331}
m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 10
@@ -1600,6 +1902,7 @@ Transform:
m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 20, y: 20, z: 20}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 2
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG.unity b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG.unity
index feca4d14f95..5f020e13dfb 100644
--- a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG.unity
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG.unity
@@ -335,9 +335,10 @@ Transform:
m_LocalRotation: {x: 0, y: -0.38268343, z: 0, w: 0.92387956}
m_LocalPosition: {x: 5, y: 2, z: 2}
m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
- m_RootOrder: 8
+ m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: -45, z: 0}
--- !u!1001 &205529771
PrefabInstance:
@@ -352,7 +353,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4209882255362944, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
propertyPath: m_RootOrder
- value: 10
+ value: 6
objectReference: {fileID: 0}
- target: {fileID: 4209882255362944, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
propertyPath: m_LocalPosition.x
@@ -399,6 +400,11 @@ PrefabInstance:
propertyPath: field of view
value: 56.8
objectReference: {fileID: 0}
+ - target: {fileID: 114777190906822814, guid: c07ace9ab142ca9469fa377877c2f1e7,
+ type: 3}
+ propertyPath: m_Version
+ value: 8
+ objectReference: {fileID: 0}
- target: {fileID: 114995348509370400, guid: c07ace9ab142ca9469fa377877c2f1e7,
type: 3}
propertyPath: ImageComparisonSettings.TargetWidth
@@ -416,12 +422,33 @@ PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
- m_TransformParent: {fileID: 0}
+ m_TransformParent: {fileID: 1848050944}
m_Modifications:
+ - target: {fileID: -5178661895559278292, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_Mesh
+ value:
+ objectReference: {fileID: -319290815248617969, guid: 10866cd07fce62147be811646f38ab79,
+ type: 3}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_RootOrder
- value: 11
+ value: 3
+ objectReference: {fileID: 0}
+ - target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_LocalScale.x
+ value: 2
+ objectReference: {fileID: 0}
+ - target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_LocalScale.y
+ value: 2
+ objectReference: {fileID: 0}
+ - target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_LocalScale.z
+ value: 2
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -431,12 +458,12 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalPosition.y
- value: 0.5
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalPosition.z
- value: 10
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -446,7 +473,7 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalRotation.x
- value: 0
+ value: -0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -473,6 +500,11 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
+ - target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_ConstrainProportionsScale
+ value: 1
+ objectReference: {fileID: 0}
- target: {fileID: -1504981713932161579, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_Materials.Array.data[0]
@@ -485,6 +517,12 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: bc7f614d61b9b2a49a9ca3530b20da5c, type: 3}
+--- !u!4 &223018038 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ m_PrefabInstance: {fileID: 223018037}
+ m_PrefabAsset: {fileID: 0}
--- !u!1 &753883935
GameObject:
m_ObjectHideFlags: 0
@@ -697,21 +735,58 @@ Transform:
m_LocalRotation: {x: 0, y: 0.38268343, z: 0, w: 0.92387956}
m_LocalPosition: {x: -5, y: 2, z: 2}
m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
- m_RootOrder: 7
+ m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 45, z: 0}
+--- !u!1 &985829314
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 985829315}
+ m_Layer: 0
+ m_Name: Mesh Scale = 1
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &985829315
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 985829314}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0.35, z: 5}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 1888574913}
+ - {fileID: 1329380565}
+ - {fileID: 1401572323}
+ - {fileID: 1249704170}
+ - {fileID: 1320781026}
+ m_Father: {fileID: 0}
+ m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1249704169
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
- m_TransformParent: {fileID: 0}
+ m_TransformParent: {fileID: 985829315}
m_Modifications:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_RootOrder
- value: 5
+ value: 3
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -721,12 +796,12 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalPosition.y
- value: 0.5
+ value: 0.15
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalPosition.z
- value: 5
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -736,7 +811,7 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalRotation.x
- value: 0
+ value: -0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -775,6 +850,12 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: bc7f614d61b9b2a49a9ca3530b20da5c, type: 3}
+--- !u!4 &1249704170 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ m_PrefabInstance: {fileID: 1249704169}
+ m_PrefabAsset: {fileID: 0}
--- !u!1 &1317031018
GameObject:
m_ObjectHideFlags: 0
@@ -868,6 +949,7 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: -0.5, z: 5}
m_LocalScale: {x: 2, y: 2, z: 2}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 1
@@ -877,12 +959,12 @@ PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
- m_TransformParent: {fileID: 0}
+ m_TransformParent: {fileID: 985829315}
m_Modifications:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_RootOrder
- value: 6
+ value: 4
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -892,12 +974,12 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalPosition.y
- value: 0.5
+ value: 0.15
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalPosition.z
- value: 5
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -907,7 +989,7 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalRotation.x
- value: 0
+ value: -0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -946,17 +1028,23 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: bc7f614d61b9b2a49a9ca3530b20da5c, type: 3}
+--- !u!4 &1320781026 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ m_PrefabInstance: {fileID: 1320781025}
+ m_PrefabAsset: {fileID: 0}
--- !u!1001 &1329380564
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
- m_TransformParent: {fileID: 0}
+ m_TransformParent: {fileID: 985829315}
m_Modifications:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_RootOrder
- value: 3
+ value: 1
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -966,12 +1054,12 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalPosition.y
- value: 0.5
+ value: 0.15
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalPosition.z
- value: 5
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -981,7 +1069,7 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalRotation.x
- value: 0
+ value: -0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -1020,6 +1108,12 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: bc7f614d61b9b2a49a9ca3530b20da5c, type: 3}
+--- !u!4 &1329380565 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ m_PrefabInstance: {fileID: 1329380564}
+ m_PrefabAsset: {fileID: 0}
--- !u!1 &1396138139
GameObject:
m_ObjectHideFlags: 0
@@ -1232,21 +1326,22 @@ Transform:
m_LocalRotation: {x: 0.38268343, y: 0, z: 0, w: 0.92387956}
m_LocalPosition: {x: 0, y: 4.31, z: 7.22}
m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
- m_RootOrder: 9
+ m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 45, y: 0, z: 0}
--- !u!1001 &1401572322
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
- m_TransformParent: {fileID: 0}
+ m_TransformParent: {fileID: 985829315}
m_Modifications:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_RootOrder
- value: 4
+ value: 2
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -1256,12 +1351,12 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalPosition.y
- value: 0.35
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalPosition.z
- value: 5
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -1271,7 +1366,7 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalRotation.x
- value: 0
+ value: -0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -1310,17 +1405,44 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: bc7f614d61b9b2a49a9ca3530b20da5c, type: 3}
+--- !u!4 &1401572323 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ m_PrefabInstance: {fileID: 1401572322}
+ m_PrefabAsset: {fileID: 0}
--- !u!1001 &1577842230
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
- m_TransformParent: {fileID: 0}
+ m_TransformParent: {fileID: 1848050944}
m_Modifications:
+ - target: {fileID: -5178661895559278292, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_Mesh
+ value:
+ objectReference: {fileID: -319290815248617969, guid: 10866cd07fce62147be811646f38ab79,
+ type: 3}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_RootOrder
- value: 14
+ value: 2
+ objectReference: {fileID: 0}
+ - target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_LocalScale.x
+ value: 2
+ objectReference: {fileID: 0}
+ - target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_LocalScale.y
+ value: 2
+ objectReference: {fileID: 0}
+ - target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_LocalScale.z
+ value: 2
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -1330,12 +1452,12 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalPosition.y
- value: 0.5
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalPosition.z
- value: 10
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -1345,7 +1467,7 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalRotation.x
- value: 0
+ value: -0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -1372,6 +1494,11 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
+ - target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_ConstrainProportionsScale
+ value: 1
+ objectReference: {fileID: 0}
- target: {fileID: -1504981713932161579, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_Materials.Array.data[0]
@@ -1384,6 +1511,12 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: bc7f614d61b9b2a49a9ca3530b20da5c, type: 3}
+--- !u!4 &1577842231 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ m_PrefabInstance: {fileID: 1577842230}
+ m_PrefabAsset: {fileID: 0}
--- !u!1 &1703617642
GameObject:
m_ObjectHideFlags: 0
@@ -1413,7 +1546,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 172515602e62fb746b5d573b38a5fe58, type: 3}
m_Name:
m_EditorClassIdentifier:
- isGlobal: 1
+ m_IsGlobal: 1
priority: 0
blendDistance: 0
weight: 1
@@ -1428,21 +1561,58 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.23, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &1848050943
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1848050944}
+ m_Layer: 0
+ m_Name: Mesh Scale = 2
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &1848050944
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1848050943}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0.5, z: 10}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 1
+ m_Children:
+ - {fileID: 2058574395}
+ - {fileID: 1916872509}
+ - {fileID: 1577842231}
+ - {fileID: 223018038}
+ - {fileID: 2062025332}
+ m_Father: {fileID: 0}
+ m_RootOrder: 7
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1888574912
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
- m_TransformParent: {fileID: 0}
+ m_TransformParent: {fileID: 985829315}
m_Modifications:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_RootOrder
- value: 2
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -1452,12 +1622,12 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalPosition.y
- value: 0.5
+ value: 0.15
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalPosition.z
- value: 5
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -1467,7 +1637,7 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalRotation.x
- value: 0
+ value: -0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -1506,17 +1676,44 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: bc7f614d61b9b2a49a9ca3530b20da5c, type: 3}
+--- !u!4 &1888574913 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ m_PrefabInstance: {fileID: 1888574912}
+ m_PrefabAsset: {fileID: 0}
--- !u!1001 &1916872508
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
- m_TransformParent: {fileID: 0}
+ m_TransformParent: {fileID: 1848050944}
m_Modifications:
+ - target: {fileID: -5178661895559278292, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_Mesh
+ value:
+ objectReference: {fileID: -319290815248617969, guid: 10866cd07fce62147be811646f38ab79,
+ type: 3}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_RootOrder
- value: 13
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_LocalScale.x
+ value: 2
+ objectReference: {fileID: 0}
+ - target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_LocalScale.y
+ value: 2
+ objectReference: {fileID: 0}
+ - target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_LocalScale.z
+ value: 2
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -1526,12 +1723,12 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalPosition.y
- value: 0.5
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalPosition.z
- value: 10
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -1541,7 +1738,7 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalRotation.x
- value: 0
+ value: -0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -1568,6 +1765,11 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
+ - target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_ConstrainProportionsScale
+ value: 1
+ objectReference: {fileID: 0}
- target: {fileID: -1504981713932161579, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_Materials.Array.data[0]
@@ -1580,17 +1782,44 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: bc7f614d61b9b2a49a9ca3530b20da5c, type: 3}
+--- !u!4 &1916872509 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ m_PrefabInstance: {fileID: 1916872508}
+ m_PrefabAsset: {fileID: 0}
--- !u!1001 &2058574394
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
- m_TransformParent: {fileID: 0}
+ m_TransformParent: {fileID: 1848050944}
m_Modifications:
+ - target: {fileID: -5178661895559278292, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_Mesh
+ value:
+ objectReference: {fileID: -319290815248617969, guid: 10866cd07fce62147be811646f38ab79,
+ type: 3}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_RootOrder
- value: 15
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_LocalScale.x
+ value: 2
+ objectReference: {fileID: 0}
+ - target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_LocalScale.y
+ value: 2
+ objectReference: {fileID: 0}
+ - target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_LocalScale.z
+ value: 2
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -1600,12 +1829,12 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalPosition.y
- value: 0.5
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalPosition.z
- value: 10
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -1615,7 +1844,7 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalRotation.x
- value: 0
+ value: -0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -1642,6 +1871,11 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
+ - target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_ConstrainProportionsScale
+ value: 1
+ objectReference: {fileID: 0}
- target: {fileID: -1504981713932161579, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_Materials.Array.data[0]
@@ -1654,17 +1888,44 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: bc7f614d61b9b2a49a9ca3530b20da5c, type: 3}
+--- !u!4 &2058574395 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ m_PrefabInstance: {fileID: 2058574394}
+ m_PrefabAsset: {fileID: 0}
--- !u!1001 &2062025331
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
- m_TransformParent: {fileID: 0}
+ m_TransformParent: {fileID: 1848050944}
m_Modifications:
+ - target: {fileID: -5178661895559278292, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_Mesh
+ value:
+ objectReference: {fileID: -319290815248617969, guid: 10866cd07fce62147be811646f38ab79,
+ type: 3}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_RootOrder
- value: 12
+ value: 4
+ objectReference: {fileID: 0}
+ - target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_LocalScale.x
+ value: 2
+ objectReference: {fileID: 0}
+ - target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_LocalScale.y
+ value: 2
+ objectReference: {fileID: 0}
+ - target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_LocalScale.z
+ value: 2
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -1674,12 +1935,12 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalPosition.y
- value: 0.5
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalPosition.z
- value: 10
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -1689,7 +1950,7 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_LocalRotation.x
- value: 0
+ value: -0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
@@ -1716,6 +1977,11 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
+ - target: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ propertyPath: m_ConstrainProportionsScale
+ value: 1
+ objectReference: {fileID: 0}
- target: {fileID: -1504981713932161579, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
type: 3}
propertyPath: m_Materials.Array.data[0]
@@ -1728,3 +1994,9 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: bc7f614d61b9b2a49a9ca3530b20da5c, type: 3}
+--- !u!4 &2062025332 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: bc7f614d61b9b2a49a9ca3530b20da5c,
+ type: 3}
+ m_PrefabInstance: {fileID: 2062025331}
+ m_PrefabAsset: {fileID: 0}
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG/Materials/M_EyeSG 5.mat b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG/Materials/M_EyeSG 5.mat
index f8dae63574a..1ca6aa49f5d 100644
--- a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG/Materials/M_EyeSG 5.mat
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG/Materials/M_EyeSG 5.mat
@@ -264,6 +264,7 @@ Material:
- _IridescenceThickness: 1
- _LinkDetailsWithBase: 1
- _MaterialID: 1
+ - _Mesh_Scale: 2
- _Metallic: 0
- _NormalMapSpace: 0
- _NormalScale: 1
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG/Materials/M_EyeSG 6.mat b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG/Materials/M_EyeSG 6.mat
index ee8a6920b2f..bfbf3d1487e 100644
--- a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG/Materials/M_EyeSG 6.mat
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG/Materials/M_EyeSG 6.mat
@@ -249,6 +249,7 @@ Material:
- _IridescenceThickness: 1
- _LinkDetailsWithBase: 1
- _MaterialID: 1
+ - _Mesh_Scale: 2
- _Metallic: 0
- _NormalMapSpace: 0
- _NormalScale: 1
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG/Materials/M_EyeSG 7.mat b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG/Materials/M_EyeSG 7.mat
index 0e3868aef77..f9036778591 100644
--- a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG/Materials/M_EyeSG 7.mat
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG/Materials/M_EyeSG 7.mat
@@ -264,6 +264,7 @@ Material:
- _IridescenceThickness: 1
- _LinkDetailsWithBase: 1
- _MaterialID: 1
+ - _Mesh_Scale: 2
- _Metallic: 0
- _NormalMapSpace: 0
- _NormalScale: 1
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG/Materials/M_EyeSG 8.mat b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG/Materials/M_EyeSG 8.mat
index 06da76a438a..4037e74160a 100644
--- a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG/Materials/M_EyeSG 8.mat
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG/Materials/M_EyeSG 8.mat
@@ -264,6 +264,7 @@ Material:
- _IridescenceThickness: 1
- _LinkDetailsWithBase: 1
- _MaterialID: 1
+ - _Mesh_Scale: 2
- _Metallic: 0
- _NormalMapSpace: 0
- _NormalScale: 1
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG/Materials/M_EyeSG 9.mat b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG/Materials/M_EyeSG 9.mat
index 48d6f318757..337560a2bd9 100644
--- a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG/Materials/M_EyeSG 9.mat
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1501_EyeTestSG/Materials/M_EyeSG 9.mat
@@ -264,6 +264,7 @@ Material:
- _IridescenceThickness: 1
- _LinkDetailsWithBase: 1
- _MaterialID: 1
+ - _Mesh_Scale: 2
- _Metallic: 0
- _NormalMapSpace: 0
- _NormalScale: 1
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade.meta b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade.meta
new file mode 100644
index 00000000000..aaa5189cd45
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 7b6b4ac7da515bc47af6ccb5f1d472ff
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade.unity b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade.unity
new file mode 100644
index 00000000000..67e2c62b5ff
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade.unity
@@ -0,0 +1,657 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!29 &1
+OcclusionCullingSettings:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_OcclusionBakeSettings:
+ smallestOccluder: 5
+ smallestHole: 0.25
+ backfaceThreshold: 100
+ m_SceneGUID: 00000000000000000000000000000000
+ m_OcclusionCullingData: {fileID: 0}
+--- !u!104 &2
+RenderSettings:
+ m_ObjectHideFlags: 0
+ serializedVersion: 9
+ m_Fog: 0
+ m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
+ m_FogMode: 3
+ m_FogDensity: 0.01
+ m_LinearFogStart: 0
+ m_LinearFogEnd: 300
+ m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
+ m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
+ m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
+ m_AmbientIntensity: 1
+ m_AmbientMode: 0
+ m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
+ m_SkyboxMaterial: {fileID: 0}
+ m_HaloStrength: 0.5
+ m_FlareStrength: 1
+ m_FlareFadeSpeed: 3
+ m_HaloTexture: {fileID: 0}
+ m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
+ m_DefaultReflectionMode: 0
+ m_DefaultReflectionResolution: 128
+ m_ReflectionBounces: 1
+ m_ReflectionIntensity: 1
+ m_CustomReflection: {fileID: 0}
+ m_Sun: {fileID: 0}
+ m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
+ m_UseRadianceAmbientProbe: 0
+--- !u!157 &3
+LightmapSettings:
+ m_ObjectHideFlags: 0
+ serializedVersion: 12
+ m_GIWorkflowMode: 1
+ m_GISettings:
+ serializedVersion: 2
+ m_BounceScale: 1
+ m_IndirectOutputScale: 1
+ m_AlbedoBoost: 1
+ m_EnvironmentLightingMode: 0
+ m_EnableBakedLightmaps: 1
+ m_EnableRealtimeLightmaps: 0
+ m_LightmapEditorSettings:
+ serializedVersion: 12
+ m_Resolution: 2
+ m_BakeResolution: 2
+ m_AtlasSize: 1024
+ m_AO: 0
+ m_AOMaxDistance: 1
+ m_CompAOExponent: 1
+ m_CompAOExponentDirect: 0
+ m_ExtractAmbientOcclusion: 0
+ m_Padding: 2
+ m_LightmapParameters: {fileID: 0}
+ m_LightmapsBakeMode: 1
+ m_TextureCompression: 1
+ m_FinalGather: 0
+ m_FinalGatherFiltering: 1
+ m_FinalGatherRayCount: 256
+ m_ReflectionCompression: 2
+ m_MixedBakeMode: 2
+ m_BakeBackend: 1
+ m_PVRSampling: 1
+ m_PVRDirectSampleCount: 12
+ m_PVRSampleCount: 128
+ m_PVRBounces: 2
+ m_PVREnvironmentSampleCount: 128
+ m_PVREnvironmentReferencePointCount: 2048
+ m_PVRFilteringMode: 2
+ m_PVRDenoiserTypeDirect: 0
+ m_PVRDenoiserTypeIndirect: 0
+ m_PVRDenoiserTypeAO: 0
+ m_PVRFilterTypeDirect: 0
+ m_PVRFilterTypeIndirect: 0
+ m_PVRFilterTypeAO: 0
+ m_PVREnvironmentMIS: 0
+ m_PVRCulling: 1
+ m_PVRFilteringGaussRadiusDirect: 1
+ m_PVRFilteringGaussRadiusIndirect: 5
+ m_PVRFilteringGaussRadiusAO: 2
+ m_PVRFilteringAtrousPositionSigmaDirect: 0.5
+ m_PVRFilteringAtrousPositionSigmaIndirect: 2
+ m_PVRFilteringAtrousPositionSigmaAO: 1
+ m_ExportTrainingData: 0
+ m_TrainingDataDestination: TrainingData
+ m_LightProbeSampleCountMultiplier: 4
+ m_LightingDataAsset: {fileID: 112000000, guid: 9c598fdd7e5e1914cabeff3c8db3d1ce,
+ type: 2}
+ m_LightingSettings: {fileID: 4890085278179872738, guid: db3e513e32a957b4897ff8bb64768274,
+ type: 2}
+--- !u!196 &4
+NavMeshSettings:
+ serializedVersion: 2
+ m_ObjectHideFlags: 0
+ m_BuildSettings:
+ serializedVersion: 2
+ agentTypeID: 0
+ agentRadius: 0.5
+ agentHeight: 2
+ agentSlope: 45
+ agentClimb: 0.4
+ ledgeDropHeight: 0
+ maxJumpAcrossDistance: 0
+ minRegionArea: 2
+ manualCellSize: 0
+ cellSize: 0.16666667
+ manualTileSize: 0
+ tileSize: 256
+ accuratePlacement: 0
+ maxJobWorkers: 0
+ preserveTilesOutsideBounds: 0
+ debug:
+ m_Flags: 0
+ m_NavMeshData: {fileID: 0}
+--- !u!1001 &301167571
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 0}
+ m_Modifications:
+ - target: {fileID: 4209882255362944, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
+ propertyPath: m_RootOrder
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4209882255362944, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
+ propertyPath: m_LocalPosition.x
+ value: 1.75
+ objectReference: {fileID: 0}
+ - target: {fileID: 4209882255362944, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 19.81
+ objectReference: {fileID: 0}
+ - target: {fileID: 4209882255362944, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 4209882255362944, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 0.7071068
+ objectReference: {fileID: 0}
+ - target: {fileID: 4209882255362944, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
+ propertyPath: m_LocalRotation.x
+ value: 0.7071068
+ objectReference: {fileID: 0}
+ - target: {fileID: 4209882255362944, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
+ propertyPath: m_LocalRotation.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4209882255362944, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
+ propertyPath: m_LocalRotation.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4209882255362944, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 90
+ objectReference: {fileID: 0}
+ - target: {fileID: 4209882255362944, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 20109210616973140, guid: c07ace9ab142ca9469fa377877c2f1e7,
+ type: 3}
+ propertyPath: field of view
+ value: 25.7
+ objectReference: {fileID: 0}
+ - target: {fileID: 20109210616973140, guid: c07ace9ab142ca9469fa377877c2f1e7,
+ type: 3}
+ propertyPath: far clip plane
+ value: 1000
+ objectReference: {fileID: 0}
+ - target: {fileID: 20109210616973140, guid: c07ace9ab142ca9469fa377877c2f1e7,
+ type: 3}
+ propertyPath: near clip plane
+ value: 0.3
+ objectReference: {fileID: 0}
+ - target: {fileID: 114777190906822814, guid: c07ace9ab142ca9469fa377877c2f1e7,
+ type: 3}
+ propertyPath: m_Version
+ value: 8
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
+--- !u!1 &520426503
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 520426506}
+ - component: {fileID: 520426505}
+ - component: {fileID: 520426504}
+ m_Layer: 0
+ m_Name: Directional Light
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &520426504
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 520426503}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 7a68c43fe1f2a47cfa234b5eeaa98012, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Intensity: 5000
+ m_EnableSpotReflector: 1
+ m_LuxAtDistance: 1
+ m_InnerSpotPercent: 0
+ m_SpotIESCutoffPercent: 100
+ m_LightDimmer: 1
+ m_VolumetricDimmer: 1
+ m_LightUnit: 2
+ m_FadeDistance: 10000
+ m_VolumetricFadeDistance: 10000
+ m_AffectDiffuse: 1
+ m_AffectSpecular: 1
+ m_NonLightmappedOnly: 0
+ m_ShapeWidth: 0.5
+ m_ShapeHeight: 0.5
+ m_AspectRatio: 1
+ m_ShapeRadius: 0.025
+ m_SoftnessScale: 1
+ m_UseCustomSpotLightShadowCone: 0
+ m_CustomSpotLightShadowCone: 30
+ m_MaxSmoothness: 0.99
+ m_ApplyRangeAttenuation: 1
+ m_DisplayAreaLightEmissiveMesh: 0
+ m_AreaLightCookie: {fileID: 0}
+ m_IESPoint: {fileID: 0}
+ m_IESSpot: {fileID: 0}
+ m_IncludeForRayTracing: 1
+ m_AreaLightShadowCone: 120
+ m_UseScreenSpaceShadows: 0
+ m_InteractsWithSky: 1
+ m_AngularDiameter: 0.5
+ m_FlareSize: 2
+ m_FlareTint: {r: 1, g: 1, b: 1, a: 1}
+ m_FlareFalloff: 4
+ m_SurfaceTexture: {fileID: 0}
+ m_SurfaceTint: {r: 1, g: 1, b: 1, a: 1}
+ m_Distance: 1.5e+11
+ m_UseRayTracedShadows: 0
+ m_NumRayTracingSamples: 4
+ m_FilterTracedShadow: 1
+ m_FilterSizeTraced: 16
+ m_SunLightConeAngle: 0.5
+ m_LightShadowRadius: 0.5
+ m_SemiTransparentShadow: 0
+ m_ColorShadow: 1
+ m_DistanceBasedFiltering: 0
+ m_EvsmExponent: 15
+ m_EvsmLightLeakBias: 0
+ m_EvsmVarianceBias: 0.00001
+ m_EvsmBlurPasses: 0
+ m_LightlayersMask: 1
+ m_LinkShadowLayers: 1
+ m_ShadowNearPlane: 0.1
+ m_BlockerSampleCount: 24
+ m_FilterSampleCount: 16
+ m_MinFilterSize: 0.1
+ m_KernelSize: 5
+ m_LightAngle: 1
+ m_MaxDepthBias: 0.001
+ m_ShadowResolution:
+ m_Override: 512
+ m_UseOverride: 1
+ m_Level: 0
+ m_ShadowDimmer: 1
+ m_VolumetricShadowDimmer: 1
+ m_ShadowFadeDistance: 10000
+ m_UseContactShadow:
+ m_Override: 0
+ m_UseOverride: 1
+ m_Level: 0
+ m_RayTracedContactShadow: 0
+ m_ShadowTint: {r: 0, g: 0, b: 0, a: 1}
+ m_PenumbraTint: 0
+ m_NormalBias: 5
+ m_SlopeBias: 1
+ m_ShadowUpdateMode: 0
+ m_AlwaysDrawDynamicShadows: 0
+ m_UpdateShadowOnLightMovement: 0
+ m_CachedShadowTranslationThreshold: 0.01
+ m_CachedShadowAngularThreshold: 0.5
+ m_BarnDoorAngle: 90
+ m_BarnDoorLength: 0.05
+ m_preserveCachedShadow: 0
+ m_OnDemandShadowRenderOnPlacement: 1
+ m_ShadowCascadeRatios:
+ - 0.05
+ - 0.2
+ - 0.3
+ m_ShadowCascadeBorders:
+ - 0.2
+ - 0.2
+ - 0.2
+ - 0.2
+ m_ShadowAlgorithm: 0
+ m_ShadowVariant: 0
+ m_ShadowPrecision: 0
+ useOldInspector: 0
+ useVolumetric: 1
+ featuresFoldout: 1
+ m_AreaLightEmissiveMeshShadowCastingMode: 0
+ m_AreaLightEmissiveMeshMotionVectorGenerationMode: 0
+ m_AreaLightEmissiveMeshLayer: -1
+ m_Version: 11
+ m_ObsoleteShadowResolutionTier: 1
+ m_ObsoleteUseShadowQualitySettings: 0
+ m_ObsoleteCustomShadowResolution: 512
+ m_ObsoleteContactShadows: 0
+ m_PointlightHDType: 0
+ m_SpotLightShape: 0
+ m_AreaLightShape: 0
+--- !u!108 &520426505
+Light:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 520426503}
+ m_Enabled: 1
+ serializedVersion: 10
+ m_Type: 1
+ m_Shape: 0
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_Intensity: 5000
+ m_Range: 10
+ m_SpotAngle: 30
+ m_InnerSpotAngle: 21.80208
+ m_CookieSize: 10
+ m_Shadows:
+ m_Type: 1
+ m_Resolution: -1
+ m_CustomResolution: -1
+ m_Strength: 1
+ m_Bias: 0.05
+ m_NormalBias: 0.4
+ m_NearPlane: 0.2
+ m_CullingMatrixOverride:
+ e00: 1
+ e01: 0
+ e02: 0
+ e03: 0
+ e10: 0
+ e11: 1
+ e12: 0
+ e13: 0
+ e20: 0
+ e21: 0
+ e22: 1
+ e23: 0
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ m_UseCullingMatrixOverride: 0
+ m_Cookie: {fileID: 0}
+ m_DrawHalo: 0
+ m_Flare: {fileID: 0}
+ m_RenderMode: 0
+ m_CullingMask:
+ serializedVersion: 2
+ m_Bits: 4294967295
+ m_RenderingLayerMask: 1
+ m_Lightmapping: 1
+ m_LightShadowCasterMode: 2
+ m_AreaSize: {x: 0.5, y: 0.5}
+ m_BounceIntensity: 1
+ m_ColorTemperature: 6570
+ m_UseColorTemperature: 1
+ m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
+ m_UseBoundingSphereOverride: 0
+ m_UseViewFrustumForShadowCasterCull: 1
+ m_ShadowRadius: 0
+ m_ShadowAngle: 0
+--- !u!4 &520426506
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 520426503}
+ m_LocalRotation: {x: 0.35355338, y: -0.35355338, z: 0.1464466, w: 0.8535535}
+ m_LocalPosition: {x: 0.04, y: 0, z: -0.05}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 45, y: -45, z: 0}
+--- !u!1 &1162558237
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1162558239}
+ - component: {fileID: 1162558238}
+ m_Layer: 0
+ m_Name: GameObject
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &1162558238
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1162558237}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 172515602e62fb746b5d573b38a5fe58, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IsGlobal: 1
+ priority: 0
+ blendDistance: 0
+ weight: 1
+ sharedProfile: {fileID: 11400000, guid: 2c16f0ba0116d1a4caffbaa841c75b1b, type: 2}
+--- !u!4 &1162558239
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1162558237}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: -31.469805, y: -39.1938, z: 3.0085251}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 4
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &1175170395
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1175170399}
+ - component: {fileID: 1175170398}
+ - component: {fileID: 1175170397}
+ - component: {fileID: 1175170396}
+ m_Layer: 0
+ m_Name: Cube
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 2147483647
+ m_IsActive: 1
+--- !u!65 &1175170396
+BoxCollider:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1175170395}
+ m_Material: {fileID: 0}
+ m_IsTrigger: 0
+ m_Enabled: 1
+ serializedVersion: 2
+ m_Size: {x: 1, y: 1, z: 1}
+ m_Center: {x: 0, y: 0, z: 0}
+--- !u!23 &1175170397
+MeshRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1175170395}
+ m_Enabled: 1
+ m_CastShadows: 1
+ m_ReceiveShadows: 1
+ m_DynamicOccludee: 1
+ m_StaticShadowCaster: 0
+ m_MotionVectors: 1
+ m_LightProbeUsage: 1
+ m_ReflectionProbeUsage: 1
+ m_RayTracingMode: 2
+ m_RayTraceProcedural: 0
+ m_RenderingLayerMask: 257
+ m_RendererPriority: 0
+ m_Materials:
+ - {fileID: 2100000, guid: 73c176f402d2c2f4d929aa5da7585d17, type: 2}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_ReceiveGI: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_StitchLightmapSeams: 1
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+ m_AdditionalVertexStreams: {fileID: 0}
+--- !u!33 &1175170398
+MeshFilter:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1175170395}
+ m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!4 &1175170399
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1175170395}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: -0.23, y: 2.01, z: 0.2}
+ m_LocalScale: {x: 2.4568, y: 0.5, z: 2.8767}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &1935221645
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1935221649}
+ - component: {fileID: 1935221648}
+ - component: {fileID: 1935221647}
+ - component: {fileID: 1935221646}
+ m_Layer: 0
+ m_Name: Plane
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 2147483647
+ m_IsActive: 1
+--- !u!64 &1935221646
+MeshCollider:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1935221645}
+ m_Material: {fileID: 0}
+ m_IsTrigger: 0
+ m_Enabled: 1
+ serializedVersion: 4
+ m_Convex: 0
+ m_CookingOptions: 30
+ m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!23 &1935221647
+MeshRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1935221645}
+ m_Enabled: 1
+ m_CastShadows: 1
+ m_ReceiveShadows: 1
+ m_DynamicOccludee: 1
+ m_StaticShadowCaster: 0
+ m_MotionVectors: 1
+ m_LightProbeUsage: 1
+ m_ReflectionProbeUsage: 1
+ m_RayTracingMode: 2
+ m_RayTraceProcedural: 0
+ m_RenderingLayerMask: 257
+ m_RendererPriority: 0
+ m_Materials:
+ - {fileID: 2100000, guid: 73c176f402d2c2f4d929aa5da7585d17, type: 2}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_ReceiveGI: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_StitchLightmapSeams: 1
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+ m_AdditionalVertexStreams: {fileID: 0}
+--- !u!33 &1935221648
+MeshFilter:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1935221645}
+ m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!4 &1935221649
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1935221645}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade.unity.meta b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade.unity.meta
new file mode 100644
index 00000000000..577b4bd697e
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade.unity.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 10cc8aebbf29a4e449e62471d6176292
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/GameObject Profile.asset b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/GameObject Profile.asset
new file mode 100644
index 00000000000..ce9f7a20edb
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/GameObject Profile.asset
@@ -0,0 +1,211 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!114 &-8502770925445959718
+MonoBehaviour:
+ m_ObjectHideFlags: 3
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 2d08ce26990eb1a4a9177b860541e702, type: 3}
+ m_Name: Exposure
+ m_EditorClassIdentifier:
+ active: 1
+ mode:
+ m_OverrideState: 1
+ m_Value: 0
+ meteringMode:
+ m_OverrideState: 1
+ m_Value: 2
+ luminanceSource:
+ m_OverrideState: 1
+ m_Value: 1
+ fixedExposure:
+ m_OverrideState: 1
+ m_Value: 10
+ compensation:
+ m_OverrideState: 1
+ m_Value: 0
+ limitMin:
+ m_OverrideState: 1
+ m_Value: -1
+ limitMax:
+ m_OverrideState: 1
+ m_Value: 14
+ curveMap:
+ m_OverrideState: 1
+ m_Value:
+ serializedVersion: 2
+ m_Curve:
+ - serializedVersion: 3
+ time: -10
+ value: -10
+ inSlope: 0
+ outSlope: 1
+ tangentMode: 0
+ weightedMode: 0
+ inWeight: 0
+ outWeight: 0
+ - serializedVersion: 3
+ time: 20
+ value: 20
+ inSlope: 1
+ outSlope: 0
+ tangentMode: 0
+ weightedMode: 0
+ inWeight: 0
+ outWeight: 0
+ m_PreInfinity: 2
+ m_PostInfinity: 2
+ m_RotationOrder: 4
+ limitMinCurveMap:
+ m_OverrideState: 1
+ m_Value:
+ serializedVersion: 2
+ m_Curve:
+ - serializedVersion: 3
+ time: -10
+ value: -12
+ inSlope: 0
+ outSlope: 1
+ tangentMode: 0
+ weightedMode: 0
+ inWeight: 0
+ outWeight: 0
+ - serializedVersion: 3
+ time: 20
+ value: 18
+ inSlope: 1
+ outSlope: 0
+ tangentMode: 0
+ weightedMode: 0
+ inWeight: 0
+ outWeight: 0
+ m_PreInfinity: 2
+ m_PostInfinity: 2
+ m_RotationOrder: 4
+ limitMaxCurveMap:
+ m_OverrideState: 1
+ m_Value:
+ serializedVersion: 2
+ m_Curve:
+ - serializedVersion: 3
+ time: -10
+ value: -8
+ inSlope: 0
+ outSlope: 1
+ tangentMode: 0
+ weightedMode: 0
+ inWeight: 0
+ outWeight: 0
+ - serializedVersion: 3
+ time: 20
+ value: 22
+ inSlope: 1
+ outSlope: 0
+ tangentMode: 0
+ weightedMode: 0
+ inWeight: 0
+ outWeight: 0
+ m_PreInfinity: 2
+ m_PostInfinity: 2
+ m_RotationOrder: 4
+ adaptationMode:
+ m_OverrideState: 1
+ m_Value: 1
+ adaptationSpeedDarkToLight:
+ m_OverrideState: 1
+ m_Value: 3
+ adaptationSpeedLightToDark:
+ m_OverrideState: 1
+ m_Value: 1
+ weightTextureMask:
+ m_OverrideState: 1
+ m_Value: {fileID: 0}
+ histogramPercentages:
+ m_OverrideState: 1
+ m_Value: {x: 40, y: 90}
+ histogramUseCurveRemapping:
+ m_OverrideState: 1
+ m_Value: 0
+ targetMidGray:
+ m_OverrideState: 1
+ m_Value: 0
+ centerAroundExposureTarget:
+ m_OverrideState: 1
+ m_Value: 0
+ proceduralCenter:
+ m_OverrideState: 1
+ m_Value: {x: 0.5, y: 0.5}
+ proceduralRadii:
+ m_OverrideState: 1
+ m_Value: {x: 0.3, y: 0.3}
+ maskMinIntensity:
+ m_OverrideState: 1
+ m_Value: -30
+ maskMaxIntensity:
+ m_OverrideState: 1
+ m_Value: 30
+ proceduralSoftness:
+ m_OverrideState: 1
+ m_Value: 0.5
+--- !u!114 &-7521474177044544492
+MonoBehaviour:
+ m_ObjectHideFlags: 3
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 7ddcec8a8eb2d684d833ac8f5d26aebd, type: 3}
+ m_Name: HDShadowSettings
+ m_EditorClassIdentifier:
+ active: 1
+ maxShadowDistance:
+ m_OverrideState: 1
+ m_Value: 25
+ directionalTransmissionMultiplier:
+ m_OverrideState: 1
+ m_Value: 1
+ cascadeShadowSplitCount:
+ m_OverrideState: 1
+ m_Value: 2
+ cascadeShadowSplit0:
+ m_OverrideState: 1
+ m_Value: 0.05
+ cascadeShadowSplit1:
+ m_OverrideState: 1
+ m_Value: 0.15
+ cascadeShadowSplit2:
+ m_OverrideState: 1
+ m_Value: 0.3
+ cascadeShadowBorder0:
+ m_OverrideState: 1
+ m_Value: 0.2968
+ cascadeShadowBorder1:
+ m_OverrideState: 1
+ m_Value: 0.3831579
+ cascadeShadowBorder2:
+ m_OverrideState: 1
+ m_Value: 0
+ cascadeShadowBorder3:
+ m_OverrideState: 1
+ m_Value: 0
+--- !u!114 &11400000
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: d7fd9488000d3734a9e00ee676215985, type: 3}
+ m_Name: GameObject Profile
+ m_EditorClassIdentifier:
+ components:
+ - {fileID: -7521474177044544492}
+ - {fileID: -8502770925445959718}
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/GameObject Profile.asset.meta b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/GameObject Profile.asset.meta
new file mode 100644
index 00000000000..33426d362e0
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/GameObject Profile.asset.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 2c16f0ba0116d1a4caffbaa841c75b1b
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 11400000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/LightingData.asset b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/LightingData.asset
new file mode 100644
index 00000000000..9756bfed250
Binary files /dev/null and b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/LightingData.asset differ
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/LightingData.asset.meta b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/LightingData.asset.meta
new file mode 100644
index 00000000000..2fe7c9aa9f9
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/LightingData.asset.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 9c598fdd7e5e1914cabeff3c8db3d1ce
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 112000000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/Lightmap-0_comp_dir.png b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/Lightmap-0_comp_dir.png
new file mode 100644
index 00000000000..99bdcc2f64f
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/Lightmap-0_comp_dir.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3a5100b9ec24fd1521b1b02f81fd68964124e1c742f2f514ab6ce60ee6ff4851
+size 85440
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/Lightmap-0_comp_dir.png.meta b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/Lightmap-0_comp_dir.png.meta
new file mode 100644
index 00000000000..3a532ad7135
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/Lightmap-0_comp_dir.png.meta
@@ -0,0 +1,99 @@
+fileFormatVersion: 2
+guid: 6cd3ca0714b731d4d8c9d5cba0689c8f
+TextureImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 11
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 1
+ sRGBTexture: 0
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapsPreserveCoverage: 0
+ alphaTestReferenceValue: 0.5
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ flipGreenChannel: 0
+ isReadable: 0
+ streamingMipmaps: 1
+ streamingMipmapsPriority: 0
+ vTOnly: 0
+ ignoreMasterTextureLimit: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ serializedVersion: 2
+ filterMode: 1
+ aniso: 3
+ mipBias: 0
+ wrapU: 1
+ wrapV: 1
+ wrapW: 1
+ nPOTScale: 1
+ lightmap: 0
+ compressionQuality: 50
+ spriteMode: 0
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: 0.5, y: 0.5}
+ spritePixelsToUnits: 100
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+ spriteGenerateFallbackPhysicsShape: 1
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 12
+ textureShape: 1
+ singleChannelComponent: 0
+ flipbookRows: 1
+ flipbookColumns: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ ignorePngGamma: 0
+ applyGammaDecoding: 0
+ swizzle: 50462976
+ platformSettings:
+ - serializedVersion: 3
+ buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 2
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ physicsShape: []
+ bones: []
+ spriteID:
+ internalID: 0
+ vertices: []
+ indices:
+ edges: []
+ weights: []
+ secondaryTextures: []
+ nameFileIdTable: {}
+ spritePackingTag:
+ pSDRemoveMatte: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/Lightmap-0_comp_light.exr b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/Lightmap-0_comp_light.exr
new file mode 100644
index 00000000000..bdc8fd6e582
Binary files /dev/null and b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/Lightmap-0_comp_light.exr differ
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/Lightmap-0_comp_light.exr.meta b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/Lightmap-0_comp_light.exr.meta
new file mode 100644
index 00000000000..8fbd194dfed
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/Lightmap-0_comp_light.exr.meta
@@ -0,0 +1,99 @@
+fileFormatVersion: 2
+guid: 003ca561e2cfa2745a022505580c4fe0
+TextureImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 11
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 1
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapsPreserveCoverage: 0
+ alphaTestReferenceValue: 0.5
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ flipGreenChannel: 0
+ isReadable: 0
+ streamingMipmaps: 1
+ streamingMipmapsPriority: 0
+ vTOnly: 0
+ ignoreMasterTextureLimit: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ serializedVersion: 2
+ filterMode: 1
+ aniso: 3
+ mipBias: 0
+ wrapU: 1
+ wrapV: 1
+ wrapW: 1
+ nPOTScale: 1
+ lightmap: 0
+ compressionQuality: 50
+ spriteMode: 0
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: 0.5, y: 0.5}
+ spritePixelsToUnits: 100
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+ spriteGenerateFallbackPhysicsShape: 1
+ alphaUsage: 0
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 6
+ textureShape: 1
+ singleChannelComponent: 0
+ flipbookRows: 1
+ flipbookColumns: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ ignorePngGamma: 0
+ applyGammaDecoding: 0
+ swizzle: 50462976
+ platformSettings:
+ - serializedVersion: 3
+ buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 2
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ physicsShape: []
+ bones: []
+ spriteID:
+ internalID: 0
+ vertices: []
+ indices:
+ edges: []
+ weights: []
+ secondaryTextures: []
+ nameFileIdTable: {}
+ spritePackingTag:
+ pSDRemoveMatte: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/Lightmap-0_comp_shadowmask.png b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/Lightmap-0_comp_shadowmask.png
new file mode 100644
index 00000000000..ee10fda8e64
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/Lightmap-0_comp_shadowmask.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e25c69ad42fa3ba06db84849e8d8f912f4129696e018745b6cdd4c2746756f1f
+size 2087
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/Lightmap-0_comp_shadowmask.png.meta b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/Lightmap-0_comp_shadowmask.png.meta
new file mode 100644
index 00000000000..3a4a11a2514
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade/Lightmap-0_comp_shadowmask.png.meta
@@ -0,0 +1,99 @@
+fileFormatVersion: 2
+guid: 41b89a175ba784c4793925221175cae0
+TextureImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 11
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 1
+ sRGBTexture: 0
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapsPreserveCoverage: 0
+ alphaTestReferenceValue: 0.5
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ flipGreenChannel: 0
+ isReadable: 0
+ streamingMipmaps: 1
+ streamingMipmapsPriority: 0
+ vTOnly: 0
+ ignoreMasterTextureLimit: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ serializedVersion: 2
+ filterMode: 1
+ aniso: 3
+ mipBias: 0
+ wrapU: 1
+ wrapV: 1
+ wrapW: 1
+ nPOTScale: 1
+ lightmap: 0
+ compressionQuality: 50
+ spriteMode: 0
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: 0.5, y: 0.5}
+ spritePixelsToUnits: 100
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+ spriteGenerateFallbackPhysicsShape: 1
+ alphaUsage: 0
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 11
+ textureShape: 1
+ singleChannelComponent: 0
+ flipbookRows: 1
+ flipbookColumns: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ ignorePngGamma: 0
+ applyGammaDecoding: 0
+ swizzle: 50462976
+ platformSettings:
+ - serializedVersion: 3
+ buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 2
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ physicsShape: []
+ bones: []
+ spriteID:
+ internalID: 0
+ vertices: []
+ indices:
+ edges: []
+ weights: []
+ secondaryTextures: []
+ nameFileIdTable: {}
+ spritePackingTag:
+ pSDRemoveMatte: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_FadeSettings.lighting b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_FadeSettings.lighting
new file mode 100644
index 00000000000..e4b993b9052
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_FadeSettings.lighting
@@ -0,0 +1,64 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!850595691 &4890085278179872738
+LightingSettings:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_Name: 2309_Shadow_Mask_Dir_FadeSettings
+ serializedVersion: 5
+ m_GIWorkflowMode: 1
+ m_EnableBakedLightmaps: 1
+ m_EnableRealtimeLightmaps: 0
+ m_RealtimeEnvironmentLighting: 1
+ m_BounceScale: 1
+ m_AlbedoBoost: 1
+ m_IndirectOutputScale: 1
+ m_UsingShadowmask: 1
+ m_BakeBackend: 1
+ m_LightmapMaxSize: 1024
+ m_BakeResolution: 30
+ m_Padding: 2
+ m_LightmapCompression: 3
+ m_AO: 0
+ m_AOMaxDistance: 1
+ m_CompAOExponent: 1
+ m_CompAOExponentDirect: 0
+ m_ExtractAO: 0
+ m_MixedBakeMode: 2
+ m_LightmapsBakeMode: 1
+ m_FilterMode: 1
+ m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000, type: 0}
+ m_ExportTrainingData: 0
+ m_TrainingDataDestination: TrainingData
+ m_RealtimeResolution: 2
+ m_ForceWhiteAlbedo: 0
+ m_ForceUpdates: 0
+ m_FinalGather: 0
+ m_FinalGatherRayCount: 256
+ m_FinalGatherFiltering: 1
+ m_PVRCulling: 1
+ m_PVRSampling: 1
+ m_PVRDirectSampleCount: 16
+ m_PVRSampleCount: 128
+ m_PVREnvironmentSampleCount: 128
+ m_PVREnvironmentReferencePointCount: 2048
+ m_LightProbeSampleCountMultiplier: 4
+ m_PVRBounces: 2
+ m_PVRMinBounces: 2
+ m_PVREnvironmentImportanceSampling: 0
+ m_PVRFilteringMode: 2
+ m_PVRDenoiserTypeDirect: 0
+ m_PVRDenoiserTypeIndirect: 0
+ m_PVRDenoiserTypeAO: 0
+ m_PVRFilterTypeDirect: 0
+ m_PVRFilterTypeIndirect: 0
+ m_PVRFilterTypeAO: 0
+ m_PVRFilteringGaussRadiusDirect: 1
+ m_PVRFilteringGaussRadiusIndirect: 5
+ m_PVRFilteringGaussRadiusAO: 2
+ m_PVRFilteringAtrousPositionSigmaDirect: 0.5
+ m_PVRFilteringAtrousPositionSigmaIndirect: 2
+ m_PVRFilteringAtrousPositionSigmaAO: 1
+ m_PVRTiledBaking: 0
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_FadeSettings.lighting.meta b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_FadeSettings.lighting.meta
new file mode 100644
index 00000000000..cbfa253fe32
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_FadeSettings.lighting.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: db3e513e32a957b4897ff8bb64768274
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 4890085278179872738
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5002_Fog_DensityVolumes.unity b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5002_Fog_DensityVolumes.unity
index ea6623d3d96..733aae09953 100644
--- a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5002_Fog_DensityVolumes.unity
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5002_Fog_DensityVolumes.unity
@@ -153,6 +153,7 @@ Transform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -0.03525746, y: -0.03413081, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1480297283}
m_RootOrder: 3
@@ -285,7 +286,7 @@ MonoBehaviour:
invertFade: 0
distanceFadeStart: 10000
distanceFadeEnd: 10000
- textureOffset: {x: -0, y: -0, z: 0}
+ textureOffset: {x: -0, y: -0, z: -0}
falloffMode: 0
m_Version: 2
--- !u!4 &243339205
@@ -295,13 +296,14 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 243339203}
- m_LocalRotation: {x: -0.38268343, y: 0, z: 0, w: 0.92387956}
+ m_LocalRotation: {x: -0.92387974, y: -0, z: -0, w: 0.3826831}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 5, y: 5, z: 5}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2018619095}
m_RootOrder: 1
- m_LocalEulerAnglesHint: {x: -45, y: 0, z: 0}
+ m_LocalEulerAnglesHint: {x: -135, y: 0, z: 0}
--- !u!1 &386829906
GameObject:
m_ObjectHideFlags: 0
@@ -335,6 +337,7 @@ MonoBehaviour:
m_Profile: {fileID: 11400000, guid: 60355684f9174744d9e48ee93f0f3a7e, type: 2}
m_StaticLightingSkyUniqueID: 2
m_StaticLightingCloudsUniqueID: 0
+ m_StaticLightingVolumetricClouds: 0
--- !u!114 &386829908
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -347,7 +350,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 172515602e62fb746b5d573b38a5fe58, type: 3}
m_Name:
m_EditorClassIdentifier:
- isGlobal: 1
+ m_IsGlobal: 1
priority: 0
blendDistance: 0
weight: 1
@@ -362,6 +365,7 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 1
@@ -395,6 +399,7 @@ Transform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 2.5082512, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2018619095}
m_RootOrder: 0
@@ -594,6 +599,7 @@ MonoBehaviour:
m_BarnDoorAngle: 90
m_BarnDoorLength: 0.05
m_preserveCachedShadow: 0
+ m_OnDemandShadowRenderOnPlacement: 1
m_ShadowCascadeRatios:
- 0.05
- 0.2
@@ -609,7 +615,6 @@ MonoBehaviour:
useOldInspector: 0
useVolumetric: 1
featuresFoldout: 1
- showAdditionalSettings: 0
m_AreaLightEmissiveMeshShadowCastingMode: 0
m_AreaLightEmissiveMeshMotionVectorGenerationMode: 0
m_AreaLightEmissiveMeshLayer: -1
@@ -693,6 +698,7 @@ Transform:
m_LocalRotation: {x: 0.38268343, y: 0, z: 0, w: 0.92387956}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 2
@@ -724,6 +730,7 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0.5, w: 0.8660254}
m_LocalPosition: {x: 0.8660258, y: -0.49999934, z: 0}
m_LocalScale: {x: 3, y: 3, z: 3}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1679543826}
m_RootOrder: 2
@@ -787,6 +794,7 @@ Transform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 2, y: 0, z: 0}
m_LocalScale: {x: 1.8, y: 1.8, z: 1.8}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1153552880}
m_RootOrder: 4
@@ -852,6 +860,7 @@ Transform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -0.03525746, y: 0.4024787, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1480297283}
m_RootOrder: 0
@@ -1017,7 +1026,7 @@ PrefabInstance:
- target: {fileID: 114777190906822814, guid: c07ace9ab142ca9469fa377877c2f1e7,
type: 3}
propertyPath: m_Version
- value: 7
+ value: 8
objectReference: {fileID: 0}
- target: {fileID: 114777190906822814, guid: c07ace9ab142ca9469fa377877c2f1e7,
type: 3}
@@ -1085,6 +1094,7 @@ Transform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1.8, y: 1.8, z: 1.8}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1153552880}
m_RootOrder: 3
@@ -1148,6 +1158,7 @@ Transform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 4, y: 0, z: 0}
m_LocalScale: {x: 1.8, y: 1.8, z: 1.8}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1153552880}
m_RootOrder: 5
@@ -1211,6 +1222,7 @@ Transform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -4, y: 0, z: 0}
m_LocalScale: {x: 1.8, y: 1.8, z: 1.8}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1153552880}
m_RootOrder: 1
@@ -1273,6 +1285,7 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 2, y: 3, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1480297283}
- {fileID: 1113038753}
@@ -1312,6 +1325,7 @@ Transform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -0.031877518, y: 2.5082512, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1800054801}
m_RootOrder: 0
@@ -1429,6 +1443,7 @@ Transform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -2, y: -0.03413081, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1480297283}
m_RootOrder: 2
@@ -1542,6 +1557,7 @@ Transform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -2, y: 0, z: 0}
m_LocalScale: {x: 1.8, y: 1.8, z: 1.8}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1153552880}
m_RootOrder: 2
@@ -1607,6 +1623,7 @@ Transform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 3.9669957, y: -0.03413081, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1480297283}
m_RootOrder: 5
@@ -1719,6 +1736,7 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 897164415}
- {fileID: 2084315281}
@@ -1758,6 +1776,7 @@ Transform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 1.9658692, y: -0.03413081, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1480297283}
m_RootOrder: 4
@@ -1871,6 +1890,7 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.0000022576353, y: 1, z: 0}
m_LocalScale: {x: 3, y: 3, z: 3}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1679543826}
m_RootOrder: 1
@@ -1933,6 +1953,7 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -8, y: 0.5, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1847253253}
- {fileID: 1561861768}
@@ -1967,6 +1988,7 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 8, y: -4, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1271361944}
- {fileID: 1928825978}
@@ -2002,6 +2024,7 @@ Transform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0.031877518, y: 2.7381868, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1679543826}
m_RootOrder: 0
@@ -2115,6 +2138,7 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0.2588191, w: 0.9659258}
m_LocalPosition: {x: -0.86602354, y: -0.5000033, z: 0}
m_LocalScale: {x: 3, y: 3, z: 3}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1679543826}
m_RootOrder: 3
@@ -2178,6 +2202,7 @@ Transform:
m_LocalRotation: {x: -0.3696438, y: -0.23911758, z: -0.099045746, w: 0.89239913}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 3.5, y: 3.5, z: 3.5}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1800054801}
m_RootOrder: 1
@@ -2211,7 +2236,7 @@ MonoBehaviour:
invertFade: 0
distanceFadeStart: 10000
distanceFadeEnd: 10000
- textureOffset: {x: -0, y: -0, z: 0}
+ textureOffset: {x: -0, y: -0, z: -0}
falloffMode: 0
m_Version: 2
--- !u!1 &2018619094
@@ -2240,6 +2265,7 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: -4, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 421069095}
- {fileID: 243339205}
@@ -2275,6 +2301,7 @@ Transform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -3.9647427, y: -0.03413081, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1480297283}
m_RootOrder: 1
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5020_SkyOverride.meta b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5020_SkyOverride.meta
new file mode 100644
index 00000000000..bb45885aaf9
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5020_SkyOverride.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 8205d5e7e9e3a4e4e8d381f90fb2a576
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5020_SkyOverride.unity b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5020_SkyOverride.unity
new file mode 100644
index 00000000000..a862556b021
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5020_SkyOverride.unity
@@ -0,0 +1,759 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!29 &1
+OcclusionCullingSettings:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_OcclusionBakeSettings:
+ smallestOccluder: 5
+ smallestHole: 0.25
+ backfaceThreshold: 100
+ m_SceneGUID: 00000000000000000000000000000000
+ m_OcclusionCullingData: {fileID: 0}
+--- !u!104 &2
+RenderSettings:
+ m_ObjectHideFlags: 0
+ serializedVersion: 9
+ m_Fog: 0
+ m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
+ m_FogMode: 3
+ m_FogDensity: 0.01
+ m_LinearFogStart: 0
+ m_LinearFogEnd: 300
+ m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
+ m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
+ m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
+ m_AmbientIntensity: 1
+ m_AmbientMode: 0
+ m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
+ m_SkyboxMaterial: {fileID: 0}
+ m_HaloStrength: 0.5
+ m_FlareStrength: 1
+ m_FlareFadeSpeed: 3
+ m_HaloTexture: {fileID: 0}
+ m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
+ m_DefaultReflectionMode: 0
+ m_DefaultReflectionResolution: 128
+ m_ReflectionBounces: 1
+ m_ReflectionIntensity: 1
+ m_CustomReflection: {fileID: 0}
+ m_Sun: {fileID: 0}
+ m_IndirectSpecularColor: {r: 8877.211, g: 8174.976, b: 10976.957, a: 1}
+ m_UseRadianceAmbientProbe: 0
+--- !u!157 &3
+LightmapSettings:
+ m_ObjectHideFlags: 0
+ serializedVersion: 12
+ m_GIWorkflowMode: 1
+ m_GISettings:
+ serializedVersion: 2
+ m_BounceScale: 1
+ m_IndirectOutputScale: 1
+ m_AlbedoBoost: 1
+ m_EnvironmentLightingMode: 0
+ m_EnableBakedLightmaps: 1
+ m_EnableRealtimeLightmaps: 0
+ m_LightmapEditorSettings:
+ serializedVersion: 12
+ m_Resolution: 2
+ m_BakeResolution: 40
+ m_AtlasSize: 1024
+ m_AO: 0
+ m_AOMaxDistance: 1
+ m_CompAOExponent: 1
+ m_CompAOExponentDirect: 0
+ m_ExtractAmbientOcclusion: 0
+ m_Padding: 2
+ m_LightmapParameters: {fileID: 0}
+ m_LightmapsBakeMode: 1
+ m_TextureCompression: 1
+ m_FinalGather: 0
+ m_FinalGatherFiltering: 1
+ m_FinalGatherRayCount: 256
+ m_ReflectionCompression: 2
+ m_MixedBakeMode: 2
+ m_BakeBackend: 1
+ m_PVRSampling: 1
+ m_PVRDirectSampleCount: 32
+ m_PVRSampleCount: 512
+ m_PVRBounces: 2
+ m_PVREnvironmentSampleCount: 256
+ m_PVREnvironmentReferencePointCount: 2048
+ m_PVRFilteringMode: 1
+ m_PVRDenoiserTypeDirect: 1
+ m_PVRDenoiserTypeIndirect: 1
+ m_PVRDenoiserTypeAO: 1
+ m_PVRFilterTypeDirect: 0
+ m_PVRFilterTypeIndirect: 0
+ m_PVRFilterTypeAO: 0
+ m_PVREnvironmentMIS: 1
+ m_PVRCulling: 1
+ m_PVRFilteringGaussRadiusDirect: 1
+ m_PVRFilteringGaussRadiusIndirect: 5
+ m_PVRFilteringGaussRadiusAO: 2
+ m_PVRFilteringAtrousPositionSigmaDirect: 0.5
+ m_PVRFilteringAtrousPositionSigmaIndirect: 2
+ m_PVRFilteringAtrousPositionSigmaAO: 1
+ m_ExportTrainingData: 0
+ m_TrainingDataDestination: TrainingData
+ m_LightProbeSampleCountMultiplier: 4
+ m_LightingDataAsset: {fileID: 0}
+ m_LightingSettings: {fileID: 1149913020}
+--- !u!196 &4
+NavMeshSettings:
+ serializedVersion: 2
+ m_ObjectHideFlags: 0
+ m_BuildSettings:
+ serializedVersion: 2
+ agentTypeID: 0
+ agentRadius: 0.5
+ agentHeight: 2
+ agentSlope: 45
+ agentClimb: 0.4
+ ledgeDropHeight: 0
+ maxJumpAcrossDistance: 0
+ minRegionArea: 2
+ manualCellSize: 0
+ cellSize: 0.16666667
+ manualTileSize: 0
+ tileSize: 256
+ accuratePlacement: 0
+ maxJobWorkers: 0
+ preserveTilesOutsideBounds: 0
+ debug:
+ m_Flags: 0
+ m_NavMeshData: {fileID: 0}
+--- !u!1 &84910099
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 84910101}
+ - component: {fileID: 84910100}
+ m_Layer: 0
+ m_Name: Global Volume
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &84910100
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 84910099}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 172515602e62fb746b5d573b38a5fe58, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IsGlobal: 1
+ priority: 0
+ blendDistance: 0
+ weight: 1
+ sharedProfile: {fileID: 11400000, guid: 373e82c7afb6b4e4d977a82b20cf8c2a, type: 2}
+--- !u!4 &84910101
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 84910099}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 4
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &440300291
+GameObject:
+ m_ObjectHideFlags: 1
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 440300293}
+ - component: {fileID: 440300292}
+ m_Layer: 0
+ m_Name: StaticLightingSky
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &440300292
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 440300291}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 441482e8936e35048a1dffac814e3ef8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Profile: {fileID: 0}
+ m_StaticLightingSkyUniqueID: 0
+ m_StaticLightingCloudsUniqueID: 0
+ m_StaticLightingVolumetricClouds: 0
+--- !u!4 &440300293
+Transform:
+ m_ObjectHideFlags: 1
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 440300291}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1001 &452585676
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 0}
+ m_Modifications:
+ - target: {fileID: 4209882255362944, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
+ propertyPath: m_RootOrder
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4209882255362944, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
+ propertyPath: m_LocalPosition.x
+ value: 0.38555184
+ objectReference: {fileID: 0}
+ - target: {fileID: 4209882255362944, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0.7531727
+ objectReference: {fileID: 0}
+ - target: {fileID: 4209882255362944, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
+ propertyPath: m_LocalPosition.z
+ value: -4.727645
+ objectReference: {fileID: 0}
+ - target: {fileID: 4209882255362944, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 0.9278999
+ objectReference: {fileID: 0}
+ - target: {fileID: 4209882255362944, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
+ propertyPath: m_LocalRotation.x
+ value: -0.099655226
+ objectReference: {fileID: 0}
+ - target: {fileID: 4209882255362944, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
+ propertyPath: m_LocalRotation.y
+ value: -0.35720965
+ objectReference: {fileID: 0}
+ - target: {fileID: 4209882255362944, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
+ propertyPath: m_LocalRotation.z
+ value: -0.038363848
+ objectReference: {fileID: 0}
+ - target: {fileID: 4209882255362944, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: -12.26
+ objectReference: {fileID: 0}
+ - target: {fileID: 4209882255362944, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: -42.11
+ objectReference: {fileID: 0}
+ - target: {fileID: 20109210616973140, guid: c07ace9ab142ca9469fa377877c2f1e7,
+ type: 3}
+ propertyPath: m_ClearFlags
+ value: 2
+ objectReference: {fileID: 0}
+ - target: {fileID: 20109210616973140, guid: c07ace9ab142ca9469fa377877c2f1e7,
+ type: 3}
+ propertyPath: m_BackGroundColor.b
+ value: 0.4705882
+ objectReference: {fileID: 0}
+ - target: {fileID: 20109210616973140, guid: c07ace9ab142ca9469fa377877c2f1e7,
+ type: 3}
+ propertyPath: m_BackGroundColor.g
+ value: 0.4705882
+ objectReference: {fileID: 0}
+ - target: {fileID: 20109210616973140, guid: c07ace9ab142ca9469fa377877c2f1e7,
+ type: 3}
+ propertyPath: m_BackGroundColor.r
+ value: 0.4705882
+ objectReference: {fileID: 0}
+ - target: {fileID: 114777190906822814, guid: c07ace9ab142ca9469fa377877c2f1e7,
+ type: 3}
+ propertyPath: m_Version
+ value: 8
+ objectReference: {fileID: 0}
+ - target: {fileID: 114777190906822814, guid: c07ace9ab142ca9469fa377877c2f1e7,
+ type: 3}
+ propertyPath: clearColorMode
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 114777190906822814, guid: c07ace9ab142ca9469fa377877c2f1e7,
+ type: 3}
+ propertyPath: volumeLayerMask.m_Bits
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 114777190906822814, guid: c07ace9ab142ca9469fa377877c2f1e7,
+ type: 3}
+ propertyPath: m_RenderingPathCustomFrameSettings.bitDatas.data1
+ value: 70005818916701
+ objectReference: {fileID: 0}
+ - target: {fileID: 114995348509370400, guid: c07ace9ab142ca9469fa377877c2f1e7,
+ type: 3}
+ propertyPath: xrCompatible
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 114995348509370400, guid: c07ace9ab142ca9469fa377877c2f1e7,
+ type: 3}
+ propertyPath: renderPipelineAsset
+ value:
+ objectReference: {fileID: 11400000, guid: ca692276b8168ff458ee4de01bd36635,
+ type: 2}
+ - target: {fileID: 114995348509370400, guid: c07ace9ab142ca9469fa377877c2f1e7,
+ type: 3}
+ propertyPath: ImageComparisonSettings.TargetWidth
+ value: 360
+ objectReference: {fileID: 0}
+ - target: {fileID: 114995348509370400, guid: c07ace9ab142ca9469fa377877c2f1e7,
+ type: 3}
+ propertyPath: ImageComparisonSettings.TargetHeight
+ value: 200
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: c07ace9ab142ca9469fa377877c2f1e7, type: 3}
+--- !u!1 &524761847
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 524761849}
+ - component: {fileID: 524761848}
+ m_Layer: 10
+ m_Name: Global Volume (1)
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &524761848
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 524761847}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 172515602e62fb746b5d573b38a5fe58, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IsGlobal: 1
+ priority: 0
+ blendDistance: 0
+ weight: 1
+ sharedProfile: {fileID: 11400000, guid: 89f71411e41bdc34ebdf888ee27ae8c9, type: 2}
+--- !u!4 &524761849
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 524761847}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 5
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!850595691 &1149913020
+LightingSettings:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_Name: Settings.lighting
+ serializedVersion: 5
+ m_GIWorkflowMode: 1
+ m_EnableBakedLightmaps: 1
+ m_EnableRealtimeLightmaps: 0
+ m_RealtimeEnvironmentLighting: 1
+ m_BounceScale: 1
+ m_AlbedoBoost: 1
+ m_IndirectOutputScale: 1
+ m_UsingShadowmask: 1
+ m_BakeBackend: 1
+ m_LightmapMaxSize: 1024
+ m_BakeResolution: 40
+ m_Padding: 2
+ m_LightmapCompression: 3
+ m_AO: 0
+ m_AOMaxDistance: 1
+ m_CompAOExponent: 1
+ m_CompAOExponentDirect: 0
+ m_ExtractAO: 0
+ m_MixedBakeMode: 2
+ m_LightmapsBakeMode: 1
+ m_FilterMode: 1
+ m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000, type: 0}
+ m_ExportTrainingData: 0
+ m_TrainingDataDestination: TrainingData
+ m_RealtimeResolution: 2
+ m_ForceWhiteAlbedo: 0
+ m_ForceUpdates: 0
+ m_FinalGather: 0
+ m_FinalGatherRayCount: 256
+ m_FinalGatherFiltering: 1
+ m_PVRCulling: 1
+ m_PVRSampling: 1
+ m_PVRDirectSampleCount: 32
+ m_PVRSampleCount: 512
+ m_PVREnvironmentSampleCount: 256
+ m_PVREnvironmentReferencePointCount: 2048
+ m_LightProbeSampleCountMultiplier: 4
+ m_PVRBounces: 2
+ m_PVRMinBounces: 1
+ m_PVREnvironmentImportanceSampling: 1
+ m_PVRFilteringMode: 1
+ m_PVRDenoiserTypeDirect: 1
+ m_PVRDenoiserTypeIndirect: 1
+ m_PVRDenoiserTypeAO: 1
+ m_PVRFilterTypeDirect: 0
+ m_PVRFilterTypeIndirect: 0
+ m_PVRFilterTypeAO: 0
+ m_PVRFilteringGaussRadiusDirect: 1
+ m_PVRFilteringGaussRadiusIndirect: 5
+ m_PVRFilteringGaussRadiusAO: 2
+ m_PVRFilteringAtrousPositionSigmaDirect: 0.5
+ m_PVRFilteringAtrousPositionSigmaIndirect: 2
+ m_PVRFilteringAtrousPositionSigmaAO: 1
+ m_PVRTiledBaking: 0
+ m_NumRaysToShootPerTexel: -1
+--- !u!1 &1211733623
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1211733626}
+ - component: {fileID: 1211733625}
+ - component: {fileID: 1211733624}
+ m_Layer: 0
+ m_Name: Directional Light
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &1211733624
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1211733623}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 7a68c43fe1f2a47cfa234b5eeaa98012, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Intensity: 100000
+ m_EnableSpotReflector: 0
+ m_LuxAtDistance: 1
+ m_InnerSpotPercent: 0
+ m_SpotIESCutoffPercent: 100
+ m_LightDimmer: 1
+ m_VolumetricDimmer: 1
+ m_LightUnit: 2
+ m_FadeDistance: 10000
+ m_VolumetricFadeDistance: 10000
+ m_AffectDiffuse: 1
+ m_AffectSpecular: 1
+ m_NonLightmappedOnly: 0
+ m_ShapeWidth: 500
+ m_ShapeHeight: 500
+ m_AspectRatio: 1
+ m_ShapeRadius: 0.025
+ m_SoftnessScale: 1
+ m_UseCustomSpotLightShadowCone: 0
+ m_CustomSpotLightShadowCone: 30
+ m_MaxSmoothness: 0.99
+ m_ApplyRangeAttenuation: 1
+ m_DisplayAreaLightEmissiveMesh: 0
+ m_AreaLightCookie: {fileID: 0}
+ m_IESPoint: {fileID: 0}
+ m_IESSpot: {fileID: 0}
+ m_IncludeForRayTracing: 1
+ m_AreaLightShadowCone: 120
+ m_UseScreenSpaceShadows: 0
+ m_InteractsWithSky: 1
+ m_AngularDiameter: 0.53
+ m_FlareSize: 0.2
+ m_FlareTint: {r: 1, g: 1, b: 1, a: 1}
+ m_FlareFalloff: 4
+ m_SurfaceTexture: {fileID: 0}
+ m_SurfaceTint: {r: 1, g: 1, b: 1, a: 1}
+ m_Distance: 1.5e+11
+ m_UseRayTracedShadows: 0
+ m_NumRayTracingSamples: 4
+ m_FilterTracedShadow: 1
+ m_FilterSizeTraced: 16
+ m_SunLightConeAngle: 0.5
+ m_LightShadowRadius: 0.5
+ m_SemiTransparentShadow: 0
+ m_ColorShadow: 1
+ m_DistanceBasedFiltering: 0
+ m_EvsmExponent: 15
+ m_EvsmLightLeakBias: 0
+ m_EvsmVarianceBias: 0.00001
+ m_EvsmBlurPasses: 0
+ m_LightlayersMask: 1
+ m_LinkShadowLayers: 1
+ m_ShadowNearPlane: 0.1
+ m_BlockerSampleCount: 24
+ m_FilterSampleCount: 16
+ m_MinFilterSize: 0.1
+ m_KernelSize: 5
+ m_LightAngle: 1
+ m_MaxDepthBias: 0.001
+ m_ShadowResolution:
+ m_Override: 512
+ m_UseOverride: 1
+ m_Level: 0
+ m_ShadowDimmer: 1
+ m_VolumetricShadowDimmer: 1
+ m_ShadowFadeDistance: 10000
+ m_UseContactShadow:
+ m_Override: 0
+ m_UseOverride: 1
+ m_Level: 0
+ m_RayTracedContactShadow: 0
+ m_ShadowTint: {r: 0, g: 0, b: 0, a: 1}
+ m_PenumbraTint: 0
+ m_NormalBias: 0.75
+ m_SlopeBias: 0.5
+ m_ShadowUpdateMode: 0
+ m_AlwaysDrawDynamicShadows: 0
+ m_UpdateShadowOnLightMovement: 0
+ m_CachedShadowTranslationThreshold: 0.01
+ m_CachedShadowAngularThreshold: 0.5
+ m_BarnDoorAngle: 90
+ m_BarnDoorLength: 0.05
+ m_preserveCachedShadow: 0
+ m_OnDemandShadowRenderOnPlacement: 1
+ m_ShadowCascadeRatios:
+ - 0.05
+ - 0.2
+ - 0.3
+ m_ShadowCascadeBorders:
+ - 0.2
+ - 0.2
+ - 0.2
+ - 0.2
+ m_ShadowAlgorithm: 0
+ m_ShadowVariant: 0
+ m_ShadowPrecision: 0
+ useOldInspector: 0
+ useVolumetric: 1
+ featuresFoldout: 1
+ m_AreaLightEmissiveMeshShadowCastingMode: 0
+ m_AreaLightEmissiveMeshMotionVectorGenerationMode: 0
+ m_AreaLightEmissiveMeshLayer: -1
+ m_Version: 11
+ m_ObsoleteShadowResolutionTier: 1
+ m_ObsoleteUseShadowQualitySettings: 0
+ m_ObsoleteCustomShadowResolution: 512
+ m_ObsoleteContactShadows: 0
+ m_PointlightHDType: 0
+ m_SpotLightShape: 0
+ m_AreaLightShape: 0
+--- !u!108 &1211733625
+Light:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1211733623}
+ m_Enabled: 1
+ serializedVersion: 10
+ m_Type: 1
+ m_Shape: 0
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_Intensity: 100000
+ m_Range: 10
+ m_SpotAngle: 30
+ m_InnerSpotAngle: 21.80208
+ m_CookieSize: 10
+ m_Shadows:
+ m_Type: 0
+ m_Resolution: -1
+ m_CustomResolution: -1
+ m_Strength: 1
+ m_Bias: 0.05
+ m_NormalBias: 0.4
+ m_NearPlane: 0.2
+ m_CullingMatrixOverride:
+ e00: 1
+ e01: 0
+ e02: 0
+ e03: 0
+ e10: 0
+ e11: 1
+ e12: 0
+ e13: 0
+ e20: 0
+ e21: 0
+ e22: 1
+ e23: 0
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ m_UseCullingMatrixOverride: 0
+ m_Cookie: {fileID: 0}
+ m_DrawHalo: 0
+ m_Flare: {fileID: 0}
+ m_RenderMode: 0
+ m_CullingMask:
+ serializedVersion: 2
+ m_Bits: 4294967295
+ m_RenderingLayerMask: 1
+ m_Lightmapping: 4
+ m_LightShadowCasterMode: 2
+ m_AreaSize: {x: 500, y: 500}
+ m_BounceIntensity: 1
+ m_ColorTemperature: 9561
+ m_UseColorTemperature: 1
+ m_BoundingSphereOverride: {x: 1.01e-43, y: -3.1973513e+30, z: 4.5904e-41, w: 0}
+ m_UseBoundingSphereOverride: 0
+ m_UseViewFrustumForShadowCasterCull: 1
+ m_ShadowRadius: 0
+ m_ShadowAngle: 0.53
+--- !u!4 &1211733626
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1211733623}
+ m_LocalRotation: {x: 0.019990426, y: -0.8984555, z: 0.22855908, w: -0.37435126}
+ m_LocalPosition: {x: 0, y: 2, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 23.312, y: -227.938, z: -13.029}
+--- !u!1 &2119338682
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 2119338686}
+ - component: {fileID: 2119338685}
+ - component: {fileID: 2119338684}
+ - component: {fileID: 2119338683}
+ m_Layer: 0
+ m_Name: Plane
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!64 &2119338683
+MeshCollider:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 2119338682}
+ m_Material: {fileID: 0}
+ m_IsTrigger: 0
+ m_Enabled: 1
+ serializedVersion: 4
+ m_Convex: 0
+ m_CookingOptions: 30
+ m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!23 &2119338684
+MeshRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 2119338682}
+ m_Enabled: 1
+ m_CastShadows: 1
+ m_ReceiveShadows: 1
+ m_DynamicOccludee: 1
+ m_StaticShadowCaster: 0
+ m_MotionVectors: 1
+ m_LightProbeUsage: 1
+ m_ReflectionProbeUsage: 1
+ m_RayTracingMode: 2
+ m_RayTraceProcedural: 0
+ m_RenderingLayerMask: 257
+ m_RendererPriority: 0
+ m_Materials:
+ - {fileID: 2100000, guid: 73c176f402d2c2f4d929aa5da7585d17, type: 2}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_ReceiveGI: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_StitchLightmapSeams: 1
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+ m_AdditionalVertexStreams: {fileID: 0}
+--- !u!33 &2119338685
+MeshFilter:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 2119338682}
+ m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!4 &2119338686
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 2119338682}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5020_SkyOverride.unity.meta b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5020_SkyOverride.unity.meta
new file mode 100644
index 00000000000..4c4e91a1f46
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5020_SkyOverride.unity.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 1a304fd03c51d6a4b96925d57b934e3f
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5020_SkyOverride/Global Volume Profile 1.asset b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5020_SkyOverride/Global Volume Profile 1.asset
new file mode 100644
index 00000000000..6e9a6546717
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5020_SkyOverride/Global Volume Profile 1.asset
@@ -0,0 +1,103 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!114 &-4767291896214693840
+MonoBehaviour:
+ m_ObjectHideFlags: 3
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 0d7593b3a9277ac4696b20006c21dde2, type: 3}
+ m_Name: VisualEnvironment
+ m_EditorClassIdentifier:
+ active: 1
+ skyType:
+ m_OverrideState: 1
+ m_Value: 3
+ cloudType:
+ m_OverrideState: 0
+ m_Value: 0
+ skyAmbientMode:
+ m_OverrideState: 0
+ m_Value: 1
+ windOrientation:
+ m_OverrideState: 0
+ m_Value: 0
+ windSpeed:
+ m_OverrideState: 0
+ m_Value: 100
+ fogType:
+ m_OverrideState: 0
+ m_Value: 0
+--- !u!114 &11400000
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: d7fd9488000d3734a9e00ee676215985, type: 3}
+ m_Name: Global Volume Profile 1
+ m_EditorClassIdentifier:
+ components:
+ - {fileID: -4767291896214693840}
+ - {fileID: 6422575675963559436}
+--- !u!114 &6422575675963559436
+MonoBehaviour:
+ m_ObjectHideFlags: 3
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: a81bcacc415a1f743bfdf703afc52027, type: 3}
+ m_Name: GradientSky
+ m_EditorClassIdentifier:
+ active: 1
+ rotation:
+ m_OverrideState: 0
+ m_Value: 0
+ skyIntensityMode:
+ m_OverrideState: 0
+ m_Value: 0
+ exposure:
+ m_OverrideState: 1
+ m_Value: 14
+ multiplier:
+ m_OverrideState: 0
+ m_Value: 1
+ upperHemisphereLuxValue:
+ m_OverrideState: 0
+ m_Value: 1
+ upperHemisphereLuxColor:
+ m_OverrideState: 0
+ m_Value: {x: 0, y: 0, z: 0}
+ desiredLuxValue:
+ m_OverrideState: 0
+ m_Value: 20000
+ updateMode:
+ m_OverrideState: 0
+ m_Value: 0
+ updatePeriod:
+ m_OverrideState: 0
+ m_Value: 0
+ includeSunInBaking:
+ m_OverrideState: 0
+ m_Value: 0
+ top:
+ m_OverrideState: 1
+ m_Value: {r: 1, g: 0, b: 0.22122097, a: 1}
+ middle:
+ m_OverrideState: 0
+ m_Value: {r: 0.3, g: 0.7, b: 1, a: 1}
+ bottom:
+ m_OverrideState: 0
+ m_Value: {r: 1, g: 1, b: 1, a: 1}
+ gradientDiffusion:
+ m_OverrideState: 0
+ m_Value: 1
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5020_SkyOverride/Global Volume Profile 1.asset.meta b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5020_SkyOverride/Global Volume Profile 1.asset.meta
new file mode 100644
index 00000000000..798b7e3b62b
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5020_SkyOverride/Global Volume Profile 1.asset.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 89f71411e41bdc34ebdf888ee27ae8c9
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 11400000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5020_SkyOverride/Global Volume Profile.asset b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5020_SkyOverride/Global Volume Profile.asset
new file mode 100644
index 00000000000..d8b83a5bc9c
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5020_SkyOverride/Global Volume Profile.asset
@@ -0,0 +1,255 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!114 &-4769799858985428737
+MonoBehaviour:
+ m_ObjectHideFlags: 3
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 2d08ce26990eb1a4a9177b860541e702, type: 3}
+ m_Name: Exposure
+ m_EditorClassIdentifier:
+ active: 1
+ mode:
+ m_OverrideState: 0
+ m_Value: 0
+ meteringMode:
+ m_OverrideState: 0
+ m_Value: 2
+ luminanceSource:
+ m_OverrideState: 0
+ m_Value: 1
+ fixedExposure:
+ m_OverrideState: 1
+ m_Value: 14
+ compensation:
+ m_OverrideState: 0
+ m_Value: 0
+ limitMin:
+ m_OverrideState: 0
+ m_Value: -1
+ limitMax:
+ m_OverrideState: 0
+ m_Value: 14
+ curveMap:
+ m_OverrideState: 0
+ m_Value:
+ serializedVersion: 2
+ m_Curve:
+ - serializedVersion: 3
+ time: -10
+ value: -10
+ inSlope: 0
+ outSlope: 1
+ tangentMode: 0
+ weightedMode: 0
+ inWeight: 0
+ outWeight: 0
+ - serializedVersion: 3
+ time: 20
+ value: 20
+ inSlope: 1
+ outSlope: 0
+ tangentMode: 0
+ weightedMode: 0
+ inWeight: 0
+ outWeight: 0
+ m_PreInfinity: 2
+ m_PostInfinity: 2
+ m_RotationOrder: 4
+ limitMinCurveMap:
+ m_OverrideState: 0
+ m_Value:
+ serializedVersion: 2
+ m_Curve:
+ - serializedVersion: 3
+ time: -10
+ value: -12
+ inSlope: 0
+ outSlope: 1
+ tangentMode: 0
+ weightedMode: 0
+ inWeight: 0
+ outWeight: 0
+ - serializedVersion: 3
+ time: 20
+ value: 18
+ inSlope: 1
+ outSlope: 0
+ tangentMode: 0
+ weightedMode: 0
+ inWeight: 0
+ outWeight: 0
+ m_PreInfinity: 2
+ m_PostInfinity: 2
+ m_RotationOrder: 4
+ limitMaxCurveMap:
+ m_OverrideState: 0
+ m_Value:
+ serializedVersion: 2
+ m_Curve:
+ - serializedVersion: 3
+ time: -10
+ value: -8
+ inSlope: 0
+ outSlope: 1
+ tangentMode: 0
+ weightedMode: 0
+ inWeight: 0
+ outWeight: 0
+ - serializedVersion: 3
+ time: 20
+ value: 22
+ inSlope: 1
+ outSlope: 0
+ tangentMode: 0
+ weightedMode: 0
+ inWeight: 0
+ outWeight: 0
+ m_PreInfinity: 2
+ m_PostInfinity: 2
+ m_RotationOrder: 4
+ adaptationMode:
+ m_OverrideState: 0
+ m_Value: 1
+ adaptationSpeedDarkToLight:
+ m_OverrideState: 0
+ m_Value: 3
+ adaptationSpeedLightToDark:
+ m_OverrideState: 0
+ m_Value: 1
+ weightTextureMask:
+ m_OverrideState: 0
+ m_Value: {fileID: 0}
+ histogramPercentages:
+ m_OverrideState: 0
+ m_Value: {x: 40, y: 90}
+ histogramUseCurveRemapping:
+ m_OverrideState: 0
+ m_Value: 0
+ targetMidGray:
+ m_OverrideState: 0
+ m_Value: 0
+ centerAroundExposureTarget:
+ m_OverrideState: 0
+ m_Value: 0
+ proceduralCenter:
+ m_OverrideState: 0
+ m_Value: {x: 0.5, y: 0.5}
+ proceduralRadii:
+ m_OverrideState: 0
+ m_Value: {x: 0.3, y: 0.3}
+ maskMinIntensity:
+ m_OverrideState: 0
+ m_Value: -30
+ maskMaxIntensity:
+ m_OverrideState: 0
+ m_Value: 30
+ proceduralSoftness:
+ m_OverrideState: 0
+ m_Value: 0.5
+--- !u!114 &11400000
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: d7fd9488000d3734a9e00ee676215985, type: 3}
+ m_Name: Global Volume Profile
+ m_EditorClassIdentifier:
+ components:
+ - {fileID: 5560164017453874244}
+ - {fileID: 9163981894771962787}
+ - {fileID: -4769799858985428737}
+--- !u!114 &5560164017453874244
+MonoBehaviour:
+ m_ObjectHideFlags: 3
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 0d7593b3a9277ac4696b20006c21dde2, type: 3}
+ m_Name: VisualEnvironment
+ m_EditorClassIdentifier:
+ active: 1
+ skyType:
+ m_OverrideState: 1
+ m_Value: 3
+ cloudType:
+ m_OverrideState: 0
+ m_Value: 0
+ skyAmbientMode:
+ m_OverrideState: 0
+ m_Value: 1
+ windOrientation:
+ m_OverrideState: 0
+ m_Value: 0
+ windSpeed:
+ m_OverrideState: 0
+ m_Value: 100
+ fogType:
+ m_OverrideState: 0
+ m_Value: 0
+--- !u!114 &9163981894771962787
+MonoBehaviour:
+ m_ObjectHideFlags: 3
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: a81bcacc415a1f743bfdf703afc52027, type: 3}
+ m_Name: GradientSky
+ m_EditorClassIdentifier:
+ active: 1
+ rotation:
+ m_OverrideState: 0
+ m_Value: 0
+ skyIntensityMode:
+ m_OverrideState: 0
+ m_Value: 0
+ exposure:
+ m_OverrideState: 1
+ m_Value: 14
+ multiplier:
+ m_OverrideState: 0
+ m_Value: 1
+ upperHemisphereLuxValue:
+ m_OverrideState: 0
+ m_Value: 1
+ upperHemisphereLuxColor:
+ m_OverrideState: 0
+ m_Value: {x: 0, y: 0, z: 0}
+ desiredLuxValue:
+ m_OverrideState: 0
+ m_Value: 20000
+ updateMode:
+ m_OverrideState: 0
+ m_Value: 0
+ updatePeriod:
+ m_OverrideState: 0
+ m_Value: 0
+ includeSunInBaking:
+ m_OverrideState: 0
+ m_Value: 0
+ top:
+ m_OverrideState: 0
+ m_Value: {r: 0, g: 0, b: 1, a: 1}
+ middle:
+ m_OverrideState: 0
+ m_Value: {r: 0.3, g: 0.7, b: 1, a: 1}
+ bottom:
+ m_OverrideState: 0
+ m_Value: {r: 1, g: 1, b: 1, a: 1}
+ gradientDiffusion:
+ m_OverrideState: 0
+ m_Value: 1
diff --git a/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5020_SkyOverride/Global Volume Profile.asset.meta b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5020_SkyOverride/Global Volume Profile.asset.meta
new file mode 100644
index 00000000000..13c422dc3a6
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/5x_SkyAndFog/5020_SkyOverride/Global Volume Profile.asset.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 373e82c7afb6b4e4d977a82b20cf8c2a
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 11400000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/1401_HairGraph_Area_Light.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/1401_HairGraph_Area_Light.png
index b74980317c6..70980a60872 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/1401_HairGraph_Area_Light.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/1401_HairGraph_Area_Light.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:042acf0afada1ce38918a9f23a9750909ef1684100e550e2eca52deadff254df
-size 111402
+oid sha256:32bc8891836a4fa830a42378a1b58274fb95d08b8f532309b311488f0ff24217
+size 120188
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/2309_Shadow_Mask_Dir_Fade.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/2309_Shadow_Mask_Dir_Fade.png
new file mode 100644
index 00000000000..ba242f53d26
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/2309_Shadow_Mask_Dir_Fade.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e2465d55e3d9ca4172f89c2ffd321f59bd138143e4cfed67f6655a78fbcd4394
+size 26623
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/2309_Shadow_Mask_Dir_Fade.png.meta b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/2309_Shadow_Mask_Dir_Fade.png.meta
new file mode 100644
index 00000000000..9c440345d19
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/2309_Shadow_Mask_Dir_Fade.png.meta
@@ -0,0 +1,111 @@
+fileFormatVersion: 2
+guid: 3f3b247df19a2d741bac98f614549000
+TextureImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 11
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 0
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapsPreserveCoverage: 0
+ alphaTestReferenceValue: 0.5
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ flipGreenChannel: 0
+ isReadable: 1
+ streamingMipmaps: 0
+ streamingMipmapsPriority: 0
+ vTOnly: 0
+ ignoreMasterTextureLimit: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ serializedVersion: 2
+ filterMode: 1
+ aniso: 1
+ mipBias: 0
+ wrapU: 0
+ wrapV: 0
+ wrapW: 0
+ nPOTScale: 0
+ lightmap: 0
+ compressionQuality: 50
+ spriteMode: 0
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: 0.5, y: 0.5}
+ spritePixelsToUnits: 100
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+ spriteGenerateFallbackPhysicsShape: 1
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ singleChannelComponent: 0
+ flipbookRows: 1
+ flipbookColumns: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ ignorePngGamma: 0
+ applyGammaDecoding: 0
+ swizzle: 50462976
+ platformSettings:
+ - serializedVersion: 3
+ buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: Standalone
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ physicsShape: []
+ bones: []
+ spriteID:
+ internalID: 0
+ vertices: []
+ indices:
+ edges: []
+ weights: []
+ secondaryTextures: []
+ nameFileIdTable: {}
+ spritePackingTag:
+ pSDRemoveMatte: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/4070_PhysicalCamera-iso-aperture-shutter.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/4070_PhysicalCamera-iso-aperture-shutter.png
index 679983e2ce3..4735468275c 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/4070_PhysicalCamera-iso-aperture-shutter.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/4070_PhysicalCamera-iso-aperture-shutter.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:15e1a7e24080a9b240ff34f5c499e96f936ff26861f398dd03cfe2a30d3aa1eb
-size 750675
+oid sha256:6985ef1b65bd74aed42a01cb229fe4c68b21d97cddb9235006bd9c811932651b
+size 710994
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/4071_PhysicalCamera-Aperture-bladeCount.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/4071_PhysicalCamera-Aperture-bladeCount.png
index d931c0ddf34..a85e7ea1c42 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/4071_PhysicalCamera-Aperture-bladeCount.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/4071_PhysicalCamera-Aperture-bladeCount.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:17f635d7127bffab8f5c3fd9bf0b4ff7a59236eb53c690dd564fe76d3f94cbf4
-size 230953
+oid sha256:e9d10e9bd3794b6f52d704f69264d406390b60d1c231c05ad7f97c52f83b717e
+size 214734
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/4072_PhysicalCamera-Aperture-curvature.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/4072_PhysicalCamera-Aperture-curvature.png
index 45fa1ed1985..c751580591d 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/4072_PhysicalCamera-Aperture-curvature.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/4072_PhysicalCamera-Aperture-curvature.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:d146404962711bb96e8317e2e9fee266f79eebf15ab5c1ed87e431b3c01717b9
-size 231751
+oid sha256:bca9d5c19458a487f3efbc1b68c903e81b60d88089fc1cb2af78a2cfccf49a00
+size 214339
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/4073_PhysicalCamera-Aperture-barrelClipping.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/4073_PhysicalCamera-Aperture-barrelClipping.png
index 69b0d9e709d..0229b274dcb 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/4073_PhysicalCamera-Aperture-barrelClipping.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/4073_PhysicalCamera-Aperture-barrelClipping.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:be445a97dfc8cbe69061739871664c6134e759cc894fed467e0a5d515271ebea
-size 262852
+oid sha256:3ba4bd56163595c3b45fdaeefbbc537435bf7f6cdae0dd6a762856ea5b312774
+size 247072
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/4074_PhysicalCamera-Aperture-anamorphism.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/4074_PhysicalCamera-Aperture-anamorphism.png
index f3c45f230e0..28373328096 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/4074_PhysicalCamera-Aperture-anamorphism.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/4074_PhysicalCamera-Aperture-anamorphism.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:91a45391838307be8a812dfcd8d41e924585d501ed8339c387d40b9d0dd96c84
-size 404896
+oid sha256:8c5d6bb570db0989d4ccfae4b9339017454c0e447ff4223a586a839380c934b1
+size 336026
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/5011_VolumetricClouds.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/5011_VolumetricClouds.png
index 6b1b1ea6281..50dec5d791e 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/5011_VolumetricClouds.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/5011_VolumetricClouds.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:ada3182a3c1273998acab0d7f504fd8ec9eca71f956f7939a065211d93235582
-size 246760
+oid sha256:540acb4a7d8b309257278d753f3779b1811acef2a49c784b952d865058f0f45a
+size 245848
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/5020_SkyOverride.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/5020_SkyOverride.png
new file mode 100644
index 00000000000..2ba98b08512
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/5020_SkyOverride.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7b30b58c9ca3419c321aa17f57cacf9a6669aef8e9139e418d046d51453c42ac
+size 24138
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/5020_SkyOverride.png.meta b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/5020_SkyOverride.png.meta
new file mode 100644
index 00000000000..e95a5fd4f5a
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/5020_SkyOverride.png.meta
@@ -0,0 +1,111 @@
+fileFormatVersion: 2
+guid: c0057aaf14a36ce4093393bf50d4b921
+TextureImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 11
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 0
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapsPreserveCoverage: 0
+ alphaTestReferenceValue: 0.5
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ flipGreenChannel: 0
+ isReadable: 1
+ streamingMipmaps: 0
+ streamingMipmapsPriority: 0
+ vTOnly: 0
+ ignoreMasterTextureLimit: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ serializedVersion: 2
+ filterMode: 1
+ aniso: 1
+ mipBias: 0
+ wrapU: 0
+ wrapV: 0
+ wrapW: 0
+ nPOTScale: 0
+ lightmap: 0
+ compressionQuality: 50
+ spriteMode: 0
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: 0.5, y: 0.5}
+ spritePixelsToUnits: 100
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+ spriteGenerateFallbackPhysicsShape: 1
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ singleChannelComponent: 0
+ flipbookRows: 1
+ flipbookColumns: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ ignorePngGamma: 0
+ applyGammaDecoding: 0
+ swizzle: 50462976
+ platformSettings:
+ - serializedVersion: 3
+ buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: Standalone
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ physicsShape: []
+ bones: []
+ spriteID:
+ internalID: 0
+ vertices: []
+ indices:
+ edges: []
+ weights: []
+ secondaryTextures: []
+ nameFileIdTable: {}
+ spritePackingTag:
+ pSDRemoveMatte: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/1401_HairGraph_Area_Light.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/1401_HairGraph_Area_Light.png
index 400569416ea..81e5dba72fd 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/1401_HairGraph_Area_Light.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/1401_HairGraph_Area_Light.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:1ae8a27e99f6e23cc396f0941e05c54a2b3642ed0cf1997932a134024251e03b
-size 111841
+oid sha256:341bc921606a88a38a19819f18b26e4c95bc99fe68721c1766646ef72b945f1d
+size 140434
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/2309_Shadow_Mask_Dir_Fade.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/2309_Shadow_Mask_Dir_Fade.png
new file mode 100644
index 00000000000..ba242f53d26
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/2309_Shadow_Mask_Dir_Fade.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e2465d55e3d9ca4172f89c2ffd321f59bd138143e4cfed67f6655a78fbcd4394
+size 26623
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/2309_Shadow_Mask_Dir_Fade.png.meta b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/2309_Shadow_Mask_Dir_Fade.png.meta
new file mode 100644
index 00000000000..e197b690a28
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/2309_Shadow_Mask_Dir_Fade.png.meta
@@ -0,0 +1,111 @@
+fileFormatVersion: 2
+guid: d6b1dd217cf51744a86bbaeae1438170
+TextureImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 11
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 0
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapsPreserveCoverage: 0
+ alphaTestReferenceValue: 0.5
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ flipGreenChannel: 0
+ isReadable: 1
+ streamingMipmaps: 0
+ streamingMipmapsPriority: 0
+ vTOnly: 0
+ ignoreMasterTextureLimit: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ serializedVersion: 2
+ filterMode: 1
+ aniso: 1
+ mipBias: 0
+ wrapU: 0
+ wrapV: 0
+ wrapW: 0
+ nPOTScale: 0
+ lightmap: 0
+ compressionQuality: 50
+ spriteMode: 0
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: 0.5, y: 0.5}
+ spritePixelsToUnits: 100
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+ spriteGenerateFallbackPhysicsShape: 1
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ singleChannelComponent: 0
+ flipbookRows: 1
+ flipbookColumns: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ ignorePngGamma: 0
+ applyGammaDecoding: 0
+ swizzle: 50462976
+ platformSettings:
+ - serializedVersion: 3
+ buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: Standalone
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ physicsShape: []
+ bones: []
+ spriteID:
+ internalID: 0
+ vertices: []
+ indices:
+ edges: []
+ weights: []
+ secondaryTextures: []
+ nameFileIdTable: {}
+ spritePackingTag:
+ pSDRemoveMatte: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/4070_PhysicalCamera-iso-aperture-shutter.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/4070_PhysicalCamera-iso-aperture-shutter.png
index 405bc568b00..3bf83496895 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/4070_PhysicalCamera-iso-aperture-shutter.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/4070_PhysicalCamera-iso-aperture-shutter.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:9939be65dd6fdac2e73a471e5ac303ea438f877d0bc85d8db216da83af4a6377
-size 739595
+oid sha256:3b1cc7e90a8b703b33e8148506882566d8e95dc2a44e43b37e639f2279119be5
+size 715466
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/4071_PhysicalCamera-Aperture-bladeCount.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/4071_PhysicalCamera-Aperture-bladeCount.png
index 4203d533fc7..ea378403245 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/4071_PhysicalCamera-Aperture-bladeCount.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/4071_PhysicalCamera-Aperture-bladeCount.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:498d2a0b6962421506e67ed6bdf8d0ed08b37cf66809f55bb605a7120950a911
-size 174621
+oid sha256:f9984776d0d8da40452dc876a4b0c8491ef433ccae02ea038d2fac0651f76f1d
+size 144620
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/4072_PhysicalCamera-Aperture-curvature.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/4072_PhysicalCamera-Aperture-curvature.png
index 41ea180bbef..d6a969b800e 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/4072_PhysicalCamera-Aperture-curvature.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/4072_PhysicalCamera-Aperture-curvature.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:bbfb4541dfd0451685cf73bb4cc819c6886fd576e5a1df874d4fe1dc7c4cdb4b
-size 176121
+oid sha256:34c5105363171d8376ed5cc8bdb62a62fe2a8b9fe278c026ba5ed941451d7481
+size 146913
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/4073_PhysicalCamera-Aperture-barrelClipping.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/4073_PhysicalCamera-Aperture-barrelClipping.png
index 8c477d13e04..b2daedc78b0 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/4073_PhysicalCamera-Aperture-barrelClipping.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/4073_PhysicalCamera-Aperture-barrelClipping.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:cfa22e61ad81e581e8fb89b0b49ff9f6c837eec48f8ebeaac685edd2aa3b181c
-size 203535
+oid sha256:59871e8dac18abedc75c3a7253e691ad2f1e0ef352175f0316f90c52d690812c
+size 180967
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/4074_PhysicalCamera-Aperture-anamorphism.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/4074_PhysicalCamera-Aperture-anamorphism.png
index 46f6edfb330..9c0f939c7e2 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/4074_PhysicalCamera-Aperture-anamorphism.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/4074_PhysicalCamera-Aperture-anamorphism.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:40701d62a0dc9a835dd57305609ab5bb5ee2a205beb1357737ac7362b784f0af
-size 284952
+oid sha256:5732dc0b7eb0d803d743a69bb2c8cda0d39498b2b686a09b4d7696744c6adb5d
+size 245720
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/5011_VolumetricClouds.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/5011_VolumetricClouds.png
index 33f664a069d..a2e3b2054ea 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/5011_VolumetricClouds.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/5011_VolumetricClouds.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:04f74e2a9286788d8292326c148acecfe1358e6f8ebea68a05591bf20fb2d0af
-size 246611
+oid sha256:22a0e67a476dae1cf06f60974c64502fffe39f48f8db32f14e6dabe59bb17a75
+size 246378
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/5020_SkyOverride.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/5020_SkyOverride.png
new file mode 100644
index 00000000000..2ba98b08512
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/5020_SkyOverride.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7b30b58c9ca3419c321aa17f57cacf9a6669aef8e9139e418d046d51453c42ac
+size 24138
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/5020_SkyOverride.png.meta b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/5020_SkyOverride.png.meta
new file mode 100644
index 00000000000..00e0ea420c0
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/OSXEditor/Metal/None/5020_SkyOverride.png.meta
@@ -0,0 +1,111 @@
+fileFormatVersion: 2
+guid: a1d3fb698cba5a94aa6853e2b94689c2
+TextureImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 11
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 0
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapsPreserveCoverage: 0
+ alphaTestReferenceValue: 0.5
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ flipGreenChannel: 0
+ isReadable: 1
+ streamingMipmaps: 0
+ streamingMipmapsPriority: 0
+ vTOnly: 0
+ ignoreMasterTextureLimit: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ serializedVersion: 2
+ filterMode: 1
+ aniso: 1
+ mipBias: 0
+ wrapU: 0
+ wrapV: 0
+ wrapW: 0
+ nPOTScale: 0
+ lightmap: 0
+ compressionQuality: 50
+ spriteMode: 0
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: 0.5, y: 0.5}
+ spritePixelsToUnits: 100
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+ spriteGenerateFallbackPhysicsShape: 1
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ singleChannelComponent: 0
+ flipbookRows: 1
+ flipbookColumns: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ ignorePngGamma: 0
+ applyGammaDecoding: 0
+ swizzle: 50462976
+ platformSettings:
+ - serializedVersion: 3
+ buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: Standalone
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ physicsShape: []
+ bones: []
+ spriteID:
+ internalID: 0
+ vertices: []
+ indices:
+ edges: []
+ weights: []
+ secondaryTextures: []
+ nameFileIdTable: {}
+ spritePackingTag:
+ pSDRemoveMatte: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/1401_HairGraph_Area_Light.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/1401_HairGraph_Area_Light.png
index 15e41b137d4..2ca759538a1 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/1401_HairGraph_Area_Light.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/1401_HairGraph_Area_Light.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:1b5d03bf0529ec0234e213c95d1f1ddb7bfa8166825d08abd103f0050bcecb70
-size 112315
+oid sha256:a30150393d180775c36853facd453f85c0670e4b97bcf4d36ab1e3ac9003cfe9
+size 121160
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/2309_Shadow_Mask_Dir_Fade.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/2309_Shadow_Mask_Dir_Fade.png
new file mode 100644
index 00000000000..ba242f53d26
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/2309_Shadow_Mask_Dir_Fade.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e2465d55e3d9ca4172f89c2ffd321f59bd138143e4cfed67f6655a78fbcd4394
+size 26623
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/2309_Shadow_Mask_Dir_Fade.png.meta b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/2309_Shadow_Mask_Dir_Fade.png.meta
new file mode 100644
index 00000000000..ca0419cac1d
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/2309_Shadow_Mask_Dir_Fade.png.meta
@@ -0,0 +1,111 @@
+fileFormatVersion: 2
+guid: 6222f4dab6cb8b84e8ee9e949775be42
+TextureImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 11
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 0
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapsPreserveCoverage: 0
+ alphaTestReferenceValue: 0.5
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ flipGreenChannel: 0
+ isReadable: 1
+ streamingMipmaps: 0
+ streamingMipmapsPriority: 0
+ vTOnly: 0
+ ignoreMasterTextureLimit: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ serializedVersion: 2
+ filterMode: 1
+ aniso: 1
+ mipBias: 0
+ wrapU: 0
+ wrapV: 0
+ wrapW: 0
+ nPOTScale: 0
+ lightmap: 0
+ compressionQuality: 50
+ spriteMode: 0
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: 0.5, y: 0.5}
+ spritePixelsToUnits: 100
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+ spriteGenerateFallbackPhysicsShape: 1
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ singleChannelComponent: 0
+ flipbookRows: 1
+ flipbookColumns: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ ignorePngGamma: 0
+ applyGammaDecoding: 0
+ swizzle: 50462976
+ platformSettings:
+ - serializedVersion: 3
+ buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: Standalone
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ physicsShape: []
+ bones: []
+ spriteID:
+ internalID: 0
+ vertices: []
+ indices:
+ edges: []
+ weights: []
+ secondaryTextures: []
+ nameFileIdTable: {}
+ spritePackingTag:
+ pSDRemoveMatte: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/4070_PhysicalCamera-iso-aperture-shutter.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/4070_PhysicalCamera-iso-aperture-shutter.png
index 5dfa351993c..ad917bece05 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/4070_PhysicalCamera-iso-aperture-shutter.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/4070_PhysicalCamera-iso-aperture-shutter.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:f261b5c4c0d8be5d742a161360416d3f4d60eda4785c983a595e7fb184a36e82
-size 754339
+oid sha256:2053a8f5a10106e7ab6130906c33f0082ae84fd1060ed48a3e08eab71874e13c
+size 718145
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/4071_PhysicalCamera-Aperture-bladeCount.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/4071_PhysicalCamera-Aperture-bladeCount.png
index ee940da5de1..4dbd01cba4d 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/4071_PhysicalCamera-Aperture-bladeCount.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/4071_PhysicalCamera-Aperture-bladeCount.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:e258f4a8a483fe6ce99e851870d2728bcbededc76354f88f8c43b01229cf91ff
-size 230669
+oid sha256:7b54ce6204f28c48a8dc2681ac92ca188fe01922aeba901a0717335019b36566
+size 214140
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/4072_PhysicalCamera-Aperture-curvature.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/4072_PhysicalCamera-Aperture-curvature.png
index a6be0148a38..d6ca99df736 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/4072_PhysicalCamera-Aperture-curvature.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/4072_PhysicalCamera-Aperture-curvature.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:bc88c664a7ca7f6309ffec0d12c1c28f755acf5c90d59c8314ba4f587f43c292
-size 231579
+oid sha256:502b36f90b317402bfbbb9d6f36917187a52952e5cf139642605f4c1a15284fe
+size 214108
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/4073_PhysicalCamera-Aperture-barrelClipping.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/4073_PhysicalCamera-Aperture-barrelClipping.png
index 1bb0718c476..b59e3d9ef69 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/4073_PhysicalCamera-Aperture-barrelClipping.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/4073_PhysicalCamera-Aperture-barrelClipping.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:c95778e9c8498a534abdbfb518c7e464170697ac907e04bffb7e718dbf2d2da5
-size 262837
+oid sha256:cdf65b67221b24a82590327cf4161bc95008a8635131e2382c9b6f51d3bbcd1f
+size 247190
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/4074_PhysicalCamera-Aperture-anamorphism.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/4074_PhysicalCamera-Aperture-anamorphism.png
index 80217b3b180..9ba2d327116 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/4074_PhysicalCamera-Aperture-anamorphism.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/4074_PhysicalCamera-Aperture-anamorphism.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:966865534015b55285a1422edc35a22b514cbc797eb71f194224776f9f4323d8
-size 357977
+oid sha256:2a17a655a6116a99a2e8ceb094e9ed36e32e46909e13be997588f4c4fb953986
+size 336139
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/5011_VolumetricClouds.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/5011_VolumetricClouds.png
index b6a7fc2e009..4003424e7b1 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/5011_VolumetricClouds.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/5011_VolumetricClouds.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:39fc6fd45259bb85ad3a2d46a2a490c159bc0768a0cec9b1d65267339a5fb973
-size 247002
+oid sha256:965f032c9e7fa6e13146a09be1d5527e2ee79983443a41bb3673b1a43c73bf2f
+size 245928
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/5014_VolumetricCloudsBanding.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/5014_VolumetricCloudsBanding.png
index a33415d364f..a2704bb936c 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/5014_VolumetricCloudsBanding.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/5014_VolumetricCloudsBanding.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:c7c673c515babdf7b5e9178210fe113882285ee374694ac97ef3300b15515fe7
-size 255743
+oid sha256:e2d1980c1b35eee3cfda2b697cae8779ea6b69f48b0ebc6d718280af8cbe1428
+size 216841
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/5020_SkyOverride.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/5020_SkyOverride.png
new file mode 100644
index 00000000000..2ba98b08512
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/5020_SkyOverride.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7b30b58c9ca3419c321aa17f57cacf9a6669aef8e9139e418d046d51453c42ac
+size 24138
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/5020_SkyOverride.png.meta b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/5020_SkyOverride.png.meta
new file mode 100644
index 00000000000..99248905ea3
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/5020_SkyOverride.png.meta
@@ -0,0 +1,111 @@
+fileFormatVersion: 2
+guid: 0a4f88abd9097aa4eb910cf3efa067c8
+TextureImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 11
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 0
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapsPreserveCoverage: 0
+ alphaTestReferenceValue: 0.5
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ flipGreenChannel: 0
+ isReadable: 1
+ streamingMipmaps: 0
+ streamingMipmapsPriority: 0
+ vTOnly: 0
+ ignoreMasterTextureLimit: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ serializedVersion: 2
+ filterMode: 1
+ aniso: 1
+ mipBias: 0
+ wrapU: 0
+ wrapV: 0
+ wrapW: 0
+ nPOTScale: 0
+ lightmap: 0
+ compressionQuality: 50
+ spriteMode: 0
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: 0.5, y: 0.5}
+ spritePixelsToUnits: 100
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+ spriteGenerateFallbackPhysicsShape: 1
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ singleChannelComponent: 0
+ flipbookRows: 1
+ flipbookColumns: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ ignorePngGamma: 0
+ applyGammaDecoding: 0
+ swizzle: 50462976
+ platformSettings:
+ - serializedVersion: 3
+ buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: Standalone
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ physicsShape: []
+ bones: []
+ spriteID:
+ internalID: 0
+ vertices: []
+ indices:
+ edges: []
+ weights: []
+ secondaryTextures: []
+ nameFileIdTable: {}
+ spritePackingTag:
+ pSDRemoveMatte: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/1401_HairGraph_Area_Light.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/1401_HairGraph_Area_Light.png
index 497127d8848..2ca759538a1 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/1401_HairGraph_Area_Light.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/1401_HairGraph_Area_Light.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:549533e41539ba717048251779eca9d14432e6bc6582ae2e710cf7250379ca56
-size 112334
+oid sha256:a30150393d180775c36853facd453f85c0670e4b97bcf4d36ab1e3ac9003cfe9
+size 121160
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/2309_Shadow_Mask_Dir_Fade.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/2309_Shadow_Mask_Dir_Fade.png
new file mode 100644
index 00000000000..ba242f53d26
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/2309_Shadow_Mask_Dir_Fade.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e2465d55e3d9ca4172f89c2ffd321f59bd138143e4cfed67f6655a78fbcd4394
+size 26623
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/2309_Shadow_Mask_Dir_Fade.png.meta b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/2309_Shadow_Mask_Dir_Fade.png.meta
new file mode 100644
index 00000000000..e46ac149a8e
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/2309_Shadow_Mask_Dir_Fade.png.meta
@@ -0,0 +1,111 @@
+fileFormatVersion: 2
+guid: 856e11208e0921a46af27e2dbb92c871
+TextureImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 11
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 0
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapsPreserveCoverage: 0
+ alphaTestReferenceValue: 0.5
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ flipGreenChannel: 0
+ isReadable: 1
+ streamingMipmaps: 0
+ streamingMipmapsPriority: 0
+ vTOnly: 0
+ ignoreMasterTextureLimit: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ serializedVersion: 2
+ filterMode: 1
+ aniso: 1
+ mipBias: 0
+ wrapU: 0
+ wrapV: 0
+ wrapW: 0
+ nPOTScale: 0
+ lightmap: 0
+ compressionQuality: 50
+ spriteMode: 0
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: 0.5, y: 0.5}
+ spritePixelsToUnits: 100
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+ spriteGenerateFallbackPhysicsShape: 1
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ singleChannelComponent: 0
+ flipbookRows: 1
+ flipbookColumns: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ ignorePngGamma: 0
+ applyGammaDecoding: 0
+ swizzle: 50462976
+ platformSettings:
+ - serializedVersion: 3
+ buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: Standalone
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ physicsShape: []
+ bones: []
+ spriteID:
+ internalID: 0
+ vertices: []
+ indices:
+ edges: []
+ weights: []
+ secondaryTextures: []
+ nameFileIdTable: {}
+ spritePackingTag:
+ pSDRemoveMatte: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/4070_PhysicalCamera-iso-aperture-shutter.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/4070_PhysicalCamera-iso-aperture-shutter.png
index 06acef8afa9..ad917bece05 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/4070_PhysicalCamera-iso-aperture-shutter.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/4070_PhysicalCamera-iso-aperture-shutter.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:c29bb5e8467725b8c0318459f6aca65dafe7f1dc71e9ec42e3789071041cebfc
-size 754260
+oid sha256:2053a8f5a10106e7ab6130906c33f0082ae84fd1060ed48a3e08eab71874e13c
+size 718145
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/4071_PhysicalCamera-Aperture-bladeCount.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/4071_PhysicalCamera-Aperture-bladeCount.png
index ee940da5de1..4dbd01cba4d 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/4071_PhysicalCamera-Aperture-bladeCount.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/4071_PhysicalCamera-Aperture-bladeCount.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:e258f4a8a483fe6ce99e851870d2728bcbededc76354f88f8c43b01229cf91ff
-size 230669
+oid sha256:7b54ce6204f28c48a8dc2681ac92ca188fe01922aeba901a0717335019b36566
+size 214140
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/4072_PhysicalCamera-Aperture-curvature.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/4072_PhysicalCamera-Aperture-curvature.png
index a6be0148a38..d6ca99df736 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/4072_PhysicalCamera-Aperture-curvature.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/4072_PhysicalCamera-Aperture-curvature.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:bc88c664a7ca7f6309ffec0d12c1c28f755acf5c90d59c8314ba4f587f43c292
-size 231579
+oid sha256:502b36f90b317402bfbbb9d6f36917187a52952e5cf139642605f4c1a15284fe
+size 214108
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/4073_PhysicalCamera-Aperture-barrelClipping.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/4073_PhysicalCamera-Aperture-barrelClipping.png
index 1bb0718c476..b59e3d9ef69 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/4073_PhysicalCamera-Aperture-barrelClipping.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/4073_PhysicalCamera-Aperture-barrelClipping.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:c95778e9c8498a534abdbfb518c7e464170697ac907e04bffb7e718dbf2d2da5
-size 262837
+oid sha256:cdf65b67221b24a82590327cf4161bc95008a8635131e2382c9b6f51d3bbcd1f
+size 247190
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/4074_PhysicalCamera-Aperture-anamorphism.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/4074_PhysicalCamera-Aperture-anamorphism.png
index c36da351a8f..9ba2d327116 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/4074_PhysicalCamera-Aperture-anamorphism.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/4074_PhysicalCamera-Aperture-anamorphism.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:d32bc64408c58ee18b85d1365f87d9c441a9568d831ca5299be8c7765e923d94
-size 404781
+oid sha256:2a17a655a6116a99a2e8ceb094e9ed36e32e46909e13be997588f4c4fb953986
+size 336139
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/5011_VolumetricClouds.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/5011_VolumetricClouds.png
index 874c7e438f1..310c9035f5e 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/5011_VolumetricClouds.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/5011_VolumetricClouds.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:0fa77da28f7786e859d755a59d85ad94ea18872af66f203955dadb99ba9d5c2a
-size 246899
+oid sha256:e768be073080d68f05239328fb9c9a128f41fd1ef87117cedb35c702bc2d2c5a
+size 246010
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/5020_SkyOverride.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/5020_SkyOverride.png
new file mode 100644
index 00000000000..2ba98b08512
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/5020_SkyOverride.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7b30b58c9ca3419c321aa17f57cacf9a6669aef8e9139e418d046d51453c42ac
+size 24138
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/5020_SkyOverride.png.meta b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/5020_SkyOverride.png.meta
new file mode 100644
index 00000000000..63d5bbab567
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/5020_SkyOverride.png.meta
@@ -0,0 +1,111 @@
+fileFormatVersion: 2
+guid: e9337dd8cb4c1614ea14c34b499a88ca
+TextureImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 11
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 0
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapsPreserveCoverage: 0
+ alphaTestReferenceValue: 0.5
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ flipGreenChannel: 0
+ isReadable: 1
+ streamingMipmaps: 0
+ streamingMipmapsPriority: 0
+ vTOnly: 0
+ ignoreMasterTextureLimit: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ serializedVersion: 2
+ filterMode: 1
+ aniso: 1
+ mipBias: 0
+ wrapU: 0
+ wrapV: 0
+ wrapW: 0
+ nPOTScale: 0
+ lightmap: 0
+ compressionQuality: 50
+ spriteMode: 0
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: 0.5, y: 0.5}
+ spritePixelsToUnits: 100
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+ spriteGenerateFallbackPhysicsShape: 1
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ singleChannelComponent: 0
+ flipbookRows: 1
+ flipbookColumns: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ ignorePngGamma: 0
+ applyGammaDecoding: 0
+ swizzle: 50462976
+ platformSettings:
+ - serializedVersion: 3
+ buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: Standalone
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ physicsShape: []
+ bones: []
+ spriteID:
+ internalID: 0
+ vertices: []
+ indices:
+ edges: []
+ weights: []
+ secondaryTextures: []
+ nameFileIdTable: {}
+ spritePackingTag:
+ pSDRemoveMatte: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/1401_HairGraph_Area_Light.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/1401_HairGraph_Area_Light.png
index b74980317c6..70980a60872 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/1401_HairGraph_Area_Light.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/1401_HairGraph_Area_Light.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:042acf0afada1ce38918a9f23a9750909ef1684100e550e2eca52deadff254df
-size 111402
+oid sha256:32bc8891836a4fa830a42378a1b58274fb95d08b8f532309b311488f0ff24217
+size 120188
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/2309_Shadow_Mask_Dir_Fade.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/2309_Shadow_Mask_Dir_Fade.png
new file mode 100644
index 00000000000..ba242f53d26
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/2309_Shadow_Mask_Dir_Fade.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e2465d55e3d9ca4172f89c2ffd321f59bd138143e4cfed67f6655a78fbcd4394
+size 26623
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/2309_Shadow_Mask_Dir_Fade.png.meta b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/2309_Shadow_Mask_Dir_Fade.png.meta
new file mode 100644
index 00000000000..5faa6dd0670
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/2309_Shadow_Mask_Dir_Fade.png.meta
@@ -0,0 +1,111 @@
+fileFormatVersion: 2
+guid: 4be8d427813946f4682a656ad1776e78
+TextureImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 11
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 0
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapsPreserveCoverage: 0
+ alphaTestReferenceValue: 0.5
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ flipGreenChannel: 0
+ isReadable: 1
+ streamingMipmaps: 0
+ streamingMipmapsPriority: 0
+ vTOnly: 0
+ ignoreMasterTextureLimit: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ serializedVersion: 2
+ filterMode: 1
+ aniso: 1
+ mipBias: 0
+ wrapU: 0
+ wrapV: 0
+ wrapW: 0
+ nPOTScale: 0
+ lightmap: 0
+ compressionQuality: 50
+ spriteMode: 0
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: 0.5, y: 0.5}
+ spritePixelsToUnits: 100
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+ spriteGenerateFallbackPhysicsShape: 1
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ singleChannelComponent: 0
+ flipbookRows: 1
+ flipbookColumns: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ ignorePngGamma: 0
+ applyGammaDecoding: 0
+ swizzle: 50462976
+ platformSettings:
+ - serializedVersion: 3
+ buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: Standalone
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ physicsShape: []
+ bones: []
+ spriteID:
+ internalID: 0
+ vertices: []
+ indices:
+ edges: []
+ weights: []
+ secondaryTextures: []
+ nameFileIdTable: {}
+ spritePackingTag:
+ pSDRemoveMatte: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/4070_PhysicalCamera-iso-aperture-shutter.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/4070_PhysicalCamera-iso-aperture-shutter.png
index cb49068fcf4..333626c4fe5 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/4070_PhysicalCamera-iso-aperture-shutter.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/4070_PhysicalCamera-iso-aperture-shutter.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:d25a58bf9282343644603feb39c5cebbe65d7ab2a65503773772f0e7ad9a79b6
-size 750451
+oid sha256:927617925791880c3b1104afb714d70d9c147c4999a6ed7cd0430334b0e34171
+size 711092
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/4071_PhysicalCamera-Aperture-bladeCount.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/4071_PhysicalCamera-Aperture-bladeCount.png
index 67630b5ae70..dc6990d849f 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/4071_PhysicalCamera-Aperture-bladeCount.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/4071_PhysicalCamera-Aperture-bladeCount.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:c423d712cf05e7a1113efd47923f2577d1ecaf1301119da74903dd3840450bb8
-size 230696
+oid sha256:96f37aa9b3338febb578355ba63cd3bcd893f1aafa106e1b247f6791557e9cca
+size 214236
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/4072_PhysicalCamera-Aperture-curvature.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/4072_PhysicalCamera-Aperture-curvature.png
index 1358e66e5e1..45545983c84 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/4072_PhysicalCamera-Aperture-curvature.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/4072_PhysicalCamera-Aperture-curvature.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:615f925d752ab9c1d52d19021eb8310ea2dbca563fd347deefe9169a89dc8337
-size 231847
+oid sha256:90e75eaf7d4d10362dd077284cc3b39c322f2b7662db40d3106124c430a7eb96
+size 214188
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/4073_PhysicalCamera-Aperture-barrelClipping.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/4073_PhysicalCamera-Aperture-barrelClipping.png
index 28f72998d54..470d93ad3cb 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/4073_PhysicalCamera-Aperture-barrelClipping.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/4073_PhysicalCamera-Aperture-barrelClipping.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:c8a68a06d35985c936024c969ace573e39d7025a9f10d14a9bd9ce1bbbabbb50
-size 262934
+oid sha256:c39d66d03043baa67ed650240be0a6cb839e54446696842f48bc67d0d70cf218
+size 247241
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/4074_PhysicalCamera-Aperture-anamorphism.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/4074_PhysicalCamera-Aperture-anamorphism.png
index 63d92fdc3ae..f99d3b11055 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/4074_PhysicalCamera-Aperture-anamorphism.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/4074_PhysicalCamera-Aperture-anamorphism.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:489f8e58f8f7e594c6da56aac5784482a2f25807d37eb1c5e79ba7ad93aee07e
-size 357908
+oid sha256:f8d410bfc68a8917c203116df1df8cb57fbf709d8fd0523ca48851c2c5b9f636
+size 336161
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/5011_VolumetricClouds.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/5011_VolumetricClouds.png
index 9ebbe3c0590..a1d67f66e6c 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/5011_VolumetricClouds.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/5011_VolumetricClouds.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:ecb62e70616b5f8aec980e37ed86dea817418f1d418be341e2c3509e01253f1e
-size 246734
+oid sha256:7669caad256b02acbf2935761f1ba135f1b00ddd131259f7b3fa8ab652bd80d5
+size 245928
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/5014_VolumetricCloudsBanding.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/5014_VolumetricCloudsBanding.png
index 5144380d9a9..1a7f7279c57 100644
--- a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/5014_VolumetricCloudsBanding.png
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/5014_VolumetricCloudsBanding.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:fb53d39da44fcd4805ec6f83b3375ed855090f2d76b348c32937e12fc2820dcc
-size 217302
+oid sha256:9688ceffae30d317b211027778c9ce15c69d1c501b5f453a8162358ff93754ac
+size 217394
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/5020_SkyOverride.png b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/5020_SkyOverride.png
new file mode 100644
index 00000000000..2ba98b08512
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/5020_SkyOverride.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7b30b58c9ca3419c321aa17f57cacf9a6669aef8e9139e418d046d51453c42ac
+size 24138
diff --git a/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/5020_SkyOverride.png.meta b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/5020_SkyOverride.png.meta
new file mode 100644
index 00000000000..c7b9dac8cb1
--- /dev/null
+++ b/TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/5020_SkyOverride.png.meta
@@ -0,0 +1,111 @@
+fileFormatVersion: 2
+guid: 364a459bb97f64247990a71f8c6b0f6e
+TextureImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 11
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 0
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapsPreserveCoverage: 0
+ alphaTestReferenceValue: 0.5
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ flipGreenChannel: 0
+ isReadable: 1
+ streamingMipmaps: 0
+ streamingMipmapsPriority: 0
+ vTOnly: 0
+ ignoreMasterTextureLimit: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ serializedVersion: 2
+ filterMode: 1
+ aniso: 1
+ mipBias: 0
+ wrapU: 0
+ wrapV: 0
+ wrapW: 0
+ nPOTScale: 0
+ lightmap: 0
+ compressionQuality: 50
+ spriteMode: 0
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: 0.5, y: 0.5}
+ spritePixelsToUnits: 100
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+ spriteGenerateFallbackPhysicsShape: 1
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ singleChannelComponent: 0
+ flipbookRows: 1
+ flipbookColumns: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ ignorePngGamma: 0
+ applyGammaDecoding: 0
+ swizzle: 50462976
+ platformSettings:
+ - serializedVersion: 3
+ buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: Standalone
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ physicsShape: []
+ bones: []
+ spriteID:
+ internalID: 0
+ vertices: []
+ indices:
+ edges: []
+ weights: []
+ secondaryTextures: []
+ nameFileIdTable: {}
+ spritePackingTag:
+ pSDRemoveMatte: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/TestProjects/HDRP_Tests/Assets/Samples/High Definition RP/MaterialSamples/Shadergraphs/SG_Eye.shadergraph b/TestProjects/HDRP_Tests/Assets/Samples/High Definition RP/MaterialSamples/Shadergraphs/SG_Eye.shadergraph
index fb5a710d858..e2f6f02f3e8 100644
--- a/TestProjects/HDRP_Tests/Assets/Samples/High Definition RP/MaterialSamples/Shadergraphs/SG_Eye.shadergraph
+++ b/TestProjects/HDRP_Tests/Assets/Samples/High Definition RP/MaterialSamples/Shadergraphs/SG_Eye.shadergraph
@@ -65,13 +65,37 @@
},
{
"m_Id": "261f48f1fbc94ccbafc421414859c159"
+ },
+ {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
}
],
"m_Keywords": [],
- "m_Nodes": [
+ "m_Dropdowns": [],
+ "m_CategoryData": [
+ {
+ "m_Id": "dec2d123624f4d2392482719d08589d5"
+ },
+ {
+ "m_Id": "b21e085e5c844bc2a7a5bdedc8d3695c"
+ },
+ {
+ "m_Id": "53fbd192f8dd454795cdb085b345a52e"
+ },
+ {
+ "m_Id": "e9275698f33b43b8be9605f8f67bc908"
+ },
+ {
+ "m_Id": "11eb4d692c1b4adcaa57ced6429b519e"
+ },
{
- "m_Id": "51de60cc4d164e8abec305ea587ab126"
+ "m_Id": "407705ab55b84a768ef8a45175e577ff"
},
+ {
+ "m_Id": "7fdfd7fe176e46ac8406c58968b05189"
+ }
+ ],
+ "m_Nodes": [
{
"m_Id": "c0779491e5784d678b3bdba10586334a"
},
@@ -129,12 +153,6 @@
{
"m_Id": "b60b14d5e0fd4d2393f07b6e45f5daf9"
},
- {
- "m_Id": "bbe7b267a4bf415eb27c61c220570037"
- },
- {
- "m_Id": "85236978d3e34c7ba998ae09de1c1ca1"
- },
{
"m_Id": "d8d837e62b0c4ef68e88967ea71267f3"
},
@@ -195,9 +213,6 @@
{
"m_Id": "5ec1016d88c748c2886a4bbaae434650"
},
- {
- "m_Id": "59abc1723bac4f6587bfde822a6cc955"
- },
{
"m_Id": "618bfa0d2bae47248adf541e2cb607c9"
},
@@ -287,6 +302,39 @@
},
{
"m_Id": "0358f633aae44214ad01442ac8626b00"
+ },
+ {
+ "m_Id": "00184655423241c59bd694de369eb90d"
+ },
+ {
+ "m_Id": "585901d73d654034bc1523fb712e4a44"
+ },
+ {
+ "m_Id": "5dbf3ff35d5d4bf5be6e17ea85aec8a1"
+ },
+ {
+ "m_Id": "1ef5e3350c6d478fa02522623dc5980d"
+ },
+ {
+ "m_Id": "83c8468df57240089f6adeb924ae1efb"
+ },
+ {
+ "m_Id": "b5d8c47b78a147dabe97777e368cc693"
+ },
+ {
+ "m_Id": "97ef57a511a6409e8cdfd1f448e2e660"
+ },
+ {
+ "m_Id": "94b23f84805941888b6c9be7a523647d"
+ },
+ {
+ "m_Id": "7a0d802562824c2bbd243a75a4affeb2"
+ },
+ {
+ "m_Id": "17902cca546343a8a512e5050b020e77"
+ },
+ {
+ "m_Id": "ac024894f1d5456a9414b3a1cd7664ae"
}
],
"m_GroupDatas": [],
@@ -338,6 +386,20 @@
}
],
"m_Edges": [
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "00184655423241c59bd694de369eb90d"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "585901d73d654034bc1523fb712e4a44"
+ },
+ "m_SlotId": 0
+ }
+ },
{
"m_OutputSlot": {
"m_Node": {
@@ -422,6 +484,34 @@
"m_SlotId": 6
}
},
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "17902cca546343a8a512e5050b020e77"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "ac024894f1d5456a9414b3a1cd7664ae"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "1ef5e3350c6d478fa02522623dc5980d"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "83c8468df57240089f6adeb924ae1efb"
+ },
+ "m_SlotId": 1
+ }
+ },
{
"m_OutputSlot": {
"m_Node": {
@@ -551,13 +641,13 @@
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "51de60cc4d164e8abec305ea587ab126"
+ "m_Id": "585901d73d654034bc1523fb712e4a44"
},
- "m_SlotId": 0
+ "m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "73463e1ecceb4da79a7c3c989e1eb8a5"
+ "m_Id": "3471ae3dc7164995a5ec9a7d752498e9"
},
"m_SlotId": 0
}
@@ -565,15 +655,15 @@
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "59abc1723bac4f6587bfde822a6cc955"
+ "m_Id": "5dbf3ff35d5d4bf5be6e17ea85aec8a1"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "5f12ae82497545f2a48dfcd3901fc531"
+ "m_Id": "83c8468df57240089f6adeb924ae1efb"
},
- "m_SlotId": 7
+ "m_SlotId": 0
}
},
{
@@ -775,29 +865,57 @@
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "840c65cb785048018c1d6d934065b84f"
+ "m_Id": "7a0d802562824c2bbd243a75a4affeb2"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "73463e1ecceb4da79a7c3c989e1eb8a5"
+ "m_Id": "ac024894f1d5456a9414b3a1cd7664ae"
},
- "m_SlotId": 4
+ "m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "85236978d3e34c7ba998ae09de1c1ca1"
+ "m_Id": "83c8468df57240089f6adeb924ae1efb"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "485ad063759c4d53b563365cc184e7c5"
},
"m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "83c8468df57240089f6adeb924ae1efb"
+ },
+ "m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "42e9ad38b6f443eebac8a029c3b851ed"
+ "m_Id": "73463e1ecceb4da79a7c3c989e1eb8a5"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "840c65cb785048018c1d6d934065b84f"
},
"m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "73463e1ecceb4da79a7c3c989e1eb8a5"
+ },
+ "m_SlotId": 4
}
},
{
@@ -842,6 +960,20 @@
"m_SlotId": 0
}
},
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "94b23f84805941888b6c9be7a523647d"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "5f12ae82497545f2a48dfcd3901fc531"
+ },
+ "m_SlotId": 7
+ }
+ },
{
"m_OutputSlot": {
"m_Node": {
@@ -856,6 +988,20 @@
"m_SlotId": 1
}
},
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "97ef57a511a6409e8cdfd1f448e2e660"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "94b23f84805941888b6c9be7a523647d"
+ },
+ "m_SlotId": 1
+ }
+ },
{
"m_OutputSlot": {
"m_Node": {
@@ -940,6 +1086,20 @@
"m_SlotId": 1
}
},
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "ac024894f1d5456a9414b3a1cd7664ae"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "42e9ad38b6f443eebac8a029c3b851ed"
+ },
+ "m_SlotId": 0
+ }
+ },
{
"m_OutputSlot": {
"m_Node": {
@@ -971,27 +1131,27 @@
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "b60b14d5e0fd4d2393f07b6e45f5daf9"
+ "m_Id": "b5d8c47b78a147dabe97777e368cc693"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "6c010288ae084f76b3ce42686cf7edfd"
+ "m_Id": "94b23f84805941888b6c9be7a523647d"
},
- "m_SlotId": 3
+ "m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "b7d832af95c7441686257bffb710747a"
+ "m_Id": "b60b14d5e0fd4d2393f07b6e45f5daf9"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "42e9ad38b6f443eebac8a029c3b851ed"
+ "m_Id": "6c010288ae084f76b3ce42686cf7edfd"
},
"m_SlotId": 3
}
@@ -999,15 +1159,15 @@
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "bbe7b267a4bf415eb27c61c220570037"
+ "m_Id": "b7d832af95c7441686257bffb710747a"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "485ad063759c4d53b563365cc184e7c5"
+ "m_Id": "42e9ad38b6f443eebac8a029c3b851ed"
},
- "m_SlotId": 0
+ "m_SlotId": 3
}
},
{
@@ -1271,9 +1431,9 @@
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "3471ae3dc7164995a5ec9a7d752498e9"
+ "m_Id": "585901d73d654034bc1523fb712e4a44"
},
- "m_SlotId": 0
+ "m_SlotId": 1
}
}
],
@@ -1342,9 +1502,10 @@
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
- }
+ },
+ "preventRotation": false
},
- "m_Path": "Shader Graphs",
+ "m_Path": "HDRP",
"m_GraphPrecision": 0,
"m_PreviewMode": 2,
"m_OutputNode": {
@@ -1357,6 +1518,42 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "00184655423241c59bd694de369eb90d",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -2471.0,
+ "y": -1523.0,
+ "width": 135.0,
+ "height": 34.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "d5751c9bd01647d1bcd9b00ae429253e"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -1379,7 +1576,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "00f514551918453f9bc9d3f82097fc6a",
"m_Id": 0,
- "m_DisplayName": "MinimalPupilAperture",
+ "m_DisplayName": "Minimal Pupil Aperture",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -1417,6 +1614,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -1465,7 +1663,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "02eeb9f6fef446b4ae7505d6c2824e51",
"m_Id": 0,
- "m_DisplayName": "IrisClampColor",
+ "m_DisplayName": "Iris Clamp Color",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -1511,6 +1709,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
@@ -1523,7 +1722,7 @@
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
"m_ObjectId": "03e818ae56264fcc9839a8e87d83bd0f",
"m_Id": 0,
- "m_DisplayName": "ScleraTexture",
+ "m_DisplayName": "Sclera Texture",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -1580,7 +1779,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "062c12b3c858418291c6170749df392d",
"m_Id": 0,
- "m_DisplayName": "PupilRadius",
+ "m_DisplayName": "Pupil Radius",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -1753,12 +1952,14 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_TextureType": 0,
- "m_NormalMapSpace": 0
+ "m_NormalMapSpace": 0,
+ "m_EnableGlobalMipBias": true
}
{
@@ -1787,6 +1988,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -1864,12 +2066,33 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "11eb4d692c1b4adcaa57ced6429b519e",
+ "m_Name": "Limbal Ring",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "71630abf51eb4a7293b359652a7133ff"
+ },
+ {
+ "m_Id": "46252f045077431395e01818af3da66f"
+ },
+ {
+ "m_Id": "22e78a32611347ab939960145e45a6c4"
+ },
+ {
+ "m_Id": "b609691398c04e2db2bfa4a0c7b7335f"
+ }
+ ]
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "13ba55f37a194888a303d6c46614753c",
"m_Id": 0,
- "m_DisplayName": "MaximalPupilAperture",
+ "m_DisplayName": "Maximal Pupil Aperture",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -1907,6 +2130,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -1918,8 +2142,8 @@
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "14ca60ef42864e1fb86e2ac61e1abcbc",
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "149f788bb2ea44819a55199598d27c73",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
@@ -1927,19 +2151,67 @@
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
},
"m_DefaultValue": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_Labels": [
- "X",
- "Y",
- "Z"
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "14ca60ef42864e1fb86e2ac61e1abcbc",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [
+ "X",
+ "Y",
+ "Z"
]
}
@@ -1991,6 +2263,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -1998,6 +2271,33 @@
"m_Value": 0.0
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "161492aadcc74afa831b1d5cffb72111",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [
+ "X",
+ "Y",
+ "Z"
+ ]
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
@@ -2022,12 +2322,47 @@
]
}
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.PositionNode",
+ "m_ObjectId": "17902cca546343a8a512e5050b020e77",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Position",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 1942.9998779296875,
+ "y": -685.0,
+ "width": 206.0001220703125,
+ "height": 131.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "161492aadcc74afa831b1d5cffb72111"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 1,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 2,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Space": 0,
+ "m_PositionSource": 0
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "180dfdbb57f349fab94ffc9411f92ecb",
"m_Id": 0,
- "m_DisplayName": "LimbalRingFade",
+ "m_DisplayName": "Limbal Ring Fade",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -2083,12 +2418,60 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "18d972ecd4744beeb8ba268c3f75c141",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
"m_ObjectId": "1a2cbeb7bebe4e9db1fbd7aff8cb9a39",
"m_Id": 0,
- "m_DisplayName": "IrisNormal",
+ "m_DisplayName": "Iris Normal",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -2194,6 +2577,41 @@
]
}
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.PositionNode",
+ "m_ObjectId": "1ef5e3350c6d478fa02522623dc5980d",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Position",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1112.0,
+ "y": -115.0,
+ "width": 206.0,
+ "height": 131.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "4ffb1e655cd241789e2244d36be66f2e"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 1,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 2,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Space": 0,
+ "m_PositionSource": 0
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
@@ -2220,6 +2638,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2328,6 +2747,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2345,6 +2765,7 @@
"m_TransparentWritesMotionVec": false,
"m_AlphaToMask": false,
"m_DepthOffset": false,
+ "m_ConservativeDepthOffset": false,
"m_TransparencyFog": true,
"m_AlphaTestShadow": false,
"m_BackThenFrontRendering": false,
@@ -2379,6 +2800,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2393,12 +2815,15 @@
"m_Guid": {
"m_GuidSerialized": "325a1688-6c35-45f4-9581-2bdc9546fb1f"
},
- "m_Name": "LimbalRingFade",
+ "m_Name": "Limbal Ring Fade",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_6C2C412D",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -2437,6 +2862,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2499,6 +2925,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2512,12 +2939,15 @@
"m_Guid": {
"m_GuidSerialized": "31f90d24-1dd3-4541-b63b-13e08a8eac71"
},
- "m_Name": "ScleraDiffusionProfile",
+ "m_Name": "Sclera Diffusion Profile",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "DiffusionProfile_261f48f1fbc94ccbafc421414859c159",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -2637,6 +3067,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2867,6 +3298,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2880,12 +3312,15 @@
"m_Guid": {
"m_GuidSerialized": "c3743b78-816c-456f-a839-a2885a95c200"
},
- "m_Name": "MaximalPupilAperture",
+ "m_Name": "Maximal Pupil Aperture",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_49C490F5",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -2934,8 +3369,16 @@
"m_SupportLodCrossFade": false,
"m_DoubleSidedMode": 0,
"m_DOTSInstancing": false,
- "m_Version": 0,
- "m_FirstTimeMigrationExecuted": true,
+ "m_CustomVelocity": false,
+ "m_Tessellation": false,
+ "m_TessellationMode": 0,
+ "m_TessellationFactorMinDistance": 20.0,
+ "m_TessellationFactorMaxDistance": 50.0,
+ "m_TessellationFactorTriangleSize": 100.0,
+ "m_TessellationShapeFactor": 0.75,
+ "m_TessellationBackFaceCullEpsilon": -0.25,
+ "m_TessellationMaxDisplacement": 0.009999999776482582,
+ "m_Version": 1,
"inspectorFoldoutMask": 1
}
@@ -2965,6 +3408,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3123,6 +3567,18 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "407705ab55b84a768ef8a45175e577ff",
+ "m_Name": "Cornea",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "e4c0540a193245d4883c3571c17ade93"
+ }
+ ]
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -3145,7 +3601,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "42b1c1deb9104c1b976102d848b26a18",
"m_Id": 0,
- "m_DisplayName": "ScleraNormalStrength",
+ "m_DisplayName": "Sclera Normal Strength",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -3157,6 +3613,54 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "42c4dca4e629460dbc890e644559a0bc",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.EyeSurfaceTypeDebug",
@@ -3169,10 +3673,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 2418.0,
- "y": 298.9999694824219,
- "width": 237.99998474121095,
- "height": 173.0
+ "x": 2513.000244140625,
+ "y": -626.0,
+ "width": 238.0,
+ "height": 173.00001525878907
}
},
"m_Slots": [
@@ -3198,6 +3702,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3253,7 +3758,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "44ce9c86e38b47e99da3bbc9fd33213e",
"m_Id": 0,
- "m_DisplayName": "ScleraSmoothness",
+ "m_DisplayName": "Sclera Smoothness",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -3272,12 +3777,15 @@
"m_Guid": {
"m_GuidSerialized": "3c690643-530b-4860-af79-7c53df5328cf"
},
- "m_Name": "LimbalRingSizeSclera",
+ "m_Name": "Limbal Ring Size Sclera",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_94E1614A",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -3309,8 +3817,16 @@
"m_SupportLodCrossFade": false,
"m_DoubleSidedMode": 0,
"m_DOTSInstancing": false,
+ "m_CustomVelocity": false,
+ "m_Tessellation": false,
+ "m_TessellationMode": 0,
+ "m_TessellationFactorMinDistance": 20.0,
+ "m_TessellationFactorMaxDistance": 50.0,
+ "m_TessellationFactorTriangleSize": 100.0,
+ "m_TessellationShapeFactor": 0.75,
+ "m_TessellationBackFaceCullEpsilon": -0.25,
+ "m_TessellationMaxDisplacement": 0.009999999776482582,
"m_Version": 0,
- "m_FirstTimeMigrationExecuted": false,
"inspectorFoldoutMask": 0
}
@@ -3360,6 +3876,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3388,7 +3905,7 @@
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "490264c928004aeeabf116e1ca388f8d",
"m_Id": 0,
- "m_DisplayName": "PupilDebugMode",
+ "m_DisplayName": "Pupil Debug Mode",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -3409,9 +3926,9 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 2039.0,
- "y": 472.0,
- "width": 168.0,
+ "x": 2120.0,
+ "y": -444.9999694824219,
+ "width": 173.0,
"height": 34.0
}
},
@@ -3423,6 +3940,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3447,55 +3965,49 @@
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
- "m_ObjectId": "5147799b27f446ab902c01e6b3cac868",
- "m_Title": "ScleraNormalSource",
- "m_Content": "",
- "m_TextSize": 0,
- "m_Theme": 0,
- "m_Position": {
- "serializedVersion": "2",
- "x": 505.0,
- "y": 252.0,
- "width": 509.3525390625,
- "height": 410.65252685546877
- },
- "m_Group": {
- "m_Id": ""
- }
-}
-
-{
- "m_SGVersion": 1,
- "m_Type": "UnityEditor.ShaderGraph.PositionNode",
- "m_ObjectId": "51de60cc4d164e8abec305ea587ab126",
- "m_Group": {
- "m_Id": ""
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "4ffb1e655cd241789e2244d36be66f2e",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
},
- "m_Name": "Position",
- "m_DrawState": {
- "m_Expanded": true,
- "m_Position": {
- "serializedVersion": "2",
- "x": -1111.0,
- "y": -107.00000762939453,
- "width": 206.00001525878907,
- "height": 131.0
- }
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
},
- "m_Slots": [
- {
- "m_Id": "dd9706f0719d4321bef6b327cc24eb17"
- }
- ],
- "synonyms": [],
- "m_Precision": 1,
- "m_PreviewExpanded": false,
- "m_PreviewMode": 2,
- "m_CustomColors": {
- "m_SerializableColors": []
+ "m_Labels": [
+ "X",
+ "Y",
+ "Z"
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
+ "m_ObjectId": "5147799b27f446ab902c01e6b3cac868",
+ "m_Title": "ScleraNormalSource",
+ "m_Content": "",
+ "m_TextSize": 0,
+ "m_Theme": 0,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 505.0,
+ "y": 252.0,
+ "width": 509.3525390625,
+ "height": 410.65252685546877
},
- "m_Space": 0
+ "m_Group": {
+ "m_Id": ""
+ }
}
{
@@ -3538,6 +4050,33 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "53fbd192f8dd454795cdb085b345a52e",
+ "m_Name": "Iris",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "73563f868a3741e296c5b92abb7d4fd7"
+ },
+ {
+ "m_Id": "98eb7ede3dd544aa9d2b1b139d483b96"
+ },
+ {
+ "m_Id": "6ad8827c8f6c457a8e72c940779a3560"
+ },
+ {
+ "m_Id": "9c624b4b85b8409190389e0685a24f01"
+ },
+ {
+ "m_Id": "74ce267f1d8841ec94a07cb2b77f215f"
+ },
+ {
+ "m_Id": "bfbe0deb8ec4428a9cfcdb968651903c"
+ }
+ ]
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
@@ -3599,6 +4138,54 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "56b7c8de0b7b4e46b97d3a7141e736f4",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
@@ -3628,48 +4215,58 @@
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
- "m_ObjectId": "597786ac66034b26809b4642a16760ea",
- "m_Id": 3,
- "m_DisplayName": "Sampler",
- "m_SlotType": 0,
- "m_Hidden": false,
- "m_ShaderOutputName": "Sampler",
- "m_StageCapability": 3,
- "m_BareResource": false
-}
-
-{
- "m_SGVersion": 1,
- "m_Type": "UnityEditor.ShaderGraph.PositionNode",
- "m_ObjectId": "59abc1723bac4f6587bfde822a6cc955",
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "585901d73d654034bc1523fb712e4a44",
"m_Group": {
"m_Id": ""
},
- "m_Name": "Position",
+ "m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 1441.0001220703125,
- "y": -349.0,
- "width": 206.00001525878907,
- "height": 132.00001525878907
+ "x": -2322.0,
+ "y": -1507.0,
+ "width": 130.0,
+ "height": 118.0
}
},
"m_Slots": [
{
- "m_Id": "c117093e98d1432a90306ca98d4c7d68"
+ "m_Id": "18d972ecd4744beeb8ba268c3f75c141"
+ },
+ {
+ "m_Id": "42c4dca4e629460dbc890e644559a0bc"
+ },
+ {
+ "m_Id": "92790c493a4844a7b67b5bd447bcb330"
}
],
- "synonyms": [],
- "m_Precision": 1,
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
"m_PreviewExpanded": false,
- "m_PreviewMode": 2,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
- },
- "m_Space": 0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
+ "m_ObjectId": "597786ac66034b26809b4642a16760ea",
+ "m_Id": 3,
+ "m_DisplayName": "Sampler",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Sampler",
+ "m_StageCapability": 3,
+ "m_BareResource": false
}
{
@@ -3740,6 +4337,42 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "5dbf3ff35d5d4bf5be6e17ea85aec8a1",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1041.0,
+ "y": -155.0,
+ "width": 135.0,
+ "height": 34.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "5f3d9bb32a10452a8ef921aa93d4f2e4"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -3766,6 +4399,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3846,6 +4480,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3878,6 +4513,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3887,6 +4523,21 @@
}
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "5f3d9bb32a10452a8ef921aa93d4f2e4",
+ "m_Id": 0,
+ "m_DisplayName": "Mesh Scale",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -3974,12 +4625,14 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_TextureType": 0,
- "m_NormalMapSpace": 0
+ "m_NormalMapSpace": 0,
+ "m_EnableGlobalMipBias": true
}
{
@@ -4017,6 +4670,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4026,6 +4680,54 @@
}
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "6440e58ff5444bec9ad06be68cac6367",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -4043,12 +4745,40 @@
]
}
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "684964ae6dc74d5f83ee7912478c9f82",
+ "m_Guid": {
+ "m_GuidSerialized": "4087c4df-8e4e-43e0-82a3-c6f6c8284dff"
+ },
+ "m_Name": "Mesh Scale",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Mesh Scale",
+ "m_DefaultReferenceName": "_Mesh_Scale",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 1.0,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
"m_ObjectId": "697b3b1fb8e84c51bcb2d8fa4a81e056",
"m_Id": 0,
- "m_DisplayName": "ScleraNormal",
+ "m_DisplayName": "Sclera Normal",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -4056,6 +4786,54 @@
"m_BareResource": false
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "6aa314d51e2f43d38507d148e4aff603",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
@@ -4063,12 +4841,15 @@
"m_Guid": {
"m_GuidSerialized": "32ca927b-fedc-450d-9a6f-3ed9f328ee77"
},
- "m_Name": "IrisOffset",
+ "m_Name": "Iris Offset",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_76BF2124",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4122,12 +4903,40 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "6cdd9d2c72bd422e95f196685098852f",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [
+ "X",
+ "Y",
+ "Z"
+ ]
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
@@ -4174,6 +4983,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4221,10 +5031,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 1393.0,
- "y": 12.999996185302735,
- "width": 189.0,
- "height": 34.0
+ "x": 1399.0,
+ "y": 195.00001525878907,
+ "width": 194.0,
+ "height": 33.999969482421878
}
},
"m_Slots": [
@@ -4235,6 +5045,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4251,12 +5062,15 @@
"m_Guid": {
"m_GuidSerialized": "50189b63-f398-4395-bfa7-67fb002963a8"
},
- "m_Name": "MinimalPupilAperture",
+ "m_Name": "Minimal Pupil Aperture",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_2D21A623",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4276,12 +5090,15 @@
"m_Guid": {
"m_GuidSerialized": "fb074b99-476d-4c2e-8fc8-8fb0f671c188"
},
- "m_Name": "LimbalRingSizeIris",
+ "m_Name": "Limbal Ring Size Iris",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_C4ED1456",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4299,7 +5116,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "71f5d20edff741e287c6fcbba60756da",
"m_Id": 0,
- "m_DisplayName": "IrisOffset",
+ "m_DisplayName": "Iris Offset",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -4355,6 +5172,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4368,12 +5186,15 @@
"m_Guid": {
"m_GuidSerialized": "99d5e0e9-d718-4435-b820-41515fde398f"
},
- "m_Name": "IrisTexture",
+ "m_Name": "Iris Texture",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Texture2D_D8BF6575",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4382,6 +5203,8 @@
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_Guid": ""
},
+ "isMainTexture": false,
+ "useTilingAndOffset": false,
"m_Modifiable": true,
"m_DefaultType": 0
}
@@ -4393,12 +5216,15 @@
"m_Guid": {
"m_GuidSerialized": "296e2e11-fc1b-4b6e-8415-f1d88705b497"
},
- "m_Name": "IrisNormalStrength",
+ "m_Name": "Iris Normal Strength",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_FC0895C8",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4458,12 +5284,14 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_TextureType": 1,
- "m_NormalMapSpace": 0
+ "m_NormalMapSpace": 0,
+ "m_EnableGlobalMipBias": true
}
{
@@ -4473,12 +5301,15 @@
"m_Guid": {
"m_GuidSerialized": "550d8e4c-b159-40ab-af02-bb1cdcad7bb8"
},
- "m_Name": "PupilAperture",
+ "m_Name": "Pupil Aperture",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_FEA38ABB",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4504,6 +5335,42 @@
"m_BareResource": false
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "7a0d802562824c2bbd243a75a4affeb2",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 2013.9998779296875,
+ "y": -724.9999389648438,
+ "width": 135.0001220703125,
+ "height": 33.99993896484375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "d4c66259595c4c31910639b7ee5d56bd"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
@@ -4659,6 +5526,18 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "7fdfd7fe176e46ac8406c58968b05189",
+ "m_Name": "Geometry",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
+ }
+ ]
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
@@ -4691,7 +5570,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "839584f8c7684dc3bf129218cd402636",
"m_Id": 0,
- "m_DisplayName": "PupilRadius",
+ "m_DisplayName": "Pupil Radius",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -4703,6 +5582,49 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "83c8468df57240089f6adeb924ae1efb",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -892.0,
+ "y": -139.0,
+ "width": 130.0,
+ "height": 118.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "b41708ef2664458598036b9878878aa7"
+ },
+ {
+ "m_Id": "56b7c8de0b7b4e46b97d3a7141e736f4"
+ },
+ {
+ "m_Id": "6aa314d51e2f43d38507d148e4aff603"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -4729,6 +5651,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4763,39 +5686,6 @@
"m_Labels": []
}
-{
- "m_SGVersion": 1,
- "m_Type": "UnityEditor.ShaderGraph.PositionNode",
- "m_ObjectId": "85236978d3e34c7ba998ae09de1c1ca1",
- "m_Group": {
- "m_Id": ""
- },
- "m_Name": "Position",
- "m_DrawState": {
- "m_Expanded": true,
- "m_Position": {
- "serializedVersion": "2",
- "x": 2016.0,
- "y": 220.0,
- "width": 206.0,
- "height": 132.0
- }
- },
- "m_Slots": [
- {
- "m_Id": "ac3709d88f2447fda69c9d2f374695b2"
- }
- ],
- "synonyms": [],
- "m_Precision": 1,
- "m_PreviewExpanded": false,
- "m_PreviewMode": 2,
- "m_CustomColors": {
- "m_SerializableColors": []
- },
- "m_Space": 0
-}
-
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -4822,6 +5712,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4836,7 +5727,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "884ecb90d5b8473b9672e2a40766950b",
"m_Id": 0,
- "m_DisplayName": "LimbalRingIntensity",
+ "m_DisplayName": "Limbal Ring Intensity",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -4853,7 +5744,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "8968117c829146848384633130ae297a",
"m_Id": 0,
- "m_DisplayName": "LimbalRingFade",
+ "m_DisplayName": "Limbal Ring Fade",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -4877,8 +5768,8 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 2061.0,
- "y": 358.0,
+ "x": 2167.0,
+ "y": -568.0,
"width": 126.0,
"height": 77.0
}
@@ -4896,6 +5787,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4944,12 +5836,61 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "92790c493a4844a7b67b5bd447bcb330",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -4972,7 +5913,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "942c464cf68f49bc88165e2cb86e777f",
"m_Id": 0,
- "m_DisplayName": "IrisDiffusionProfile",
+ "m_DisplayName": "Iris Diffusion Profile",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -5010,6 +5951,49 @@
"m_Space": 0
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "94b23f84805941888b6c9be7a523647d",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 1565.0001220703125,
+ "y": -70.0,
+ "width": 130.0,
+ "height": 118.00001525878906
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "97152aee741c4876bc8806266204f43c"
+ },
+ {
+ "m_Id": "d84ebc888f434f54bba39d786425b547"
+ },
+ {
+ "m_Id": "149f788bb2ea44819a55199598d27c73"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -5075,6 +6059,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5124,6 +6109,54 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "97152aee741c4876bc8806266204f43c",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.BooleanShaderProperty",
@@ -5131,12 +6164,15 @@
"m_Guid": {
"m_GuidSerialized": "b1008dd9-bee9-45cc-ab1f-3330fa868732"
},
- "m_Name": "PupilDebugMode",
+ "m_Name": "Pupil Debug Mode",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Boolean_8D34052F",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -5144,6 +6180,41 @@
"m_Value": false
}
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.PositionNode",
+ "m_ObjectId": "97ef57a511a6409e8cdfd1f448e2e660",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Position",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 1345.0,
+ "y": -46.00001907348633,
+ "width": 206.0,
+ "height": 131.00003051757813
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "6cdd9d2c72bd422e95f196685098852f"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 1,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 2,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Space": 0,
+ "m_PositionSource": 0
+}
+
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
@@ -5151,12 +6222,15 @@
"m_Guid": {
"m_GuidSerialized": "d528889a-712b-4dcd-a1bc-2aac2142f258"
},
- "m_Name": "IrisClampColor",
+ "m_Name": "Iris Clamp Color",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Color_83777D09",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -5167,6 +6241,7 @@
"b": 0.5188679099082947,
"a": 0.0
},
+ "isMainColor": false,
"m_ColorMode": 0
}
@@ -5196,6 +6271,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5244,12 +6320,15 @@
"m_Guid": {
"m_GuidSerialized": "2a196c17-a7a7-48b1-9520-057b513cbed4"
},
- "m_Name": "PupilRadius",
+ "m_Name": "Pupil Radius",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_DFF948F3",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -5269,12 +6348,15 @@
"m_Guid": {
"m_GuidSerialized": "e3f9a16c-bc56-4a1e-8a15-ccf48612996e"
},
- "m_Name": "IrisNormal",
+ "m_Name": "Iris Normal",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Texture2D_4DB28C10",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -5283,6 +6365,8 @@
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_Guid": ""
},
+ "isMainTexture": false,
+ "useTilingAndOffset": false,
"m_Modifiable": true,
"m_DefaultType": 0
}
@@ -5292,7 +6376,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "9d77071e19d3423ca2ed8c8fd60d2ef9",
"m_Id": 0,
- "m_DisplayName": "LimbalRingIntensity",
+ "m_DisplayName": "Limbal Ring Intensity",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -5347,6 +6431,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5361,7 +6446,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "9ef1bf58fdbe453892ce55ba15362018",
"m_Id": 0,
- "m_DisplayName": "ScleraDiffusionProfile",
+ "m_DisplayName": "Sclera Diffusion Profile",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -5417,6 +6502,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5428,7 +6514,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "a0126e8d78004c2392e77ec0862d8411",
"m_Id": 0,
- "m_DisplayName": "LimbalRingSizeSclera",
+ "m_DisplayName": "Limbal Ring Size Sclera",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -5445,7 +6531,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "a13dfe1d6ead44c583c8676310d6633b",
"m_Id": 0,
- "m_DisplayName": "IrisNormalStrength",
+ "m_DisplayName": "Iris Normal Strength",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -5486,10 +6572,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": -840.0,
- "y": -748.9999389648438,
- "width": 206.0,
- "height": 132.0
+ "x": -849.9999389648438,
+ "y": -766.9999389648438,
+ "width": 208.0,
+ "height": 316.0
}
},
"m_Slots": [
@@ -5500,6 +6586,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5529,7 +6616,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "a670fbbfdf0b4795855a66139af6baf0",
"m_Id": 0,
- "m_DisplayName": "CorneaSmoothness",
+ "m_DisplayName": "Cornea Smoothness",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -5639,12 +6726,15 @@
"m_Guid": {
"m_GuidSerialized": "4b020807-13bc-490b-bea7-32706d36688d"
},
- "m_Name": "ScleraSmoothness",
+ "m_Name": "Sclera Smoothness",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_F084AE9E",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -5694,29 +6784,45 @@
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "ac3709d88f2447fda69c9d2f374695b2",
- "m_Id": 0,
- "m_DisplayName": "Out",
- "m_SlotType": 1,
- "m_Hidden": false,
- "m_ShaderOutputName": "Out",
- "m_StageCapability": 3,
- "m_Value": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "ac024894f1d5456a9414b3a1cd7664ae",
+ "m_Group": {
+ "m_Id": ""
},
- "m_DefaultValue": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 2163.0,
+ "y": -709.0,
+ "width": 130.0,
+ "height": 118.0
+ }
},
- "m_Labels": [
- "X",
- "Y",
- "Z"
- ]
+ "m_Slots": [
+ {
+ "m_Id": "6440e58ff5444bec9ad06be68cac6367"
+ },
+ {
+ "m_Id": "cc489268d67f4e4eae4f55166b09b47c"
+ },
+ {
+ "m_Id": "be62d6f81f24481685d49749d2c200b3"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
}
{
@@ -5745,6 +6851,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5803,6 +6910,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5908,6 +7016,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5941,6 +7050,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5970,6 +7080,78 @@
}
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "b21e085e5c844bc2a7a5bdedc8d3695c",
+ "m_Name": "Sclera",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "e90c81090c004570bf74081a26ad8d32"
+ },
+ {
+ "m_Id": "ab7c2b6d01dd4488be459395551580e1"
+ },
+ {
+ "m_Id": "fd16faa57aeb4c229829b62bb7f7bfd5"
+ },
+ {
+ "m_Id": "c771e025477545a58f7ca8d09b3a95a3"
+ },
+ {
+ "m_Id": "261f48f1fbc94ccbafc421414859c159"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "b41708ef2664458598036b9878878aa7",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
@@ -6014,6 +7196,42 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "b5d8c47b78a147dabe97777e368cc693",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 1416.0,
+ "y": -86.0000228881836,
+ "width": 135.0,
+ "height": 34.00003433227539
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "fbd90f0016d84bfbaa75c39d3a02b20c"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
+ }
+}
+
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
@@ -6021,12 +7239,15 @@
"m_Guid": {
"m_GuidSerialized": "5025e116-d2b9-4c55-beb9-59d28f9a7355"
},
- "m_Name": "LimbalRingIntensity",
+ "m_Name": "Limbal Ring Intensity",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_A6DA845F",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -6065,6 +7286,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6086,10 +7308,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 2050.0,
- "y": 438.0,
- "width": 137.0,
- "height": 34.0
+ "x": 2154.0,
+ "y": -487.0,
+ "width": 139.0,
+ "height": 34.000030517578128
}
},
"m_Slots": [
@@ -6100,6 +7322,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6189,8 +7412,8 @@
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
- "x": 2400.0,
- "y": 250.0,
+ "x": 2495.0,
+ "y": -675.0,
"width": 281.0,
"height": 245.0
},
@@ -6204,7 +7427,7 @@
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
"m_ObjectId": "ba6b5472da704f87a05eb3e18cec4439",
"m_Id": 0,
- "m_DisplayName": "IrisTexture",
+ "m_DisplayName": "Iris Texture",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -6255,6 +7478,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6262,39 +7486,6 @@
"m_SerializedDescriptor": "VertexDescription.Position"
}
-{
- "m_SGVersion": 1,
- "m_Type": "UnityEditor.ShaderGraph.PositionNode",
- "m_ObjectId": "bbe7b267a4bf415eb27c61c220570037",
- "m_Group": {
- "m_Id": ""
- },
- "m_Name": "Position",
- "m_DrawState": {
- "m_Expanded": true,
- "m_Position": {
- "serializedVersion": "2",
- "x": -941.9999389648438,
- "y": 418.0,
- "width": 206.0,
- "height": 131.99998474121095
- }
- },
- "m_Slots": [
- {
- "m_Id": "bfbf0634492d4b46a234e1873b9988d0"
- }
- ],
- "synonyms": [],
- "m_Precision": 1,
- "m_PreviewExpanded": false,
- "m_PreviewMode": 2,
- "m_CustomColors": {
- "m_SerializableColors": []
- },
- "m_Space": 0
-}
-
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -6355,6 +7546,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6434,6 +7626,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6443,6 +7636,54 @@
}
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "be62d6f81f24481685d49749d2c200b3",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.Rendering.HighDefinition.DiffusionProfileShaderProperty",
@@ -6450,12 +7691,15 @@
"m_Guid": {
"m_GuidSerialized": "9444b3d5-aa8b-46b7-8b27-9b6ed8fcb3e9"
},
- "m_Name": "IrisDiffusionProfile",
+ "m_Name": "Iris Diffusion Profile",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "DiffusionProfile_bfbe0deb8ec4428a9cfcdb968651903c",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -6465,39 +7709,12 @@
}
}
-{
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "bfbf0634492d4b46a234e1873b9988d0",
- "m_Id": 0,
- "m_DisplayName": "Out",
- "m_SlotType": 1,
- "m_Hidden": false,
- "m_ShaderOutputName": "Out",
- "m_StageCapability": 3,
- "m_Value": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_DefaultValue": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_Labels": [
- "X",
- "Y",
- "Z"
- ]
-}
-
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "c018d4ca2bff4bdd8cc3f7aa0623451b",
"m_Id": 0,
- "m_DisplayName": "PupilAperture",
+ "m_DisplayName": "Pupil Aperture",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -6583,6 +7800,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6605,33 +7823,6 @@
"m_BareResource": false
}
-{
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "c117093e98d1432a90306ca98d4c7d68",
- "m_Id": 0,
- "m_DisplayName": "Out",
- "m_SlotType": 1,
- "m_Hidden": false,
- "m_ShaderOutputName": "Out",
- "m_StageCapability": 3,
- "m_Value": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_DefaultValue": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_Labels": [
- "X",
- "Y",
- "Z"
- ]
-}
-
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
@@ -6678,6 +7869,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6712,12 +7904,15 @@
"m_Guid": {
"m_GuidSerialized": "dff2bf97-4646-4e48-966f-aa8e61c00f31"
},
- "m_Name": "ScleraNormalStrength",
+ "m_Name": "Sclera Normal Strength",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_70564D59",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -6901,6 +8096,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6932,6 +8128,54 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "cc489268d67f4e4eae4f55166b09b47c",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -6975,6 +8219,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7078,6 +8323,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7123,6 +8369,36 @@
"m_DefaultType": 0
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "d4c66259595c4c31910639b7ee5d56bd",
+ "m_Id": 0,
+ "m_DisplayName": "Mesh Scale",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "d5751c9bd01647d1bcd9b00ae429253e",
+ "m_Id": 0,
+ "m_DisplayName": "Mesh Scale",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
@@ -7221,6 +8497,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7228,6 +8505,54 @@
"m_SerializedDescriptor": "SurfaceDescription.BentNormal"
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "d84ebc888f434f54bba39d786425b547",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -7254,6 +8579,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7312,6 +8638,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7361,6 +8688,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7399,6 +8727,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7430,33 +8759,6 @@
]
}
-{
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "dd9706f0719d4321bef6b327cc24eb17",
- "m_Id": 0,
- "m_DisplayName": "Out",
- "m_SlotType": 1,
- "m_Hidden": false,
- "m_ShaderOutputName": "Out",
- "m_StageCapability": 3,
- "m_Value": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_DefaultValue": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_Labels": [
- "X",
- "Y",
- "Z"
- ]
-}
-
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
@@ -7483,6 +8785,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7561,6 +8864,14 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "dec2d123624f4d2392482719d08589d5",
+ "m_Name": "",
+ "m_ChildObjectList": []
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -7656,12 +8967,15 @@
"m_Guid": {
"m_GuidSerialized": "6db4e7d9-6746-4a1f-aaea-f1ded256be02"
},
- "m_Name": "CorneaSmoothness",
+ "m_Name": "Cornea Smoothness",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_8F0D1174",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -7727,6 +9041,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7797,10 +9112,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 1403.0,
- "y": 46.999996185302737,
- "width": 172.99998474121095,
- "height": 34.0
+ "x": 1409.0,
+ "y": 228.99998474121095,
+ "width": 177.0,
+ "height": 33.99998474121094
}
},
"m_Slots": [
@@ -7811,6 +9126,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7867,12 +9183,14 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_TextureType": 1,
- "m_NormalMapSpace": 0
+ "m_NormalMapSpace": 0,
+ "m_EnableGlobalMipBias": true
}
{
@@ -7935,6 +9253,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7949,12 +9268,15 @@
"m_Guid": {
"m_GuidSerialized": "0d4d34f4-8f8f-4afa-89fc-bc008c7fb200"
},
- "m_Name": "ScleraTexture",
+ "m_Name": "Sclera Texture",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Texture2D_5F873FC1",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -7963,10 +9285,36 @@
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_Guid": ""
},
+ "isMainTexture": false,
+ "useTilingAndOffset": false,
"m_Modifiable": true,
"m_DefaultType": 0
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "e9275698f33b43b8be9605f8f67bc908",
+ "m_Name": "Pupil",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "9a6d8a62273c4c4db565fa7872f3919e"
+ },
+ {
+ "m_Id": "97db5880f5d34096a0c3f1d019ec1e5c"
+ },
+ {
+ "m_Id": "76d715779d0943698737ae2608262a35"
+ },
+ {
+ "m_Id": "714c18b2b81f46e7847db477c7242ba4"
+ },
+ {
+ "m_Id": "3624189abff54ea6840759446c17a716"
+ }
+ ]
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -7993,6 +9341,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8037,6 +9386,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8069,6 +9419,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8089,6 +9440,7 @@
"m_TransparentWritesMotionVec": false,
"m_AlphaToMask": false,
"m_DepthOffset": false,
+ "m_ConservativeDepthOffset": false,
"m_TransparencyFog": true,
"m_AlphaTestShadow": false,
"m_BackThenFrontRendering": false,
@@ -8129,6 +9481,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8233,6 +9586,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8252,7 +9606,7 @@
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
- "m_Value": 1.3329999446868897,
+ "m_Value": 1.3300000429153443,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
@@ -8302,6 +9656,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8319,8 +9674,8 @@
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
- "x": 1335.0,
- "y": -72.0,
+ "x": 1341.0,
+ "y": 110.0,
"width": 268.0,
"height": 191.0
},
@@ -8355,6 +9710,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8421,6 +9777,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8433,7 +9790,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "f84cf3d2f73c4d7f8efe58ac5b3f7905",
"m_Id": 0,
- "m_DisplayName": "LimbalRingSizeIris",
+ "m_DisplayName": "Limbal Ring Size Iris",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
@@ -8479,6 +9836,21 @@
"m_OverrideBakedGI": false
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "fbd90f0016d84bfbaa75c39d3a02b20c",
+ "m_Id": 0,
+ "m_DisplayName": "Mesh Scale",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
@@ -8491,10 +9863,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": -2398.0,
- "y": -1485.0,
+ "x": -2542.0,
+ "y": -1483.0,
"width": 206.0,
- "height": 132.0
+ "height": 131.0
}
},
"m_Slots": [
@@ -8505,11 +9877,13 @@
"synonyms": [],
"m_Precision": 1,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
- "m_Space": 0
+ "m_Space": 0,
+ "m_PositionSource": 0
}
{
@@ -8546,12 +9920,15 @@
"m_Guid": {
"m_GuidSerialized": "516bed75-9b12-4aff-bace-a3aa2a3a2a41"
},
- "m_Name": "ScleraNormal",
+ "m_Name": "Sclera Normal",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Texture2D_B9F5688C",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -8560,6 +9937,8 @@
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_Guid": ""
},
+ "isMainTexture": false,
+ "useTilingAndOffset": false,
"m_Modifiable": true,
"m_DefaultType": 0
}
@@ -8638,6 +10017,7 @@
"m_Id": "46e21ae687bf4d2a8ed7b7ed6b1186c4"
}
],
- "m_CustomEditorGUI": ""
+ "m_CustomEditorGUI": "",
+ "m_SupportVFX": false
}
diff --git a/TestProjects/HDRP_Tests/ProjectSettings/EditorBuildSettings.asset b/TestProjects/HDRP_Tests/ProjectSettings/EditorBuildSettings.asset
index 6ab3080e50f..e5f1b9b1f30 100644
--- a/TestProjects/HDRP_Tests/ProjectSettings/EditorBuildSettings.asset
+++ b/TestProjects/HDRP_Tests/ProjectSettings/EditorBuildSettings.asset
@@ -368,6 +368,9 @@ EditorBuildSettings:
- enabled: 1
path: Assets/GraphicTests/Scenes/2x_Lighting/2308_Microshadows.unity
guid: 6250123484c56d544a5c1cbd20fd6bb2
+ - enabled: 1
+ path: Assets/GraphicTests/Scenes/2x_Lighting/2309_Shadow_Mask_Dir_Fade.unity
+ guid: 10cc8aebbf29a4e449e62471d6176292
- enabled: 1
path: Assets/GraphicTests/Scenes/2x_Lighting/2311_ShadowMaps.unity
guid: 5dfc947af7e868c47a4656d29eb8653e
diff --git a/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeUI.Drawer.cs b/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeUI.Drawer.cs
index f55ffc50552..62d67a3629d 100644
--- a/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeUI.Drawer.cs
+++ b/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeUI.Drawer.cs
@@ -204,9 +204,12 @@ static void Drawer_VolumeContent(SerializedProbeVolume serialized, Editor owner)
serialized.size.vector3Value = tmpClamp;
}
- EditorGUILayout.PropertyField(serialized.objectLayerMask, Styles.s_ObjectLayerMask);
+ EditorGUILayout.LabelField("Geometry Settings", EditorStyles.boldLabel);
+ EditorGUI.indentLevel++;
+ EditorGUILayout.PropertyField(serialized.objectLayerMask, Styles.s_ObjectLayerMask);
EditorGUILayout.PropertyField(serialized.geometryDistanceOffset, Styles.s_GeometryDistanceOffset);
+ EditorGUI.indentLevel--;
}
}
}
diff --git a/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeUI.Skin.cs b/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeUI.Skin.cs
index 0dacaaa504c..54224ab9ce9 100644
--- a/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeUI.Skin.cs
+++ b/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeUI.Skin.cs
@@ -11,8 +11,8 @@ internal static class Styles
internal static readonly GUIContent s_OverridesSubdivision = new GUIContent("Override Subdivision Levels", "Whether to override or not the subdivision levels.");
internal static readonly GUIContent s_HighestSubdivLevel = new GUIContent("Highest Subdivision Level", "Overrides the highest subdivision level used by the system. This determines how finely a probe volume is subdivided, lower values means larger minimum distance between probes.");
internal static readonly GUIContent s_LowestSubdivLevel = new GUIContent("Lowest Subdivision Level", "Overrides the lowest subdivision level used by the system. This determines how coarsely a probe volume is allowed to be subdivided, higher values means smaller maximum distance between probes.");
- internal static readonly GUIContent s_ObjectLayerMask = new GUIContent("Object Layer Mask", "Control which layers will be used to select the meshes for the probe placement algorithm.");
- internal static readonly GUIContent s_GeometryDistanceOffset = new GUIContent("Geometry Distance Offset", "Affects the minimum distance at which the subdivision system will place probes near the geometry.");
+ internal static readonly GUIContent s_ObjectLayerMask = new GUIContent("Layer Mask", "Control which layers will be used to select the meshes for the probe placement algorithm.");
+ internal static readonly GUIContent s_GeometryDistanceOffset = new GUIContent("Probe Placement Distance Offset", "Affects the minimum distance at which the subdivision system will attempts to place probes near the geometry. This value can be useful in situations where the generated probes don't fully cover an object.");
internal static readonly string s_ProbeVolumeChangedMessage = "The probe volume has changed since last baking or the data was never baked.\nPlease bake lighting in the lighting panel to update the lighting data.";
internal static readonly Color k_GizmoColorBase = new Color32(137, 222, 144, 255);
diff --git a/com.unity.render-pipelines.core/Runtime/Lighting/ProbeVolume/ProbeVolume.cs b/com.unity.render-pipelines.core/Runtime/Lighting/ProbeVolume/ProbeVolume.cs
index 8a33a93fad6..7a802a32912 100644
--- a/com.unity.render-pipelines.core/Runtime/Lighting/ProbeVolume/ProbeVolume.cs
+++ b/com.unity.render-pipelines.core/Runtime/Lighting/ProbeVolume/ProbeVolume.cs
@@ -1,7 +1,3 @@
-using System;
-using UnityEngine.Serialization;
-using UnityEditor.Experimental;
-using Unity.Collections;
using System.Collections.Generic;
using UnityEngine.Rendering;
using UnityEngine.SceneManagement;
@@ -39,6 +35,7 @@ public class ProbeVolume : MonoBehaviour
[SerializeField] internal Matrix4x4 cachedTransform;
[SerializeField] internal int cachedHashCode;
+#if UNITY_EDITOR
///
/// Returns the extents of the volume.
///
@@ -48,7 +45,6 @@ public Vector3 GetExtents()
return size;
}
-#if UNITY_EDITOR
internal void UpdateGlobalVolume(Scene scene)
{
if (gameObject.scene != scene) return;
@@ -126,8 +122,6 @@ public override int GetHashCode()
return hash;
}
-#endif
-
internal float GetMinSubdivMultiplier()
{
float maxSubdiv = ProbeReferenceVolume.instance.GetMaxSubdivision() - 1;
@@ -145,6 +139,8 @@ internal float GetMaxSubdivMultiplier()
// other non-hidden component related to APV.
#region APVGizmo
+ static List sProbeVolumeInstances = new();
+
MeshGizmo brickGizmos;
MeshGizmo cellGizmo;
@@ -156,23 +152,19 @@ void DisposeGizmos()
cellGizmo = null;
}
- void OnDestroy()
+ void OnEnable()
{
- DisposeGizmos();
+ sProbeVolumeInstances.Add(this);
}
void OnDisable()
{
+ sProbeVolumeInstances.Remove(this);
DisposeGizmos();
}
-#if UNITY_EDITOR
// Only the first PV of the available ones will draw gizmos.
- bool IsResponsibleToDrawGizmo()
- {
- var pvList = GameObject.FindObjectsOfType();
- return this == pvList[0];
- }
+ bool IsResponsibleToDrawGizmo() => sProbeVolumeInstances.Count > 0 && sProbeVolumeInstances[0] == this;
internal bool ShouldCullCell(Vector3 cellPosition, Vector3 originWS = default(Vector3))
{
@@ -219,7 +211,6 @@ void OnDrawGizmos()
cellSizeInMeters = profile.cellSizeInMeters;
}
-
if (debugDisplay.drawBricks)
{
var subdivColors = ProbeReferenceVolume.instance.subdivisionDebugColors;
@@ -319,8 +310,8 @@ IEnumerable GetVisibleCellCenters()
cellGizmo.RenderWireframe(Gizmos.matrix, gizmoName: "Brick Gizmo Rendering");
}
}
-
-#endif
#endregion
+
+#endif // UNITY_EDITOR
}
} // UnityEngine.Experimental.Rendering.HDPipeline
diff --git a/com.unity.render-pipelines.high-definition-config/Runtime/ShaderConfig.cs b/com.unity.render-pipelines.high-definition-config/Runtime/ShaderConfig.cs
index 92341ab0a2a..0907af410ef 100644
--- a/com.unity.render-pipelines.high-definition-config/Runtime/ShaderConfig.cs
+++ b/com.unity.render-pipelines.high-definition-config/Runtime/ShaderConfig.cs
@@ -4,6 +4,14 @@
namespace UnityEngine.Rendering.HighDefinition
{
+ //Do not change these numbers!!
+ //Its not a full power of 2 because the last light slot is reserved.
+ internal enum FPTLMaxLightSizes
+ {
+ Low = 31,
+ High = 63
+ }
+
///
/// Project-wide shader configuration options.
///
@@ -36,6 +44,13 @@ public enum ShaderOptions
/// Support to apply a global mip bias on all texture samplers of HDRP.
GlobalMipBias = 1,
+
+ ///
+ /// Maximum number of lights for a fine pruned light tile. This number can only be the prespecified possibilities in FPTLMaxLightSizes
+ /// Lower count will mean some memory savings.
+ /// Note: For any rendering bigger than 4k (in native) it is recommended to use Low count per tile, to avoid possible artifacts.
+ ///
+ FPTLMaxLightCount = FPTLMaxLightSizes.High
};
// Note: #define can't be use in include file in C# so we chose this way to configure both C# and hlsl
@@ -73,5 +88,8 @@ public class ShaderConfig
/// Indicates whether to support application of global mip bias on all texture samplers of hdrp.
///
public static bool s_GlobalMipBias = (int)ShaderOptions.GlobalMipBias != 0;
+ /// Indicates the maximum number of lights available for Fine Prunning Tile Lighting.
+ ///
+ public static int FPTLMaxLightCount = (int)ShaderOptions.FPTLMaxLightCount;
}
}
diff --git a/com.unity.render-pipelines.high-definition-config/Runtime/ShaderConfig.cs.hlsl b/com.unity.render-pipelines.high-definition-config/Runtime/ShaderConfig.cs.hlsl
index c0f392cc12b..40e2bc54c26 100644
--- a/com.unity.render-pipelines.high-definition-config/Runtime/ShaderConfig.cs.hlsl
+++ b/com.unity.render-pipelines.high-definition-config/Runtime/ShaderConfig.cs.hlsl
@@ -15,6 +15,7 @@
#define SHADEROPTIONS_AREA_LIGHTS (1)
#define SHADEROPTIONS_BARN_DOOR (0)
#define SHADEROPTIONS_GLOBAL_MIP_BIAS (1)
+#define SHADEROPTIONS_FPTLMAX_LIGHT_COUNT (63)
#endif
diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md
index 3118516d257..5e515bf883a 100644
--- a/com.unity.render-pipelines.high-definition/CHANGELOG.md
+++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md
@@ -9,6 +9,24 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Fixed
- Fixed issue with mixed cached shadow for area lights.
- Fixed an exception happening when the user doesn't set one of the renderers of a given LOD (case 1372965).
+- Fixed film grain & dithering when using spatial upscaling methods for DRS.
+- Fixed a regression that was introduced in the diffuse denoiser.
+- Fixed a build-time warning regarding light loop variants (case 1372256).
+- Fixed sky override layer mask having no effect.
+- Fixed pyramid blur being corrupted when hardware DRS was on (case # 1372245)
+- Fixed area light support for hair
+- Fixed public API to reset path tracing accumulation, and check its status.
+- Fixed an infinite import loop of materials when there is no HDMetaData generated by the ShaderGraph.
+- Fixed Z axis orientation when sampling 3D textures in local volumetric fog.
+- Fixed geometry scale issue with the Eye Shader.
+- Fixed motion vector buffer not accessible from custom passes in the BeforeTransparent, BeforePreRefraction and AfterDepthAndNormal injection points.
+- Fixed the point distribution for the diffuse denoiser sometimes not being properly intialized.
+- Fixed the bad blending between the sun and the clouds (case 1373282).
+- Fixed and optimize distance shadowmask fade.
+
+### Changed
+- Maximum light count per fine prunned tile (opaque deferred) is now 63 instead of 23.
+- Depth of Field is now disabled in orthographic cameras - it was using the hidden perspective settings (case 1372582).
## [12.1.1] - 2021-10-04
diff --git a/com.unity.render-pipelines.high-definition/Documentation~/Decal.md b/com.unity.render-pipelines.high-definition/Documentation~/Decal.md
index ca4fbd4ec08..71382ebf044 100644
--- a/com.unity.render-pipelines.high-definition/Documentation~/Decal.md
+++ b/com.unity.render-pipelines.high-definition/Documentation~/Decal.md
@@ -36,9 +36,13 @@ After you enable Decal Layers, you can then use them to decouple Meshes from cer
By default, in the UI for Decal Projectors, Mesh Renderers, or Terrain, Decal Layers are named **Decal Layer 1-7**. To more easily differentiate between them, you can give each Decal Layer a specific name. To do this, open the [HDRP Global Settings](Default-Settings-Window.md), and go to **Decal Layer Names**. Here you can set the name of each Decal Layer individually.
-### Performance implications
+### How Decal Layers affect performance
-Enabling Decal Layers increases memory usage, has a GPU performance cost and generates more Shader Variants. This increases build time.
+When you enable Decal Layers, it increases the build time of your project. This is because Decal Layers:
+
+* Uses a high amount of memory.
+* Increases GPU performance cost.
+* Generates more [Shader Variants](https://docs.unity3d.com/Manual/shader-variants.html).
If you use the Decal Layer system to disable a decal, via the **Rendering Layer Mask** of a Mesh Renderer or Terrain, it doesn't save on any performance. Instead, to save performance, you need to disable the **Receive Decals** property for the Mesh Renderer or Terrain's Material.
diff --git a/com.unity.render-pipelines.high-definition/Documentation~/HDRP-Features.md b/com.unity.render-pipelines.high-definition/Documentation~/HDRP-Features.md
index 8ec0b07d7cf..b5afbcceb12 100644
--- a/com.unity.render-pipelines.high-definition/Documentation~/HDRP-Features.md
+++ b/com.unity.render-pipelines.high-definition/Documentation~/HDRP-Features.md
@@ -318,6 +318,11 @@ Real time raytracing effect are currently in Preview and behavior could change i
+### Light count limit
+
+HDRP has a maximum limit on the number of lights a single pixel can get influence from. This setting can be configured through the ShaderConfig.cs file as the FPTLMaxLightCount. By default, HDRP's maximum light count per pixel is 63.
+The only two possible values HDRP supports are Low (31 lights) and High (63 lights). For more information on how to configure this setting, please see [HDRP Config package](HDRP-Config-Package.md).
+
## Camera
### Post-processing
diff --git a/com.unity.render-pipelines.high-definition/Documentation~/Images/fog-overrides.png b/com.unity.render-pipelines.high-definition/Documentation~/Images/fog-overrides.png
new file mode 100644
index 00000000000..9db8045d3ab
--- /dev/null
+++ b/com.unity.render-pipelines.high-definition/Documentation~/Images/fog-overrides.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:526b95220afaaf03c04f01cd81ff30c0337138553f216906b0096a18c986f24c
+size 78518
diff --git a/com.unity.render-pipelines.high-definition/Documentation~/Override-Diffusion-Profile.md b/com.unity.render-pipelines.high-definition/Documentation~/Override-Diffusion-Profile.md
index c22b5d63e53..ed2ee36e15f 100644
--- a/com.unity.render-pipelines.high-definition/Documentation~/Override-Diffusion-Profile.md
+++ b/com.unity.render-pipelines.high-definition/Documentation~/Override-Diffusion-Profile.md
@@ -31,4 +31,4 @@ If the Volume with the Diffusion Profile Override is local, the **Fill Profiles
If multiple Volumes overlap and affect the Camera simultaneously, HDRP interpolates between multiple values for the same Volume override property in order to handle overlapping values. However, interpolating a final value for the **Diffusion Profile List** is not possible. Instead, HDRP selects the **Diffusion Profile List** from the Volume with the highest **Priority**.
-There is a small performance overhead to find which Diffusion Profile a Material users. This means that the fewer Diffusion Profiles you use, the faster this process is. Rather than limit the number of Diffusion Profiles you use, you can use the **Diffusion Profile Override** to optimize the search process. If you have multiple Scenes, and each one only uses a single Diffusion Profile, you can use this override on a global Volume in each Scene to select a Diffusion Profile per Scene, instead of placing the Diffusion Profile from each Scene into the HDRP Graphics Settings. This reduces the resource intensity of the search in the Shader. This technique is particularly effective if your Scene contains a lot of overdraw to produce visual effects like foliage and vegetation.
+There is a small performance overhead to find which Diffusion Profile a Material uses. This means that the fewer Diffusion Profiles you use, the faster this process is. Rather than limit the number of Diffusion Profiles you use, you can use the **Diffusion Profile Override** to optimize the search process. If you have multiple Scenes, and each one only uses a single Diffusion Profile, you can use this override on a global Volume in each Scene to select a Diffusion Profile per Scene, instead of placing the Diffusion Profile from each Scene into the HDRP Graphics Settings. This reduces the resource intensity of the search in the Shader. This technique is particularly effective if your Scene contains a lot of overdraw to produce visual effects like foliage and vegetation.
diff --git a/com.unity.render-pipelines.high-definition/Documentation~/Override-Fog.md b/com.unity.render-pipelines.high-definition/Documentation~/Override-Fog.md
index 90eaa26d951..afeda1a852d 100644
--- a/com.unity.render-pipelines.high-definition/Documentation~/Override-Fog.md
+++ b/com.unity.render-pipelines.high-definition/Documentation~/Override-Fog.md
@@ -13,7 +13,7 @@ After you add an **Fog** override, you must enable it in the override itself. In
At this point, the Scene contains global fog. However, the effect might not suit your needs. To override the default property with your own chosen values, follow the steps in the [Customizing Global Fog](#CustomizingGlobalFog) section.
-The High Definition Render Pipeline evaluates volumetric lighting on a 3D grid mapped to the volumetric section of the frustum. The resolution of the grid is quite low (it is 240x135x64 using the default quality setting at 1080p), so it's important to keep the dimensions of the frustum as small as possible to maintain high quality. Adjust the **Depth Extent** parameter to define the maximum range for the volumetric fog relative to the Camera’s frustum.
+The High Definition Render Pipeline evaluates volumetric lighting on a 3D grid mapped to the volumetric section of the frustum. The resolution of the grid is quite low (it is 240x135x64 using the default quality setting at 1080p), so it's important to keep the dimensions of the frustum as small as possible to maintain high quality. Adjust the **Volumetric Fog Distance** parameter to define the maximum range for the volumetric fog relative to the Camera’s frustum.
The Fog may not work when using a custom camera projection matrix, like an off-axis projection.
@@ -37,7 +37,7 @@ The **Fog** override of the active Volume controls the appearance of the global
## Properties
-
+
[!include[](snippets/Volume-Override-Enable-Properties.md)]
diff --git a/com.unity.render-pipelines.high-definition/Documentation~/Override-Volumetric-Clouds.md b/com.unity.render-pipelines.high-definition/Documentation~/Override-Volumetric-Clouds.md
index 0e0f6206315..e94abf18b88 100644
--- a/com.unity.render-pipelines.high-definition/Documentation~/Override-Volumetric-Clouds.md
+++ b/com.unity.render-pipelines.high-definition/Documentation~/Override-Volumetric-Clouds.md
@@ -157,3 +157,4 @@ When importing these two map Textures, disable **sRGB**. For best results, do no
* When enabled for [Reflection Probes](Reflection-Probe.md), the volumetric clouds are rendered at low resolution, without any form of temporal accumulation for performance and stability reasons.
* By default volumetric clouds are enabled on the baked [Reflection Probes](Reflection-Probe.md) if the asset allows it. They are rendered at full resolution without any form of temporal accumulation.
* Volumetric clouds do not appear in ray-traced effects.
+* Transmittance is not applied linearly on the camera color to provide a better blending with the sun light (or high intensity pixels). If [Multi-sample anti-aliasing (MSAA)](#MSAA) is enabled on the camera, due to internal limitations, a different blending profile is used that may result in darker cloud edges.
diff --git a/com.unity.render-pipelines.high-definition/Documentation~/Ray-Tracing-Getting-Started.md b/com.unity.render-pipelines.high-definition/Documentation~/Ray-Tracing-Getting-Started.md
index 4d368c3f47c..06147cd18e6 100644
--- a/com.unity.render-pipelines.high-definition/Documentation~/Ray-Tracing-Getting-Started.md
+++ b/com.unity.render-pipelines.high-definition/Documentation~/Ray-Tracing-Getting-Started.md
@@ -268,6 +268,7 @@ When building your custom shaders using shader graph, some nodes are incompatibl
- DDX, DDY and DDXY nodes.
- All the nodes under Inputs > Geometry (Position, View Direction, Normal, etc.) in View Space mode.
- Checkerboard node.
+Furthermore, Shader Graphs that use [Custom Interpolators](../../com.unity.shadergraph/Documentation~/Custom-Interpolators.md) are not supported in ray tracing.
### Unsupported features of path tracing
diff --git a/com.unity.render-pipelines.high-definition/Documentation~/Ray-Tracing-Path-Tracing.md b/com.unity.render-pipelines.high-definition/Documentation~/Ray-Tracing-Path-Tracing.md
index 3b09699a959..a5a9460c23a 100644
--- a/com.unity.render-pipelines.high-definition/Documentation~/Ray-Tracing-Path-Tracing.md
+++ b/com.unity.render-pipelines.high-definition/Documentation~/Ray-Tracing-Path-Tracing.md
@@ -109,6 +109,7 @@ HDRP path tracing in Unity 2020.2 has the following limitations:
- If a Mesh in your scene has a Material assigned that does not have the `HDRenderPipeline` tag, the mesh will not appear in your scene. For more information, see [Ray tracing and Meshes](Ray-Tracing-Getting-Started.md#RayTracingMeshes).
- Does not support 3D Text and TextMeshPro.
- Does not support Shader Graph nodes that use derivatives (for example, a normal map that derives from a texture).
+- Does not support Shader Graphs that use [Custom Interpolators](../../com.unity.shadergraph/Documentation~/Custom-Interpolators.md).
- Does not support decals.
- Does not support tessellation.
- Does not support Tube and Disc-shaped Area Lights.
diff --git a/com.unity.render-pipelines.high-definition/Documentation~/Upgrading-from-2021.1-to-2021.2.md b/com.unity.render-pipelines.high-definition/Documentation~/Upgrading-from-2021.1-to-2021.2.md
index 0bfa3488f92..b72fc2097e3 100644
--- a/com.unity.render-pipelines.high-definition/Documentation~/Upgrading-from-2021.1-to-2021.2.md
+++ b/com.unity.render-pipelines.high-definition/Documentation~/Upgrading-from-2021.1-to-2021.2.md
@@ -35,6 +35,8 @@ The algorithm to calculate the contribution of ambient occlusion and specular oc
The previous `g_vLightListGlobal` uniform have been rename to explicit `g_vLightListTile` and `g_vLightListCluster` light list name. This work required to fix a wrong behavior on console.
+Added a new setting in ShaderConfig.cs, FPTLMaxLightCount. This setting can now set the maximum number of lights per tile on the GPU. A new Shader config project must be generated to upgrade. See the [HDRP-Config-Package](HDRP-Config-Package.md) guide for information on how to upgrade.
+
## Density Volumes
Density Volumes are now known as **Local Volumetric Fog**.
@@ -43,6 +45,9 @@ If a Scene uses Density Volumes, HDRP automatically changes the GameObjects to u
However, if you reference a **Density Volume** through a C# script, a warning appears (**DensityVolume has been deprecated (UnityUpgradable) -> Local Volumetric Fog**) in the Console window. This warning may stop your Project from compiling in future versions of HDRP. To resolve this, change your code to target the new component.
+The sampling axis of **3DTexture** in the **Density Volume** component has been corrected to match Unity's axis convention.
+To accommodate this change you will have to mirror the **3DTextures** you are using along their **Z axis**.
+
## ClearFlag
HDRP 2021.2 includes the new `ClearFlag.Stencil` function. Use this to clear all flags from a stencil.
diff --git a/com.unity.render-pipelines.high-definition/Documentation~/eye-shader.md b/com.unity.render-pipelines.high-definition/Documentation~/eye-shader.md
index 57f9a9f6679..f0a9fbc9e13 100644
--- a/com.unity.render-pipelines.high-definition/Documentation~/eye-shader.md
+++ b/com.unity.render-pipelines.high-definition/Documentation~/eye-shader.md
@@ -36,28 +36,56 @@ New Materials in HDRP use the [Lit Shader](Lit-Shader.md) by default. To create
### Exposed Properties
+#### Sclera
+
| **Property** | **Description** |
| ---------------------------- | ------------------------------------------------------------ |
-| **Sclera Map** | Assign a Texture that controls color of the Sclera. |
-| **Sclera Normal Map** | Assign a Texture that defines the normal map for the Sclera. |
+| **Sclera Texture** | Assign a Texture that controls color of the Sclera. |
+| **Sclera Smoothness** | Sets the smoothness of the Sclera. |
+| **Sclera Normal** | Assign a Texture that defines the normal map for the Sclera. |
| **Sclera Normal Strength** | Modulates the Sclera normal intensity between 0 and 8. |
-| **Iris Map** | Assign a Texture that controls color of the eye’s Iris. |
-| **Iris Normal Map** | Assign a Texture that defines the normal map for the eye’s Iris. |
-| **Iris Normal Strength** | Modulates the Iris’ normal intensity between 0 and 8. |
+| **Sclera Diffusion Profile** | Sets a Diffusion Profile, controlling the Subsurface Scattering properties of the Sclera. |
+
+#### Iris
+
+| **Property** | **Description** |
+| ---------------------------- | ------------------------------------------------------------ |
+| **Iris Texture** | Assign a Texture that controls color of the eye’s Iris. |
| **Iris Clamp Color** | Sets the color that will be used if the refraction ray reached the inside of the Cornea |
+| **Iris Offset** | Sets the offset of the Iris placement, useful since real world eyes are never symmetrical and centered. |
+| **Iris Normal** | Assign a Texture that defines the normal map for the eye’s Iris. |
+| **Iris Normal Strength** | Modulates the Iris’ normal intensity between 0 and 8. |
+| **Iris Diffusion Profile** | Sets a Diffusion Profile, controlling the Subsurface Scattering properties of the Iris. |
+
+#### Pupil
+
+| **Property** | **Description** |
+| ---------------------------- | ------------------------------------------------------------ |
| **Pupil Radius** | Sets the radius of the Pupil in the Iris Map as a percentage. |
| **Pupil Debug Mode** | When enabled, displays a debug mode that allows you to calibrate the desired **Pupil Radius** for your Iris Map. For proper calibration, ensure that the **Iris Offset** is **0**, the **Pupil Aperture** is **0.5** (the neutral position) and then the white circle must be strictly inside your iris pattern. See the following screenshot for an example:
 |
| **Pupil Aperture** | Sets the state of the pupil’s aperture, 0 being the smallest aperture (**Min Pupil Aperture**) and 1 the widest aperture (**Max Pupil Aperture**). |
-| **Min Pupil Aperture** | Sets the minimum pupil aperture value. |
-| **Max Pupil Aperture** | Sets the maximum pupil aperture value. |
-| **Sclera Smoothness** | Sets the smoothness of the Sclera. |
-| **Cornea Smoothness** | Sets the smoothness of the Cornea. |
-| **Iris Offset** | Sets the offset of the Iris placement, useful since real world eyes are never symmetrical and centered. |
+| **Minimal Pupil Aperture** | Sets the minimum pupil aperture value. |
+| **Maximal Pupil Aperture** | Sets the maximum pupil aperture value. |
+
+#### Limbal Ring
+
+| **Property** | **Description** |
+| ---------------------------- | ------------------------------------------------------------ |
| **Limbal Ring Size Iris** | Sets the relative size of the Limbal Ring in the Iris. |
| **Limbal Ring Size Sclera** | Sets the relative size of the Limbal Ring in the Sclera. |
| **Limbal Ring Fade** | Sets the fade out strength of the Limbal Ring. |
| **Limbal Ring Intensity** | Sets the darkness of the Limbal Ring. |
-| **Iris Diffusion Profile** | Sets a Diffusion Profile, controlling the Subsurface Scattering properties of the Iris. |
-| **Sclera Diffusion Profile** | Sets a Diffusion Profile, controlling the Subsurface Scattering properties of the Sclera. |
+
+#### Cornea
+
+| **Property** | **Description** |
+| ---------------------------- | ------------------------------------------------------------ |
+| **Cornea Smoothness** | Sets the smoothness of the Cornea. |
+
+#### Geometry
+
+| **Property** | **Description** |
+| ---------------------------- | ------------------------------------------------------------ |
+| **Mesh Scale** | The Eye Shader expects a Mesh of size 1 in Object space. If needed, set this parameter to compensate the mesh size. This is independant of the scale on the Transform component. |
[!include[](snippets/shader-properties/advanced-options/lit-advanced-options.md)]
diff --git a/com.unity.render-pipelines.high-definition/Documentation~/whats-new-12.md b/com.unity.render-pipelines.high-definition/Documentation~/whats-new-12.md
index b056384f90a..aa6182c1bfa 100644
--- a/com.unity.render-pipelines.high-definition/Documentation~/whats-new-12.md
+++ b/com.unity.render-pipelines.high-definition/Documentation~/whats-new-12.md
@@ -60,6 +60,10 @@ From HDRP 12.0, HDRP includes a new [Light Anchor](light-anchor.md) component. Y

+### Maximum light count for gpu
+
+The new default maximum light count per pixel for Fine Prunning Tile List is now 63.
+Added a new setting in ShaderConfig.cs, FPTLMaxLightCount. This setting can now set the maximum number of lights per tile on the GPU. A new Shader config project must be generated to upgrade. See the [HDRP-Config-Package](HDRP-Config-Package.md) guide for information on how to upgrade.
## New upsampling methods
diff --git a/com.unity.render-pipelines.high-definition/Editor/AssetProcessors/MaterialPostProcessor.cs b/com.unity.render-pipelines.high-definition/Editor/AssetProcessors/MaterialPostProcessor.cs
index 04a80eafc08..acf9544370b 100644
--- a/com.unity.render-pipelines.high-definition/Editor/AssetProcessors/MaterialPostProcessor.cs
+++ b/com.unity.render-pipelines.high-definition/Editor/AssetProcessors/MaterialPostProcessor.cs
@@ -285,6 +285,7 @@ class MaterialPostprocessor : AssetPostprocessor
{
internal static List s_CreatedAssets = new List();
internal static List s_ImportedAssetThatNeedSaving = new List();
+ internal static Dictionary s_ImportedMaterialCounter = new Dictionary();
internal static bool s_NeedsSavingAssets = false;
// Important: This should only be called by the RegisterUpgraderReimport(), ie the shadegraph/material version
@@ -373,6 +374,14 @@ static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAsse
// we would miss re-importing that dependency.
if (MaterialReimporter.CheckHDShaderGraphVersionsForUpgrade("", material.shader, ignoreNonHDRPShaderGraphs: false))
{
+ s_ImportedMaterialCounter.TryGetValue(asset, out var importCounter);
+ s_ImportedMaterialCounter[asset] = ++importCounter;
+
+ // CheckHDShaderGraphVersionsForUpgrade always return true if a ShaderGraph don't have an HDMetaData attached
+ // we need a check to avoid importing the same assets over and over again.
+ if (importCounter > 2)
+ continue;
+
var shaderPath = AssetDatabase.GetAssetPath(material.shader.GetInstanceID());
AssetDatabase.ImportAsset(shaderPath);
diff --git a/com.unity.render-pipelines.high-definition/Editor/RenderPipeline/HDRenderPipelineUI.Skin.cs b/com.unity.render-pipelines.high-definition/Editor/RenderPipeline/HDRenderPipelineUI.Skin.cs
index db78a6f956a..3837b575082 100644
--- a/com.unity.render-pipelines.high-definition/Editor/RenderPipeline/HDRenderPipelineUI.Skin.cs
+++ b/com.unity.render-pipelines.high-definition/Editor/RenderPipeline/HDRenderPipelineUI.Skin.cs
@@ -240,7 +240,7 @@ public class Styles
public static readonly GUIContent maxPercentage = EditorGUIUtility.TrTextContent("Maximum Screen Percentage", "Sets the maximum screen percentage that dynamic resolution can reach.");
public static readonly GUIContent minPercentage = EditorGUIUtility.TrTextContent("Minimum Screen Percentage", "Sets the minimum screen percentage that dynamic resolution can reach.");
public static readonly GUIContent dynResType = EditorGUIUtility.TrTextContent("Dynamic Resolution Type", "Specifies the type of dynamic resolution that HDRP uses.");
- public static readonly GUIContent useMipBias = EditorGUIUtility.TrTextContent("Use Mip Bias", "Offsets the mip bias to recover mode detail. This only works if the camera is utilizing TAA.");
+ public static readonly GUIContent useMipBias = EditorGUIUtility.TrTextContent("Use Mip Bias", "Offsets the mip bias to recover more detail. This only works if the camera is utilizing TAA.");
public static readonly GUIContent upsampleFilter = EditorGUIUtility.TrTextContent("Default Upscale Filter", "Specifies the filter that HDRP uses for upscaling unless overwritten by API by the user.");
public static readonly GUIContent fallbackUpsampleFilter = EditorGUIUtility.TrTextContent("Default Fallback Upscale Filter", "Specifies the filter that HDRP uses for upscaling as a fallback if DLSS is not detected. Can be overwritten via API.");
public static readonly GUIContent forceScreenPercentage = EditorGUIUtility.TrTextContent("Force Screen Percentage", "When enabled, HDRP uses the Forced Screen Percentage value as the screen percentage.");
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Debug/DebugDisplay.cs b/com.unity.render-pipelines.high-definition/Runtime/Debug/DebugDisplay.cs
index a64b3841f54..d85cee7c46c 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Debug/DebugDisplay.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/Debug/DebugDisplay.cs
@@ -480,7 +480,6 @@ public ColorPickerDebugMode GetDebugColorPickerMode()
return data.colorPickerDebugSettings.colorPickerMode;
}
- ///
///
/// Returns true if camera visibility is frozen.
///
@@ -1534,7 +1533,7 @@ void RegisterLightingDebug()
data.fullScreenContactShadowLightIndex = value;
},
min = () => - 1, // -1 will display all contact shadow
- max = () => LightDefinitions.s_LightListMaxPrunedEntries - 1
+ max = () => ShaderConfig.FPTLMaxLightCount - 1
},
}
});
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Debug/DebugLightVolumes.shader b/com.unity.render-pipelines.high-definition/Runtime/Debug/DebugLightVolumes.shader
index 32f2a913a98..9db1fcd5edc 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Debug/DebugLightVolumes.shader
+++ b/com.unity.render-pipelines.high-definition/Runtime/Debug/DebugLightVolumes.shader
@@ -19,6 +19,7 @@ Shader "Hidden/HDRP/DebugLightVolumes"
HLSLPROGRAM
#pragma vertex vert
#pragma fragment frag
+ #pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl"
#include "Packages/com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/ShaderVariables.hlsl"
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Debug/DebugVTBlit.shader b/com.unity.render-pipelines.high-definition/Runtime/Debug/DebugVTBlit.shader
index f673b6e6c2a..c9d45aebea4 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Debug/DebugVTBlit.shader
+++ b/com.unity.render-pipelines.high-definition/Runtime/Debug/DebugVTBlit.shader
@@ -62,6 +62,7 @@ Shader "Hidden/DebugVTBlit"
HLSLPROGRAM
#pragma vertex vert
#pragma fragment frag
+ #pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch
ENDHLSL
}
@@ -70,6 +71,7 @@ Shader "Hidden/DebugVTBlit"
HLSLPROGRAM
#pragma vertex vert
#pragma fragment fragMSAA
+ #pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch
ENDHLSL
}
}
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Debug/DebugViewTiles.shader b/com.unity.render-pipelines.high-definition/Runtime/Debug/DebugViewTiles.shader
index 8913f1f4650..94d505da2db 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Debug/DebugViewTiles.shader
+++ b/com.unity.render-pipelines.high-definition/Runtime/Debug/DebugViewTiles.shader
@@ -190,7 +190,7 @@ Shader "Hidden/HDRP/DebugViewTiles"
#ifdef DISABLE_TILE_MODE
// Tile debug mode is not supported in MSAA (only cluster)
- int maxLights = 32;
+ int maxLights = (LIGHT_CLUSTER_PACKING_COUNT_MASK + 1);
const int textSize = 23;
const int text[textSize] = {'N', 'o', 't', ' ', 's', 'u', 'p', 'p', 'o', 'r', 't', 'e', 'd', ' ', 'w', 'i', 't', 'h', ' ', 'M', 'S', 'A', 'A'};
if (input.positionCS.y < DEBUG_FONT_TEXT_HEIGHT)
@@ -209,7 +209,7 @@ Shader "Hidden/HDRP/DebugViewTiles"
// Tile overlap counter
if (n >= 0)
{
- const uint maxLightsPerTile = 31;
+ const uint maxLightsPerTile = SHADEROPTIONS_FPTLMAX_LIGHT_COUNT;
const float opacity = 0.3f;
result = OverlayHeatMap(int2(posInput.positionSS.xy), GetTileSize(), n, maxLightsPerTile, opacity);
}
@@ -224,8 +224,8 @@ Shader "Hidden/HDRP/DebugViewTiles"
}
// Print light lists for selected tile at the bottom of the screen
- int maxLights = 32;
- if (tileCoord.y < LIGHTCATEGORY_COUNT && tileCoord.x < maxLights + 3)
+ int maxAreaWidth = SHADEROPTIONS_FPTLMAX_LIGHT_COUNT + 4;
+ if (tileCoord.y < LIGHTCATEGORY_COUNT && tileCoord.x < maxAreaWidth)
{
float depthMouse = GetTileDepth(_MousePixelCoord.xy);
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Debug/VolumeDebug.cs b/com.unity.render-pipelines.high-definition/Runtime/Debug/VolumeDebug.cs
index f4c6bea23c4..1c0b16635e4 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Debug/VolumeDebug.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/Debug/VolumeDebug.cs
@@ -73,9 +73,15 @@ public LayerMask selectedCameraLayerMask
{
#if UNITY_EDITOR
if (m_SelectedCamera <= 0 || m_SelectedCamera > cameras.Count + 1)
- return (LayerMask)0;
+ return 0;
if (m_SelectedCamera == 1)
- return -1;
+ {
+ // For scene view, use main camera volum layer mask. See HDCamera.cs
+ var mainCamera = Camera.main;
+ if (mainCamera != null && mainCamera.TryGetComponent(out var mainCamAdditionalData))
+ return mainCamAdditionalData.volumeLayerMask;
+ return HDCamera.GetSceneViewLayerMaskFallback();
+ }
return cameras[m_SelectedCamera - 2].volumeLayerMask;
#else
if (m_SelectedCamera <= 0 || m_SelectedCamera > cameras.Count)
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/AtmosphericScattering/Fog.cs b/com.unity.render-pipelines.high-definition/Runtime/Lighting/AtmosphericScattering/Fog.cs
index 6a354faf4e0..c59623bf742 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/AtmosphericScattering/Fog.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/AtmosphericScattering/Fog.cs
@@ -126,7 +126,7 @@ public float volumetricFogBudget
private ClampedFloatParameter m_VolumetricFogBudget = new ClampedFloatParameter(0.25f, 0.0f, 1.0f);
/// Controls how Unity shares resources between Screen (XY) and Depth (Z) resolutions.
- /// A value of 0 means Unity allocates all of the resources to the XY resolution, which reduces aliasing, but increases noise. A value of 1 means Unity allocates all of the resources to the Z resolution, which reduces noise, but increases aliasing. This property allows for linear interpolation between the two configurations.
+ /// A value of 0 means Unity allocates all of the resources to the XY resolution, which reduces aliasing, but increases noise. A value of 1 means Unity allocates all of the resources to the Z resolution, which reduces noise, but increases aliasing. This property allows for linear interpolation between the two configurations.
public float resolutionDepthRatio
{
get
@@ -138,6 +138,8 @@ public float resolutionDepthRatio
}
set { m_ResolutionDepthRatio.value = value; }
}
+
+ /// Controls how Unity shares resources between Screen (XY) and Depth (Z) resolutions.
[AdditionalProperty]
[SerializeField, FormerlySerializedAs("resolutionDepthRatio")]
[Tooltip("Controls how Unity shares resources between Screen (x-axis and y-axis) and Depth (z-axis) resolutions.")]
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/Light/HDGpuLightsBuilder.Jobs.cs b/com.unity.render-pipelines.high-definition/Runtime/Lighting/Light/HDGpuLightsBuilder.Jobs.cs
index 9f6b72d613a..90928a9a785 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/Light/HDGpuLightsBuilder.Jobs.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/Light/HDGpuLightsBuilder.Jobs.cs
@@ -76,6 +76,12 @@ internal struct CreateGpuLightDataJob : IJobParallelFor
public Vector3 airExtinctionCoefficient;
[ReadOnly]
public float aerosolExtinctionCoefficient;
+ [ReadOnly]
+ public float maxShadowDistance;
+ [ReadOnly]
+ public float shadowOutBorderDistance;
+
+
#endregion
#region input light entity data
@@ -619,6 +625,21 @@ private void ConvertDirectionalLightToGPUFormat(
var bakingOutput = visibleLightBakingOutput[lightIndex];
lightData.shadowMaskSelector[bakingOutput.occlusionMaskChannel] = 1.0f;
lightData.nonLightMappedOnly = visibleLightShadowCasterMode[lightIndex] == LightShadowCasterMode.NonLightmappedOnly ? 1 : 0;
+ // Get shadow info from the volume stack.
+ float maxDistanceSq = maxShadowDistance * maxShadowDistance;
+ float outBorderDistance = shadowOutBorderDistance;
+ if (outBorderDistance < 1e-4f)
+ {
+ lightData.cascadesBorderFadeScaleBias = new Vector2(1e6f, -maxDistanceSq * 1e6f);
+ }
+ else
+ {
+ outBorderDistance = 1.0f - outBorderDistance;
+ outBorderDistance *= outBorderDistance;
+ float distanceFadeNear = outBorderDistance * maxDistanceSq;
+ lightData.cascadesBorderFadeScaleBias.x = 1.0f / (maxDistanceSq - distanceFadeNear);
+ lightData.cascadesBorderFadeScaleBias.y = -distanceFadeNear / (maxDistanceSq - distanceFadeNear);
+ }
}
else
{
@@ -692,6 +713,7 @@ public void StartCreateGpuLightDataJob(
{
var visualEnvironment = hdCamera.volumeStack.GetComponent();
var skySettings = hdCamera.volumeStack.GetComponent();
+ var shadowSettings = hdCamera.volumeStack.GetComponent();
Debug.Assert(visualEnvironment != null);
bool isPbrSkyActive = visualEnvironment.skyType.value == (int)SkyType.PhysicallyBased;
@@ -718,6 +740,9 @@ public void StartCreateGpuLightDataJob(
airExtinctionCoefficient = skySettings.GetAirExtinctionCoefficient(),
aerosolExtinctionCoefficient = skySettings.GetAerosolExtinctionCoefficient(),
+ maxShadowDistance = shadowSettings.maxShadowDistance.value,
+ shadowOutBorderDistance = shadowSettings.cascadeShadowBorders[shadowSettings.cascadeShadowSplitCount.value - 1],
+
// light entity data
lightRenderDataArray = lightEntities.lightData,
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/Light/HDGpuLightsBuilder.LightLoop.cs b/com.unity.render-pipelines.high-definition/Runtime/Lighting/Light/HDGpuLightsBuilder.LightLoop.cs
index e717721cece..e9bffd1b0e6 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/Light/HDGpuLightsBuilder.LightLoop.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/Light/HDGpuLightsBuilder.LightLoop.cs
@@ -221,7 +221,7 @@ private void GetContactShadowMask(HDAdditionalLightData hdAdditionalLightData, B
// If contact shadows are not enabled or we already reached the manimal number of contact shadows
// or this is not rasterization
if ((!hdAdditionalLightData.useContactShadow.Value(contactShadowEnabled))
- || m_ContactShadowIndex >= LightDefinitions.s_LightListMaxPrunedEntries)
+ || m_ContactShadowIndex >= LightDefinitions.s_ContactShadowMaskMask)
return;
// Evaluate the contact shadow index of this light
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightDefinition.cs b/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightDefinition.cs
index d34b633198d..60ac297011c 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightDefinition.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightDefinition.cs
@@ -95,6 +95,8 @@ struct DirectionalLightData
[SurfaceDataAttributes(precision = FieldPrecision.Real)]
public Vector4 shadowMaskSelector; // Used with ShadowMask feature
+ public Vector2 cascadesBorderFadeScaleBias;
+
public float diffuseDimmer;
public float specularDimmer;
public float penumbraTint;
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightDefinition.cs.hlsl b/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightDefinition.cs.hlsl
index 4866dc37611..bbf1e994bc2 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightDefinition.cs.hlsl
+++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightDefinition.cs.hlsl
@@ -72,6 +72,7 @@ struct DirectionalLightData
real minRoughness;
int screenSpaceShadowIndex;
real4 shadowMaskSelector;
+ float2 cascadesBorderFadeScaleBias;
float diffuseDimmer;
float specularDimmer;
float penumbraTint;
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightEvaluation.hlsl b/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightEvaluation.hlsl
index e8d029bc29f..e96e06bb597 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightEvaluation.hlsl
+++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightEvaluation.hlsl
@@ -269,19 +269,9 @@ SHADOW_TYPE EvaluateShadow_Directional( LightLoopContext lightLoopContext, Posit
shadow = lightLoopContext.shadowValue;
#ifdef SHADOWS_SHADOWMASK
- // TODO: Optimize this code! Currently it is a bit like brute force to get the last transistion and fade to shadow mask, but there is
- // certainly more efficient to do
- // We reuse the transition from the cascade system to fade between shadow mask at max distance
- uint payloadOffset;
- real fade;
- int cascadeCount;
- int shadowSplitIndex = 0;
-
- shadowSplitIndex = EvalShadow_GetSplitIndex(lightLoopContext.shadowContext, light.shadowIndex, posInput.positionWS, fade, cascadeCount);
-
- // we have a fade caclulation for each cascade but we must lerp with shadow mask only for the last one
- // if shadowSplitIndex is -1 it mean we are outside cascade and should return 1.0 to use shadowmask: saturate(-shadowSplitIndex) return 0 for >= 0 and 1 for -1
- fade = ((shadowSplitIndex + 1) == cascadeCount) ? fade : saturate(-shadowSplitIndex);
+ float3 camToPixel = posInput.positionWS - GetPrimaryCameraPosition();
+ float distanceCamToPixel2 = dot(camToPixel, camToPixel);
+ float fade = saturate(distanceCamToPixel2 * light.cascadesBorderFadeScaleBias.x + light.cascadesBorderFadeScaleBias.y);
// In the transition code (both dithering and blend) we use shadow = lerp( shadow, 1.0, fade ) for last transition
// mean if we expend the code we have (shadow * (1 - fade) + fade). Here to make transition with shadow mask
@@ -297,7 +287,16 @@ SHADOW_TYPE EvaluateShadow_Directional( LightLoopContext lightLoopContext, Posit
// Transparents have no contact shadow information
#if !defined(_SURFACE_TYPE_TRANSPARENT) && !defined(LIGHT_EVALUATION_NO_CONTACT_SHADOWS)
- shadow = min(shadow, NdotL > 0.0 ? GetContactShadow(lightLoopContext, light.contactShadowMask, light.isRayTracedContactShadow) : 1.0);
+{
+ // In certain cases (like hair) we allow to force the contact shadow sample.
+ #ifdef LIGHT_EVALUATION_CONTACT_SHADOW_DISABLE_NDOTL
+ const bool allowContactShadow = true;
+ #else
+ const bool allowContactShadow = NdotL > 0.0;
+ #endif
+
+ shadow = min(shadow, allowContactShadow ? GetContactShadow(lightLoopContext, light.contactShadowMask, light.isRayTracedContactShadow) : 1.0);
+}
#endif
#ifdef DEBUG_DISPLAY
@@ -318,7 +317,7 @@ SHADOW_TYPE EvaluateShadow_Directional( LightLoopContext lightLoopContext, Posit
#include "Packages/com.unity.render-pipelines.high-definition/Runtime/Lighting/PunctualLightCommon.hlsl"
float4 EvaluateCookie_Punctual(LightLoopContext lightLoopContext, LightData light,
- float3 lightToSample)
+ float3 lightToSample, float lod = 0)
{
#ifndef LIGHT_EVALUATION_NO_COOKIE
int lightType = light.lightType;
@@ -354,7 +353,7 @@ float4 EvaluateCookie_Punctual(LightLoopContext lightLoopContext, LightData ligh
float2 positionNDC = positionCS * 0.5 + 0.5;
// Manually clamp to border (black).
- cookie.rgb = SampleCookie2D(positionNDC, light.cookieScaleOffset);
+ cookie.rgb = SampleCookie2D(positionNDC, light.cookieScaleOffset, lod);
cookie.a = isInBounds ? 1.0 : 0.0;
}
@@ -471,7 +470,16 @@ SHADOW_TYPE EvaluateShadow_Punctual(LightLoopContext lightLoopContext, PositionI
// Transparents have no contact shadow information
#if !defined(_SURFACE_TYPE_TRANSPARENT) && !defined(LIGHT_EVALUATION_NO_CONTACT_SHADOWS)
- shadow = min(shadow, NdotL > 0.0 ? GetContactShadow(lightLoopContext, light.contactShadowMask, light.isRayTracedContactShadow) : 1.0);
+ {
+ // In certain cases (like hair) we allow to force the contact shadow sample.
+ #ifdef LIGHT_EVALUATION_CONTACT_SHADOW_DISABLE_NDOTL
+ const bool allowContactShadow = true;
+ #else
+ const bool allowContactShadow = NdotL > 0.0;
+ #endif
+
+ shadow = min(shadow, allowContactShadow ? GetContactShadow(lightLoopContext, light.contactShadowMask, light.isRayTracedContactShadow) : 1.0);
+ }
#endif
#ifdef DEBUG_DISPLAY
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/DeferredTile.shader b/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/DeferredTile.shader
index 2d76c2f15f9..7dab3992fae 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/DeferredTile.shader
+++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/DeferredTile.shader
@@ -175,6 +175,7 @@ Shader "Hidden/HDRP/DeferredTile"
#endif
#ifndef SHADER_STAGE_FRAGMENT
+ #undef VARIANT // Prevent the chance of redefinition (1372256).
#define VARIANT 28
#endif
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/LightLoop.cs b/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/LightLoop.cs
index 002f9899820..3b0704f3218 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/LightLoop.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/LightLoop.cs
@@ -107,9 +107,16 @@ class LightDefinitions
// light list limits
public static int s_LightListMaxCoarseEntries = 64;
- public static int s_LightListMaxPrunedEntries = 24;
public static int s_LightClusterMaxCoarseEntries = 128;
+ // We have room for ShaderConfig.FPTLMaxLightCount lights, plus 1 implicit value for length.
+ // We allocate only 16 bits per light index & length, thus we divide by 2, and store in a word buffer.
+ public static int s_LightDwordPerFptlTile = ((ShaderConfig.FPTLMaxLightCount + 1)) / 2;
+ public static int s_LightClusterPackingCountBits = (int)Mathf.Ceil(Mathf.Log(Mathf.NextPowerOfTwo(ShaderConfig.FPTLMaxLightCount), 2));
+ public static int s_LightClusterPackingCountMask = (1 << s_LightClusterPackingCountBits) - 1;
+ public static int s_LightClusterPackingOffsetBits = 32 - s_LightClusterPackingCountBits;
+ public static int s_LightClusterPackingOffsetMask = (1 << s_LightClusterPackingOffsetBits) - 1;
+
// Following define the maximum number of bits use in each feature category.
public static uint s_LightFeatureMaskFlags = 0xFFF000;
public static uint s_LightFeatureMaskFlagsOpaque = 0xFFF000 & ~((uint)LightFeatureFlags.SSRefraction); // Opaque don't support screen space refraction
@@ -121,6 +128,13 @@ class LightDefinitions
public static uint s_ScreenSpaceColorShadowFlag = 0x100;
public static uint s_InvalidScreenSpaceShadow = 0xff;
public static uint s_ScreenSpaceShadowIndexMask = 0xff;
+
+ //Contact shadow bit definitions
+ public static int s_ContactShadowFadeBits = 8;
+ public static int s_ContactShadowMaskBits = 32 - s_ContactShadowFadeBits;
+ public static int s_ContactShadowFadeMask = (1 << s_ContactShadowFadeBits) - 1;
+ public static int s_ContactShadowMaskMask = (1 << s_ContactShadowMaskBits) - 1;
+
}
[GenerateHLSL]
@@ -2130,6 +2144,7 @@ bool WillRenderContactShadow()
// The first rendered 24 lights that have contact shadow enabled have a mask used to select the bit that contains
// the contact shadow shadowed information (occluded or not). Otherwise -1 is written
+ // 8 bits are reserved for the fading.
void GetContactShadowMask(HDAdditionalLightData hdAdditionalLightData, BoolScalableSetting contactShadowEnabled, HDCamera hdCamera, bool isRasterization, ref int contactShadowMask, ref float rayTracingShadowFlag)
{
contactShadowMask = 0;
@@ -2137,7 +2152,7 @@ void GetContactShadowMask(HDAdditionalLightData hdAdditionalLightData, BoolScala
// If contact shadows are not enabled or we already reached the manimal number of contact shadows
// or this is not rasterization
if ((!hdAdditionalLightData.useContactShadow.Value(contactShadowEnabled))
- || m_ContactShadowIndex >= LightDefinitions.s_LightListMaxPrunedEntries
+ || m_ContactShadowIndex >= LightDefinitions.s_ContactShadowMaskMask
|| !isRasterization)
return;
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/LightLoop.cs.hlsl b/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/LightLoop.cs.hlsl
index 4678a89f812..4d84146d4bd 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/LightLoop.cs.hlsl
+++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/LightLoop.cs.hlsl
@@ -48,8 +48,12 @@
#define TILE_INDEX_SHIFT_EYE (30)
#define NUM_FEATURE_VARIANTS (29)
#define LIGHT_LIST_MAX_COARSE_ENTRIES (64)
-#define LIGHT_LIST_MAX_PRUNED_ENTRIES (24)
#define LIGHT_CLUSTER_MAX_COARSE_ENTRIES (128)
+#define LIGHT_DWORD_PER_FPTL_TILE (32)
+#define LIGHT_CLUSTER_PACKING_COUNT_BITS (6)
+#define LIGHT_CLUSTER_PACKING_COUNT_MASK (63)
+#define LIGHT_CLUSTER_PACKING_OFFSET_BITS (26)
+#define LIGHT_CLUSTER_PACKING_OFFSET_MASK (67108863)
#define LIGHT_FEATURE_MASK_FLAGS (16773120)
#define LIGHT_FEATURE_MASK_FLAGS_OPAQUE (16642048)
#define LIGHT_FEATURE_MASK_FLAGS_TRANSPARENT (16510976)
@@ -58,6 +62,10 @@
#define SCREEN_SPACE_COLOR_SHADOW_FLAG (256)
#define INVALID_SCREEN_SPACE_SHADOW (255)
#define SCREEN_SPACE_SHADOW_INDEX_MASK (255)
+#define CONTACT_SHADOW_FADE_BITS (8)
+#define CONTACT_SHADOW_MASK_BITS (24)
+#define CONTACT_SHADOW_FADE_MASK (255)
+#define CONTACT_SHADOW_MASK_MASK (16777215)
//
// UnityEngine.Rendering.HighDefinition.ClusterDebugMode: static fields
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/LightLoopDef.hlsl b/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/LightLoopDef.hlsl
index 2ede51557b7..c31b3c7a8f9 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/LightLoopDef.hlsl
+++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/LightLoopDef.hlsl
@@ -4,8 +4,6 @@
#include "Packages/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/LightLoop.cs.hlsl"
#include "Packages/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/CookieSampling.hlsl"
-#define DWORD_PER_TILE 16 // See dwordsPerTile in LightLoop.cs, we have roomm for 31 lights and a number of light value all store on 16 bit (ushort)
-
// Some file may not required HD shadow context at all. In this case provide an empty one
// Note: if a double defintion error occur it is likely have include HDShadow.hlsl (and so HDShadowContext.hlsl) after lightloopdef.hlsl
#ifndef HAVE_HD_SHADOW_CONTEXT
@@ -192,7 +190,7 @@ void GetCountAndStartTile(PositionInputs posInput, uint lightCategory, out uint
#endif
// The first entry inside a tile is the number of light for lightCategory (thus the +0)
- lightCount = g_vLightListTile[DWORD_PER_TILE * tileOffset + 0] & 0xffff;
+ lightCount = g_vLightListTile[LIGHT_DWORD_PER_FPTL_TILE * tileOffset + 0] & 0xffff;
start = tileOffset;
}
@@ -212,7 +210,7 @@ uint FetchIndex(uint tileOffset, uint lightOffset)
{
const uint lightOffsetPlusOne = lightOffset + 1; // Add +1 as first slot is reserved to store number of light
// Light index are store on 16bit
- return (g_vLightListTile[DWORD_PER_TILE * tileOffset + (lightOffsetPlusOne >> 1)] >> ((lightOffsetPlusOne & 1) * DWORD_PER_TILE)) & 0xffff;
+ return (g_vLightListTile[LIGHT_DWORD_PER_FPTL_TILE * tileOffset + (lightOffsetPlusOne >> 1)] >> ((lightOffsetPlusOne & 1) * 16)) & 0xffff;
}
#elif defined(USE_CLUSTERED_LIGHTLIST)
@@ -236,6 +234,12 @@ uint GetLightClusterIndex(uint2 tileIndex, float linearDepth)
return SnapToClusterIdxFlex(linearDepth, logBase, g_isLogBaseBufferEnabled != 0);
}
+void UnpackClusterLayeredOffset(uint packedValue, out uint offset, out uint count)
+{
+ offset = packedValue & LIGHT_CLUSTER_PACKING_OFFSET_MASK;
+ count = packedValue >> LIGHT_CLUSTER_PACKING_OFFSET_BITS;
+}
+
void GetCountAndStartCluster(uint2 tileIndex, uint clusterIndex, uint lightCategory, out uint start, out uint lightCount)
{
int nrClusters = (1 << g_iLog2NumClusters);
@@ -243,8 +247,7 @@ void GetCountAndStartCluster(uint2 tileIndex, uint clusterIndex, uint lightCateg
const int idx = GenerateLayeredOffsetBufferIndex(lightCategory, tileIndex, clusterIndex, _NumTileClusteredX, _NumTileClusteredY, nrClusters, unity_StereoEyeIndex);
uint dataPair = g_vLayeredOffsetsBuffer[idx];
- start = dataPair & 0x7ffffff;
- lightCount = (dataPair >> 27) & 31;
+ UnpackClusterLayeredOffset(dataPair, start, lightCount);
}
void GetCountAndStartCluster(PositionInputs posInput, uint lightCategory, out uint start, out uint lightCount)
@@ -346,16 +349,17 @@ EnvLightData FetchEnvLight(uint index)
return _EnvLightDatas[index];
}
-// In the first 8 bits of the target we store the max fade of the contact shadows as a byte
+// In the first bits of the target we store the max fade of the contact shadows as a byte.
+//By default its 8 bits for the fade and 24 for the mask, please check the LightLoop.cs definitions.
void UnpackContactShadowData(uint contactShadowData, out float fade, out uint mask)
{
- fade = float(contactShadowData >> 24) / 255.0;
- mask = contactShadowData & 0xFFFFFF; // store only the first 24 bits which represent
+ fade = float(contactShadowData >> CONTACT_SHADOW_MASK_BITS) / ((float)CONTACT_SHADOW_FADE_MASK);
+ mask = contactShadowData & CONTACT_SHADOW_MASK_MASK; // store only the first 24 bits which represent
}
uint PackContactShadowData(float fade, uint mask)
{
- uint fadeAsByte = (uint(saturate(fade) * 255) << 24);
+ uint fadeAsByte = (uint(saturate(fade) * CONTACT_SHADOW_FADE_MASK) << CONTACT_SHADOW_MASK_BITS);
return fadeAsByte | mask;
}
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/lightlistbuild-clustered.compute b/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/lightlistbuild-clustered.compute
index 30a08f1d553..2ae313d33b9 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/lightlistbuild-clustered.compute
+++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/lightlistbuild-clustered.compute
@@ -45,7 +45,6 @@ StructuredBuffer g_data : register( t3 );
StructuredBuffer g_vBigTileLightList : register( t4 ); // don't support Buffer yet in unity
#endif
-
#ifdef PLATFORM_LANE_COUNT // We can infer the size of a wave. This is currently not possible on non-consoles, so we have to fallback to a sensible default in those cases.
#define NR_THREADS PLATFORM_LANE_COUNT
#else
@@ -72,6 +71,11 @@ groupshared uint lightOffs;
groupshared int categoryListCountScratch[NR_THREADS * LIGHTCATEGORY_COUNT];
groupshared int shiftIndexScratch[NR_THREADS * LIGHTCATEGORY_COUNT];
+uint PackClusterLayeredOffset(uint offset, uint count)
+{
+ return (offset & LIGHT_CLUSTER_PACKING_OFFSET_MASK) | (min(count, LIGHT_CLUSTER_PACKING_COUNT_MASK) << LIGHT_CLUSTER_PACKING_OFFSET_BITS);
+}
+
void ZeroCategoryListCountAndShiftIndex(uint threadIdx)
{
for (int i = 0; i < LIGHTCATEGORY_COUNT; ++i)
@@ -445,12 +449,12 @@ void LIGHTLISTGEN(uint threadID : SV_GroupIndex, uint3 u3GroupID : SV_GroupID)
offs = GenerateLayeredOffsetBufferIndex(0, tileIDX, i, nrTilesX, nrTilesY, nrClusters, eyeIndex);
for(int category=0; category>1;
for(int l=(int) t; l<(int) nrDWords; l += NR_THREADS)
@@ -337,7 +337,7 @@ void TileLightListGen(uint3 dispatchThreadId : SV_DispatchThreadID, uint threadI
uint uLow = l==0 ? nrLightsFinalClamped : prunedList[max(0,2 * l - 1 + localOffs)] - shiftIndex[category];
uint uHigh = prunedList[2 * l + 0 + localOffs] - shiftIndex[category];
- g_vLightList[16*offs + l] = (uLow&0xffff) | (uHigh<<16);
+ g_vLightList[LIGHT_DWORD_PER_FPTL_TILE*offs + l] = (uLow&0xffff) | (uHigh<<16);
}
localOffs += nrLightsFinal;
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/Shadow/HDShadowAtlas.cs b/com.unity.render-pipelines.high-definition/Runtime/Lighting/Shadow/HDShadowAtlas.cs
index eb046ee39fc..860b470bf7e 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/Shadow/HDShadowAtlas.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/Shadow/HDShadowAtlas.cs
@@ -547,6 +547,11 @@ TextureHandle IMBlurMoment(RenderGraph renderGraph, TextureHandle atlasTexture)
internal TextureHandle BlurShadows(RenderGraph renderGraph)
{
+ if (m_ShadowRequests.Count == 0)
+ {
+ return renderGraph.defaultResources.whiteTexture;
+ }
+
if (m_BlurAlgorithm == BlurAlgorithm.EVSM)
{
return EVSMBlurMoments(renderGraph, m_ShadowMapOutput);
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/HDRenderPipeline.VolumetricClouds.cs b/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/HDRenderPipeline.VolumetricClouds.cs
index 68b65d2c71c..bf3bf6655f8 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/HDRenderPipeline.VolumetricClouds.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/HDRenderPipeline.VolumetricClouds.cs
@@ -455,7 +455,7 @@ void UpdateShaderVariableslClouds(ref ShaderVariablesClouds cb, HDCamera hdCamer
// If this is a planar reflection, we need to compute the non oblique matrices
cb._IsPlanarReflection = (cameraData.cameraType == TVolumetricCloudsCameraType.PlanarReflection) ? 1 : 0;
- if (cameraData.cameraType == TVolumetricCloudsCameraType.PlanarReflection)
+ if (cb._IsPlanarReflection == 1)
{
// Build a non-oblique projection matrix
var projectionMatrixNonOblique = Matrix4x4.Perspective(hdCamera.camera.fieldOfView, hdCamera.camera.aspect, hdCamera.camera.nearClipPlane, hdCamera.camera.farClipPlane);
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/HDRenderPipeline.VolumetricCloudsAccumulation.cs b/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/HDRenderPipeline.VolumetricCloudsAccumulation.cs
index efd1587fb2f..bf0221fa854 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/HDRenderPipeline.VolumetricCloudsAccumulation.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/HDRenderPipeline.VolumetricCloudsAccumulation.cs
@@ -162,6 +162,10 @@ VolumetricCloudsParameters_Accumulation PrepareVolumetricCloudsParameters_Accumu
cameraData.enableIntegration = true;
UpdateShaderVariableslClouds(ref parameters.commonData.cloudsCB, hdCamera, settings, cameraData, cloudModelData, false);
+ // If this is a default camera, we want the improved blending, otherwise we don't (in the case of a planar)
+ parameters.commonData.cloudsCB._ImprovedTransmittanceBlend = parameters.commonData.cameraType == TVolumetricCloudsCameraType.Default ? 1 : 0;
+ parameters.commonData.cloudsCB._CubicTransmittance = parameters.commonData.cameraType == TVolumetricCloudsCameraType.Default && hdCamera.msaaEnabled ? 1 : 0;
+
return parameters;
}
@@ -198,8 +202,8 @@ static void TraceVolumetricClouds_Accumulation(CommandBuffer cmd, VolumetricClou
parameters.commonData.cloudsCB._HistoryViewportSize = new Vector2(previousViewportSize.x, previousViewportSize.y);
parameters.commonData.cloudsCB._HistoryBufferSize = new Vector2(previousHistory0Buffer.rt.width, previousHistory0Buffer.rt.height);
- // Bind the constant buffer
- ConstantBuffer.Push(cmd, parameters.commonData.cloudsCB, parameters.commonData.volumetricCloudsCS, HDShaderIDs._ShaderVariablesClouds);
+ // Bind the constant buffer (global as we need it for the .shader as well)
+ ConstantBuffer.PushGlobal(cmd, parameters.commonData.cloudsCB, HDShaderIDs._ShaderVariablesClouds);
RTHandle currentDepthBuffer = depthPyramid;
@@ -293,7 +297,7 @@ static void TraceVolumetricClouds_Accumulation(CommandBuffer cmd, VolumetricClou
parameters.cloudCombinePass.SetTexture(HDShaderIDs._VolumetricCloudsUpscaleTextureRW, intermediateUpscaleBuffer);
// Composite the clouds into the MSAA target via hardware blending.
- HDUtils.DrawFullScreen(cmd, parameters.cloudCombinePass, colorBuffer);
+ HDUtils.DrawFullScreen(cmd, parameters.cloudCombinePass, colorBuffer, null, 0);
CoreUtils.SetKeyword(cmd, "USE_INTERMEDIATE_BUFFER", false);
}
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/HDRenderPipeline.VolumetricCloudsLighting.cs b/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/HDRenderPipeline.VolumetricCloudsLighting.cs
index ca9373ccb47..446df2a36a0 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/HDRenderPipeline.VolumetricCloudsLighting.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/HDRenderPipeline.VolumetricCloudsLighting.cs
@@ -107,7 +107,7 @@ unsafe void SetPreconvolvedAmbientLightProbe(ref ShaderVariablesClouds cb, Volum
}
}
- public static void OnComputeAmbientProbeDone(AsyncGPUReadbackRequest request)
+ static void OnComputeAmbientProbeDone(AsyncGPUReadbackRequest request)
{
if (!request.hasError)
{
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/LocalVolumetricFog.cs b/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/LocalVolumetricFog.cs
index a12d191cccf..4f609aa8c99 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/LocalVolumetricFog.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/LocalVolumetricFog.cs
@@ -94,10 +94,8 @@ internal void Update(float time)
//Update scrolling based on deltaTime
if (volumeMask != null)
{
- textureOffset = (textureScrollingSpeed * time);
// Switch from right-handed to left-handed coordinate system.
- textureOffset.x = -textureOffset.x;
- textureOffset.y = -textureOffset.y;
+ textureOffset = -(textureScrollingSpeed * time);
}
}
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumeVoxelization.compute b/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumeVoxelization.compute
index fd47d6b08fa..306c115b9df 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumeVoxelization.compute
+++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumeVoxelization.compute
@@ -65,9 +65,6 @@ float ComputeFadeFactor(float3 coordNDC, float dist,
float3 rcpPosFaceFade, float3 rcpNegFaceFade, bool invertFade,
float rcpDistFadeLen, float endTimesRcpDistFadeLen, int falloffMode)
{
- // We have to account for handedness.
- coordNDC.z = 1 - coordNDC.z;
-
float3 posF = Remap10(coordNDC, rcpPosFaceFade, rcpPosFaceFade);
float3 negF = Remap01(coordNDC, rcpNegFaceFade, 0);
float dstF = Remap10(dist, rcpDistFadeLen, endTimesRcpDistFadeLen);
@@ -189,7 +186,7 @@ void FillVolumetricDensityBuffer(PositionInputs posInput, uint tileIndex, Jitter
const OrientedBBox obb = _VolumeBounds[volumeIndex];
- const float3x3 obbFrame = float3x3(obb.right, obb.up, cross(obb.up, obb.right));
+ const float3x3 obbFrame = float3x3(obb.right, obb.up, cross(obb.right, obb.up));
const float3 obbExtents = float3(obb.extentX, obb.extentY, obb.extentZ);
// Express the voxel center in the local coordinate system of the box.
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumetricClouds.compute b/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumetricClouds.compute
index 224dc2614ab..aeeeb9406d6 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumetricClouds.compute
+++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumetricClouds.compute
@@ -1401,13 +1401,13 @@ void UPSAMPLE_KERNEL(uint3 finalCoord : SV_DispatchThreadID,
cloudPosInput.positionWS = -viewDir * cloudDistance;
#endif
+#ifdef USE_INTERMEDIATE_BUFFER
// Compute the fog attenuation of the clouds
float3 fogColor;
float3 fogOpacity;
EvaluateAtmosphericScattering(cloudPosInput, viewDir, fogColor, fogOpacity);
- currentClouds.xyz = currentClouds.xyz * (1 - fogOpacity) + fogColor * (1.0 - currentClouds.a);
+ currentClouds.xyz = currentClouds.xyz * (1 - fogOpacity) + fogColor * (1.0 - (_CubicTransmittance ? currentClouds.a * currentClouds.a : currentClouds.a));
-#ifdef USE_INTERMEDIATE_BUFFER
// Store the upscaled result only, composite in later pass.
_VolumetricCloudsUpscaleTextureRW[COORD_TEXTURE2D_X(finalCoord.xy)] = currentClouds;
#else
@@ -1417,8 +1417,18 @@ void UPSAMPLE_KERNEL(uint3 finalCoord : SV_DispatchThreadID,
#else
float4 currentColor = _CameraColorTexture[COORD_TEXTURE2D_X(finalCoord.xy)];
#endif
- // If this is a background pixel, we want the cloud value, otherwise we do not.
- _VolumetricCloudsUpscaleTextureRW[COORD_TEXTURE2D_X(finalCoord.xy)] = float4(currentColor.xyz * currentClouds.a + currentClouds.xyz, currentColor.a);
+
+ // Estimate the transmittance that shall be used
+ float finalTransmittance = EvaluateFinalTransmittance(currentColor, currentClouds.w);
+
+ // Compute the fog attenuation of the clouds
+ float3 fogColor;
+ float3 fogOpacity;
+ EvaluateAtmosphericScattering(cloudPosInput, viewDir, fogColor, fogOpacity);
+ currentClouds.xyz = currentClouds.xyz * (1 - fogOpacity) + fogColor * (1.0 - finalTransmittance);
+
+ // Apply the transmittance
+ _VolumetricCloudsUpscaleTextureRW[COORD_TEXTURE2D_X(finalCoord.xy)] = float4(currentColor.xyz * finalTransmittance + currentClouds.xyz, currentColor.a);
#endif
}
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumetricCloudsCombine.shader b/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumetricCloudsCombine.shader
index 74b08af5263..27431259d63 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumetricCloudsCombine.shader
+++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumetricCloudsCombine.shader
@@ -62,7 +62,9 @@ Shader "Hidden/HDRP/VolumetricCloudsCombine"
UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(input);
// Composite the result via hardware blending.
- return LOAD_TEXTURE2D_X(_VolumetricCloudsUpscaleTextureRW, input.positionCS.xy);
+ // If MSAA is enabled on the camera, due to internal limitations, a different blending profile is used that may result in darker cloud edges.
+ float4 cloudData = LOAD_TEXTURE2D_X(_VolumetricCloudsUpscaleTextureRW, input.positionCS.xy);
+ return float4(cloudData.xyz, _CubicTransmittance ? cloudData.w * cloudData.w : cloudData.w);
}
ENDHLSL
}
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumetricCloudsDef.cs b/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumetricCloudsDef.cs
index a421259d3d6..f89139e4bc8 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumetricCloudsDef.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumetricCloudsDef.cs
@@ -151,9 +151,11 @@ unsafe struct ShaderVariablesClouds
// Flag that allows us to know if the maxZMask texture is valid
public int _ValidMaxZMask;
- // Padding
- public int _Padding0;
- public Vector2 _Padding1;
+ // Flag that allows to know if we should be using the improved transmittance blending
+ public int _ImprovedTransmittanceBlend;
+ // Flag that defines if the transmittance should follow a cubic profile (For MSAA)
+ public int _CubicTransmittance;
+ public int _Padding1;
[HLSLArray(3 * 4, typeof(Vector4))]
public fixed float _DistanceBasedWeights[12 * 4];
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumetricCloudsDef.cs.hlsl b/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumetricCloudsDef.cs.hlsl
index bf976b0d046..80579aea9e0 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumetricCloudsDef.cs.hlsl
+++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumetricCloudsDef.cs.hlsl
@@ -71,8 +71,9 @@ CBUFFER_START(ShaderVariablesClouds)
int _EnableFastToneMapping;
int _IsPlanarReflection;
int _ValidMaxZMask;
- int _Padding0;
- float2 _Padding1;
+ int _ImprovedTransmittanceBlend;
+ int _CubicTransmittance;
+ int _Padding1;
float4 _DistanceBasedWeights[12];
CBUFFER_END
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumetricCloudsUtilities.hlsl b/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumetricCloudsUtilities.hlsl
index edacf33bb86..ba6574f5fff 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumetricCloudsUtilities.hlsl
+++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/VolumetricCloudsUtilities.hlsl
@@ -499,6 +499,13 @@ void FillCloudUpscaleNeighborhoodData(int2 groupThreadId, int subRegionIdx, out
neighborhoodData.lowWeightC = _DistanceBasedWeights[subRegionIdx * 3 + 2].x;
}
+float EvaluateFinalTransmittance(float3 color, float transmittance)
+{
+ // Due to the high intensity of the sun, we often need apply the transmittance in a tonemapped space
+ float3 resultColor = color / (1.0 + color) * transmittance;
+ resultColor = resultColor / (1.0 - resultColor);
+ return _ImprovedTransmittanceBlend ? (resultColor / color) : transmittance;
+}
#endif // REAL_TIME_VOLUMETRIC_CLOUDS
#endif // VOLUMETRIC_CLOUD_UTILITIES_H
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Material/AxF/AxF.cs b/com.unity.render-pipelines.high-definition/Runtime/Material/AxF/AxF.cs
index 48c4e321658..f82152e6a79 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Material/AxF/AxF.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/Material/AxF/AxF.cs
@@ -187,6 +187,12 @@ public struct BSDFData
[SurfaceDataAttributes(new string[] { "Geometric Normal", "Geometric Normal View Space" }, true, checkIsNormalized = true)]
public Vector3 geomNormalWS;
+
+ // Needed for raytracing.
+ // TODO: should just modify FitToStandardLit in ShaderPassRaytracingGBuffer.hlsl and callee
+ // to have "V" (from -incidentDir)
+ [SurfaceDataAttributes("View Direction", true)]
+ public Vector3 viewWS;
};
//-----------------------------------------------------------------------------
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Material/AxF/AxF.cs.hlsl b/com.unity.render-pipelines.high-definition/Runtime/Material/AxF/AxF.cs.hlsl
index 1a096ef4d06..b15b95ff80f 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Material/AxF/AxF.cs.hlsl
+++ b/com.unity.render-pipelines.high-definition/Runtime/Material/AxF/AxF.cs.hlsl
@@ -84,6 +84,7 @@
#define DEBUGVIEW_AXF_BSDFDATA_CLEARCOAT_IOR (1277)
#define DEBUGVIEW_AXF_BSDFDATA_GEOMETRIC_NORMAL (1278)
#define DEBUGVIEW_AXF_BSDFDATA_GEOMETRIC_NORMAL_VIEW_SPACE (1279)
+#define DEBUGVIEW_AXF_BSDFDATA_VIEW_DIRECTION (1280)
// Generated from UnityEngine.Rendering.HighDefinition.AxF+SurfaceData
// PackingRules = Exact
@@ -152,6 +153,7 @@ struct BSDFData
float3 clearcoatNormalWS;
float clearcoatIOR;
float3 geomNormalWS;
+ float3 viewWS;
};
//
@@ -356,6 +358,9 @@ void GetGeneratedBSDFDataDebug(uint paramId, BSDFData bsdfdata, inout float3 res
case DEBUGVIEW_AXF_BSDFDATA_GEOMETRIC_NORMAL_VIEW_SPACE:
result = IsNormalized(bsdfdata.geomNormalWS)? bsdfdata.geomNormalWS * 0.5 + 0.5 : float3(1.0, 0.0, 0.0);
break;
+ case DEBUGVIEW_AXF_BSDFDATA_VIEW_DIRECTION:
+ result = bsdfdata.viewWS * 0.5 + 0.5;
+ break;
}
}
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Material/AxF/AxF.hlsl b/com.unity.render-pipelines.high-definition/Runtime/Material/AxF/AxF.hlsl
index 37ffd0e3e9f..5346885c554 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Material/AxF/AxF.hlsl
+++ b/com.unity.render-pipelines.high-definition/Runtime/Material/AxF/AxF.hlsl
@@ -885,7 +885,7 @@ float3 GetColorBaseFresnelF0(BSDFData bsdfData)
// For raytracing fit to standard Lit:
// Giving V will use a codepath where V is used, otherwise, the ortho direction is used
-void GetCarPaintSpecularColorAndFlakesComponent(SurfaceData surfaceData, out float3 singleBRDFColor, out float3 singleFlakesComponent, out float coatFGD, float3 V = 0)
+void GetCarPaintSpecularColorAndFlakesComponent(BSDFData bsdfData, out float3 singleBRDFColor, out float3 singleFlakesComponent, out float coatFGD, float3 V = 0)
{
//TODO: use approximated top lobe dir (if refractive coat) to have more appropriate and consistent base dirs
@@ -894,38 +894,95 @@ void GetCarPaintSpecularColorAndFlakesComponent(SurfaceData surfaceData, out flo
if (useViewDir)
{
- float3 coatNormalWS = HasClearcoat() ? surfaceData.clearcoatNormalWS : surfaceData.normalWS;
+ float3 coatNormalWS = HasClearcoat() ? bsdfData.clearcoatNormalWS : bsdfData.normalWS;
float coatNdotV = dot(coatNormalWS, V);
- coatFGD = HasClearcoat() ? F_FresnelDieletricSafe(surfaceData.clearcoatIOR, coatNdotV) : 0;
+ coatFGD = HasClearcoat() ? F_FresnelDieletricSafe(bsdfData.clearcoatIOR, coatNdotV) : 0;
float3 refractedViewWS = V;
float thetaHForBRDFColor = FixedBRDFColorThetaHForIndirectLight;
float thetaHForFlakes = FixedFlakesThetaHForIndirectLight;
if (HasClearcoatAndRefraction())
{
- refractedViewWS = -Refract(V, coatNormalWS, 1.0 / surfaceData.clearcoatIOR);
- thetaHForBRDFColor = Refract(thetaHForBRDFColor, 1.0 / surfaceData.clearcoatIOR);
- thetaHForFlakes = Refract(thetaHForFlakes, 1.0 / surfaceData.clearcoatIOR);
+ refractedViewWS = -Refract(V, coatNormalWS, 1.0 / bsdfData.clearcoatIOR);
+ thetaHForBRDFColor = Refract(thetaHForBRDFColor, 1.0 / bsdfData.clearcoatIOR);
+ thetaHForFlakes = Refract(thetaHForFlakes, 1.0 / bsdfData.clearcoatIOR);
}
- float NdotV = dot(surfaceData.normalWS, refractedViewWS);
+ float NdotV = dot(bsdfData.normalWS, refractedViewWS);
float thetaH = 0; //FastACosPos(clamp(NdotH, 0, 1));
float thetaD = FastACosPos(clamp(NdotV, 0, 1));
singleBRDFColor = GetBRDFColor(thetaHForBRDFColor, thetaD);
- singleFlakesComponent = CarPaint_BTF(thetaHForFlakes, thetaD, surfaceData, (BSDFData)0, /*useBSDFData:*/false);
+ singleFlakesComponent = CarPaint_BTF(thetaHForFlakes, thetaD, (SurfaceData)0, bsdfData, /*useBSDFData:*/true);
}
else
{
//coatFGD = HasClearcoat() ? F_FresnelDieletricSafe(surfaceData.clearcoatIOR, 1) : 0;
// ...this is just F0 of coat, so we do the equivalent:
- coatFGD = HasClearcoat() ? IorToFresnel0(surfaceData.clearcoatIOR) : 0;
+ coatFGD = HasClearcoat() ? IorToFresnel0(bsdfData.clearcoatIOR) : 0;
singleBRDFColor = GetBRDFColor(0,0);
- singleFlakesComponent = CarPaint_BTF(0, 0, surfaceData, (BSDFData)0, /*useBSDFData:*/false);
+ singleFlakesComponent = CarPaint_BTF(0, 0,(SurfaceData)0, bsdfData, /*useBSDFData:*/true);
}
}
+// For raytracing fit to standard Lit:
+// Giving V will use a codepath where V is used, this is relevant only for carpaint model
+// (cf GetColorBaseDiffuse() and GetColorBaseFresnelF0())
+void GetBaseSurfaceColorAndF0(BSDFData bsdfData, out float3 diffuseColor, out float3 fresnel0, out float3 specBRDFColor, out float3 singleFlakesComponent, out float coatFGD, float3 V = 0, bool mixFlakes = false)
+{
+ coatFGD = 0;
+ singleFlakesComponent = (float3)0;
+ fresnel0 = (float3)0;
+ float3 specularColor = (float3)0;
+ specBRDFColor = float3(1,1,1); // only used for carpaint
+ diffuseColor = bsdfData.diffuseColor;
+
+#ifdef _AXF_BRDF_TYPE_SVBRDF
+
+ specularColor = bsdfData.specularColor;
+ fresnel0 = bsdfData.fresnel0; // See AxfData.hlsl: the actual sampled texture is always 1 channel, if we ever find otherwise, we will use the others.
+ fresnel0 = HasFresnelTerm() ? fresnel0.r * specularColor : specularColor;
+
+#elif defined(_AXF_BRDF_TYPE_CAR_PAINT)
+
+ GetCarPaintSpecularColorAndFlakesComponent(bsdfData, /*out*/specBRDFColor, /*out*/singleFlakesComponent, /*out*/coatFGD, V);
+
+ // For carpaint, diffuseColor is not chromatic.
+ // A chromatic diffuse albedo is the result of a scalar diffuse coefficient multiplied by the brdf color table value.
+ specularColor = specBRDFColor;
+ diffuseColor *= specBRDFColor;
+ fresnel0 = saturate(3*bsdfData.fresnel0);//GetCarPaintFresnel0() TODO: presumably better fit using V, see also GetCarPaintSpecularColor that uses V
+ fresnel0 = fresnel0.r * specularColor;
+
+ if (mixFlakes)
+ {
+ float maxf0 = Max3(fresnel0.r, fresnel0.g, fresnel0.b);
+ fresnel0 = saturate(singleFlakesComponent + fresnel0);
+ }
+
+#endif
+
+ float baseEnergy = (1-coatFGD); // should be Sq but at this point we eyeball anyway,
+ //specularColor *= baseEnergy;
+ //diffuseColor *= baseEnergy;
+ //...commented, seems better without it.
+}
+
+void GetRoughnessNormalCoatMaskForFitToStandardLit(BSDFData bsdfData, float coatFGD, out float3 normalWS, out float roughness, out float coatMask)
+{
+ normalWS = bsdfData.normalWS; // todo: "refract back" hack
+ // Try to simulate apparent roughness increase when he have refraction as we can't store refracted V in the GBUFFER,
+ // we could try another hack and modify the normal too.
+ roughness = GetScalarRoughness(bsdfData.roughness);
+ roughness = saturate(roughness * (HasClearcoatAndRefraction() ? (max(1, bsdfData.clearcoatIOR)) : 1) );
+ coatMask = HasClearcoat()? Sq(coatFGD) * Max3(bsdfData.clearcoatColor.r, bsdfData.clearcoatColor.g, bsdfData.clearcoatColor.b) : 0;
+ // Sq(coatFGD) is a hack to better fit what AxF shows vs the usage of the coatmask with Lit
+ coatMask = 0;
+ //...disable for now coat reduces too much visibility of primary surface and in any case in performance mode where we use FitToStandardLit,
+ //we will not get another reflection bounce so the coat reflection will be a fallback probe
+}
+
float3 GetColorBaseDiffuse(BSDFData bsdfData)
{
float3 diffuseColor = 0;
@@ -1212,6 +1269,10 @@ BSDFData ConvertSurfaceDataToBSDFData(uint2 positionSS, SurfaceData surfaceData)
bsdfData.ambientOcclusion = surfaceData.ambientOcclusion;
bsdfData.specularOcclusion = surfaceData.specularOcclusion;
+ // V is needed for raytracing performance fit to lit:
+ // TODO: should just modify FitToStandardLit in ShaderPassRaytracingGBuffer.hlsl and callee
+ // to have "V" (from -incidentDir)
+ bsdfData.viewWS = surfaceData.viewWS;
bsdfData.normalWS = surfaceData.normalWS;
bsdfData.tangentWS = surfaceData.tangentWS;
bsdfData.bitangentWS = cross(bsdfData.normalWS, bsdfData.tangentWS);
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Material/AxF/AxFRayTracing.hlsl b/com.unity.render-pipelines.high-definition/Runtime/Material/AxF/AxFRayTracing.hlsl
index 539430c67aa..123d2d1ce00 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Material/AxF/AxFRayTracing.hlsl
+++ b/com.unity.render-pipelines.high-definition/Runtime/Material/AxF/AxFRayTracing.hlsl
@@ -72,13 +72,29 @@ void FitToStandardLit( BSDFData bsdfData
, uint2 positionSS
, out StandardBSDFData outStandardlit)
{
+ float3 specBRDFColor; // for carpaint, will be white otherwise
+ float3 singleFlakesComponent;
+ float scalarRoughness;
+ float coatFGD;
+
+ // We can fake flakes by mixing a component in the diffuse color
+ // or the F0, with the later maybe averaging the f0 according to roughness and V
+ GetBaseSurfaceColorAndF0(bsdfData,
+ /*out*/ outStandardlit.baseColor,
+ /*out*/ outStandardlit.fresnel0,
+ /*out*/specBRDFColor,
+ /*out*/singleFlakesComponent,
+ /*out*/coatFGD,
+ bsdfData.viewWS,
+ /*mixFlakes:*/ true);
+
outStandardlit.specularOcclusion = bsdfData.specularOcclusion;
- outStandardlit.normalWS = bsdfData.normalWS;
- outStandardlit.baseColor = bsdfData.diffuseColor;
- outStandardlit.fresnel0 = bsdfData.specularColor;
- outStandardlit.perceptualRoughness = bsdfData.perceptualRoughness;
- outStandardlit.coatMask = 0;
- outStandardlit.emissiveAndBaked = builtinData.bakeDiffuseLighting * bsdfData.specularColor * bsdfData.ambientOcclusion + builtinData.emissiveColor;
+
+ GetRoughnessNormalCoatMaskForFitToStandardLit(bsdfData, coatFGD, /*out*/ outStandardlit.normalWS, /*out*/ scalarRoughness, /*out*/ outStandardlit.coatMask);
+ outStandardlit.perceptualRoughness = RoughnessToPerceptualRoughness(scalarRoughness);
+
+ // diffuseFGD is one (from Lambert), but carpaint have a tint on diffuse, try to fit that here:
+ outStandardlit.emissiveAndBaked = builtinData.bakeDiffuseLighting * specBRDFColor * bsdfData.ambientOcclusion + builtinData.emissiveColor;
outStandardlit.isUnlit = 0;
}
#endif
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Material/Hair/Hair.cs b/com.unity.render-pipelines.high-definition/Runtime/Material/Hair/Hair.cs
index 3ea52b24c74..4cc89066021 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Material/Hair/Hair.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/Material/Hair/Hair.cs
@@ -161,6 +161,9 @@ public struct BSDFData
public float perceptualRoughnessRadial;
+ // Normalization factor for area lights.
+ public Vector3 distributionNormalizationFactor;
+
// Global Scattering
public Vector4 strandCountProbe;
public float strandShadowBias;
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Material/Hair/Hair.cs.hlsl b/com.unity.render-pipelines.high-definition/Runtime/Material/Hair/Hair.cs.hlsl
index 9caeaa3d104..03cb5e93513 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Material/Hair/Hair.cs.hlsl
+++ b/com.unity.render-pipelines.high-definition/Runtime/Material/Hair/Hair.cs.hlsl
@@ -77,9 +77,10 @@
#define DEBUGVIEW_HAIR_BSDFDATA_ROUGHNESS_TT (1483)
#define DEBUGVIEW_HAIR_BSDFDATA_ROUGHNESS_TRT (1484)
#define DEBUGVIEW_HAIR_BSDFDATA_PERCEPTUAL_ROUGHNESS_RADIAL (1485)
-#define DEBUGVIEW_HAIR_BSDFDATA_STRAND_COUNT_PROBE (1486)
-#define DEBUGVIEW_HAIR_BSDFDATA_STRAND_SHADOW_BIAS (1487)
-#define DEBUGVIEW_HAIR_BSDFDATA_SPLINE_VISIBILITY (1488)
+#define DEBUGVIEW_HAIR_BSDFDATA_DISTRIBUTION_NORMALIZATION_FACTOR (1486)
+#define DEBUGVIEW_HAIR_BSDFDATA_STRAND_COUNT_PROBE (1487)
+#define DEBUGVIEW_HAIR_BSDFDATA_STRAND_SHADOW_BIAS (1488)
+#define DEBUGVIEW_HAIR_BSDFDATA_SPLINE_VISIBILITY (1489)
// Generated from UnityEngine.Rendering.HighDefinition.Hair+SurfaceData
// PackingRules = Exact
@@ -147,6 +148,7 @@ struct BSDFData
float roughnessTT;
float roughnessTRT;
float perceptualRoughnessRadial;
+ float3 distributionNormalizationFactor;
float4 strandCountProbe;
float strandShadowBias;
float splineVisibility;
@@ -353,6 +355,9 @@ void GetGeneratedBSDFDataDebug(uint paramId, BSDFData bsdfdata, inout float3 res
case DEBUGVIEW_HAIR_BSDFDATA_PERCEPTUAL_ROUGHNESS_RADIAL:
result = bsdfdata.perceptualRoughnessRadial.xxx;
break;
+ case DEBUGVIEW_HAIR_BSDFDATA_DISTRIBUTION_NORMALIZATION_FACTOR:
+ result = bsdfdata.distributionNormalizationFactor;
+ break;
case DEBUGVIEW_HAIR_BSDFDATA_STRAND_COUNT_PROBE:
result = bsdfdata.strandCountProbe.xyz;
break;
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Material/Hair/Hair.hlsl b/com.unity.render-pipelines.high-definition/Runtime/Material/Hair/Hair.hlsl
index addf5c46471..8c87d58ae22 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Material/Hair/Hair.hlsl
+++ b/com.unity.render-pipelines.high-definition/Runtime/Material/Hair/Hair.hlsl
@@ -93,6 +93,8 @@ float3 ReflectanceFromMelanin(float eumelanin, float pheomelanin, float azimutha
real3 D_LongitudinalScatteringGaussian(real3 thetaH, real3 beta)
{
+ beta = max(beta, 1e-5); // zero-div guard
+
const real sqrtTwoPi = 2.50662827463100050241;
return rcp(beta * sqrtTwoPi) * exp(-Sq(thetaH) / (2 * Sq(beta)));
}
@@ -312,6 +314,9 @@ BSDFData ConvertSurfaceDataToBSDFData(uint2 positionSS, SurfaceData surfaceData)
bsdfData.splineVisibility = -1;
#endif
+ // By default the normalization factor should be 1 and overridden by area lights.
+ bsdfData.distributionNormalizationFactor = 1;
+
// Only necesarry for reference.
// bsdfData.h = -1 + 2 * InterleavedGradientNoise(positionSS, _TaaFrameInfo.z);
}
@@ -725,7 +730,7 @@ CBSDF EvaluateBSDF(float3 V, float3 L, PreLightData preLightData, BSDFData bsdfD
float3 F, Tr, S = 0;
// Evaluate the longitudinal scattering for all three paths.
- const float3 M = D_LongitudinalScatteringGaussian(angles.thetaH - alpha, beta);
+ const float3 M = D_LongitudinalScatteringGaussian(angles.thetaH - alpha, beta) * bsdfData.distributionNormalizationFactor;
// Save the attenuations in case of multiple scattering.
float3 A[3];
@@ -758,6 +763,8 @@ CBSDF EvaluateBSDF(float3 V, float3 L, PreLightData preLightData, BSDFData bsdfD
S += M[1] * A[1] * D[1];
}
+ else
+ A[1] = 0; // Required to fully initialize.
// TRT
{
@@ -793,15 +800,15 @@ CBSDF EvaluateBSDF(float3 V, float3 L, PreLightData preLightData, BSDFData bsdfD
else
#endif
{
- #if _USE_LIGHT_FACING_NORMAL
- // See "Analytic Tangent Irradiance Environment Maps for Anisotropic Surfaces".
- cbsdf.diffR = rcp(PI * PI) * clampedNdotL;
- // Transmission is built into the model, and it's not exactly clear how to split it.
- cbsdf.diffT = 0;
- #else
- // Double-sided Lambert.
- cbsdf.diffR = Lambert() * clampedNdotL;
- #endif // _USE_LIGHT_FACING_NORMAL
+ #if _USE_LIGHT_FACING_NORMAL
+ // See "Analytic Tangent Irradiance Environment Maps for Anisotropic Surfaces".
+ cbsdf.diffR = rcp(PI * PI) * clampedNdotL;
+ // Transmission is built into the model, and it's not exactly clear how to split it.
+ cbsdf.diffT = 0;
+ #else
+ // Double-sided Lambert.
+ cbsdf.diffR = Lambert() * clampedNdotL;
+ #endif // _USE_LIGHT_FACING_NORMAL
}
}
@@ -816,20 +823,97 @@ CBSDF EvaluateBSDF(float3 V, float3 L, PreLightData preLightData, BSDFData bsdfD
#define MATERIAL_INCLUDE_PRECOMPUTED_TRANSMISSION
#if _USE_ADVANCED_MULTIPLE_SCATTERING
-// Disable the contact shadow in case of multiple scattering.
-#define LIGHT_EVALUATION_NO_CONTACT_SHADOWS
-// Hair requires shadow biasing toward light for splines while in advanced scattering mode.
-#define LIGHT_EVALUATION_SPLINE_SHADOW_BIAS
+ // Disable the contact shadow in case of multiple scattering.
+ #define LIGHT_EVALUATION_NO_CONTACT_SHADOWS
+
+ // Hair requires shadow biasing toward light for splines while in advanced scattering mode.
+ #define LIGHT_EVALUATION_SPLINE_SHADOW_BIAS
+
+ // Secondary shadow tap that can provide a higher quality occlusion information for the multiple scattering.
+ #define LIGHT_EVALUATION_SPLINE_SHADOW_VISIBILITY_SAMPLE
+
+#else
+
+ // Force contact shadows to skip the NdotL computation (allows to mitigate glowing heads for un-shadow mapped lights).
+ #define LIGHT_EVALUATION_CONTACT_SHADOW_DISABLE_NDOTL
-// Secondary shadow tap that can provide a higher quality occlusion information for the multiple scattering.
-#define LIGHT_EVALUATION_SPLINE_SHADOW_VISIBILITY_SAMPLE
#endif
#include "Packages/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightEvaluation.hlsl"
#include "Packages/com.unity.render-pipelines.high-definition/Runtime/Material/MaterialEvaluation.hlsl"
#include "Packages/com.unity.render-pipelines.high-definition/Runtime/Lighting/SurfaceShading.hlsl"
+float3 RayPlaneIntersect(in float3 rayOrigin, in float3 rayDirection, in float3 planeOrigin, in float3 planeNormal)
+{
+ float dist = dot(planeNormal, planeOrigin - rayOrigin) / dot(planeNormal, rayDirection);
+ return rayOrigin + rayDirection * dist;
+}
+
+// Ref: Moving Frostbite to PBR (Listing 11).
+// Returns the solid angle of a rectangle at the point.
+float SolidAngleRectangle(float3 positionWS, float4x3 lightVerts)
+{
+ float3 v0 = lightVerts[0] - positionWS;
+ float3 v1 = lightVerts[1] - positionWS;
+ float3 v2 = lightVerts[2] - positionWS;
+ float3 v3 = lightVerts[3] - positionWS;
+
+ float3 n0 = normalize(cross(v0, v1));
+ float3 n1 = normalize(cross(v1, v2));
+ float3 n2 = normalize(cross(v2, v3));
+ float3 n3 = normalize(cross(v3, v0));
+
+ float g0 = FastACos(dot(-n0, n1));
+ float g1 = FastACos(dot(-n1, n2));
+ float g2 = FastACos(dot(-n2, n3));
+ float g3 = FastACos(dot(-n3, n0));
+
+ return g0 + g1 + g2 + g3 - TWO_PI;
+}
+
+// Optimized (and approximate) solid angle routine. Doesn't handle the horizon.
+float SolidAngleRightPyramid(float positionWS, float lightPositionWS, float halfWidth, float halfHeight)
+{
+ const float a = halfWidth;
+ const float b = halfHeight;
+ const float h = length(positionWS - lightPositionWS);
+
+ return 4.0 * FastASin(a * b / sqrt (( a * a + h * h) * (b * b + h * h) ));
+}
+
+// Ref: Moving Frostbite to PBR (Appendix E, Listing E.2)
+// Returns the closest point to a rectangular shape defined by right and up (and the rect extents).
+float3 ClosestPointRectangle(float3 positionWS, float3 planeOrigin, float3 left, float3 up, float halfWidth, float halfHeight)
+{
+ float3 dir = positionWS - planeOrigin;
+
+ // Project into the 2D light plane.
+ float2 dist2D = float2(dot(dir, left), dot(dir, up));
+
+ // Clamp within the rectangle.
+ const float2 halfSize = float2(halfWidth, halfHeight);
+ dist2D = clamp(dist2D, -halfSize, halfSize);
+
+ // Compute the new world position.
+ return planeOrigin + dist2D.x * left + dist2D.y * up;
+}
+
+// Ref: Moving Frostbite to PBR (Listing 13)
+float3 ClosestPointLine(float3 a, float3 b, float3 c)
+{
+ float3 ab = b - a;
+ float t = dot(c - a, ab) / dot(ab, ab);
+ return a + t * ab;
+}
+
+float3 ClosestPointSegment(float3 a, float3 b, float3 c)
+{
+ float3 ab = b - a;
+ float t = dot(c - a, ab) / dot(ab, ab);
+ return a + saturate(t) * ab;
+}
+
//-----------------------------------------------------------------------------
// EvaluateBSDF_Directional
//-----------------------------------------------------------------------------
@@ -1052,6 +1136,160 @@ DirectLighting EvaluateBSDF_Rect( LightLoopContext lightLoopContext,
return lighting;
}
+//-----------------------------------------------------------------------------
+// EvaluateBSDF_Rect_MRP - Approximation with Most Representative Point
+//-----------------------------------------------------------------------------
+
+DirectLighting EvaluateBSDF_Rect_MRP(LightLoopContext lightLoopContext,
+ float3 V, PositionInputs posInput,
+ PreLightData preLightData, LightData lightData, BSDFData bsdfData, BuiltinData builtinData)
+{
+ DirectLighting lighting;
+ ZERO_INITIALIZE(DirectLighting, lighting);
+
+ // Ref: Moving Frostbite to PBR (Appendix E)
+ // Solve the area lighting using the Most Representative Point detection method.
+ // This is a stop-gap solution until further research is given to LTC support for anisotropic BSDFs.
+ // In the future, when strand-space shading is added, it might be doable to take a "structured sampling" approach.
+ const float3 positionWS = posInput.positionWS;
+
+#if SHADEROPTIONS_BARN_DOOR
+ // Apply the barn door modification to the light data
+ RectangularLightApplyBarnDoor(lightData, positionWS);
+#endif
+
+ float3 unL = lightData.positionRWS - positionWS;
+
+ if (dot(lightData.forward, unL) < FLT_EPS)
+ {
+ const float halfWidth = lightData.size.x * 0.5;
+ const float halfHeight = lightData.size.y * 0.5;
+
+ // Solid angle computation (brute force or approximate routine).
+ // In our measurements the brute force is slightly more expensive but not by much. Additionally MRP is faster overall
+ // than LTC so we accept the cost for the quality benefit.
+ #if 1
+ float4x3 lightVerts;
+ lightVerts[0] = lightData.positionRWS + lightData.right * -halfWidth + lightData.up * -halfHeight; // LL
+ lightVerts[1] = lightData.positionRWS + lightData.right * -halfWidth + lightData.up * halfHeight; // UL
+ lightVerts[2] = lightData.positionRWS + lightData.right * halfWidth + lightData.up * halfHeight; // UR
+ lightVerts[3] = lightData.positionRWS + lightData.right * halfWidth + lightData.up * -halfHeight; // LR
+
+ const float solidAngle = SolidAngleRectangle(positionWS, lightVerts);
+ #else
+ const float solidAngle = SolidAngleRightPyramid(positionWS, lightData.positionRWS, halfWidth, halfHeight);
+ #endif
+
+ float3 L;
+
+ if (HasFlag(bsdfData.materialFeatures, MATERIALFEATUREFLAGS_HAIR_MARSCHNER))
+ {
+ // Let's choose a dominant direction with the same philosophy as we have for marschner IBL, using the the vector in the
+ // tangent-camera plane that is orthogonal to the tangent. This provides well-behaved results (though not perfect)
+ // with respect to the reference, instead of the classic reflection vector.
+ const float3 dh = ComputeViewFacingNormal(V, bsdfData.hairStrandDirectionWS);
+
+ // Intersect the dominant specular direction with the light plane.
+ float3 ph = RayPlaneIntersect(positionWS, dh, lightData.positionRWS, lightData.forward);
+
+ // Compute the closest position on the rectangle.
+ ph = ClosestPointRectangle(ph, lightData.positionRWS, -lightData.right, lightData.up, halfWidth, halfHeight);
+
+ // Determine the dominant hemisphere direction based on the camera-light plane angle.
+ const float LdotV = max(dot(-lightData.forward, V), 0);
+
+ // Construct the most representative direction.
+ // We must consider multiple specular lobes, on the backward (R, TRT) and forward (TT) scattering hemisphere.
+ // For the backward hemisphere we handle R and TRT similarly, and use the MRP result (based on the "fake" normal just like how we use it for IBL).
+ // For the forward hemisphere we need to approximate harsher. We can get away with falling back to the light center and modifying the roughness.
+ const float3 LBHemisphere = ph - positionWS;
+ const float3 LFHemisphere = unL;
+ L = SafeNormalize(lerp(LFHemisphere, LBHemisphere, LdotV));
+
+ // Define a factor here to weight the solid angle contribution term to match the reference as close as possible for varying sizes.
+ const float solidAngleFactor = 0.1;
+ const float roughnessTTPrime = saturate(bsdfData.roughnessTT + solidAngleFactor * solidAngle);
+
+ // Modify the roughness for the forward hemisphere scattering.
+ bsdfData.roughnessTT = lerp(roughnessTTPrime, bsdfData.roughnessTT, LdotV);
+
+ // Attempt at energy normalization for rectangular lights.
+ // Similar in spirit to the "Specular D Normalization" heuristic (eq. 10 Real Shading in Unreal Engine 4)
+ // Choose this solid angle-based heuristic to attempt to normalize the longitudinal distribution.
+ const float3 alpha = float3(
+ bsdfData.roughnessR,
+ bsdfData.roughnessTT,
+ bsdfData.roughnessTRT
+ );
+
+ const float3 alphaPrime = saturate(alpha + solidAngle);
+
+ bsdfData.distributionNormalizationFactor = sqrt(alpha / alphaPrime);
+ }
+ else
+ {
+ // For Kajiya instead of MRP, fall back to the light center and modulate the roughnesses by the solid angle.
+ // This isn't perfect for respecting the shape's orientation but generally good enough at widening the distribution for rects of varying size.
+ L = normalize(lightData.positionRWS - positionWS);
+
+ const float roughness1 = PerceptualRoughnessToRoughness(bsdfData.perceptualRoughness);
+ const float roughness2 = PerceptualRoughnessToRoughness(bsdfData.secondaryPerceptualRoughness);
+
+ // Again, define a factor to fudge the solid angle to closely match the reference.
+ const float solidAngleFactor = 0.05;
+
+ bsdfData.specularExponent = RoughnessToBlinnPhongSpecularExponent(saturate(roughness1 + solidAngleFactor * solidAngle));
+ bsdfData.secondarySpecularExponent = RoughnessToBlinnPhongSpecularExponent(saturate(roughness2 + solidAngleFactor * solidAngle));
+ }
+
+ // Configure a theoretically placed point light at the most important position contributing the area light irradiance.
+ float3 lightColor = lightData.color * solidAngle;
+
+ // Only apply cookie if there is one
+ if ( lightData.cookieMode != COOKIEMODE_NONE )
+ {
+ // Compute cookie's mip count.
+ const float cookieWidth = lightData.cookieScaleOffset.x * _CookieAtlasSize.x; // Guaranteed power of two.
+ const float cookieMips = round(log2(cookieWidth));
+
+ // Normalize the solid angle against the hemisphere surface area to determine a weight for choosing the mip.
+ const float cookieMip = cookieMips - (cookieMips * solidAngle * INV_TWO_PI);
+
+ LightData lightDataFlipped = lightData;
+ {
+ // Flip the matrix since the cookie seems flipped incorrectly otherwise.
+ lightDataFlipped.right = -lightDataFlipped.right;
+ }
+
+ // Sample the cookie as if it were a typical punctual light.
+ lightColor *= EvaluateCookie_Punctual(lightLoopContext, lightDataFlipped, -unL, cookieMip).rgb;
+ }
+
+ // Shadows
+ #ifndef SKIP_RASTERIZED_AREA_SHADOWS
+ {
+ #ifdef LIGHT_EVALUATION_SPLINE_SHADOW_BIAS
+ posInput.positionWS += -lightData.forward * GetSplineOffsetForShadowBias(bsdfData);
+ #endif
+
+ SHADOW_TYPE shadow = EvaluateShadow_RectArea(lightLoopContext, posInput, lightData, builtinData, bsdfData.normalWS, normalize(lightData.positionRWS), length(lightData.positionRWS));
+ lightColor *= ComputeShadowColor(shadow, lightData.shadowTint, lightData.penumbraTint);
+ }
+ #endif
+
+ // Simulate a sphere/disk light with this hack.
+ // Note that it is not correct with our precomputation of PartLambdaV
+ // (means if we disable the optimization it will not have the
+ // same result) but we don't care as it is a hack anyway.
+ ClampRoughness(preLightData, bsdfData, lightData.minRoughness);
+
+ lighting = ShadeSurface_Infinitesimal(preLightData, bsdfData, V, L, lightColor.rgb,
+ lightData.diffuseDimmer, lightData.specularDimmer);
+ }
+
+ return lighting;
+}
+
DirectLighting EvaluateBSDF_Area(LightLoopContext lightLoopContext,
float3 V, PositionInputs posInput,
PreLightData preLightData, LightData lightData,
@@ -1063,7 +1301,11 @@ DirectLighting EvaluateBSDF_Area(LightLoopContext lightLoopContext,
}
else
{
+#if 0
return EvaluateBSDF_Rect(lightLoopContext, V, posInput, preLightData, lightData, bsdfData, builtinData);
+#else
+ return EvaluateBSDF_Rect_MRP(lightLoopContext, V, posInput, preLightData, lightData, bsdfData, builtinData);
+#endif
}
}
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Material/Hair/HairPathTracing.hlsl b/com.unity.render-pipelines.high-definition/Runtime/Material/Hair/HairPathTracing.hlsl
index 2cc208722dd..7d91fd35d70 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Material/Hair/HairPathTracing.hlsl
+++ b/com.unity.render-pipelines.high-definition/Runtime/Material/Hair/HairPathTracing.hlsl
@@ -22,7 +22,7 @@ void ProcessBSDFData(PathIntersection pathIntersection, BuiltinData builtinData,
{
// NOTE: Currently we don't support ray-aligned ribbons in the acceleration structure, so our only H-calculation routines
// are either stochastic or derived from a tube intersection.
-#if 1
+#if 0
bsdfData.h = GetHFromTube(-WorldRayDirection(), bsdfData.normalWS, bsdfData.hairStrandDirectionWS);
#else
bsdfData.h = -1 + 2 * InterleavedGradientNoise(pathIntersection.pixelCoord, _RaytracingSampleIndex);
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Material/Hair/MultipleScattering/HairMultipleScattering.hlsl b/com.unity.render-pipelines.high-definition/Runtime/Material/Hair/MultipleScattering/HairMultipleScattering.hlsl
index 29d69447b5f..501b7c08436 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Material/Hair/MultipleScattering/HairMultipleScattering.hlsl
+++ b/com.unity.render-pipelines.high-definition/Runtime/Material/Hair/MultipleScattering/HairMultipleScattering.hlsl
@@ -27,7 +27,7 @@ float DecodeHairStrandCount(float3 L, float4 strandCountProbe)
HALF_SQRT_3_DIV_PI * L.x
);
- return abs(dot(strandCountProbe, Ylm));
+ return max(dot(strandCountProbe, Ylm), 0);
}
float GetDirectFraction(BSDFData bsdfData, float strandCount)
@@ -163,8 +163,10 @@ float3 EvaluateMultipleScattering(float3 L, float3 Fs, BSDFData bsdfData, float3
sigmaB = Sq(sigmaB);
// Resolve the overall local scattering term ( Eq. 19 & 20 Disney ).
- // Note, for now remove the square, there seems to be a discrepancy in the gaussian used in the paper (ours takes std. dev)
- float3 fsBack = db * 2 * Ab * D_LongitudinalScatteringGaussian(thetaH - deltaB, sqrt(sigmaB + sigmaF)) / PI;
+ // Note, for now remove the square, there seems to be a discrepancy in the gaussian used in the paper (ours takes std. dev while paper uses variance)
+ // Additionally, we should be dividing by PI here, but doing this causes another discrepancy with the multiple scattering that is observed in the
+ // the path traced reference. It is possible again, that this is due to the gaussian distribution that we use.
+ float3 fsBack = db * 2 * Ab * D_LongitudinalScatteringGaussian(thetaH - deltaB, sqrt(sigmaB + sigmaF));
// Resolve the approximated multiple scattering. (Approximate Eq. 22)
// ------------------------------------------------------------------------------------
diff --git a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Accumulation/SubFrameManager.cs b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Accumulation/SubFrameManager.cs
index aed917fc501..5636d8a3862 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Accumulation/SubFrameManager.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Accumulation/SubFrameManager.cs
@@ -153,7 +153,7 @@ internal void PrepareNewSubFrame()
foreach (int camID in m_CameraCache.Keys.ToList())
maxIteration = Math.Max(maxIteration, GetCameraData(camID).currentIteration);
- if (maxIteration == m_AccumulationSamples)
+ if (maxIteration >= m_AccumulationSamples)
{
Reset();
}
@@ -264,6 +264,18 @@ public void PrepareNewSubFrame()
m_SubFrameManager.PrepareNewSubFrame();
}
+ ///
+ /// Checks if the multi-frame accumulation is completed for a given camera.
+ ///
+ /// Camera for which the accumulation status is checked.
+ /// true if the accumulation is completed, false otherwise.
+ public bool IsFrameCompleted(HDCamera hdCamera)
+ {
+ int camID = hdCamera.camera.GetInstanceID();
+ CameraData camData = m_SubFrameManager.GetCameraData(camID);
+ return camData.currentIteration >= m_SubFrameManager.subFrameCount;
+ }
+
class RenderAccumulationPassData
{
public ComputeShader accumulationCS;
diff --git a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Camera/HDCamera.cs b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Camera/HDCamera.cs
index 807bc0288f4..df314f50030 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Camera/HDCamera.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Camera/HDCamera.cs
@@ -1318,12 +1318,12 @@ internal void UpdateCurrentSky(SkyManager skyManager)
// When we switch from override to no override, we need to make sure that the visual sky will actually be properly re-rendered.
// Resetting the visual sky hash will ensure that.
visualSky.skyParametersHash = -1;
-
- m_LightingOverrideSky.skySettings = newSkyOverride;
- m_LightingOverrideSky.cloudSettings = newCloudOverride;
- m_LightingOverrideSky.volumetricClouds = newVolumetricCloudsOverride;
- lightingSky = m_LightingOverrideSky;
}
+
+ m_LightingOverrideSky.skySettings = newSkyOverride;
+ m_LightingOverrideSky.cloudSettings = newCloudOverride;
+ m_LightingOverrideSky.volumetricClouds = newVolumetricCloudsOverride;
+ lightingSky = m_LightingOverrideSky;
}
}
}
@@ -1643,6 +1643,19 @@ void UpdateFrustum(in ViewConstants viewConstants)
}
}
+ internal static int GetSceneViewLayerMaskFallback()
+ {
+ HDRenderPipeline hdPipeline = RenderPipelineManager.currentPipeline as HDRenderPipeline;
+ // If the override layer is "Everything", we fall-back to "Everything" for the current layer mask to avoid issues by having no current layer
+ // In practice we should never have "Everything" as an override mask as it does not make sense (a warning is issued in the UI)
+ if (hdPipeline.asset.currentPlatformRenderPipelineSettings.lightLoopSettings.skyLightingOverrideLayerMask == -1)
+ return -1;
+
+ // Remove lighting override mask and layer 31 which is used by preview/lookdev
+ return (-1 & ~(hdPipeline.asset.currentPlatformRenderPipelineSettings.lightLoopSettings.skyLightingOverrideLayerMask | (1 << 31)));
+
+ }
+
void UpdateVolumeAndPhysicalParameters()
{
volumeAnchor = null;
@@ -1677,15 +1690,7 @@ void UpdateVolumeAndPhysicalParameters()
if (needFallback)
{
- HDRenderPipeline hdPipeline = RenderPipelineManager.currentPipeline as HDRenderPipeline;
- // If the override layer is "Everything", we fall-back to "Everything" for the current layer mask to avoid issues by having no current layer
- // In practice we should never have "Everything" as an override mask as it does not make sense (a warning is issued in the UI)
- if (hdPipeline.asset.currentPlatformRenderPipelineSettings.lightLoopSettings.skyLightingOverrideLayerMask == -1)
- volumeLayerMask = -1;
- else
- // Remove lighting override mask and layer 31 which is used by preview/lookdev
- volumeLayerMask = (-1 & ~(hdPipeline.asset.currentPlatformRenderPipelineSettings.lightLoopSettings.skyLightingOverrideLayerMask | (1 << 31)));
-
+ volumeLayerMask = GetSceneViewLayerMaskFallback();
// Use the default physical camera values so the exposure will look reasonable
physicalParameters = HDPhysicalCamera.GetDefaults();
}
diff --git a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.LightLoop.cs b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.LightLoop.cs
index ea69c2562f5..c06515e6b0c 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.LightLoop.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.LightLoop.cs
@@ -589,15 +589,13 @@ unsafe void PrepareBuildGPULightListPassData(
var nrTilesX = (m_MaxCameraWidth + LightDefinitions.s_TileSizeFptl - 1) / LightDefinitions.s_TileSizeFptl;
var nrTilesY = (m_MaxCameraHeight + LightDefinitions.s_TileSizeFptl - 1) / LightDefinitions.s_TileSizeFptl;
var nrTiles = nrTilesX * nrTilesY * m_MaxViewCount;
- const int capacityUShortsPerTile = 32;
- const int dwordsPerTile = (capacityUShortsPerTile + 1) >> 1; // room for 31 lights and a nrLights value.
if (tileAndClusterData.hasTileBuffers)
{
// note that nrTiles include the viewCount in allocation below
// Tile buffers
passData.output.lightList = builder.WriteComputeBuffer(
- renderGraph.CreateComputeBuffer(new ComputeBufferDesc((int)LightCategory.Count * dwordsPerTile * nrTiles, sizeof(uint)) { name = "LightList" }));
+ renderGraph.CreateComputeBuffer(new ComputeBufferDesc((int)LightCategory.Count * LightDefinitions.s_LightDwordPerFptlTile * nrTiles, sizeof(uint)) { name = "LightList" }));
passData.output.tileList = builder.WriteComputeBuffer(
renderGraph.CreateComputeBuffer(new ComputeBufferDesc(LightDefinitions.s_NumFeatureVariants * nrTiles, sizeof(uint)) { name = "TileList" }));
passData.output.tileFeatureFlags = builder.WriteComputeBuffer(
diff --git a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.PostProcess.cs b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.PostProcess.cs
index f89910cf2ad..c422c895ad4 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.PostProcess.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.PostProcess.cs
@@ -2864,6 +2864,7 @@ TextureHandle DepthOfFieldPass(RenderGraph renderGraph, HDCamera hdCamera, Textu
bool postDoFTAAEnabled = false;
bool isSceneView = hdCamera.camera.cameraType == CameraType.SceneView;
bool taaEnabled = m_AntialiasingFS && hdCamera.antialiasing == HDAdditionalCameraData.AntialiasingMode.TemporalAntialiasing;
+ bool isOrtho = hdCamera.camera.orthographic;
// If Path tracing is enabled, then DoF is computed in the path tracer by sampling the lens aperure (when using the physical camera mode)
bool isDoFPathTraced = (hdCamera.frameSettings.IsEnabled(FrameSettingsField.RayTracing) &&
@@ -2873,7 +2874,7 @@ TextureHandle DepthOfFieldPass(RenderGraph renderGraph, HDCamera hdCamera, Textu
// Depth of Field is done right after TAA as it's easier to just re-project the CoC
// map rather than having to deal with all the implications of doing it before TAA
- if (m_DepthOfField.IsActive() && !isSceneView && m_DepthOfFieldFS && !isDoFPathTraced)
+ if (m_DepthOfField.IsActive() && !isSceneView && m_DepthOfFieldFS && !isDoFPathTraced && !isOrtho)
{
// If we switch DoF modes and the old one was not using TAA, make sure we invalidate the history
// Note: for Rendergraph the m_IsDoFHisotoryValid perhaps should be moved to the "pass data" struct
@@ -4079,7 +4080,7 @@ void PrepareColorGradingParameters(ColorGradingPassData passData)
}
// Returns color balance coefficients in the LMS space
- public static Vector3 GetColorBalanceCoeffs(float temperature, float tint)
+ static Vector3 GetColorBalanceCoeffs(float temperature, float tint)
{
// Range ~[-1.5;1.5] works best
float t1 = temperature / 65f;
@@ -4689,6 +4690,8 @@ TextureHandle ContrastAdaptiveSharpeningPass(RenderGraph renderGraph, HDCamera h
source = passData.destination;
}
+
+ SetCurrentResolutionGroup(renderGraph, hdCamera, ResolutionGroup.AfterDynamicResUpscale);
}
return source;
}
@@ -4826,6 +4829,8 @@ TextureHandle EdgeAdaptiveSpatialUpsampling(RenderGraph renderGraph, HDCamera hd
source = passData.destination;
}
+
+ SetCurrentResolutionGroup(renderGraph, hdCamera, ResolutionGroup.AfterDynamicResUpscale);
}
return source;
}
@@ -4854,8 +4859,6 @@ class FinalPassData
public float filmGrainIntensity;
public float filmGrainResponse;
- public Vector2Int viewportSize;
-
public bool ditheringEnabled;
public TextureHandle source;
@@ -4881,7 +4884,6 @@ void FinalPass(RenderGraph renderGraph, HDCamera hdCamera, TextureHandle afterPo
passData.dynamicResIsOn = hdCamera.canDoDynamicResolution && hdCamera.DynResRequest.enabled;
passData.dynamicResFilter = hdCamera.DynResRequest.filter;
passData.useFXAA = hdCamera.antialiasing == HDAdditionalCameraData.AntialiasingMode.FastApproximateAntialiasing && !passData.dynamicResIsOn && m_AntialiasingFS;
- passData.viewportSize = postProcessViewportSize;
// Film Grain
passData.filmGrainEnabled = m_FilmGrain.IsActive() && m_FilmGrainFS;
@@ -4952,8 +4954,8 @@ void FinalPass(RenderGraph renderGraph, HDCamera hdCamera, TextureHandle afterPo
finalPassMaterial.SetTexture(HDShaderIDs._GrainTexture, data.filmGrainTexture);
finalPassMaterial.SetVector(HDShaderIDs._GrainParams, new Vector2(data.filmGrainIntensity * 4f, data.filmGrainResponse));
- float uvScaleX = (float)data.viewportSize.x / (float)data.filmGrainTexture.width;
- float uvScaleY = (float)data.viewportSize.y / (float)data.filmGrainTexture.height;
+ float uvScaleX = data.hdCamera.finalViewport.width / (float)data.filmGrainTexture.width;
+ float uvScaleY = data.hdCamera.finalViewport.height / (float)data.filmGrainTexture.height;
float scaledOffsetX = offsetX * uvScaleX;
float scaledOffsetY = offsetY * uvScaleY;
@@ -4974,7 +4976,7 @@ void FinalPass(RenderGraph renderGraph, HDCamera hdCamera, TextureHandle afterPo
finalPassMaterial.EnableKeyword("DITHER");
finalPassMaterial.SetTexture(HDShaderIDs._BlueNoiseTexture, blueNoiseTexture);
finalPassMaterial.SetVector(HDShaderIDs._DitherParams,
- new Vector3((float)data.viewportSize.x / blueNoiseTexture.width, (float)data.viewportSize.y / blueNoiseTexture.height, textureId));
+ new Vector3(data.hdCamera.finalViewport.width / blueNoiseTexture.width, data.hdCamera.finalViewport.height / blueNoiseTexture.height, textureId));
}
}
diff --git a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/PathTracing/PathTracing.cs b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/PathTracing/PathTracing.cs
index 62b13f7cf1d..768988dfdcd 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/PathTracing/PathTracing.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/PathTracing/PathTracing.cs
@@ -112,12 +112,26 @@ void ReleasePathTracing()
#endif // UNITY_EDITOR
}
- internal void ResetPathTracing()
+ ///
+ /// Resets path tracing accumulation for all cameras.
+ ///
+ public void ResetPathTracing()
{
m_RenderSky = true;
m_SubFrameManager.Reset();
}
+ ///
+ /// Resets path tracing accumulation for a specific camera.
+ ///
+ /// Camera for which the accumulation is reset.
+ public void ResetPathTracing(HDCamera hdCamera)
+ {
+ int camID = hdCamera.camera.GetInstanceID();
+ CameraData camData = m_SubFrameManager.GetCameraData(camID);
+ ResetPathTracing(camID, camData);
+ }
+
internal CameraData ResetPathTracing(int camID, CameraData camData)
{
m_RenderSky = true;
diff --git a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/HDDiffuseDenoiser.cs b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/HDDiffuseDenoiser.cs
index 6c9a59503d3..1b6876aa1b5 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/HDDiffuseDenoiser.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/HDDiffuseDenoiser.cs
@@ -8,40 +8,33 @@ class HDDiffuseDenoiser
{
// Resources used for the de-noiser
ComputeShader m_DiffuseDenoiser;
- Texture m_OwenScrambleRGBA;
- HDRenderPipeline m_RenderPipeline;
+ // Runtime Initialization data
+ bool m_DenoiserInitialized;
+ Texture2D m_OwnenScrambledTexture;
+ ComputeBuffer m_PointDistribution;
// Kernels that may be required
int m_BilateralFilterSingleKernel;
int m_BilateralFilterColorKernel;
int m_GatherSingleKernel;
int m_GatherColorKernel;
- ComputeBuffer m_PointDistribution;
- static internal float[] pointDistribution = new float[] { 0.647285104f, -0.534139216f, 0.201738372f, 0.260410696f,
- -0.443308681f, 0.259598345f, 0.0f, 0.0f,
- 0.851900041f, 0.214261428f, 0.0376310274f, -0.406103343f,
- -0.357411921f, -0.525219262f, -0.00147355383f, 0.239211172f,
- -0.463947058f, 0.646911025f, -0.0379408896f, -0.291660219f,
- 0.405679494f, -0.473511368f, 0.0473965593f, 0.0411158539f,
- -0.963973522f, -0.155723229f, -0.444706231f, 0.141471207f,
- 0.0980135575f, 0.687162697f, 0.156328082f, -0.0518609099f};
public void Init(HDRenderPipelineRuntimeResources rpResources, HDRenderPipeline renderPipeline)
{
// Keep track of the resources
m_DiffuseDenoiser = rpResources.shaders.diffuseDenoiserCS;
- m_OwenScrambleRGBA = rpResources.textures.owenScrambledRGBATex;
-
- m_RenderPipeline = renderPipeline;
// Grab all the kernels we'll eventually need
m_BilateralFilterSingleKernel = m_DiffuseDenoiser.FindKernel("BilateralFilterSingle");
m_BilateralFilterColorKernel = m_DiffuseDenoiser.FindKernel("BilateralFilterColor");
m_GatherSingleKernel = m_DiffuseDenoiser.FindKernel("GatherSingle");
m_GatherColorKernel = m_DiffuseDenoiser.FindKernel("GatherColor");
- m_PointDistribution = new ComputeBuffer(16 * 2, sizeof(float));
- m_PointDistribution.SetData(pointDistribution);
+
+ // Data required for the online initialization
+ m_DenoiserInitialized = false;
+ m_OwnenScrambledTexture = rpResources.textures.owenScrambledRGBATex;
+ m_PointDistribution = new ComputeBuffer(16 * 2 * 4, sizeof(float));
}
public void Release()
@@ -57,6 +50,7 @@ class DiffuseDenoiserPassData
public int viewCount;
// Denoising parameters
+ public bool needInit;
public float pixelSpreadTangent;
public float kernelSize;
public bool halfResolutionFilter;
@@ -72,6 +66,7 @@ class DiffuseDenoiserPassData
public ComputeBufferHandle pointDistribution;
public ComputeShader diffuseDenoiserCS;
+ public Texture2D owenScrambledTexture;
public TextureHandle depthStencilBuffer;
public TextureHandle normalBuffer;
public TextureHandle noisyBuffer;
@@ -96,7 +91,11 @@ public TextureHandle Denoise(RenderGraph renderGraph, HDCamera hdCamera, Diffuse
// Cannot run in async
builder.EnableAsyncCompute(false);
- // Fetch all the resources
+ // Initialization data
+ passData.needInit = !m_DenoiserInitialized;
+ m_DenoiserInitialized = true;
+ passData.owenScrambledTexture = m_OwnenScrambledTexture;
+
// Camera parameters
if (denoiserParams.fullResolutionInput)
{
@@ -115,7 +114,7 @@ public TextureHandle Denoise(RenderGraph renderGraph, HDCamera hdCamera, Diffuse
passData.kernelSize = denoiserParams.kernelSize;
passData.halfResolutionFilter = denoiserParams.halfResolutionFilter;
passData.jitterFilter = denoiserParams.jitterFilter;
- passData.frameIndex = m_RenderPipeline.RayTracingFrameIndex(hdCamera);
+ passData.frameIndex = HDRenderPipeline.RayTracingFrameIndex(hdCamera);
passData.fullResolutionInput = denoiserParams.fullResolutionInput;
// Kernels
@@ -135,6 +134,15 @@ public TextureHandle Denoise(RenderGraph renderGraph, HDCamera hdCamera, Diffuse
builder.SetRenderFunc(
(DiffuseDenoiserPassData data, RenderGraphContext ctx) =>
{
+ // Generate the point distribution if needed (this is only ran once)
+ if (passData.needInit)
+ {
+ int m_GeneratePointDistributionKernel = data.diffuseDenoiserCS.FindKernel("GeneratePointDistribution");
+ ctx.cmd.SetComputeTextureParam(data.diffuseDenoiserCS, m_GeneratePointDistributionKernel, HDShaderIDs._OwenScrambledRGTexture, data.owenScrambledTexture);
+ ctx.cmd.SetComputeBufferParam(data.diffuseDenoiserCS, m_GeneratePointDistributionKernel, "_PointDistributionRW", data.pointDistribution);
+ ctx.cmd.DispatchCompute(data.diffuseDenoiserCS, m_GeneratePointDistributionKernel, 1, 1, 1);
+ }
+
// Evaluate the dispatch parameters
int areaTileSize = 8;
int numTilesX = (data.texWidth + (areaTileSize - 1)) / areaTileSize;
diff --git a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/HDRaytracingManager.cs b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/HDRaytracingManager.cs
index 982d07d660a..1d9c50c9346 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/HDRaytracingManager.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/HDRaytracingManager.cs
@@ -590,7 +590,7 @@ static internal bool ValidRayTracingHistory(HDCamera hdCamera)
&& hdCamera.historyRTHandleProperties.previousViewportSize.y == hdCamera.actualHeight;
}
- internal int RayTracingFrameIndex(HDCamera hdCamera)
+ internal static int RayTracingFrameIndex(HDCamera hdCamera)
{
#if UNITY_HDRP_DXR_TESTS_DEFINE
if (Application.isPlaying)
diff --git a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/Shaders/Denoising/DiffuseDenoiser.compute b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/Shaders/Denoising/DiffuseDenoiser.compute
index 6a1cf4e8e93..bd222517772 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/Shaders/Denoising/DiffuseDenoiser.compute
+++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/Shaders/Denoising/DiffuseDenoiser.compute
@@ -1,3 +1,5 @@
+#pragma kernel GeneratePointDistribution
+
#pragma kernel BilateralFilterSingle BILATERAL_FILTER=BilateralFilterSingle SINGLE_CHANNEL
#pragma kernel BilateralFilterColor BILATERAL_FILTER=BilateralFilterColor
@@ -21,6 +23,7 @@
#include "Packages/com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/ShaderVariablesGlobal.cs.hlsl"
// Ray Tracing includes
+#include "Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/Shaders/RaytracingSampling.hlsl"
#include "Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/Shaders/ShaderVariablesRaytracing.hlsl"
#include "Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/Shaders/Denoising/BilateralFilter.hlsl"
#include "Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/Shaders/Denoising/DenoisingUtils.hlsl"
@@ -32,6 +35,7 @@
// Noisy Input Buffer
TEXTURE2D_X(_DenoiseInputTexture);
// Buffer used for point sampling
+RWStructuredBuffer _PointDistributionRW;
StructuredBuffer _PointDistribution;
// Filtered Output buffer (depends on the singel or color variant of the denoiser)
#if SINGLE_CHANNEL
@@ -50,6 +54,12 @@ int _JitterFramePeriod;
// Flag used to do a half resolution filter
int _HalfResolutionFilter;
+[numthreads(64, 1, 1)]
+void GeneratePointDistribution(uint3 dispatchThreadId : SV_DispatchThreadID)
+{
+ _PointDistributionRW[dispatchThreadId.x] = SampleDiskCubic(GetLDSequenceSampleFloat(dispatchThreadId.x, 0), GetLDSequenceSampleFloat(dispatchThreadId.x, 1));
+}
+
float ComputeMaxDenoisingRadius(float3 positionRWS)
{
// Compute the distance to the pixel
@@ -127,7 +137,7 @@ void BILATERAL_FILTER(uint3 dispatchThreadId : SV_DispatchThreadID, uint2 groupT
hClip.xyz /= hClip.w;
// Is the target pixel in the screen?
- if (hClip.x > 1.0 || hClip.x < -1.0 || hClip.y > 1.0 || hClip.y < -1.0 )
+ if (hClip.x > 1.0 || hClip.x < -1.0 || hClip.y > 1.0 || hClip.y < -1.0)
continue;
// Convert it to screen sample space
diff --git a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/RenderPass/CustomPass/CustomPass.cs b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/RenderPass/CustomPass/CustomPass.cs
index 0c5ba5d7b8a..842da0cbfae 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/RenderPass/CustomPass/CustomPass.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/RenderPass/CustomPass/CustomPass.cs
@@ -228,7 +228,7 @@ internal void ExecuteInternal(RenderGraph renderGraph, HDCamera hdCamera, Cullin
if (customPass.currentRenderTarget.colorBufferRG.IsValid() && customPass.injectionPoint == CustomPassInjectionPoint.AfterPostProcess)
ctx.cmd.SetGlobalTexture(HDShaderIDs._AfterPostProcessColorBuffer, customPass.currentRenderTarget.colorBufferRG);
- if (customPass.currentRenderTarget.motionVectorBufferRG.IsValid() && (customPass.injectionPoint == CustomPassInjectionPoint.BeforePostProcess || customPass.injectionPoint == CustomPassInjectionPoint.AfterPostProcess))
+ if (customPass.currentRenderTarget.motionVectorBufferRG.IsValid() && (customPass.injectionPoint != CustomPassInjectionPoint.BeforeRendering))
ctx.cmd.SetGlobalTexture(HDShaderIDs._CameraMotionVectorsTexture, customPass.currentRenderTarget.motionVectorBufferRG);
if (customPass.currentRenderTarget.normalBufferRG.IsValid() && customPass.injectionPoint != CustomPassInjectionPoint.AfterPostProcess)
diff --git a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/RenderPass/MipGenerator.cs b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/RenderPass/MipGenerator.cs
index b94ecbba8b8..a29204a1001 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/RenderPass/MipGenerator.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/RenderPass/MipGenerator.cs
@@ -212,8 +212,14 @@ public int RenderColorGaussianPyramid(CommandBuffer cmd, Vector2Int size, Textur
// So in the end we compute a specific scale for downscale and blur passes at each mip level.
// Scales for Blur
- float blurSourceTextureWidth = (float)m_TempDownsamplePyramid[rtIndex].rt.width; // Same size as m_TempColorTargets which is the source for vertical blur
- float blurSourceTextureHeight = (float)m_TempDownsamplePyramid[rtIndex].rt.height;
+ // Same size as m_TempColorTargets which is the source for vertical blur
+ var hardwareBlurSourceTextureSize = new Vector2Int(m_TempDownsamplePyramid[rtIndex].rt.width, m_TempDownsamplePyramid[rtIndex].rt.height);
+ if (isHardwareDrsOn)
+ hardwareBlurSourceTextureSize = DynamicResolutionHandler.instance.ApplyScalesOnSize(hardwareBlurSourceTextureSize);
+
+ float blurSourceTextureWidth = (float)hardwareBlurSourceTextureSize.x;
+ float blurSourceTextureHeight = (float)hardwareBlurSourceTextureSize.y;
+
scaleX = ((float)dstMipWidth / blurSourceTextureWidth);
scaleY = ((float)dstMipHeight / blurSourceTextureHeight);
diff --git a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/ShaderPass/ShaderPassPathTracing.hlsl b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/ShaderPass/ShaderPassPathTracing.hlsl
index aff95f947a1..442fb44498d 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/ShaderPass/ShaderPassPathTracing.hlsl
+++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/ShaderPass/ShaderPassPathTracing.hlsl
@@ -243,15 +243,15 @@ void ComputeSurfaceScattering(inout PathIntersection pathIntersection : SV_RayPa
pathIntersection.value = computeDirect ? bsdfData.color * GetInverseCurrentExposureMultiplier() + builtinData.emissiveColor : 0.0;
-// Apply shadow matte if requested
-#ifdef _ENABLE_SHADOW_MATTE
+ // Apply shadow matte if requested
+ #ifdef _ENABLE_SHADOW_MATTE
float3 shadowColor = lerp(pathIntersection.value, surfaceData.shadowTint.rgb * GetInverseCurrentExposureMultiplier(), surfaceData.shadowTint.a);
float visibility = ComputeVisibility(fragInput.positionRWS, surfaceData.normalWS, inputSample.xyz);
pathIntersection.value = lerp(shadowColor, pathIntersection.value, visibility);
-#endif
+ #endif
-// Simulate opacity blending by simply continuing along the current ray
-#ifdef _SURFACE_TYPE_TRANSPARENT
+ // Simulate opacity blending by simply continuing along the current ray
+ #ifdef _SURFACE_TYPE_TRANSPARENT
if (builtinData.opacity < 1.0)
{
RayDesc rayDescriptor;
@@ -268,7 +268,7 @@ void ComputeSurfaceScattering(inout PathIntersection pathIntersection : SV_RayPa
pathIntersection.value = lerp(nextPathIntersection.value, pathIntersection.value, builtinData.opacity);
}
-#endif
+ #endif
#endif // SHADER_UNLIT
}
@@ -301,6 +301,7 @@ void ClosestHit(inout PathIntersection pathIntersection : SV_RayPayload, Attribu
float3 lightPosition;
bool sampleLocalLights, sampleVolume = false;
+ // Skip this code if getting out of a SSS random walk (currentDepth < 0)
if (currentDepth >= 0)
{
// Generate a 4D unit-square sample for this depth, from our QMC sequence
@@ -324,25 +325,29 @@ void ClosestHit(inout PathIntersection pathIntersection : SV_RayPayload, Attribu
#endif // HAS_LIGHTLOOP
- // Apply volumetric attenuation
- ApplyFogAttenuation(WorldRayOrigin(), WorldRayDirection(), pathIntersection.t, pathIntersection.value, computeDirect);
+ // Skip this code if getting out of a SSS random walk (currentDepth < 0)
+ if (currentDepth >= 0)
+ {
+ // Apply volumetric attenuation
+ ApplyFogAttenuation(WorldRayOrigin(), WorldRayDirection(), pathIntersection.t, pathIntersection.value, computeDirect);
- // Apply the volume/surface pdf
- pathIntersection.value /= pdf;
+ // Apply the volume/surface pdf
+ pathIntersection.value /= pdf;
- if (currentDepth)
- {
- // Bias the result (making it too dark), but reduces fireflies a lot
- float intensity = Luminance(pathIntersection.value) * GetCurrentExposureMultiplier();
- if (intensity > _RaytracingIntensityClamp)
- pathIntersection.value *= _RaytracingIntensityClamp / intensity;
+ if (currentDepth)
+ {
+ // Bias the result (making it too dark), but reduces fireflies a lot
+ float intensity = Luminance(pathIntersection.value) * GetCurrentExposureMultiplier();
+ if (intensity > _RaytracingIntensityClamp)
+ pathIntersection.value *= _RaytracingIntensityClamp / intensity;
+ }
}
}
[shader("anyhit")]
void AnyHit(inout PathIntersection pathIntersection : SV_RayPayload, AttributeData attributeData : SV_IntersectionAttributes)
{
- // The first thing that we should do is grab the intersection vertice
+ // The first thing that we should do is grab the intersection vertex
IntersectionVertex currentVertex;
GetCurrentIntersectionVertex(attributeData, currentVertex);
diff --git a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Utility/HDUtils.cs b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Utility/HDUtils.cs
index a0a6aadab3b..fc4172a5296 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Utility/HDUtils.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Utility/HDUtils.cs
@@ -19,8 +19,10 @@ public class HDUtils
internal const PerObjectData k_RendererConfigurationBakedLightingWithShadowMask = k_RendererConfigurationBakedLighting | PerObjectData.OcclusionProbe | PerObjectData.OcclusionProbeProxyVolume | PerObjectData.ShadowMask;
/// Returns the render configuration for baked static lighting, this value can be used in a RendererListDesc call to render Lit objects.
+ ///
public static PerObjectData GetBakedLightingRenderConfig() => k_RendererConfigurationBakedLighting;
/// Returns the render configuration for baked static lighting with shadow masks, this value can be used in a RendererListDesc call to render Lit objects when shadow masks are enabled.
+ ///
public static PerObjectData GetBakedLightingWithShadowMaskRenderConfig() => k_RendererConfigurationBakedLightingWithShadowMask;
/// Default HDAdditionalReflectionData
diff --git a/com.unity.render-pipelines.high-definition/Runtime/RenderPipelineResources/ShaderGraph/Eye.shadergraph b/com.unity.render-pipelines.high-definition/Runtime/RenderPipelineResources/ShaderGraph/Eye.shadergraph
index 6f7c67c4b27..e2f6f02f3e8 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipelineResources/ShaderGraph/Eye.shadergraph
+++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipelineResources/ShaderGraph/Eye.shadergraph
@@ -65,6 +65,9 @@
},
{
"m_Id": "261f48f1fbc94ccbafc421414859c159"
+ },
+ {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
}
],
"m_Keywords": [],
@@ -87,12 +90,12 @@
},
{
"m_Id": "407705ab55b84a768ef8a45175e577ff"
+ },
+ {
+ "m_Id": "7fdfd7fe176e46ac8406c58968b05189"
}
],
"m_Nodes": [
- {
- "m_Id": "51de60cc4d164e8abec305ea587ab126"
- },
{
"m_Id": "c0779491e5784d678b3bdba10586334a"
},
@@ -150,12 +153,6 @@
{
"m_Id": "b60b14d5e0fd4d2393f07b6e45f5daf9"
},
- {
- "m_Id": "bbe7b267a4bf415eb27c61c220570037"
- },
- {
- "m_Id": "85236978d3e34c7ba998ae09de1c1ca1"
- },
{
"m_Id": "d8d837e62b0c4ef68e88967ea71267f3"
},
@@ -216,9 +213,6 @@
{
"m_Id": "5ec1016d88c748c2886a4bbaae434650"
},
- {
- "m_Id": "59abc1723bac4f6587bfde822a6cc955"
- },
{
"m_Id": "618bfa0d2bae47248adf541e2cb607c9"
},
@@ -308,6 +302,39 @@
},
{
"m_Id": "0358f633aae44214ad01442ac8626b00"
+ },
+ {
+ "m_Id": "00184655423241c59bd694de369eb90d"
+ },
+ {
+ "m_Id": "585901d73d654034bc1523fb712e4a44"
+ },
+ {
+ "m_Id": "5dbf3ff35d5d4bf5be6e17ea85aec8a1"
+ },
+ {
+ "m_Id": "1ef5e3350c6d478fa02522623dc5980d"
+ },
+ {
+ "m_Id": "83c8468df57240089f6adeb924ae1efb"
+ },
+ {
+ "m_Id": "b5d8c47b78a147dabe97777e368cc693"
+ },
+ {
+ "m_Id": "97ef57a511a6409e8cdfd1f448e2e660"
+ },
+ {
+ "m_Id": "94b23f84805941888b6c9be7a523647d"
+ },
+ {
+ "m_Id": "7a0d802562824c2bbd243a75a4affeb2"
+ },
+ {
+ "m_Id": "17902cca546343a8a512e5050b020e77"
+ },
+ {
+ "m_Id": "ac024894f1d5456a9414b3a1cd7664ae"
}
],
"m_GroupDatas": [],
@@ -359,6 +386,20 @@
}
],
"m_Edges": [
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "00184655423241c59bd694de369eb90d"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "585901d73d654034bc1523fb712e4a44"
+ },
+ "m_SlotId": 0
+ }
+ },
{
"m_OutputSlot": {
"m_Node": {
@@ -443,6 +484,34 @@
"m_SlotId": 6
}
},
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "17902cca546343a8a512e5050b020e77"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "ac024894f1d5456a9414b3a1cd7664ae"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "1ef5e3350c6d478fa02522623dc5980d"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "83c8468df57240089f6adeb924ae1efb"
+ },
+ "m_SlotId": 1
+ }
+ },
{
"m_OutputSlot": {
"m_Node": {
@@ -572,13 +641,13 @@
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "51de60cc4d164e8abec305ea587ab126"
+ "m_Id": "585901d73d654034bc1523fb712e4a44"
},
- "m_SlotId": 0
+ "m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "73463e1ecceb4da79a7c3c989e1eb8a5"
+ "m_Id": "3471ae3dc7164995a5ec9a7d752498e9"
},
"m_SlotId": 0
}
@@ -586,15 +655,15 @@
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "59abc1723bac4f6587bfde822a6cc955"
+ "m_Id": "5dbf3ff35d5d4bf5be6e17ea85aec8a1"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "5f12ae82497545f2a48dfcd3901fc531"
+ "m_Id": "83c8468df57240089f6adeb924ae1efb"
},
- "m_SlotId": 7
+ "m_SlotId": 0
}
},
{
@@ -796,31 +865,59 @@
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "840c65cb785048018c1d6d934065b84f"
+ "m_Id": "7a0d802562824c2bbd243a75a4affeb2"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "73463e1ecceb4da79a7c3c989e1eb8a5"
+ "m_Id": "ac024894f1d5456a9414b3a1cd7664ae"
},
- "m_SlotId": 4
+ "m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "85236978d3e34c7ba998ae09de1c1ca1"
+ "m_Id": "83c8468df57240089f6adeb924ae1efb"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "485ad063759c4d53b563365cc184e7c5"
},
"m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "83c8468df57240089f6adeb924ae1efb"
+ },
+ "m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "42e9ad38b6f443eebac8a029c3b851ed"
+ "m_Id": "73463e1ecceb4da79a7c3c989e1eb8a5"
},
"m_SlotId": 0
}
},
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "840c65cb785048018c1d6d934065b84f"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "73463e1ecceb4da79a7c3c989e1eb8a5"
+ },
+ "m_SlotId": 4
+ }
+ },
{
"m_OutputSlot": {
"m_Node": {
@@ -863,6 +960,20 @@
"m_SlotId": 0
}
},
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "94b23f84805941888b6c9be7a523647d"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "5f12ae82497545f2a48dfcd3901fc531"
+ },
+ "m_SlotId": 7
+ }
+ },
{
"m_OutputSlot": {
"m_Node": {
@@ -877,6 +988,20 @@
"m_SlotId": 1
}
},
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "97ef57a511a6409e8cdfd1f448e2e660"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "94b23f84805941888b6c9be7a523647d"
+ },
+ "m_SlotId": 1
+ }
+ },
{
"m_OutputSlot": {
"m_Node": {
@@ -961,6 +1086,20 @@
"m_SlotId": 1
}
},
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "ac024894f1d5456a9414b3a1cd7664ae"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "42e9ad38b6f443eebac8a029c3b851ed"
+ },
+ "m_SlotId": 0
+ }
+ },
{
"m_OutputSlot": {
"m_Node": {
@@ -992,27 +1131,27 @@
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "b60b14d5e0fd4d2393f07b6e45f5daf9"
+ "m_Id": "b5d8c47b78a147dabe97777e368cc693"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "6c010288ae084f76b3ce42686cf7edfd"
+ "m_Id": "94b23f84805941888b6c9be7a523647d"
},
- "m_SlotId": 3
+ "m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "b7d832af95c7441686257bffb710747a"
+ "m_Id": "b60b14d5e0fd4d2393f07b6e45f5daf9"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "42e9ad38b6f443eebac8a029c3b851ed"
+ "m_Id": "6c010288ae084f76b3ce42686cf7edfd"
},
"m_SlotId": 3
}
@@ -1020,15 +1159,15 @@
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "bbe7b267a4bf415eb27c61c220570037"
+ "m_Id": "b7d832af95c7441686257bffb710747a"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "485ad063759c4d53b563365cc184e7c5"
+ "m_Id": "42e9ad38b6f443eebac8a029c3b851ed"
},
- "m_SlotId": 0
+ "m_SlotId": 3
}
},
{
@@ -1292,9 +1431,9 @@
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "3471ae3dc7164995a5ec9a7d752498e9"
+ "m_Id": "585901d73d654034bc1523fb712e4a44"
},
- "m_SlotId": 0
+ "m_SlotId": 1
}
}
],
@@ -1379,6 +1518,42 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "00184655423241c59bd694de369eb90d",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -2471.0,
+ "y": -1523.0,
+ "width": 135.0,
+ "height": 34.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "d5751c9bd01647d1bcd9b00ae429253e"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -1439,6 +1614,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -1533,6 +1709,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
@@ -1775,6 +1952,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -1810,6 +1988,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -1951,6 +2130,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -1960,6 +2140,54 @@
}
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "149f788bb2ea44819a55199598d27c73",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
@@ -2035,6 +2263,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2044,28 +2273,90 @@
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
- "m_ObjectId": "165201c844e64e6aba7e1b51eda9d013",
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "161492aadcc74afa831b1d5cffb72111",
"m_Id": 0,
- "m_DisplayName": "Iris UV",
- "m_SlotType": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
"m_Hidden": false,
- "m_ShaderOutputName": "IrisUV",
+ "m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
- "y": 0.0
+ "y": 0.0,
+ "z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
- "y": 0.0
+ "y": 0.0,
+ "z": 0.0
},
"m_Labels": [
"X",
- "Y"
+ "Y",
+ "Z"
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
+ "m_ObjectId": "165201c844e64e6aba7e1b51eda9d013",
+ "m_Id": 0,
+ "m_DisplayName": "Iris UV",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "IrisUV",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Labels": [
+ "X",
+ "Y"
]
}
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.PositionNode",
+ "m_ObjectId": "17902cca546343a8a512e5050b020e77",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Position",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 1942.9998779296875,
+ "y": -685.0,
+ "width": 206.0001220703125,
+ "height": 131.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "161492aadcc74afa831b1d5cffb72111"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 1,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 2,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Space": 0,
+ "m_PositionSource": 0
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -2127,6 +2418,54 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "18d972ecd4744beeb8ba268c3f75c141",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
@@ -2238,6 +2577,41 @@
]
}
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.PositionNode",
+ "m_ObjectId": "1ef5e3350c6d478fa02522623dc5980d",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Position",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1112.0,
+ "y": -115.0,
+ "width": 206.0,
+ "height": 131.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "4ffb1e655cd241789e2244d36be66f2e"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 1,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 2,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Space": 0,
+ "m_PositionSource": 0
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
@@ -2264,6 +2638,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2372,6 +2747,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2424,6 +2800,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2446,6 +2823,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -2484,6 +2862,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2546,6 +2925,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2567,6 +2947,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -2686,6 +3067,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2916,6 +3298,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2937,6 +3320,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -3024,6 +3408,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3228,6 +3613,54 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "42c4dca4e629460dbc890e644559a0bc",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.EyeSurfaceTypeDebug",
@@ -3269,6 +3702,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3351,6 +3785,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -3441,6 +3876,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3490,10 +3926,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 2134.0,
- "y": -453.0,
- "width": 168.00001525878907,
- "height": 34.000003814697269
+ "x": 2120.0,
+ "y": -444.9999694824219,
+ "width": 173.0,
+ "height": 34.0
}
},
"m_Slots": [
@@ -3504,6 +3940,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3526,6 +3963,33 @@
"m_BareResource": false
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "4ffb1e655cd241789e2244d36be66f2e",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [
+ "X",
+ "Y",
+ "Z"
+ ]
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
@@ -3546,40 +4010,6 @@
}
}
-{
- "m_SGVersion": 1,
- "m_Type": "UnityEditor.ShaderGraph.PositionNode",
- "m_ObjectId": "51de60cc4d164e8abec305ea587ab126",
- "m_Group": {
- "m_Id": ""
- },
- "m_Name": "Position",
- "m_DrawState": {
- "m_Expanded": true,
- "m_Position": {
- "serializedVersion": "2",
- "x": -1111.0,
- "y": -107.00000762939453,
- "width": 206.00001525878907,
- "height": 131.0
- }
- },
- "m_Slots": [
- {
- "m_Id": "dd9706f0719d4321bef6b327cc24eb17"
- }
- ],
- "synonyms": [],
- "m_Precision": 1,
- "m_PreviewExpanded": false,
- "m_PreviewMode": 2,
- "m_CustomColors": {
- "m_SerializableColors": []
- },
- "m_Space": 0,
- "m_PositionSource": 0
-}
-
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
@@ -3710,76 +4140,133 @@
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "584c6387d7ce4875acdebe490ad06dad",
- "m_Id": 0,
- "m_DisplayName": "Out",
- "m_SlotType": 1,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "56b7c8de0b7b4e46b97d3a7141e736f4",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
"m_Hidden": false,
- "m_ShaderOutputName": "Out",
+ "m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_DefaultValue": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
},
- "m_Labels": [
- "X",
- "Y",
- "Z"
- ]
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
}
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
- "m_ObjectId": "597786ac66034b26809b4642a16760ea",
- "m_Id": 3,
- "m_DisplayName": "Sampler",
- "m_SlotType": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "584c6387d7ce4875acdebe490ad06dad",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
"m_Hidden": false,
- "m_ShaderOutputName": "Sampler",
+ "m_ShaderOutputName": "Out",
"m_StageCapability": 3,
- "m_BareResource": false
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [
+ "X",
+ "Y",
+ "Z"
+ ]
}
{
- "m_SGVersion": 1,
- "m_Type": "UnityEditor.ShaderGraph.PositionNode",
- "m_ObjectId": "59abc1723bac4f6587bfde822a6cc955",
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "585901d73d654034bc1523fb712e4a44",
"m_Group": {
"m_Id": ""
},
- "m_Name": "Position",
+ "m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 1441.0001220703125,
- "y": -349.0,
- "width": 206.00001525878907,
- "height": 132.00001525878907
+ "x": -2322.0,
+ "y": -1507.0,
+ "width": 130.0,
+ "height": 118.0
}
},
"m_Slots": [
{
- "m_Id": "c117093e98d1432a90306ca98d4c7d68"
+ "m_Id": "18d972ecd4744beeb8ba268c3f75c141"
+ },
+ {
+ "m_Id": "42c4dca4e629460dbc890e644559a0bc"
+ },
+ {
+ "m_Id": "92790c493a4844a7b67b5bd447bcb330"
}
],
- "synonyms": [],
- "m_Precision": 1,
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
"m_PreviewExpanded": false,
- "m_PreviewMode": 2,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
- },
- "m_Space": 0,
- "m_PositionSource": 0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
+ "m_ObjectId": "597786ac66034b26809b4642a16760ea",
+ "m_Id": 3,
+ "m_DisplayName": "Sampler",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Sampler",
+ "m_StageCapability": 3,
+ "m_BareResource": false
}
{
@@ -3850,6 +4337,42 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "5dbf3ff35d5d4bf5be6e17ea85aec8a1",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1041.0,
+ "y": -155.0,
+ "width": 135.0,
+ "height": 34.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "5f3d9bb32a10452a8ef921aa93d4f2e4"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -3876,6 +4399,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3956,6 +4480,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3988,6 +4513,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3997,6 +4523,21 @@
}
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "5f3d9bb32a10452a8ef921aa93d4f2e4",
+ "m_Id": 0,
+ "m_DisplayName": "Mesh Scale",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -4084,6 +4625,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4128,6 +4670,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4137,6 +4680,54 @@
}
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "6440e58ff5444bec9ad06be68cac6367",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -4154,6 +4745,34 @@
]
}
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "684964ae6dc74d5f83ee7912478c9f82",
+ "m_Guid": {
+ "m_GuidSerialized": "4087c4df-8e4e-43e0-82a3-c6f6c8284dff"
+ },
+ "m_Name": "Mesh Scale",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Mesh Scale",
+ "m_DefaultReferenceName": "_Mesh_Scale",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 1.0,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
@@ -4167,6 +4786,54 @@
"m_BareResource": false
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "6aa314d51e2f43d38507d148e4aff603",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
@@ -4182,6 +4849,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4235,12 +4903,40 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "6cdd9d2c72bd422e95f196685098852f",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [
+ "X",
+ "Y",
+ "Z"
+ ]
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
@@ -4287,6 +4983,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4334,10 +5031,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 1393.0,
- "y": 12.999996185302735,
- "width": 189.0,
- "height": 34.0
+ "x": 1399.0,
+ "y": 195.00001525878907,
+ "width": 194.0,
+ "height": 33.999969482421878
}
},
"m_Slots": [
@@ -4348,6 +5045,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4372,6 +5070,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4399,6 +5098,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4472,6 +5172,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4493,6 +5194,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4522,6 +5224,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4581,6 +5284,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4605,6 +5309,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4630,6 +5335,42 @@
"m_BareResource": false
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "7a0d802562824c2bbd243a75a4affeb2",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 2013.9998779296875,
+ "y": -724.9999389648438,
+ "width": 135.0001220703125,
+ "height": 33.99993896484375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "d4c66259595c4c31910639b7ee5d56bd"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
@@ -4785,6 +5526,18 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "7fdfd7fe176e46ac8406c58968b05189",
+ "m_Name": "Geometry",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
+ }
+ ]
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
@@ -4829,6 +5582,49 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "83c8468df57240089f6adeb924ae1efb",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -892.0,
+ "y": -139.0,
+ "width": 130.0,
+ "height": 118.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "b41708ef2664458598036b9878878aa7"
+ },
+ {
+ "m_Id": "56b7c8de0b7b4e46b97d3a7141e736f4"
+ },
+ {
+ "m_Id": "6aa314d51e2f43d38507d148e4aff603"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -4855,6 +5651,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4889,40 +5686,6 @@
"m_Labels": []
}
-{
- "m_SGVersion": 1,
- "m_Type": "UnityEditor.ShaderGraph.PositionNode",
- "m_ObjectId": "85236978d3e34c7ba998ae09de1c1ca1",
- "m_Group": {
- "m_Id": ""
- },
- "m_Name": "Position",
- "m_DrawState": {
- "m_Expanded": true,
- "m_Position": {
- "serializedVersion": "2",
- "x": 2111.0,
- "y": -705.0,
- "width": 206.0,
- "height": 132.0
- }
- },
- "m_Slots": [
- {
- "m_Id": "ac3709d88f2447fda69c9d2f374695b2"
- }
- ],
- "synonyms": [],
- "m_Precision": 1,
- "m_PreviewExpanded": false,
- "m_PreviewMode": 2,
- "m_CustomColors": {
- "m_SerializableColors": []
- },
- "m_Space": 0,
- "m_PositionSource": 0
-}
-
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -4949,6 +5712,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5004,9 +5768,9 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 2156.000244140625,
- "y": -567.0,
- "width": 126.00000762939453,
+ "x": 2167.0,
+ "y": -568.0,
+ "width": 126.0,
"height": 77.0
}
},
@@ -5023,6 +5787,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5071,12 +5836,61 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "92790c493a4844a7b67b5bd447bcb330",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -5134,7 +5948,50 @@
"Y",
"Z"
],
- "m_Space": 0
+ "m_Space": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "94b23f84805941888b6c9be7a523647d",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 1565.0001220703125,
+ "y": -70.0,
+ "width": 130.0,
+ "height": 118.00001525878906
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "97152aee741c4876bc8806266204f43c"
+ },
+ {
+ "m_Id": "d84ebc888f434f54bba39d786425b547"
+ },
+ {
+ "m_Id": "149f788bb2ea44819a55199598d27c73"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
}
{
@@ -5202,6 +6059,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5251,6 +6109,54 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "97152aee741c4876bc8806266204f43c",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.BooleanShaderProperty",
@@ -5266,6 +6172,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -5273,6 +6180,41 @@
"m_Value": false
}
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.PositionNode",
+ "m_ObjectId": "97ef57a511a6409e8cdfd1f448e2e660",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Position",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 1345.0,
+ "y": -46.00001907348633,
+ "width": 206.0,
+ "height": 131.00003051757813
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "6cdd9d2c72bd422e95f196685098852f"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 1,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 2,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Space": 0,
+ "m_PositionSource": 0
+}
+
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
@@ -5288,6 +6230,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -5328,6 +6271,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5384,6 +6328,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -5411,6 +6356,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -5485,6 +6431,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5555,6 +6502,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5638,6 +6586,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5785,6 +6734,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -5834,29 +6784,45 @@
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "ac3709d88f2447fda69c9d2f374695b2",
- "m_Id": 0,
- "m_DisplayName": "Out",
- "m_SlotType": 1,
- "m_Hidden": false,
- "m_ShaderOutputName": "Out",
- "m_StageCapability": 3,
- "m_Value": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "ac024894f1d5456a9414b3a1cd7664ae",
+ "m_Group": {
+ "m_Id": ""
},
- "m_DefaultValue": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 2163.0,
+ "y": -709.0,
+ "width": 130.0,
+ "height": 118.0
+ }
},
- "m_Labels": [
- "X",
- "Y",
- "Z"
- ]
+ "m_Slots": [
+ {
+ "m_Id": "6440e58ff5444bec9ad06be68cac6367"
+ },
+ {
+ "m_Id": "cc489268d67f4e4eae4f55166b09b47c"
+ },
+ {
+ "m_Id": "be62d6f81f24481685d49749d2c200b3"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
}
{
@@ -5885,6 +6851,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5943,6 +6910,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6048,6 +7016,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6081,6 +7050,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6134,6 +7104,54 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "b41708ef2664458598036b9878878aa7",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
@@ -6178,6 +7196,42 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "b5d8c47b78a147dabe97777e368cc693",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 1416.0,
+ "y": -86.0000228881836,
+ "width": 135.0,
+ "height": 34.00003433227539
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "fbd90f0016d84bfbaa75c39d3a02b20c"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
+ }
+}
+
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
@@ -6193,6 +7247,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -6231,6 +7286,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6252,10 +7308,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 2145.0,
- "y": -486.9999694824219,
- "width": 137.00001525878907,
- "height": 34.000003814697269
+ "x": 2154.0,
+ "y": -487.0,
+ "width": 139.0,
+ "height": 34.000030517578128
}
},
"m_Slots": [
@@ -6266,6 +7322,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6421,6 +7478,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6428,40 +7486,6 @@
"m_SerializedDescriptor": "VertexDescription.Position"
}
-{
- "m_SGVersion": 1,
- "m_Type": "UnityEditor.ShaderGraph.PositionNode",
- "m_ObjectId": "bbe7b267a4bf415eb27c61c220570037",
- "m_Group": {
- "m_Id": ""
- },
- "m_Name": "Position",
- "m_DrawState": {
- "m_Expanded": true,
- "m_Position": {
- "serializedVersion": "2",
- "x": -941.9999389648438,
- "y": 418.0,
- "width": 206.0,
- "height": 131.99998474121095
- }
- },
- "m_Slots": [
- {
- "m_Id": "bfbf0634492d4b46a234e1873b9988d0"
- }
- ],
- "synonyms": [],
- "m_Precision": 1,
- "m_PreviewExpanded": false,
- "m_PreviewMode": 2,
- "m_CustomColors": {
- "m_SerializableColors": []
- },
- "m_Space": 0,
- "m_PositionSource": 0
-}
-
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -6522,6 +7546,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6601,12 +7626,61 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
- "m_Property": {
- "m_Id": "fd16faa57aeb4c229829b62bb7f7bfd5"
+ "m_Property": {
+ "m_Id": "fd16faa57aeb4c229829b62bb7f7bfd5"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "be62d6f81f24481685d49749d2c200b3",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
}
}
@@ -6625,6 +7699,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -6634,33 +7709,6 @@
}
}
-{
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "bfbf0634492d4b46a234e1873b9988d0",
- "m_Id": 0,
- "m_DisplayName": "Out",
- "m_SlotType": 1,
- "m_Hidden": false,
- "m_ShaderOutputName": "Out",
- "m_StageCapability": 3,
- "m_Value": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_DefaultValue": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_Labels": [
- "X",
- "Y",
- "Z"
- ]
-}
-
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -6752,6 +7800,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6774,33 +7823,6 @@
"m_BareResource": false
}
-{
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "c117093e98d1432a90306ca98d4c7d68",
- "m_Id": 0,
- "m_DisplayName": "Out",
- "m_SlotType": 1,
- "m_Hidden": false,
- "m_ShaderOutputName": "Out",
- "m_StageCapability": 3,
- "m_Value": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_DefaultValue": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_Labels": [
- "X",
- "Y",
- "Z"
- ]
-}
-
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
@@ -6847,6 +7869,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6889,6 +7912,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -7072,6 +8096,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7103,6 +8128,54 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "cc489268d67f4e4eae4f55166b09b47c",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -7146,6 +8219,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7249,6 +8323,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7294,6 +8369,36 @@
"m_DefaultType": 0
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "d4c66259595c4c31910639b7ee5d56bd",
+ "m_Id": 0,
+ "m_DisplayName": "Mesh Scale",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "d5751c9bd01647d1bcd9b00ae429253e",
+ "m_Id": 0,
+ "m_DisplayName": "Mesh Scale",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
@@ -7392,6 +8497,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7399,6 +8505,54 @@
"m_SerializedDescriptor": "SurfaceDescription.BentNormal"
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "d84ebc888f434f54bba39d786425b547",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -7425,6 +8579,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7483,6 +8638,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7532,6 +8688,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7570,6 +8727,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7601,33 +8759,6 @@
]
}
-{
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "dd9706f0719d4321bef6b327cc24eb17",
- "m_Id": 0,
- "m_DisplayName": "Out",
- "m_SlotType": 1,
- "m_Hidden": false,
- "m_ShaderOutputName": "Out",
- "m_StageCapability": 3,
- "m_Value": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_DefaultValue": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_Labels": [
- "X",
- "Y",
- "Z"
- ]
-}
-
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
@@ -7654,6 +8785,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7843,6 +8975,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -7908,6 +9041,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7978,10 +9112,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 1403.0,
- "y": 46.999996185302737,
- "width": 172.99998474121095,
- "height": 34.0
+ "x": 1409.0,
+ "y": 228.99998474121095,
+ "width": 177.0,
+ "height": 33.99998474121094
}
},
"m_Slots": [
@@ -7992,6 +9126,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8048,6 +9183,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8117,6 +9253,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8139,6 +9276,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -8203,6 +9341,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8247,6 +9386,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8279,6 +9419,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8340,6 +9481,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8444,6 +9586,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8513,6 +9656,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8530,8 +9674,8 @@
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
- "x": 1335.0,
- "y": -72.0,
+ "x": 1341.0,
+ "y": 110.0,
"width": 268.0,
"height": 191.0
},
@@ -8566,6 +9710,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8632,6 +9777,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8690,6 +9836,21 @@
"m_OverrideBakedGI": false
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "fbd90f0016d84bfbaa75c39d3a02b20c",
+ "m_Id": 0,
+ "m_DisplayName": "Mesh Scale",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
@@ -8702,10 +9863,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": -2398.0,
- "y": -1485.0,
+ "x": -2542.0,
+ "y": -1483.0,
"width": 206.0,
- "height": 132.0
+ "height": 131.0
}
},
"m_Slots": [
@@ -8716,6 +9877,7 @@
"synonyms": [],
"m_Precision": 1,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8766,6 +9928,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
diff --git a/com.unity.render-pipelines.high-definition/Samples~/LensFlareSamples/ExampleDirectionalLight.unity b/com.unity.render-pipelines.high-definition/Samples~/LensFlareSamples/ExampleDirectionalLight.unity
index 1b10e1cc2a9..128d8aee076 100644
--- a/com.unity.render-pipelines.high-definition/Samples~/LensFlareSamples/ExampleDirectionalLight.unity
+++ b/com.unity.render-pipelines.high-definition/Samples~/LensFlareSamples/ExampleDirectionalLight.unity
@@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
- m_IndirectSpecularColor: {r: 688.0918, g: 738.20264, b: 723.74976, a: 1}
+ m_IndirectSpecularColor: {r: 687.1787, g: 737.74316, b: 735.8723, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
@@ -195,6 +195,7 @@ MonoBehaviour:
m_Profile: {fileID: 11400000, guid: 621d000f3cc3e774ea8675637c871a5b, type: 2}
m_StaticLightingSkyUniqueID: 4
m_StaticLightingCloudsUniqueID: 0
+ m_StaticLightingVolumetricClouds: 0
--- !u!4 &268609154
Transform:
m_ObjectHideFlags: 1
@@ -630,7 +631,7 @@ MonoBehaviour:
m_PostInfinity: 2
m_RotationOrder: 4
useOcclusion: 1
- occlusionRadius: 90
+ occlusionRadius: 0.73
sampleCount: 32
occlusionOffset: 0
scale: 1
@@ -864,7 +865,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 172515602e62fb746b5d573b38a5fe58, type: 3}
m_Name:
m_EditorClassIdentifier:
- isGlobal: 1
+ m_IsGlobal: 1
priority: 0
blendDistance: 0
weight: 1
@@ -932,10 +933,12 @@ MonoBehaviour:
taaAntiFlicker: 0.5
taaMotionVectorRejection: 0
taaAntiHistoryRinging: 0
+ taaBaseBlendFactor: 0.875
physicalParameters:
m_Iso: 200
m_ShutterSpeed: 0.005
m_Aperture: 16
+ m_FocusDistance: 10
m_BladeCount: 5
m_Curvature: {x: 2, y: 11}
m_BarrelClipping: 0.25
diff --git a/com.unity.render-pipelines.high-definition/Samples~/MaterialSamples/Shadergraphs/SG_Eye.shadergraph b/com.unity.render-pipelines.high-definition/Samples~/MaterialSamples/Shadergraphs/SG_Eye.shadergraph
index 6f7c67c4b27..e2f6f02f3e8 100644
--- a/com.unity.render-pipelines.high-definition/Samples~/MaterialSamples/Shadergraphs/SG_Eye.shadergraph
+++ b/com.unity.render-pipelines.high-definition/Samples~/MaterialSamples/Shadergraphs/SG_Eye.shadergraph
@@ -65,6 +65,9 @@
},
{
"m_Id": "261f48f1fbc94ccbafc421414859c159"
+ },
+ {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
}
],
"m_Keywords": [],
@@ -87,12 +90,12 @@
},
{
"m_Id": "407705ab55b84a768ef8a45175e577ff"
+ },
+ {
+ "m_Id": "7fdfd7fe176e46ac8406c58968b05189"
}
],
"m_Nodes": [
- {
- "m_Id": "51de60cc4d164e8abec305ea587ab126"
- },
{
"m_Id": "c0779491e5784d678b3bdba10586334a"
},
@@ -150,12 +153,6 @@
{
"m_Id": "b60b14d5e0fd4d2393f07b6e45f5daf9"
},
- {
- "m_Id": "bbe7b267a4bf415eb27c61c220570037"
- },
- {
- "m_Id": "85236978d3e34c7ba998ae09de1c1ca1"
- },
{
"m_Id": "d8d837e62b0c4ef68e88967ea71267f3"
},
@@ -216,9 +213,6 @@
{
"m_Id": "5ec1016d88c748c2886a4bbaae434650"
},
- {
- "m_Id": "59abc1723bac4f6587bfde822a6cc955"
- },
{
"m_Id": "618bfa0d2bae47248adf541e2cb607c9"
},
@@ -308,6 +302,39 @@
},
{
"m_Id": "0358f633aae44214ad01442ac8626b00"
+ },
+ {
+ "m_Id": "00184655423241c59bd694de369eb90d"
+ },
+ {
+ "m_Id": "585901d73d654034bc1523fb712e4a44"
+ },
+ {
+ "m_Id": "5dbf3ff35d5d4bf5be6e17ea85aec8a1"
+ },
+ {
+ "m_Id": "1ef5e3350c6d478fa02522623dc5980d"
+ },
+ {
+ "m_Id": "83c8468df57240089f6adeb924ae1efb"
+ },
+ {
+ "m_Id": "b5d8c47b78a147dabe97777e368cc693"
+ },
+ {
+ "m_Id": "97ef57a511a6409e8cdfd1f448e2e660"
+ },
+ {
+ "m_Id": "94b23f84805941888b6c9be7a523647d"
+ },
+ {
+ "m_Id": "7a0d802562824c2bbd243a75a4affeb2"
+ },
+ {
+ "m_Id": "17902cca546343a8a512e5050b020e77"
+ },
+ {
+ "m_Id": "ac024894f1d5456a9414b3a1cd7664ae"
}
],
"m_GroupDatas": [],
@@ -359,6 +386,20 @@
}
],
"m_Edges": [
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "00184655423241c59bd694de369eb90d"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "585901d73d654034bc1523fb712e4a44"
+ },
+ "m_SlotId": 0
+ }
+ },
{
"m_OutputSlot": {
"m_Node": {
@@ -443,6 +484,34 @@
"m_SlotId": 6
}
},
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "17902cca546343a8a512e5050b020e77"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "ac024894f1d5456a9414b3a1cd7664ae"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "1ef5e3350c6d478fa02522623dc5980d"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "83c8468df57240089f6adeb924ae1efb"
+ },
+ "m_SlotId": 1
+ }
+ },
{
"m_OutputSlot": {
"m_Node": {
@@ -572,13 +641,13 @@
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "51de60cc4d164e8abec305ea587ab126"
+ "m_Id": "585901d73d654034bc1523fb712e4a44"
},
- "m_SlotId": 0
+ "m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "73463e1ecceb4da79a7c3c989e1eb8a5"
+ "m_Id": "3471ae3dc7164995a5ec9a7d752498e9"
},
"m_SlotId": 0
}
@@ -586,15 +655,15 @@
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "59abc1723bac4f6587bfde822a6cc955"
+ "m_Id": "5dbf3ff35d5d4bf5be6e17ea85aec8a1"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "5f12ae82497545f2a48dfcd3901fc531"
+ "m_Id": "83c8468df57240089f6adeb924ae1efb"
},
- "m_SlotId": 7
+ "m_SlotId": 0
}
},
{
@@ -796,31 +865,59 @@
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "840c65cb785048018c1d6d934065b84f"
+ "m_Id": "7a0d802562824c2bbd243a75a4affeb2"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "73463e1ecceb4da79a7c3c989e1eb8a5"
+ "m_Id": "ac024894f1d5456a9414b3a1cd7664ae"
},
- "m_SlotId": 4
+ "m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "85236978d3e34c7ba998ae09de1c1ca1"
+ "m_Id": "83c8468df57240089f6adeb924ae1efb"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "485ad063759c4d53b563365cc184e7c5"
},
"m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "83c8468df57240089f6adeb924ae1efb"
+ },
+ "m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "42e9ad38b6f443eebac8a029c3b851ed"
+ "m_Id": "73463e1ecceb4da79a7c3c989e1eb8a5"
},
"m_SlotId": 0
}
},
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "840c65cb785048018c1d6d934065b84f"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "73463e1ecceb4da79a7c3c989e1eb8a5"
+ },
+ "m_SlotId": 4
+ }
+ },
{
"m_OutputSlot": {
"m_Node": {
@@ -863,6 +960,20 @@
"m_SlotId": 0
}
},
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "94b23f84805941888b6c9be7a523647d"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "5f12ae82497545f2a48dfcd3901fc531"
+ },
+ "m_SlotId": 7
+ }
+ },
{
"m_OutputSlot": {
"m_Node": {
@@ -877,6 +988,20 @@
"m_SlotId": 1
}
},
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "97ef57a511a6409e8cdfd1f448e2e660"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "94b23f84805941888b6c9be7a523647d"
+ },
+ "m_SlotId": 1
+ }
+ },
{
"m_OutputSlot": {
"m_Node": {
@@ -961,6 +1086,20 @@
"m_SlotId": 1
}
},
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "ac024894f1d5456a9414b3a1cd7664ae"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "42e9ad38b6f443eebac8a029c3b851ed"
+ },
+ "m_SlotId": 0
+ }
+ },
{
"m_OutputSlot": {
"m_Node": {
@@ -992,27 +1131,27 @@
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "b60b14d5e0fd4d2393f07b6e45f5daf9"
+ "m_Id": "b5d8c47b78a147dabe97777e368cc693"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "6c010288ae084f76b3ce42686cf7edfd"
+ "m_Id": "94b23f84805941888b6c9be7a523647d"
},
- "m_SlotId": 3
+ "m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "b7d832af95c7441686257bffb710747a"
+ "m_Id": "b60b14d5e0fd4d2393f07b6e45f5daf9"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "42e9ad38b6f443eebac8a029c3b851ed"
+ "m_Id": "6c010288ae084f76b3ce42686cf7edfd"
},
"m_SlotId": 3
}
@@ -1020,15 +1159,15 @@
{
"m_OutputSlot": {
"m_Node": {
- "m_Id": "bbe7b267a4bf415eb27c61c220570037"
+ "m_Id": "b7d832af95c7441686257bffb710747a"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "485ad063759c4d53b563365cc184e7c5"
+ "m_Id": "42e9ad38b6f443eebac8a029c3b851ed"
},
- "m_SlotId": 0
+ "m_SlotId": 3
}
},
{
@@ -1292,9 +1431,9 @@
},
"m_InputSlot": {
"m_Node": {
- "m_Id": "3471ae3dc7164995a5ec9a7d752498e9"
+ "m_Id": "585901d73d654034bc1523fb712e4a44"
},
- "m_SlotId": 0
+ "m_SlotId": 1
}
}
],
@@ -1379,6 +1518,42 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "00184655423241c59bd694de369eb90d",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -2471.0,
+ "y": -1523.0,
+ "width": 135.0,
+ "height": 34.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "d5751c9bd01647d1bcd9b00ae429253e"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -1439,6 +1614,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -1533,6 +1709,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
@@ -1775,6 +1952,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -1810,6 +1988,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -1951,6 +2130,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -1960,6 +2140,54 @@
}
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "149f788bb2ea44819a55199598d27c73",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
@@ -2035,6 +2263,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2044,28 +2273,90 @@
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
- "m_ObjectId": "165201c844e64e6aba7e1b51eda9d013",
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "161492aadcc74afa831b1d5cffb72111",
"m_Id": 0,
- "m_DisplayName": "Iris UV",
- "m_SlotType": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
"m_Hidden": false,
- "m_ShaderOutputName": "IrisUV",
+ "m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
- "y": 0.0
+ "y": 0.0,
+ "z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
- "y": 0.0
+ "y": 0.0,
+ "z": 0.0
},
"m_Labels": [
"X",
- "Y"
+ "Y",
+ "Z"
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
+ "m_ObjectId": "165201c844e64e6aba7e1b51eda9d013",
+ "m_Id": 0,
+ "m_DisplayName": "Iris UV",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "IrisUV",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Labels": [
+ "X",
+ "Y"
]
}
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.PositionNode",
+ "m_ObjectId": "17902cca546343a8a512e5050b020e77",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Position",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 1942.9998779296875,
+ "y": -685.0,
+ "width": 206.0001220703125,
+ "height": 131.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "161492aadcc74afa831b1d5cffb72111"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 1,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 2,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Space": 0,
+ "m_PositionSource": 0
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -2127,6 +2418,54 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "18d972ecd4744beeb8ba268c3f75c141",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
@@ -2238,6 +2577,41 @@
]
}
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.PositionNode",
+ "m_ObjectId": "1ef5e3350c6d478fa02522623dc5980d",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Position",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1112.0,
+ "y": -115.0,
+ "width": 206.0,
+ "height": 131.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "4ffb1e655cd241789e2244d36be66f2e"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 1,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 2,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Space": 0,
+ "m_PositionSource": 0
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
@@ -2264,6 +2638,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2372,6 +2747,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2424,6 +2800,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2446,6 +2823,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -2484,6 +2862,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2546,6 +2925,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2567,6 +2947,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -2686,6 +3067,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2916,6 +3298,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -2937,6 +3320,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -3024,6 +3408,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3228,6 +3613,54 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "42c4dca4e629460dbc890e644559a0bc",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.EyeSurfaceTypeDebug",
@@ -3269,6 +3702,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3351,6 +3785,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -3441,6 +3876,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3490,10 +3926,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 2134.0,
- "y": -453.0,
- "width": 168.00001525878907,
- "height": 34.000003814697269
+ "x": 2120.0,
+ "y": -444.9999694824219,
+ "width": 173.0,
+ "height": 34.0
}
},
"m_Slots": [
@@ -3504,6 +3940,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3526,6 +3963,33 @@
"m_BareResource": false
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "4ffb1e655cd241789e2244d36be66f2e",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [
+ "X",
+ "Y",
+ "Z"
+ ]
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
@@ -3546,40 +4010,6 @@
}
}
-{
- "m_SGVersion": 1,
- "m_Type": "UnityEditor.ShaderGraph.PositionNode",
- "m_ObjectId": "51de60cc4d164e8abec305ea587ab126",
- "m_Group": {
- "m_Id": ""
- },
- "m_Name": "Position",
- "m_DrawState": {
- "m_Expanded": true,
- "m_Position": {
- "serializedVersion": "2",
- "x": -1111.0,
- "y": -107.00000762939453,
- "width": 206.00001525878907,
- "height": 131.0
- }
- },
- "m_Slots": [
- {
- "m_Id": "dd9706f0719d4321bef6b327cc24eb17"
- }
- ],
- "synonyms": [],
- "m_Precision": 1,
- "m_PreviewExpanded": false,
- "m_PreviewMode": 2,
- "m_CustomColors": {
- "m_SerializableColors": []
- },
- "m_Space": 0,
- "m_PositionSource": 0
-}
-
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
@@ -3710,76 +4140,133 @@
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "584c6387d7ce4875acdebe490ad06dad",
- "m_Id": 0,
- "m_DisplayName": "Out",
- "m_SlotType": 1,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "56b7c8de0b7b4e46b97d3a7141e736f4",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
"m_Hidden": false,
- "m_ShaderOutputName": "Out",
+ "m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_DefaultValue": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
},
- "m_Labels": [
- "X",
- "Y",
- "Z"
- ]
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
}
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
- "m_ObjectId": "597786ac66034b26809b4642a16760ea",
- "m_Id": 3,
- "m_DisplayName": "Sampler",
- "m_SlotType": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "584c6387d7ce4875acdebe490ad06dad",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
"m_Hidden": false,
- "m_ShaderOutputName": "Sampler",
+ "m_ShaderOutputName": "Out",
"m_StageCapability": 3,
- "m_BareResource": false
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [
+ "X",
+ "Y",
+ "Z"
+ ]
}
{
- "m_SGVersion": 1,
- "m_Type": "UnityEditor.ShaderGraph.PositionNode",
- "m_ObjectId": "59abc1723bac4f6587bfde822a6cc955",
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "585901d73d654034bc1523fb712e4a44",
"m_Group": {
"m_Id": ""
},
- "m_Name": "Position",
+ "m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 1441.0001220703125,
- "y": -349.0,
- "width": 206.00001525878907,
- "height": 132.00001525878907
+ "x": -2322.0,
+ "y": -1507.0,
+ "width": 130.0,
+ "height": 118.0
}
},
"m_Slots": [
{
- "m_Id": "c117093e98d1432a90306ca98d4c7d68"
+ "m_Id": "18d972ecd4744beeb8ba268c3f75c141"
+ },
+ {
+ "m_Id": "42c4dca4e629460dbc890e644559a0bc"
+ },
+ {
+ "m_Id": "92790c493a4844a7b67b5bd447bcb330"
}
],
- "synonyms": [],
- "m_Precision": 1,
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
"m_PreviewExpanded": false,
- "m_PreviewMode": 2,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
- },
- "m_Space": 0,
- "m_PositionSource": 0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
+ "m_ObjectId": "597786ac66034b26809b4642a16760ea",
+ "m_Id": 3,
+ "m_DisplayName": "Sampler",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Sampler",
+ "m_StageCapability": 3,
+ "m_BareResource": false
}
{
@@ -3850,6 +4337,42 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "5dbf3ff35d5d4bf5be6e17ea85aec8a1",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1041.0,
+ "y": -155.0,
+ "width": 135.0,
+ "height": 34.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "5f3d9bb32a10452a8ef921aa93d4f2e4"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -3876,6 +4399,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3956,6 +4480,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3988,6 +4513,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -3997,6 +4523,21 @@
}
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "5f3d9bb32a10452a8ef921aa93d4f2e4",
+ "m_Id": 0,
+ "m_DisplayName": "Mesh Scale",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -4084,6 +4625,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4128,6 +4670,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4137,6 +4680,54 @@
}
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "6440e58ff5444bec9ad06be68cac6367",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -4154,6 +4745,34 @@
]
}
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "684964ae6dc74d5f83ee7912478c9f82",
+ "m_Guid": {
+ "m_GuidSerialized": "4087c4df-8e4e-43e0-82a3-c6f6c8284dff"
+ },
+ "m_Name": "Mesh Scale",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Mesh Scale",
+ "m_DefaultReferenceName": "_Mesh_Scale",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 1.0,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
@@ -4167,6 +4786,54 @@
"m_BareResource": false
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "6aa314d51e2f43d38507d148e4aff603",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
@@ -4182,6 +4849,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4235,12 +4903,40 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "6cdd9d2c72bd422e95f196685098852f",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [
+ "X",
+ "Y",
+ "Z"
+ ]
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
@@ -4287,6 +4983,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4334,10 +5031,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 1393.0,
- "y": 12.999996185302735,
- "width": 189.0,
- "height": 34.0
+ "x": 1399.0,
+ "y": 195.00001525878907,
+ "width": 194.0,
+ "height": 33.999969482421878
}
},
"m_Slots": [
@@ -4348,6 +5045,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4372,6 +5070,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4399,6 +5098,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4472,6 +5172,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4493,6 +5194,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4522,6 +5224,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4581,6 +5284,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4605,6 +5309,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -4630,6 +5335,42 @@
"m_BareResource": false
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "7a0d802562824c2bbd243a75a4affeb2",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 2013.9998779296875,
+ "y": -724.9999389648438,
+ "width": 135.0001220703125,
+ "height": 33.99993896484375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "d4c66259595c4c31910639b7ee5d56bd"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
@@ -4785,6 +5526,18 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "7fdfd7fe176e46ac8406c58968b05189",
+ "m_Name": "Geometry",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
+ }
+ ]
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
@@ -4829,6 +5582,49 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "83c8468df57240089f6adeb924ae1efb",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -892.0,
+ "y": -139.0,
+ "width": 130.0,
+ "height": 118.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "b41708ef2664458598036b9878878aa7"
+ },
+ {
+ "m_Id": "56b7c8de0b7b4e46b97d3a7141e736f4"
+ },
+ {
+ "m_Id": "6aa314d51e2f43d38507d148e4aff603"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -4855,6 +5651,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -4889,40 +5686,6 @@
"m_Labels": []
}
-{
- "m_SGVersion": 1,
- "m_Type": "UnityEditor.ShaderGraph.PositionNode",
- "m_ObjectId": "85236978d3e34c7ba998ae09de1c1ca1",
- "m_Group": {
- "m_Id": ""
- },
- "m_Name": "Position",
- "m_DrawState": {
- "m_Expanded": true,
- "m_Position": {
- "serializedVersion": "2",
- "x": 2111.0,
- "y": -705.0,
- "width": 206.0,
- "height": 132.0
- }
- },
- "m_Slots": [
- {
- "m_Id": "ac3709d88f2447fda69c9d2f374695b2"
- }
- ],
- "synonyms": [],
- "m_Precision": 1,
- "m_PreviewExpanded": false,
- "m_PreviewMode": 2,
- "m_CustomColors": {
- "m_SerializableColors": []
- },
- "m_Space": 0,
- "m_PositionSource": 0
-}
-
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -4949,6 +5712,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5004,9 +5768,9 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 2156.000244140625,
- "y": -567.0,
- "width": 126.00000762939453,
+ "x": 2167.0,
+ "y": -568.0,
+ "width": 126.0,
"height": 77.0
}
},
@@ -5023,6 +5787,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5071,12 +5836,61 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "92790c493a4844a7b67b5bd447bcb330",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -5134,7 +5948,50 @@
"Y",
"Z"
],
- "m_Space": 0
+ "m_Space": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "94b23f84805941888b6c9be7a523647d",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 1565.0001220703125,
+ "y": -70.0,
+ "width": 130.0,
+ "height": 118.00001525878906
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "97152aee741c4876bc8806266204f43c"
+ },
+ {
+ "m_Id": "d84ebc888f434f54bba39d786425b547"
+ },
+ {
+ "m_Id": "149f788bb2ea44819a55199598d27c73"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
}
{
@@ -5202,6 +6059,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5251,6 +6109,54 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "97152aee741c4876bc8806266204f43c",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.BooleanShaderProperty",
@@ -5266,6 +6172,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -5273,6 +6180,41 @@
"m_Value": false
}
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.PositionNode",
+ "m_ObjectId": "97ef57a511a6409e8cdfd1f448e2e660",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Position",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 1345.0,
+ "y": -46.00001907348633,
+ "width": 206.0,
+ "height": 131.00003051757813
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "6cdd9d2c72bd422e95f196685098852f"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 1,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 2,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Space": 0,
+ "m_PositionSource": 0
+}
+
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
@@ -5288,6 +6230,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -5328,6 +6271,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5384,6 +6328,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -5411,6 +6356,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -5485,6 +6431,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5555,6 +6502,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5638,6 +6586,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5785,6 +6734,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -5834,29 +6784,45 @@
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "ac3709d88f2447fda69c9d2f374695b2",
- "m_Id": 0,
- "m_DisplayName": "Out",
- "m_SlotType": 1,
- "m_Hidden": false,
- "m_ShaderOutputName": "Out",
- "m_StageCapability": 3,
- "m_Value": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "ac024894f1d5456a9414b3a1cd7664ae",
+ "m_Group": {
+ "m_Id": ""
},
- "m_DefaultValue": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 2163.0,
+ "y": -709.0,
+ "width": 130.0,
+ "height": 118.0
+ }
},
- "m_Labels": [
- "X",
- "Y",
- "Z"
- ]
+ "m_Slots": [
+ {
+ "m_Id": "6440e58ff5444bec9ad06be68cac6367"
+ },
+ {
+ "m_Id": "cc489268d67f4e4eae4f55166b09b47c"
+ },
+ {
+ "m_Id": "be62d6f81f24481685d49749d2c200b3"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
}
{
@@ -5885,6 +6851,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -5943,6 +6910,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6048,6 +7016,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6081,6 +7050,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6134,6 +7104,54 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "b41708ef2664458598036b9878878aa7",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
@@ -6178,6 +7196,42 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "b5d8c47b78a147dabe97777e368cc693",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 1416.0,
+ "y": -86.0000228881836,
+ "width": 135.0,
+ "height": 34.00003433227539
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "fbd90f0016d84bfbaa75c39d3a02b20c"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "684964ae6dc74d5f83ee7912478c9f82"
+ }
+}
+
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
@@ -6193,6 +7247,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -6231,6 +7286,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6252,10 +7308,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 2145.0,
- "y": -486.9999694824219,
- "width": 137.00001525878907,
- "height": 34.000003814697269
+ "x": 2154.0,
+ "y": -487.0,
+ "width": 139.0,
+ "height": 34.000030517578128
}
},
"m_Slots": [
@@ -6266,6 +7322,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6421,6 +7478,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6428,40 +7486,6 @@
"m_SerializedDescriptor": "VertexDescription.Position"
}
-{
- "m_SGVersion": 1,
- "m_Type": "UnityEditor.ShaderGraph.PositionNode",
- "m_ObjectId": "bbe7b267a4bf415eb27c61c220570037",
- "m_Group": {
- "m_Id": ""
- },
- "m_Name": "Position",
- "m_DrawState": {
- "m_Expanded": true,
- "m_Position": {
- "serializedVersion": "2",
- "x": -941.9999389648438,
- "y": 418.0,
- "width": 206.0,
- "height": 131.99998474121095
- }
- },
- "m_Slots": [
- {
- "m_Id": "bfbf0634492d4b46a234e1873b9988d0"
- }
- ],
- "synonyms": [],
- "m_Precision": 1,
- "m_PreviewExpanded": false,
- "m_PreviewMode": 2,
- "m_CustomColors": {
- "m_SerializableColors": []
- },
- "m_Space": 0,
- "m_PositionSource": 0
-}
-
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -6522,6 +7546,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6601,12 +7626,61 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
- "m_Property": {
- "m_Id": "fd16faa57aeb4c229829b62bb7f7bfd5"
+ "m_Property": {
+ "m_Id": "fd16faa57aeb4c229829b62bb7f7bfd5"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "be62d6f81f24481685d49749d2c200b3",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
}
}
@@ -6625,6 +7699,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -6634,33 +7709,6 @@
}
}
-{
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "bfbf0634492d4b46a234e1873b9988d0",
- "m_Id": 0,
- "m_DisplayName": "Out",
- "m_SlotType": 1,
- "m_Hidden": false,
- "m_ShaderOutputName": "Out",
- "m_StageCapability": 3,
- "m_Value": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_DefaultValue": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_Labels": [
- "X",
- "Y",
- "Z"
- ]
-}
-
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -6752,6 +7800,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6774,33 +7823,6 @@
"m_BareResource": false
}
-{
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "c117093e98d1432a90306ca98d4c7d68",
- "m_Id": 0,
- "m_DisplayName": "Out",
- "m_SlotType": 1,
- "m_Hidden": false,
- "m_ShaderOutputName": "Out",
- "m_StageCapability": 3,
- "m_Value": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_DefaultValue": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_Labels": [
- "X",
- "Y",
- "Z"
- ]
-}
-
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
@@ -6847,6 +7869,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -6889,6 +7912,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -7072,6 +8096,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7103,6 +8128,54 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "cc489268d67f4e4eae4f55166b09b47c",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -7146,6 +8219,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7249,6 +8323,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7294,6 +8369,36 @@
"m_DefaultType": 0
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "d4c66259595c4c31910639b7ee5d56bd",
+ "m_Id": 0,
+ "m_DisplayName": "Mesh Scale",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "d5751c9bd01647d1bcd9b00ae429253e",
+ "m_Id": 0,
+ "m_DisplayName": "Mesh Scale",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
@@ -7392,6 +8497,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7399,6 +8505,54 @@
"m_SerializedDescriptor": "SurfaceDescription.BentNormal"
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "d84ebc888f434f54bba39d786425b547",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -7425,6 +8579,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7483,6 +8638,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7532,6 +8688,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7570,6 +8727,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7601,33 +8759,6 @@
]
}
-{
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "dd9706f0719d4321bef6b327cc24eb17",
- "m_Id": 0,
- "m_DisplayName": "Out",
- "m_SlotType": 1,
- "m_Hidden": false,
- "m_ShaderOutputName": "Out",
- "m_StageCapability": 3,
- "m_Value": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_DefaultValue": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "m_Labels": [
- "X",
- "Y",
- "Z"
- ]
-}
-
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
@@ -7654,6 +8785,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7843,6 +8975,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -7908,6 +9041,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -7978,10 +9112,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 1403.0,
- "y": 46.999996185302737,
- "width": 172.99998474121095,
- "height": 34.0
+ "x": 1409.0,
+ "y": 228.99998474121095,
+ "width": 177.0,
+ "height": 33.99998474121094
}
},
"m_Slots": [
@@ -7992,6 +9126,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8048,6 +9183,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8117,6 +9253,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8139,6 +9276,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
@@ -8203,6 +9341,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8247,6 +9386,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8279,6 +9419,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8340,6 +9481,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8444,6 +9586,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8513,6 +9656,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8530,8 +9674,8 @@
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
- "x": 1335.0,
- "y": -72.0,
+ "x": 1341.0,
+ "y": 110.0,
"width": 268.0,
"height": 191.0
},
@@ -8566,6 +9710,7 @@
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8632,6 +9777,7 @@
],
"m_Precision": 0,
"m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8690,6 +9836,21 @@
"m_OverrideBakedGI": false
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "fbd90f0016d84bfbaa75c39d3a02b20c",
+ "m_Id": 0,
+ "m_DisplayName": "Mesh Scale",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
@@ -8702,10 +9863,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": -2398.0,
- "y": -1485.0,
+ "x": -2542.0,
+ "y": -1483.0,
"width": 206.0,
- "height": 132.0
+ "height": 131.0
}
},
"m_Slots": [
@@ -8716,6 +9877,7 @@
"synonyms": [],
"m_Precision": 1,
"m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
@@ -8766,6 +9928,7 @@
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
diff --git a/com.unity.template-hd/Packages/com.unity.template.hd/package.json b/com.unity.template-hd/Packages/com.unity.template.hd/package.json
index f3a8479d759..17af05824cd 100644
--- a/com.unity.template-hd/Packages/com.unity.template.hd/package.json
+++ b/com.unity.template-hd/Packages/com.unity.template.hd/package.json
@@ -10,10 +10,10 @@
"com.unity.collab-proxy": "1.9.0",
"com.unity.feature.development": "1.0.1",
"com.unity.textmeshpro": "3.0.6",
- "com.unity.cinemachine": "2.8.0",
- "com.unity.inputsystem": "1.1.0-pre.5",
- "com.unity.learn.iet-framework": "2.0.0",
- "com.unity.render-pipelines.high-definition": "12.1.0",
+ "com.unity.cinemachine": "2.8.1",
+ "com.unity.inputsystem": "1.1.1",
+ "com.unity.learn.iet-framework": "2.1.0",
+ "com.unity.render-pipelines.high-definition": "12.1.1",
"com.unity.timeline": "1.6.2",
"com.unity.ugui": "1.0.0"
}
diff --git a/com.unity.template-hd/Packages/manifest.json b/com.unity.template-hd/Packages/manifest.json
index b3f4139e3ed..d9933015b93 100644
--- a/com.unity.template-hd/Packages/manifest.json
+++ b/com.unity.template-hd/Packages/manifest.json
@@ -1,13 +1,13 @@
{
"dependencies": {
- "com.unity.cinemachine": "2.8.0",
- "com.unity.collab-proxy": "1.9.0",
+ "com.unity.cinemachine": "2.8.1",
+ "com.unity.collab-proxy": "1.9.0",
"com.unity.feature.development": "1.0.1",
- "com.unity.inputsystem": "1.1.0-pre.5",
- "com.unity.learn.iet-framework": "2.0.0",
- "com.unity.render-pipelines.high-definition": "12.1.0",
+ "com.unity.inputsystem": "1.1.1",
+ "com.unity.learn.iet-framework": "2.1.0",
+ "com.unity.render-pipelines.high-definition": "12.1.1",
"com.unity.learn.iet-framework.authoring": "1.0.0",
- "com.unity.textmeshpro": "3.0.6",
+ "com.unity.textmeshpro": "3.0.6",
"com.unity.timeline": "1.6.2",
"com.unity.ugui": "1.0.0",
"com.unity.modules.ai": "1.0.0",
diff --git a/com.unity.testing.hdrp/RP_Assets/HDRP_Test_Def_SkyOverride.asset b/com.unity.testing.hdrp/RP_Assets/HDRP_Test_Def_SkyOverride.asset
new file mode 100644
index 00000000000..0eae3a60dff
--- /dev/null
+++ b/com.unity.testing.hdrp/RP_Assets/HDRP_Test_Def_SkyOverride.asset
@@ -0,0 +1,493 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!114 &11400000
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 0cf1dab834d4ec34195b920ea7bbf9ec, type: 3}
+ m_Name: HDRP_Test_Def_SkyOverride
+ m_EditorClassIdentifier:
+ m_RenderPipelineSettings:
+ supportShadowMask: 1
+ supportSSR: 1
+ supportSSRTransparent: 0
+ supportSSAO: 1
+ supportSSGI: 0
+ supportSubsurfaceScattering: 1
+ sssSampleBudget:
+ m_Values: 140000002800000050000000
+ m_SchemaId:
+ m_Id: With3Levels
+ supportVolumetrics: 1
+ supportVolumetricClouds: 0
+ supportLightLayers: 1
+ supportDistortion: 1
+ supportTransparentBackface: 1
+ supportTransparentDepthPrepass: 1
+ supportTransparentDepthPostpass: 1
+ colorBufferFormat: 74
+ supportCustomPass: 1
+ customBufferFormat: 12
+ supportedLitShaderMode: 3
+ planarReflectionResolution:
+ m_Values: 000100000004000000080000
+ m_SchemaId:
+ m_Id: With3Levels
+ supportDecals: 1
+ supportDecalLayers: 1
+ supportSurfaceGradient: 0
+ decalNormalBufferHP: 0
+ msaaSampleCount: 1
+ supportMotionVectors: 1
+ supportRuntimeAOVAPI: 0
+ supportDitheringCrossFade: 0
+ supportTerrainHole: 1
+ supportProbeVolume: 0
+ probeVolumeMemoryBudget: 1024
+ supportProbeVolumeStreaming: 0
+ probeVolumeSHBands: 1
+ supportRayTracing: 0
+ supportedRayTracingMode: 3
+ lightLoopSettings:
+ cookieAtlasSize: 8192
+ cookieFormat: 74
+ cookieAtlasLastValidMip: 0
+ cookieTexArraySize: 1
+ planarReflectionAtlasSize: 2048
+ reflectionProbeCacheSize: 128
+ reflectionCubemapSize: 128
+ reflectionCacheCompressed: 0
+ reflectionProbeFormat: 74
+ skyReflectionSize: 256
+ skyLightingOverrideLayerMask:
+ serializedVersion: 2
+ m_Bits: 1024
+ supportFabricConvolution: 0
+ maxDirectionalLightsOnScreen: 16
+ maxPunctualLightsOnScreen: 512
+ maxAreaLightsOnScreen: 64
+ maxEnvLightsOnScreen: 64
+ maxDecalsOnScreen: 512
+ maxPlanarReflectionOnScreen: 16
+ maxLightsPerClusterCell: 8
+ maxLocalVolumetricFogSize: 32
+ maxLocalVolumetricFogOnScreen: 64
+ hdShadowInitParams:
+ maxShadowRequests: 128
+ directionalShadowsDepthBits: 32
+ shadowFilteringQuality: 1
+ punctualLightShadowAtlas:
+ shadowAtlasResolution: 4096
+ shadowAtlasDepthBits: 32
+ useDynamicViewportRescale: 0
+ areaLightShadowAtlas:
+ shadowAtlasResolution: 4096
+ shadowAtlasDepthBits: 32
+ useDynamicViewportRescale: 0
+ cachedPunctualLightShadowAtlas: 2048
+ cachedAreaLightShadowAtlas: 1024
+ shadowResolutionDirectional:
+ m_Values: 00010000000200000004000000000000
+ m_SchemaId:
+ m_Id: With4Levels
+ shadowResolutionPunctual:
+ m_Values: 00010000000200000004000000000000
+ m_SchemaId:
+ m_Id: With4Levels
+ shadowResolutionArea:
+ m_Values: 00010000000200000004000000000000
+ m_SchemaId:
+ m_Id: With4Levels
+ maxDirectionalShadowMapResolution: 2048
+ maxPunctualShadowMapResolution: 2048
+ maxAreaShadowMapResolution: 2048
+ supportScreenSpaceShadows: 0
+ maxScreenSpaceShadowSlots: 4
+ screenSpaceShadowBufferFormat: 48
+ decalSettings:
+ drawDistance: 1000
+ atlasWidth: 2048
+ atlasHeight: 1024
+ perChannelMask: 1
+ postProcessSettings:
+ m_LutSize: 32
+ lutFormat: 48
+ bufferFormat: 74
+ dynamicResolutionSettings:
+ enabled: 0
+ useMipBias: 0
+ enableDLSS: 0
+ DLSSPerfQualitySetting: 0
+ DLSSUseOptimalSettings: 1
+ DLSSSharpness: 0.5
+ maxPercentage: 100
+ minPercentage: 100
+ dynResType: 0
+ upsampleFilter: 1
+ forceResolution: 0
+ forcedPercentage: 100
+ lowResTransparencyMinimumThreshold: 0
+ rayTracingHalfResThreshold: 50
+ lowresTransparentSettings:
+ enabled: 1
+ checkerboardDepthBuffer: 1
+ upsampleType: 1
+ xrSettings:
+ singlePass: 1
+ occlusionMesh: 1
+ cameraJitter: 1
+ postProcessQualitySettings:
+ NearBlurSampleCount: 030000000500000008000000
+ NearBlurMaxRadius:
+ - 2
+ - 4
+ - 7
+ FarBlurSampleCount: 04000000070000000e000000
+ FarBlurMaxRadius:
+ - 5
+ - 8
+ - 13
+ DoFResolution: 040000000200000001000000
+ DoFHighQualityFiltering: 000101
+ DoFPhysicallyBased: 000000
+ MotionBlurSampleCount: 04000000080000000c000000
+ BloomRes: 040000000200000002000000
+ BloomHighQualityFiltering: 000101
+ BloomHighQualityPrefiltering: 000001
+ ChromaticAberrationMaxSamples: 03000000060000000c000000
+ lightSettings:
+ useContactShadow:
+ m_Values: 000000
+ m_SchemaId:
+ m_Id:
+ maximumLODLevel:
+ m_Values: 000000000000000000000000
+ m_SchemaId:
+ m_Id: With3Levels
+ lodBias:
+ m_Values:
+ - 1
+ - 1
+ - 1
+ m_SchemaId:
+ m_Id: With3Levels
+ lightingQualitySettings:
+ AOStepCount: 040000000600000010000000
+ AOFullRes: 000001
+ AOMaximumRadiusPixels: 200000002800000050000000
+ AOBilateralUpsample: 000101
+ AODirectionCount: 010000000200000004000000
+ ContactShadowSampleCount: 060000000a00000010000000
+ SSRMaxRaySteps: 100000002000000040000000
+ SSGIRaySteps: 200000004000000080000000
+ SSGIDenoise: 010101
+ SSGIHalfResDenoise: 010000
+ SSGIDenoiserRadius:
+ - 0.75
+ - 0.5
+ - 0.5
+ SSGISecondDenoise: 010101
+ RTAORayLength:
+ - 0.5
+ - 3
+ - 20
+ RTAOSampleCount: 010000000200000008000000
+ RTAODenoise: 010101
+ RTAODenoiserRadius:
+ - 0.25
+ - 0.5
+ - 0.65
+ RTGIRayLength:
+ - 50
+ - 50
+ - 50
+ RTGIFullResolution: 000001
+ RTGIClampValue:
+ - 0.5
+ - 0.8
+ - 1.5
+ RTGIRaySteps: 200000003000000040000000
+ RTGIDenoise: 010101
+ RTGIHalfResDenoise: 010000
+ RTGIDenoiserRadius:
+ - 0.66
+ - 0.66
+ - 1
+ RTGISecondDenoise: 010101
+ RTRMinSmoothness:
+ - 0.6
+ - 0.4
+ - 0
+ RTRSmoothnessFadeStart:
+ - 0.7
+ - 0.5
+ - 0
+ RTRRayLength:
+ - 50
+ - 50
+ - 50
+ RTRClampValue:
+ - 0.8
+ - 1
+ - 1.2
+ RTRFullResolution: 000001
+ RTRRayMaxIterations: 200000003000000040000000
+ RTRDenoise: 010101
+ RTRDenoiserRadius: 080000000c00000010000000
+ RTRSmoothDenoising: 010000
+ Fog_ControlMode: 000000000000000000000000
+ Fog_Budget:
+ - 0.166
+ - 0.33
+ - 0.666
+ Fog_DepthRatio:
+ - 0.666
+ - 0.666
+ - 0.5
+ m_ObsoleteLightLayerName0: Light Layer default
+ m_ObsoleteLightLayerName1: Light Layer 1
+ m_ObsoleteLightLayerName2: Light Layer 2
+ m_ObsoleteLightLayerName3: Light Layer 3
+ m_ObsoleteLightLayerName4: Light Layer 4
+ m_ObsoleteLightLayerName5: Light Layer 5
+ m_ObsoleteLightLayerName6: Light Layer 6
+ m_ObsoleteLightLayerName7: Light Layer 7
+ m_ObsoleteDecalLayerName0: Decal Layer default
+ m_ObsoleteDecalLayerName1: Decal Layer 1
+ m_ObsoleteDecalLayerName2: Decal Layer 2
+ m_ObsoleteDecalLayerName3: Decal Layer 3
+ m_ObsoleteDecalLayerName4: Decal Layer 4
+ m_ObsoleteDecalLayerName5: Decal Layer 5
+ m_ObsoleteDecalLayerName6: Decal Layer 6
+ m_ObsoleteDecalLayerName7: Decal Layer 7
+ m_ObsoleteSupportRuntimeDebugDisplay: 0
+ allowShaderVariantStripping: 1
+ enableSRPBatcher: 1
+ availableMaterialQualityLevels: -1
+ m_DefaultMaterialQualityLevel: 4
+ diffusionProfileSettings: {fileID: 11400000, guid: 802c802428a2d9640a87e821dfcdd9e8,
+ type: 2}
+ virtualTexturingSettings:
+ streamingCpuCacheSizeInMegaBytes: 80
+ streamingGpuCacheSettings:
+ - format: 0
+ sizeInMegaBytes: 32
+ m_UseRenderGraph: 1
+ m_Version: 21
+ m_ObsoleteFrameSettings:
+ overrides: 0
+ enableShadow: 0
+ enableContactShadows: 0
+ enableShadowMask: 0
+ enableSSR: 0
+ enableSSAO: 0
+ enableSubsurfaceScattering: 0
+ enableTransmission: 0
+ enableAtmosphericScattering: 0
+ enableVolumetrics: 0
+ enableReprojectionForVolumetrics: 0
+ enableLightLayers: 0
+ enableExposureControl: 1
+ diffuseGlobalDimmer: 0
+ specularGlobalDimmer: 0
+ shaderLitMode: 0
+ enableDepthPrepassWithDeferredRendering: 0
+ enableTransparentPrepass: 0
+ enableMotionVectors: 0
+ enableObjectMotionVectors: 0
+ enableDecals: 0
+ enableRoughRefraction: 0
+ enableTransparentPostpass: 0
+ enableDistortion: 0
+ enablePostprocess: 0
+ enableOpaqueObjects: 0
+ enableTransparentObjects: 0
+ enableRealtimePlanarReflection: 0
+ enableMSAA: 0
+ enableAsyncCompute: 0
+ runLightListAsync: 0
+ runSSRAsync: 0
+ runSSAOAsync: 0
+ runContactShadowsAsync: 0
+ runVolumeVoxelizationAsync: 0
+ lightLoopSettings:
+ overrides: 0
+ enableDeferredTileAndCluster: 0
+ enableComputeLightEvaluation: 0
+ enableComputeLightVariants: 0
+ enableComputeMaterialVariants: 0
+ enableFptlForForwardOpaque: 0
+ enableBigTilePrepass: 0
+ isFptlEnabled: 0
+ m_ObsoleteBakedOrCustomReflectionFrameSettings:
+ overrides: 0
+ enableShadow: 0
+ enableContactShadows: 0
+ enableShadowMask: 0
+ enableSSR: 0
+ enableSSAO: 0
+ enableSubsurfaceScattering: 0
+ enableTransmission: 0
+ enableAtmosphericScattering: 0
+ enableVolumetrics: 0
+ enableReprojectionForVolumetrics: 0
+ enableLightLayers: 0
+ enableExposureControl: 1
+ diffuseGlobalDimmer: 0
+ specularGlobalDimmer: 0
+ shaderLitMode: 0
+ enableDepthPrepassWithDeferredRendering: 0
+ enableTransparentPrepass: 0
+ enableMotionVectors: 0
+ enableObjectMotionVectors: 0
+ enableDecals: 0
+ enableRoughRefraction: 0
+ enableTransparentPostpass: 0
+ enableDistortion: 0
+ enablePostprocess: 0
+ enableOpaqueObjects: 0
+ enableTransparentObjects: 0
+ enableRealtimePlanarReflection: 0
+ enableMSAA: 0
+ enableAsyncCompute: 0
+ runLightListAsync: 0
+ runSSRAsync: 0
+ runSSAOAsync: 0
+ runContactShadowsAsync: 0
+ runVolumeVoxelizationAsync: 0
+ lightLoopSettings:
+ overrides: 0
+ enableDeferredTileAndCluster: 0
+ enableComputeLightEvaluation: 0
+ enableComputeLightVariants: 0
+ enableComputeMaterialVariants: 0
+ enableFptlForForwardOpaque: 0
+ enableBigTilePrepass: 0
+ isFptlEnabled: 0
+ m_ObsoleteRealtimeReflectionFrameSettings:
+ overrides: 0
+ enableShadow: 0
+ enableContactShadows: 0
+ enableShadowMask: 0
+ enableSSR: 0
+ enableSSAO: 0
+ enableSubsurfaceScattering: 0
+ enableTransmission: 0
+ enableAtmosphericScattering: 0
+ enableVolumetrics: 0
+ enableReprojectionForVolumetrics: 0
+ enableLightLayers: 0
+ enableExposureControl: 1
+ diffuseGlobalDimmer: 0
+ specularGlobalDimmer: 0
+ shaderLitMode: 0
+ enableDepthPrepassWithDeferredRendering: 0
+ enableTransparentPrepass: 0
+ enableMotionVectors: 0
+ enableObjectMotionVectors: 0
+ enableDecals: 0
+ enableRoughRefraction: 0
+ enableTransparentPostpass: 0
+ enableDistortion: 0
+ enablePostprocess: 0
+ enableOpaqueObjects: 0
+ enableTransparentObjects: 0
+ enableRealtimePlanarReflection: 0
+ enableMSAA: 0
+ enableAsyncCompute: 0
+ runLightListAsync: 0
+ runSSRAsync: 0
+ runSSAOAsync: 0
+ runContactShadowsAsync: 0
+ runVolumeVoxelizationAsync: 0
+ lightLoopSettings:
+ overrides: 0
+ enableDeferredTileAndCluster: 0
+ enableComputeLightEvaluation: 0
+ enableComputeLightVariants: 0
+ enableComputeMaterialVariants: 0
+ enableFptlForForwardOpaque: 0
+ enableBigTilePrepass: 0
+ isFptlEnabled: 0
+ m_ObsoleteDefaultVolumeProfile: {fileID: 0}
+ m_ObsoleteDefaultLookDevProfile: {fileID: 11400000, guid: 254c4fe87beb7be4fa72e1681edbed02,
+ type: 2}
+ m_ObsoleteFrameSettingsMovedToDefaultSettings:
+ bitDatas:
+ data1: 139549384114013
+ data2: 4539628425463136280
+ lodBias: 1
+ lodBiasMode: 0
+ lodBiasQualityLevel: 0
+ maximumLODLevel: 0
+ maximumLODLevelMode: 0
+ maximumLODLevelQualityLevel: 0
+ sssQualityMode: 0
+ sssQualityLevel: 0
+ sssCustomSampleBudget: 20
+ msaaMode: 0
+ materialQuality: 0
+ m_ObsoleteBakedOrCustomReflectionFrameSettingsMovedToDefaultSettings:
+ bitDatas:
+ data1: 139713129348893
+ data2: 4539628424389459992
+ lodBias: 1
+ lodBiasMode: 0
+ lodBiasQualityLevel: 0
+ maximumLODLevel: 0
+ maximumLODLevelMode: 0
+ maximumLODLevelQualityLevel: 0
+ sssQualityMode: 0
+ sssQualityLevel: 0
+ sssCustomSampleBudget: 20
+ msaaMode: 0
+ materialQuality: 0
+ m_ObsoleteRealtimeReflectionFrameSettingsMovedToDefaultSettings:
+ bitDatas:
+ data1: 140065316601629
+ data2: 4539628424389459992
+ lodBias: 1
+ lodBiasMode: 0
+ lodBiasQualityLevel: 0
+ maximumLODLevel: 0
+ maximumLODLevelMode: 0
+ maximumLODLevelQualityLevel: 0
+ sssQualityMode: 0
+ sssQualityLevel: 0
+ sssCustomSampleBudget: 20
+ msaaMode: 0
+ materialQuality: 0
+ m_ObsoleteRenderPipelineResources: {fileID: 11400000, guid: 3ce144cff5783da45aa5d4fdc2da14b7,
+ type: 2}
+ m_ObsoleteRenderPipelineRayTracingResources: {fileID: 0}
+ m_ObsoleteBeforeTransparentCustomPostProcesses:
+ - GreenPP, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_ObsoleteBeforePostProcessCustomPostProcesses:
+ - RedPP, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_ObsoleteAfterPostProcessCustomPostProcesses:
+ - BluePP, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_ObsoleteBeforeTAACustomPostProcesses:
+ - DepthTAA, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_ObsoleteShaderVariantLogLevel: 1
+ m_ObsoleteLensAttenuation: 0
+ m_ObsoleteDiffusionProfileSettingsList:
+ - {fileID: 11400000, guid: 802c802428a2d9640a87e821dfcdd9e8, type: 2}
+ - {fileID: 11400000, guid: 09c63d8f96a14884e8efd2f01004f491, type: 2}
+ - {fileID: 11400000, guid: 8471a5bfcdb8fff4f9406cd8079b8554, type: 2}
+ - {fileID: 11400000, guid: 968a3176000311d42af174756ece7f4d, type: 2}
+ - {fileID: 11400000, guid: 768484f758b6f7b4daf53a7d9949f5af, type: 2}
+ - {fileID: 11400000, guid: fcb8f92518ca5d14bbd7e6751b28cd24, type: 2}
+ - {fileID: 11400000, guid: 64ca25f51b132ea4093511f7456ea220, type: 2}
+ - {fileID: 11400000, guid: fd29a6d903d5eae4d94833c2048bfd9d, type: 2}
+ - {fileID: 11400000, guid: 76f34276e6d50dc4bb0762b87af8931e, type: 2}
+ - {fileID: 11400000, guid: cd1cd5a7c0527844dbca2b7d562b9049, type: 2}
+ - {fileID: 11400000, guid: 385fff18b5c61754188b49a485ecb84a, type: 2}
+ - {fileID: 11400000, guid: d3dd41407c183554ca54bded902d4b7b, type: 2}
+ - {fileID: 11400000, guid: 86c1c808ebce1cc4992b9b0fd197a0b3, type: 2}
+ - {fileID: 11400000, guid: 3506ae472b257f042af66a183fbaac6a, type: 2}
+ - {fileID: 11400000, guid: 6be2047feaba36945b8fd12f29e3a7b5, type: 2}
diff --git a/com.unity.testing.hdrp/RP_Assets/HDRP_Test_Def_SkyOverride.asset.meta b/com.unity.testing.hdrp/RP_Assets/HDRP_Test_Def_SkyOverride.asset.meta
new file mode 100644
index 00000000000..c228e32f74f
--- /dev/null
+++ b/com.unity.testing.hdrp/RP_Assets/HDRP_Test_Def_SkyOverride.asset.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: ca692276b8168ff458ee4de01bd36635
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 11400000
+ userData:
+ assetBundleName:
+ assetBundleVariant: