从旧版中移植,Prefab未确认

This commit is contained in:
2025-07-24 15:41:28 +08:00
parent 86842492ea
commit 43b824b722
300 changed files with 101926 additions and 14 deletions

View File

@@ -0,0 +1,676 @@
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "b9cb35939f0348ffa63022ea75f97dc5",
"m_Properties": [
{
"m_Id": "ca694166b9a647c19eddedbfe07245c5"
},
{
"m_Id": "193624483ff048a9ad546f20a3e56a15"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "b5c8a503e55a470f89ed9fcf5b79f1e8"
}
],
"m_Nodes": [
{
"m_Id": "32671c3f35df4552b294b569ccd9476d"
},
{
"m_Id": "bd081b1a90b243fb9fdea1f2892525aa"
},
{
"m_Id": "50abf01fc3ef464997d311585cd35d65"
},
{
"m_Id": "34c415c13db443779d61cc6ac612147c"
},
{
"m_Id": "f9dd103a2a5847b0844470325a7216bc"
},
{
"m_Id": "55b8fefc701c4153a564e81fba354593"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "34c415c13db443779d61cc6ac612147c"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "f9dd103a2a5847b0844470325a7216bc"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "50abf01fc3ef464997d311585cd35d65"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "34c415c13db443779d61cc6ac612147c"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "55b8fefc701c4153a564e81fba354593"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "32671c3f35df4552b294b569ccd9476d"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "bd081b1a90b243fb9fdea1f2892525aa"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "f9dd103a2a5847b0844470325a7216bc"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f9dd103a2a5847b0844470325a7216bc"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "55b8fefc701c4153a564e81fba354593"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": []
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
},
"preventRotation": false
},
"m_Path": "Sub Graphs",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "32671c3f35df4552b294b569ccd9476d"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "0617e91554fb41f7979277807d8a2352",
"m_Id": 1,
"m_DisplayName": "Result",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Result",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "1361778807534c0fb6fe6c70d1037202",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"m_StageCapability": 3,
"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_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "1767d2ba2fec4f0694270aec0ad1ff28",
"m_Id": 2,
"m_DisplayName": "Y",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Y",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"Y"
]
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "193624483ff048a9ad546f20a3e56a15",
"m_Guid": {
"m_GuidSerialized": "dae16e9c-4abc-446f-aee8-36d695dd5f77"
},
"m_Name": "DepthDiff",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "DepthDiff",
"m_DefaultReferenceName": "_DepthDiff",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": 0.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "2044fb07811645bebb58bde1548aaf87",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"m_StageCapability": 3,
"m_Value": {
"x": -1.0,
"y": -1.0,
"z": -1.0,
"w": -1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "32671c3f35df4552b294b569ccd9476d",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 72.0,
"y": -39.0,
"width": 121.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "0617e91554fb41f7979277807d8a2352"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2Node",
"m_ObjectId": "34c415c13db443779d61cc6ac612147c",
"m_Group": {
"m_Id": ""
},
"m_Name": "Vector 2",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -640.0,
"y": -12.0,
"width": 128.0,
"height": 101.0
}
},
"m_Slots": [
{
"m_Id": "ce547ae6b0f64c55a8955730112136e1"
},
{
"m_Id": "1767d2ba2fec4f0694270aec0ad1ff28"
},
{
"m_Id": "4d85a9eef8674f2a8f533e6ec79b2642"
}
],
"synonyms": [
"2",
"v2",
"vec2",
"float2"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Value": {
"x": 0.0,
"y": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "4d85a9eef8674f2a8f533e6ec79b2642",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "50abf01fc3ef464997d311585cd35d65",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -824.0,
"y": 69.0,
"width": 129.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "9352089a91f54244ace179a073b90b53"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "ca694166b9a647c19eddedbfe07245c5"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SaturateNode",
"m_ObjectId": "55b8fefc701c4153a564e81fba354593",
"m_Group": {
"m_Id": ""
},
"m_Name": "Saturate",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -115.0,
"y": -39.0,
"width": 128.0,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "1361778807534c0fb6fe6c70d1037202"
},
{
"m_Id": "d1bd45556298436abad7ec98eb6664f6"
}
],
"synonyms": [
"clamp"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "6c586efa135141b4885a773f93d0432b",
"m_Id": 1,
"m_DisplayName": "In Min Max",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "InMinMax",
"m_StageCapability": 3,
"m_Value": {
"x": -1.0,
"y": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "7d1733278eb24875b12dfee1b839747c",
"m_Id": 0,
"m_DisplayName": "DepthDiff",
"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": "9352089a91f54244ace179a073b90b53",
"m_Id": 0,
"m_DisplayName": "MaxDepth",
"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.CategoryData",
"m_ObjectId": "b5c8a503e55a470f89ed9fcf5b79f1e8",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "193624483ff048a9ad546f20a3e56a15"
},
{
"m_Id": "ca694166b9a647c19eddedbfe07245c5"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "bd081b1a90b243fb9fdea1f2892525aa",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -592.0,
"y": -87.0,
"width": 126.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "7d1733278eb24875b12dfee1b839747c"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "193624483ff048a9ad546f20a3e56a15"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "c50a447c7b244549810167e1c38b8380",
"m_Id": 2,
"m_DisplayName": "Out Min Max",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "OutMinMax",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "ca694166b9a647c19eddedbfe07245c5",
"m_Guid": {
"m_GuidSerialized": "10f7117e-adea-4d3c-a4fc-547b40982f90"
},
"m_Name": "MaxDepth",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "MaxDepth",
"m_DefaultReferenceName": "_MaxDepth",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"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.Vector1MaterialSlot",
"m_ObjectId": "ce547ae6b0f64c55a8955730112136e1",
"m_Id": 1,
"m_DisplayName": "X",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "d1bd45556298436abad7ec98eb6664f6",
"m_Id": 1,
"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,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "d1c14eeb77da4463bd80be133287f4c7",
"m_Id": 3,
"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,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.RemapNode",
"m_ObjectId": "f9dd103a2a5847b0844470325a7216bc",
"m_Group": {
"m_Id": ""
},
"m_Name": "Remap",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -349.0,
"y": -39.0,
"width": 186.0,
"height": 142.0
}
},
"m_Slots": [
{
"m_Id": "2044fb07811645bebb58bde1548aaf87"
},
{
"m_Id": "6c586efa135141b4885a773f93d0432b"
},
{
"m_Id": "c50a447c7b244549810167e1c38b8380"
},
{
"m_Id": "d1c14eeb77da4463bd80be133287f4c7"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}

View File

@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 9c905e95edd9eaf41889375c33b152d0
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 2fbfe26371e0c6449bb192e5927b21b1
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 7922ee46e5cce5d4ea279f22a3d7ee89
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 86e42a367c373ac4081be98b2e2e665a
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: f8854275c268b7341bffd0cf98d2eac8
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 93640d01559efae4d9749593adaad958
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 96a7a3bd3da9308418212136c26588e1
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: c1b155a205549b948920d7487ccf20f6
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}

