You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

857 lines
20 KiB

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "84c9273dcded4d07b5f00d53518cc4e9",
"m_Properties": [
{
"m_Id": "06080a65a3b64fb7b80436267bc5cc3e"
},
{
"m_Id": "6cd127770c0248149573d1447bea387b"
},
{
"m_Id": "080c50c0611c4a8ba72d7a7bb6f4d6b8"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "6820da6d41b54518830bd3182c1510bd"
}
],
"m_Nodes": [
{
"m_Id": "e844ff247d044588a485de6cd4d4f9e3"
},
{
"m_Id": "143e4398349948279eee045e0f9170eb"
},
{
"m_Id": "da0e6619fc3f4e22984f43026a0b5c6f"
},
{
"m_Id": "3f714cd044804cf598e93af0be6d96e0"
},
{
"m_Id": "01b9233f96594a05b2c16963f58eb91b"
},
{
"m_Id": "4aeb41f2c0de45b8959feed6af6998ee"
},
{
"m_Id": "7a32419bb4c146e68196c2d5904b5441"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "01b9233f96594a05b2c16963f58eb91b"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "143e4398349948279eee045e0f9170eb"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "143e4398349948279eee045e0f9170eb"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e844ff247d044588a485de6cd4d4f9e3"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "3f714cd044804cf598e93af0be6d96e0"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "143e4398349948279eee045e0f9170eb"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "4aeb41f2c0de45b8959feed6af6998ee"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "3f714cd044804cf598e93af0be6d96e0"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "7a32419bb4c146e68196c2d5904b5441"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e844ff247d044588a485de6cd4d4f9e3"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "da0e6619fc3f4e22984f43026a0b5c6f"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "3f714cd044804cf598e93af0be6d96e0"
},
"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": "e844ff247d044588a485de6cd4d4f9e3"
},
"m_SubDatas": [],
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "01b9233f96594a05b2c16963f58eb91b",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -9.4000244140625,
"y": 98.1999740600586,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "8f705ae8bd7e4d2e9e72156a9c16bf14"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "06080a65a3b64fb7b80436267bc5cc3e"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
"m_ObjectId": "06080a65a3b64fb7b80436267bc5cc3e",
"m_Guid": {
"m_GuidSerialized": "aa4a2561-faab-477a-8d97-310ec9d611e3"
},
"m_Name": "ReflectionMap",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "ReflectionMap",
"m_DefaultReferenceName": "_ReflectionMap",
"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": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_Guid": ""
},
"isMainTexture": false,
"useTilingAndOffset": false,
"m_Modifiable": true,
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "06a2408e5ec94f829727aae0a105116a",
"m_Id": 0,
"m_DisplayName": "ReflectionDistortion",
"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.Internal.Vector1ShaderProperty",
"m_ObjectId": "080c50c0611c4a8ba72d7a7bb6f4d6b8",
"m_Guid": {
"m_GuidSerialized": "5a766af2-b411-4ca8-b6b6-5f12e42498fc"
},
"m_Name": "ReflectionBlend",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "ReflectionBlend",
"m_DefaultReferenceName": "_ReflectionBlend",
"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.SampleTexture2DNode",
"m_ObjectId": "143e4398349948279eee045e0f9170eb",
"m_Group": {
"m_Id": ""
},
"m_Name": "Sample Texture 2D",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 140.5999755859375,
"y": -25.800003051757814,
"width": 183.199951171875,
"height": 247.9999542236328
}
},
"m_Slots": [
{
"m_Id": "2071acfbe6d84e60816f1b5d85c0bb76"
},
{
"m_Id": "afa293a9ff164c258b39da9fc68e23cd"
},
{
"m_Id": "2753149178cf4d37806391f211d54e34"
},
{
"m_Id": "9750b2e66f1444248bc97ea1a44ce9c6"
},
{
"m_Id": "d9b3ae3d220b4a1ab90638dad598994f"
},
{
"m_Id": "c7dc9bb699b840fe88699f63d61f8066"
},
{
"m_Id": "db4a215f3af5412491f865295d870f93"
},
{
"m_Id": "a90cc8497849489b867dfddbf748ad44"
}
],
"synonyms": [
"tex2d"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_TextureType": 0,
"m_NormalMapSpace": 0,
"m_EnableGlobalMipBias": true,
"m_MipSamplingMode": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "14421fba8a844629a8964b9a53927126",
"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.Vector4MaterialSlot",
"m_ObjectId": "2071acfbe6d84e60816f1b5d85c0bb76",
"m_Id": 0,
"m_DisplayName": "RGBA",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "RGBA",
"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.Vector1MaterialSlot",
"m_ObjectId": "2753149178cf4d37806391f211d54e34",
"m_Id": 5,
"m_DisplayName": "G",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "G",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "3f714cd044804cf598e93af0be6d96e0",
"m_Group": {
"m_Id": ""
},
"m_Name": "DistortUV (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -109.800048828125,
"y": -249.00003051757813,
"width": 211.199951171875,
"height": 301.60003662109377
}
},
"m_Slots": [
{
"m_Id": "14421fba8a844629a8964b9a53927126"
},
{
"m_Id": "8c07ac5d0c884f20a97e2505a1807ec9"
},
{
"m_Id": "9dd854db4a4b4f13afe53a3d18d5c790"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "DistortUV",
"m_FunctionSource": "84eeacf7409dd9e4a8cbfab15c1cb3c7",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "4aeb41f2c0de45b8959feed6af6998ee",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -259.800048828125,
"y": -68.20001220703125,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "06a2408e5ec94f829727aae0a105116a"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "6cd127770c0248149573d1447bea387b"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "5b76f3886c4b4fdda58fb9b97384a791",
"m_Id": 0,
"m_DisplayName": "ReflectionBlend",
"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": "6820da6d41b54518830bd3182c1510bd",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "06080a65a3b64fb7b80436267bc5cc3e"
},
{
"m_Id": "6cd127770c0248149573d1447bea387b"
},
{
"m_Id": "080c50c0611c4a8ba72d7a7bb6f4d6b8"
}
]
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "6cd127770c0248149573d1447bea387b",
"m_Guid": {
"m_GuidSerialized": "416ba232-8438-4bcf-b03e-48a87b3e04a3"
},
"m_Name": "ReflectionDistortion",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "ReflectionDistortion",
"m_DefaultReferenceName": "_ReflectionDistortion",
"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.PropertyNode",
"m_ObjectId": "7a32419bb4c146e68196c2d5904b5441",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -150.0,
"y": 0.0,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "5b76f3886c4b4fdda58fb9b97384a791"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "080c50c0611c4a8ba72d7a7bb6f4d6b8"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "8c07ac5d0c884f20a97e2505a1807ec9",
"m_Id": 1,
"m_DisplayName": "Amount",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Amount",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
"m_ObjectId": "8f705ae8bd7e4d2e9e72156a9c16bf14",
"m_Id": 0,
"m_DisplayName": "ReflectionMap",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "9750b2e66f1444248bc97ea1a44ce9c6",
"m_Id": 6,
"m_DisplayName": "B",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "9dd854db4a4b4f13afe53a3d18d5c790",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "a6d01dda399d4bb2860be5c3d9d93f8b",
"m_Id": 1,
"m_DisplayName": "ReflexColor",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "ReflexColor",
"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.SamplerStateMaterialSlot",
"m_ObjectId": "a90cc8497849489b867dfddbf748ad44",
"m_Id": 3,
"m_DisplayName": "Sampler",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Sampler",
"m_StageCapability": 3,
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "afa293a9ff164c258b39da9fc68e23cd",
"m_Id": 4,
"m_DisplayName": "R",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "R",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
"m_ObjectId": "c7dc9bb699b840fe88699f63d61f8066",
"m_Id": 1,
"m_DisplayName": "Texture",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Texture",
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_Guid": ""
},
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "d9b3ae3d220b4a1ab90638dad598994f",
"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.ScreenPositionNode",
"m_ObjectId": "da0e6619fc3f4e22984f43026a0b5c6f",
"m_Group": {
"m_Id": ""
},
"m_Name": "Screen Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -305.0,
"y": -153.00003051757813,
"width": 145.5999755859375,
"height": 127.20002746582031
}
},
"m_Slots": [
{
"m_Id": "f07f3a02b0164a11b64a55d4c4f7cb38"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_ScreenSpaceType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
"m_ObjectId": "db4a215f3af5412491f865295d870f93",
"m_Id": 2,
"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_Channel": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "e844ff247d044588a485de6cd4d4f9e3",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 432.1999816894531,
"y": 0.0,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "a6d01dda399d4bb2860be5c3d9d93f8b"
},
{
"m_Id": "ec4c3e991b8c40a3be53e6ebd5ec352d"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "ec4c3e991b8c40a3be53e6ebd5ec352d",
"m_Id": 2,
"m_DisplayName": "ReflexResult",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "ReflexResult",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "f07f3a02b0164a11b64a55d4c4f7cb38",
"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,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}