Fix refs to shader subgraphs

This commit is contained in:
Lucien
2026-05-19 16:31:00 +02:00
parent 3ad1a045ff
commit 9910fd32c0
20 changed files with 13020 additions and 7143 deletions
+176 -156
View File
@@ -144,9 +144,6 @@
{
"m_Id": "61732fdc6bc94abd98595468daa19318"
},
{
"m_Id": "90fa1609f6e94d4a912c10f545dff733"
},
{
"m_Id": "f5fa73d23ab94d45a54f0c0b58503535"
},
@@ -311,6 +308,9 @@
},
{
"m_Id": "410dc10b725b42e5920fb681c4723991"
},
{
"m_Id": "e7af2f0aab8846bd88c22be51d19dc91"
}
],
"m_GroupDatas": [
@@ -411,7 +411,7 @@
},
"m_InputSlot": {
"m_Node": {
"m_Id": "90fa1609f6e94d4a912c10f545dff733"
"m_Id": "e7af2f0aab8846bd88c22be51d19dc91"
},
"m_SlotId": 22645273
}
@@ -724,20 +724,6 @@
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "90fa1609f6e94d4a912c10f545dff733"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "500c46184fc24ebb837c7093230d5047"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
@@ -1102,6 +1088,20 @@
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e7af2f0aab8846bd88c22be51d19dc91"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "500c46184fc24ebb837c7093230d5047"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
@@ -1167,7 +1167,7 @@
},
"m_InputSlot": {
"m_Node": {
"m_Id": "90fa1609f6e94d4a912c10f545dff733"
"m_Id": "e7af2f0aab8846bd88c22be51d19dc91"
},
"m_SlotId": 507771418
}
@@ -1642,6 +1642,21 @@
"m_SerializedDescriptor": "VertexDescription.Tangent"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "0fc32f52c011400b8067701808cf9b3b",
"m_Id": -2044484255,
"m_DisplayName": "Contrast",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_Contrast",
"m_StageCapability": 2,
"m_Value": 1.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -1902,6 +1917,21 @@
"m_Value": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "1af7286cb21642659b0e838eb56e34ba",
"m_Id": 22645273,
"m_DisplayName": "MainTile",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Vector1_d85157ed351b47229a53f6363dcc446e",
"m_StageCapability": 2,
"m_Value": 6.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
@@ -2295,8 +2325,8 @@
"m_ObjectId": "2dffe4ccfd544a25abbc5c124bc97d55",
"m_Title": "DIRT CENTER",
"m_Position": {
"x": -3058.999755859375,
"y": -266.9999694824219
"x": -3059.0,
"y": -267.0000305175781
}
}
@@ -2516,6 +2546,29 @@
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "350cf7c999ff43c4994a71185e484f57",
"m_Id": 507771418,
"m_DisplayName": "AbsWorldPos",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Vector3_7be997e102f346838ed1a8df0470d52d",
"m_StageCapability": 2,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SampleTexture2DNode",
@@ -2617,29 +2670,6 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "389ad4858b4b4b6585a81a90507d79a3",
"m_Id": 507771418,
"m_DisplayName": "AbsWorldPos",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Vector3_7be997e102f346838ed1a8df0470d52d",
"m_StageCapability": 2,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
@@ -3512,31 +3542,6 @@
"m_Channel": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "5f45597b0a7c4f15a64399bca7178608",
"m_Id": 1,
"m_DisplayName": "Texture",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Texture",
"m_StageCapability": 2,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -4280,21 +4285,6 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "7ca0d20c4f094e61ad8ba2100d350a46",
"m_Id": 22645273,
"m_DisplayName": "MainTile",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Vector1_d85157ed351b47229a53f6363dcc446e",
"m_StageCapability": 2,
"m_Value": 6.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
@@ -4439,6 +4429,24 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
"m_ObjectId": "842b081208924d969f81c40698707b16",
"m_Id": 1068583441,
"m_DisplayName": "Texture",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Texture2D_74783799d0be4fe68f261378c4b8ad79",
"m_StageCapability": 2,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"5029016c79696384fab92fe5b20bd3dc\",\"type\":3}}",
"m_Guid": ""
},
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -4811,60 +4819,6 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
"m_ObjectId": "90fa1609f6e94d4a912c10f545dff733",
"m_Group": {
"m_Id": "2dffe4ccfd544a25abbc5c124bc97d55"
},
"m_Name": "SubG_WorldAlignedTexture",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -2771.999755859375,
"y": -68.0,
"width": 203.0,
"height": 142.0
}
},
"m_Slots": [
{
"m_Id": "389ad4858b4b4b6585a81a90507d79a3"
},
{
"m_Id": "a956d394de364df6a04c793a73cd901b"
},
{
"m_Id": "7ca0d20c4f094e61ad8ba2100d350a46"
},
{
"m_Id": "5f45597b0a7c4f15a64399bca7178608"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"74b1fbd548a84de4f9fb39329d2d3e3f\",\n \"type\": 3\n }\n}",
"m_PropertyGuids": [
"964e1cb9-4b92-4f8d-a583-cd5a942e4d9d",
"bb56eee3-3127-4607-97b3-8278422662ba",
"4fc47423-7a44-47cc-aaf9-bb44d47dea4d"
],
"m_PropertyIds": [
507771418,
1068583441,
22645273
],
"m_Dropdowns": [],
"m_DropdownSelectedEntries": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
@@ -5456,24 +5410,6 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
"m_ObjectId": "a956d394de364df6a04c793a73cd901b",
"m_Id": 1068583441,
"m_DisplayName": "Texture",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Texture2D_74783799d0be4fe68f261378c4b8ad79",
"m_StageCapability": 2,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"ba7a2ab061775e749b1973e03a0d10ba\",\"type\":3}}",
"m_Guid": ""
},
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
@@ -6280,6 +6216,31 @@
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "cad50e0ace8d499e96c4da9a67bab24b",
"m_Id": 1,
"m_DisplayName": "Texture",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Texture",
"m_StageCapability": 2,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.LerpNode",
@@ -7202,6 +7163,65 @@
"m_OverrideBakedGI": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
"m_ObjectId": "e7af2f0aab8846bd88c22be51d19dc91",
"m_Group": {
"m_Id": "2dffe4ccfd544a25abbc5c124bc97d55"
},
"m_Name": "SubG_WorldAlignedTexture",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -2763.0,
"y": -109.0000228881836,
"width": 214.0,
"height": 167.00003051757813
}
},
"m_Slots": [
{
"m_Id": "350cf7c999ff43c4994a71185e484f57"
},
{
"m_Id": "842b081208924d969f81c40698707b16"
},
{
"m_Id": "1af7286cb21642659b0e838eb56e34ba"
},
{
"m_Id": "0fc32f52c011400b8067701808cf9b3b"
},
{
"m_Id": "cad50e0ace8d499e96c4da9a67bab24b"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"62166a061f7394f4bb2ac5dd1d880ed7\",\n \"type\": 3\n }\n}",
"m_PropertyGuids": [
"964e1cb9-4b92-4f8d-a583-cd5a942e4d9d",
"bb56eee3-3127-4607-97b3-8278422662ba",
"4fc47423-7a44-47cc-aaf9-bb44d47dea4d",
"69e8c973-2f87-4ff2-8176-b6c214358f62"
],
"m_PropertyIds": [
507771418,
1068583441,
22645273,
-2044484255
],
"m_Dropdowns": [],
"m_DropdownSelectedEntries": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",