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
+166 -146
View File
@@ -234,9 +234,6 @@
{
"m_Id": "5b1c4d3ee91e4c20a445af89189a3ccb"
},
{
"m_Id": "e6f0a64ec13d45749fe78078ea32232e"
},
{
"m_Id": "89e40b67451245eba711bb7db8eff110"
},
@@ -257,6 +254,9 @@
},
{
"m_Id": "46c577dd66014cc79f28a6ae2308f239"
},
{
"m_Id": "6a774b13238b4289847e38818d4d115f"
}
],
"m_GroupDatas": [],
@@ -355,7 +355,7 @@
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e6f0a64ec13d45749fe78078ea32232e"
"m_Id": "6a774b13238b4289847e38818d4d115f"
},
"m_SlotId": 22645273
}
@@ -584,6 +584,20 @@
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "6a774b13238b4289847e38818d4d115f"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "5808adf7a7e94390b4fb2a3ac2e59f1c"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
@@ -705,7 +719,7 @@
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e6f0a64ec13d45749fe78078ea32232e"
"m_Id": "6a774b13238b4289847e38818d4d115f"
},
"m_SlotId": 507771418
}
@@ -985,25 +999,11 @@
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e6f0a64ec13d45749fe78078ea32232e"
"m_Id": "6a774b13238b4289847e38818d4d115f"
},
"m_SlotId": 1068583441
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e6f0a64ec13d45749fe78078ea32232e"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "5808adf7a7e94390b4fb2a3ac2e59f1c"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
@@ -1381,6 +1381,21 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "0c89d56cb8dc4ed6855e08a268ac1823",
"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.ContrastNode",
@@ -1789,10 +1804,25 @@
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "2567f72d160747c88d59355e7186c7e5",
"m_Id": 7,
"m_DisplayName": "A",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "230759d6af1e4bd08a4b0b0e8ca1f0e0",
"m_ObjectId": "25e20a6237c547d3b31d648ecd017e83",
"m_Id": 1,
"m_DisplayName": "Texture",
"m_SlotType": 1,
@@ -1814,39 +1844,6 @@
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
"m_ObjectId": "23ad61916f364d70b2414ec7cbb4505e",
"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.Vector1MaterialSlot",
"m_ObjectId": "2567f72d160747c88d59355e7186c7e5",
"m_Id": 7,
"m_DisplayName": "A",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -2201,6 +2198,21 @@
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "31dbed9c7e924a14a09134d4c3766569",
"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.SamplerStateMaterialSlot",
@@ -3711,6 +3723,65 @@
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
"m_ObjectId": "6a774b13238b4289847e38818d4d115f",
"m_Group": {
"m_Id": ""
},
"m_Name": "SubG_WorldAlignedTexture",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -252.0,
"y": -747.0,
"width": 214.0,
"height": 167.0
}
},
"m_Slots": [
{
"m_Id": "d527e8f8a4df4c51aae24c0dc49b74e5"
},
{
"m_Id": "ab6e631ad513457fb811faedd6739947"
},
{
"m_Id": "31dbed9c7e924a14a09134d4c3766569"
},
{
"m_Id": "0c89d56cb8dc4ed6855e08a268ac1823"
},
{
"m_Id": "25e20a6237c547d3b31d648ecd017e83"
}
],
"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.Vector1MaterialSlot",
@@ -4845,29 +4916,6 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "921e5e74a8b84b5f8f5025f800a343b6",
"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.Texture2DInputMaterialSlot",
@@ -5475,6 +5523,24 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
"m_ObjectId": "ab6e631ad513457fb811faedd6739947",
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
@@ -6165,21 +6231,6 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "cd8357eb83ff4c14af2333ffb499abe7",
"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": 3,
"m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
@@ -6329,6 +6380,29 @@
"m_SerializedDescriptor": "SurfaceDescription.Alpha"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "d527e8f8a4df4c51aae24c0dc49b74e5",
"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.MultiplyNode",
@@ -6832,60 +6906,6 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
"m_ObjectId": "e6f0a64ec13d45749fe78078ea32232e",
"m_Group": {
"m_Id": ""
},
"m_Name": "SubG_WorldAlignedTexture",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -259.0000305175781,
"y": -692.0,
"width": 203.00003051757813,
"height": 141.99993896484376
}
},
"m_Slots": [
{
"m_Id": "921e5e74a8b84b5f8f5025f800a343b6"
},
{
"m_Id": "23ad61916f364d70b2414ec7cbb4505e"
},
{
"m_Id": "cd8357eb83ff4c14af2333ffb499abe7"
},
{
"m_Id": "230759d6af1e4bd08a4b0b0e8ca1f0e0"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"33607b750c908dc48b0bd2a4cc8aab9e\",\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.Vector4MaterialSlot",