View File

@@ -0,0 +1,648 @@
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "7b55909c76714c2db4d48e664dbcc92b",
"m_Properties": [
{
"m_Id": "173f8d8c3d5f48e58358e9bc8a6718d9"
},
{
"m_Id": "351c706bfb6b4a2ab243a648fa5d12fa"
},
{
"m_Id": "f4801762327f410b854ba9c13cebfcde"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "84feca52a05a4342ac915d4ada6ab344"
}
],
"m_Nodes": [
{
"m_Id": "c4af25c4e3784944aa9d1ab0ee575ad6"
},
{
"m_Id": "02e9280a39d144fc96309dea8957aed0"
},
{
"m_Id": "a4d0462fcb5f45cc8ec9e85d3828575f"
},
{
"m_Id": "14b94eccbc4247fcbd716b37d577aec9"
},
{
"m_Id": "11168e770bf74154953eb7f7a740354c"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "02e9280a39d144fc96309dea8957aed0"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "11168e770bf74154953eb7f7a740354c"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "11168e770bf74154953eb7f7a740354c"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "c4af25c4e3784944aa9d1ab0ee575ad6"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "14b94eccbc4247fcbd716b37d577aec9"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "11168e770bf74154953eb7f7a740354c"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a4d0462fcb5f45cc8ec9e85d3828575f"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "11168e770bf74154953eb7f7a740354c"
},
"m_SlotId": 1
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": []
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
},
"preventRotation": false
},
"m_Path": "Sub Graphs",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "c4af25c4e3784944aa9d1ab0ee575ad6"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "02e9280a39d144fc96309dea8957aed0",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -727.0,
"y": -729.0,
"width": 93.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "32888c42b68046e598934534dc363636"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "173f8d8c3d5f48e58358e9bc8a6718d9"
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "11168e770bf74154953eb7f7a740354c",
"m_Group": {
"m_Id": ""
},
"m_Name": "DepthToWorldPos (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -553.0,
"y": -745.0,
"width": 259.0,
"height": 142.0
}
},
"m_Slots": [
{
"m_Id": "5594f2633b7348c5a865cc1ae767f5e6"
},
{
"m_Id": "4596ee9afe7a4377a2d718ea83de035e"
},
{
"m_Id": "f367a0b113ca4b2691d186fc429d6688"
},
{
"m_Id": "21ba980160754584983d206639aa661e"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 1,
"m_FunctionName": "DepthToWorldPos",
"m_FunctionSource": "",
"m_FunctionBody": "PositionWS = ComputeWorldSpacePosition(UV, depth, _matrix);"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "14b94eccbc4247fcbd716b37d577aec9",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -803.0,
"y": -620.0,
"width": 211.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "644b727c1ef047d8b0afa7256b6db1b2"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "f4801762327f410b854ba9c13cebfcde"
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector2ShaderProperty",
"m_ObjectId": "173f8d8c3d5f48e58358e9bc8a6718d9",
"m_Guid": {
"m_GuidSerialized": "5a6ab260-a1eb-46a0-92cd-bcb38d75ec15"
},
"m_Name": "UV",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "UV",
"m_DefaultReferenceName": "_UV",
"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": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "21ba980160754584983d206639aa661e",
"m_Id": 3,
"m_DisplayName": "PositionWS",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "PositionWS",
"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": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "32888c42b68046e598934534dc363636",
"m_Id": 0,
"m_DisplayName": "UV",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "351c706bfb6b4a2ab243a648fa5d12fa",
"m_Guid": {
"m_GuidSerialized": "5565f1fc-b268-41d0-9471-d967aebb7ddc"
},
"m_Name": "Depth",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Depth",
"m_DefaultReferenceName": "_Depth",
"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": 0.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "4596ee9afe7a4377a2d718ea83de035e",
"m_Id": 1,
"m_DisplayName": "depth",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "depth",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "5594f2633b7348c5a865cc1ae767f5e6",
"m_Id": 0,
"m_DisplayName": "UV",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "UV",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Matrix4MaterialSlot",
"m_ObjectId": "644b727c1ef047d8b0afa7256b6db1b2",
"m_Id": 0,
"m_DisplayName": "_InverseViewProjection",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"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_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.CategoryData",
"m_ObjectId": "84feca52a05a4342ac915d4ada6ab344",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "173f8d8c3d5f48e58358e9bc8a6718d9"
},
{
"m_Id": "351c706bfb6b4a2ab243a648fa5d12fa"
},
{
"m_Id": "f4801762327f410b854ba9c13cebfcde"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "85adc10f59034083a0358eccdfe6b8a4",
"m_Id": 0,
"m_DisplayName": "Depth",
"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",
"m_ObjectId": "a30ae2a8e1dc45eab3373720e3ca914f",
"m_Id": 1,
"m_DisplayName": "Position",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Position",
"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": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "a4d0462fcb5f45cc8ec9e85d3828575f",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -741.0,
"y": -668.0,
"width": 107.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "85adc10f59034083a0358eccdfe6b8a4"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "351c706bfb6b4a2ab243a648fa5d12fa"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "c4af25c4e3784944aa9d1ab0ee575ad6",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -266.0000305175781,
"y": -744.9999389648438,
"width": 97.00001525878906,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "a30ae2a8e1dc45eab3373720e3ca914f"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Matrix4MaterialSlot",
"m_ObjectId": "f367a0b113ca4b2691d186fc429d6688",
"m_Id": 2,
"m_DisplayName": "_matrix",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_matrix",
"m_StageCapability": 3,
"m_Value": {
"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_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.Matrix4ShaderProperty",
"m_ObjectId": "f4801762327f410b854ba9c13cebfcde",
"m_Guid": {
"m_GuidSerialized": "c414ac1b-5a32-4b59-9659-a3b6713dcccf"
},
"m_Name": "_InverseViewProjection",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "_InverseViewProjection",
"m_DefaultReferenceName": "_InverseViewProjection",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": false,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": true,
"hlslDeclarationOverride": 2,
"m_Hidden": false,
"m_Value": {
"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
}
}

View File

@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 0a6a1b3e3ce633943ae5f7729251cf7e
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}