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

302 lines
7.4 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "99d8c8b2a0be4e6d8d641ca773e1fa4d",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "dbfd5ddcd98644eb9bb575448a03adfa"
}
],
"m_Nodes": [
{
"m_Id": "b4cd9f35028793858f9ecbcdaa73b7af"
},
{
"m_Id": "7ce76f3d031c4329bdfd8bfaf0328c4f"
},
{
"m_Id": "68f844e964cd47a78a56a01b7290a231"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "68f844e964cd47a78a56a01b7290a231"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "7ce76f3d031c4329bdfd8bfaf0328c4f"
},
"m_SlotId": 7
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "7ce76f3d031c4329bdfd8bfaf0328c4f"
},
"m_SlotId": 6
},
"m_InputSlot": {
"m_Node": {
"m_Id": "b4cd9f35028793858f9ecbcdaa73b7af"
},
"m_SlotId": 7
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 200.0
},
"m_Blocks": []
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
},
"preventRotation": false
},
"m_Path": "Sub Graphs",
"m_GraphPrecision": 0,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "b4cd9f35028793858f9ecbcdaa73b7af"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "1069426c6add415588757437a34dda7b",
"m_Id": 7,
"m_DisplayName": "Color",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Color",
"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.Vector3MaterialSlot",
"m_ObjectId": "19a742aa19484caf9763be7d7d62e09d",
"m_Id": 7,
"m_DisplayName": "PositionWs",
"m_SlotType": 0,
"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.Vector3MaterialSlot",
"m_ObjectId": "248ffa6bbf344d58bb8cef8944b11def",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"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.SubGraphNode",
"m_ObjectId": "68f844e964cd47a78a56a01b7290a231",
"m_Group": {
"m_Id": ""
},
"m_Name": "Mud Depth To World Position HDRP",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -875.2000122070313,
"y": -234.39999389648438,
"width": 250.4000244140625,
"height": 93.60000610351563
}
},
"m_Slots": [
{
"m_Id": "248ffa6bbf344d58bb8cef8944b11def"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"db7ed6be270c5934791c13d191037f5f\",\n \"type\": 3\n }\n}",
"m_PropertyGuids": [],
"m_PropertyIds": [],
"m_Dropdowns": [],
"m_DropdownSelectedEntries": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "7ce76f3d031c4329bdfd8bfaf0328c4f",
"m_Group": {
"m_Id": ""
},
"m_Name": "MudBunDecal (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -575.2000122070313,
"y": -234.40000915527345,
"width": 271.2000427246094,
"height": 189.5999755859375
}
},
"m_Slots": [
{
"m_Id": "19a742aa19484caf9763be7d7d62e09d"
},
{
"m_Id": "90a565b06994446eacb80c4341e96799"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "MudBunDecal",
"m_FunctionSource": "0bc6b21fb08498d4d84d44d806c1dfc5",
"m_FunctionBody": "#define SHADER_GRAPH\n#include \"Assets/MudBun/Shader/Render/ShaderCommon.cginc\"\r\n#include \"Assets/MudBun/Shader/Render/MeshCommon.cginc\"\r\n\r\nfloat4 positionWs;\r\nfloat2 metallicSmoothness;\r\n//mudbun_mesh_vert(int(VertexID), positionWs, PositionLs, NormalWs, NormalLs, TangentWs, TangentLs, Color, EmissionHash, metallicSmoothness, TextureWeight, SdfValue, Outward2dNormalLs, Outward2dNormalWs);\r\n//PositionWs = positionWs.xyz;\r\n//Metallic = metallicSmoothness.x;\r\n//Smoothness = metallicSmoothness.y;"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "90a565b06994446eacb80c4341e96799",
"m_Id": 6,
"m_DisplayName": "Color",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Color",
"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": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "b4cd9f35028793858f9ecbcdaa73b7af",
"m_Group": {
"m_Id": ""
},
"m_Name": "Out_Vector4",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -282.3999938964844,
"y": -234.3999481201172,
"width": 119.19999694824219,
"height": 76.79991149902344
}
},
"m_Slots": [
{
"m_Id": "1069426c6add415588757437a34dda7b"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "dbfd5ddcd98644eb9bb575448a03adfa",
"m_Name": "",
"m_ChildObjectList": []
}