Files
Project-M/Packages/com.rukhanka.animation/Rukhanka.Editor/ShaderGraph/Rukhanka Deformation.shadersubgraph
T
2026-05-31 14:27:52 -07:00

718 lines
16 KiB
JSON

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "1720145f490942cab14c63fbef190a4d",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "b6074971ef8e478e808c33c6eecd6a52"
}
],
"m_Nodes": [
{
"m_Id": "4d87fee7111a46c4a7c89321ccb4abb3"
},
{
"m_Id": "f240bf8c6bb344dc825a4daca0f681b9"
},
{
"m_Id": "bdb5171a9a4c4d7faf257bbaa5a5cd71"
},
{
"m_Id": "3f2e7a655ed440d0b9e1165625dcf446"
},
{
"m_Id": "23dd92e1117e4a8b9c3e4419eaa4a2ea"
},
{
"m_Id": "436e264bdce7451abe83d461c4118541"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "23dd92e1117e4a8b9c3e4419eaa4a2ea"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "436e264bdce7451abe83d461c4118541"
},
"m_SlotId": 6
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "3f2e7a655ed440d0b9e1165625dcf446"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "436e264bdce7451abe83d461c4118541"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "436e264bdce7451abe83d461c4118541"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "4d87fee7111a46c4a7c89321ccb4abb3"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "436e264bdce7451abe83d461c4118541"
},
"m_SlotId": 4
},
"m_InputSlot": {
"m_Node": {
"m_Id": "4d87fee7111a46c4a7c89321ccb4abb3"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "436e264bdce7451abe83d461c4118541"
},
"m_SlotId": 5
},
"m_InputSlot": {
"m_Node": {
"m_Id": "4d87fee7111a46c4a7c89321ccb4abb3"
},
"m_SlotId": 3
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "bdb5171a9a4c4d7faf257bbaa5a5cd71"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "436e264bdce7451abe83d461c4118541"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f240bf8c6bb344dc825a4daca0f681b9"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "436e264bdce7451abe83d461c4118541"
},
"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": 0,
"m_PreviewMode": 0,
"m_OutputNode": {
"m_Id": "4d87fee7111a46c4a7c89321ccb4abb3"
},
"m_SubDatas": [],
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.VertexIDNode",
"m_ObjectId": "23dd92e1117e4a8b9c3e4419eaa4a2ea",
"m_Group": {
"m_Id": ""
},
"m_Name": "Vertex ID",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -322.75006103515627,
"y": -454.0,
"width": 99.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "e24c093dedae4f5484262e32220eb9f6"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "2457fbb3461a43cabe371c47dc6119a9",
"m_Id": 4,
"m_DisplayName": "deformedNormal",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "deformedNormal",
"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": "35859a23d50640feac37c666183bf367",
"m_Id": 5,
"m_DisplayName": "deformedTangent",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "deformedTangent",
"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": "3e4149eb70a94bb0bb6ad8654a42b107",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.TangentVectorNode",
"m_ObjectId": "3f2e7a655ed440d0b9e1165625dcf446",
"m_Group": {
"m_Id": ""
},
"m_Name": "Tangent Vector",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -429.75,
"y": -115.0,
"width": 205.99993896484376,
"height": 131.00003051757813
}
},
"m_Slots": [
{
"m_Id": "59197eb49398482d9d10b2b5fdc5771d"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 0
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "436e264bdce7451abe83d461c4118541",
"m_Group": {
"m_Id": ""
},
"m_Name": "ComputeDeformedVertex (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 36.0,
"y": -454.0,
"width": 300.0,
"height": 166.0
}
},
"m_Slots": [
{
"m_Id": "8fa4f17453dc4939b738efc0e8b3a40c"
},
{
"m_Id": "dfd88786ff6c4f2d9c6c29feb86f7e6b"
},
{
"m_Id": "ad9c8e04aa9b4d44bcdfaaeebba2c192"
},
{
"m_Id": "e3e78bc840bc460c9eb16733926cddc3"
},
{
"m_Id": "5c0ce303256f4f47bb44efd02a128820"
},
{
"m_Id": "2457fbb3461a43cabe371c47dc6119a9"
},
{
"m_Id": "35859a23d50640feac37c666183bf367"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "ComputeDeformedVertex",
"m_FunctionSource": "a387024f61981304ca17ea1e3ffd997b",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "4d87fee7111a46c4a7c89321ccb4abb3",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 558.0,
"y": -454.0,
"width": 98.0,
"height": 125.0
}
},
"m_Slots": [
{
"m_Id": "6aea37418b9545aea03e0becaf0b4b10"
},
{
"m_Id": "902f6b369b9047fe992b391a1d55058c"
},
{
"m_Id": "5fa4764bc6b749bb8530a9d02b8ef043"
}
],
"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.Vector3MaterialSlot",
"m_ObjectId": "59197eb49398482d9d10b2b5fdc5771d",
"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": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "5c0ce303256f4f47bb44efd02a128820",
"m_Id": 3,
"m_DisplayName": "deforemdVertex",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "deforemdVertex",
"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": "5fa4764bc6b749bb8530a9d02b8ef043",
"m_Id": 3,
"m_DisplayName": "DeformedTangent",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "DeformedTangent",
"m_StageCapability": 1,
"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": "6aea37418b9545aea03e0becaf0b4b10",
"m_Id": 1,
"m_DisplayName": "DeformedVertex",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "DeformedVertex",
"m_StageCapability": 1,
"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": "7922818782744c999aa4a37464af055f",
"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": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "8fa4f17453dc4939b738efc0e8b3a40c",
"m_Id": 6,
"m_DisplayName": "vertexID",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "vertexID",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "902f6b369b9047fe992b391a1d55058c",
"m_Id": 2,
"m_DisplayName": "DeformedNormal",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "DeformedNormal",
"m_StageCapability": 1,
"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": "ad9c8e04aa9b4d44bcdfaaeebba2c192",
"m_Id": 1,
"m_DisplayName": "meshNormal",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "meshNormal",
"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.CategoryData",
"m_ObjectId": "b6074971ef8e478e808c33c6eecd6a52",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalVectorNode",
"m_ObjectId": "bdb5171a9a4c4d7faf257bbaa5a5cd71",
"m_Group": {
"m_Id": ""
},
"m_Name": "Normal Vector",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -429.75,
"y": -246.0,
"width": 205.99993896484376,
"height": 131.0
}
},
"m_Slots": [
{
"m_Id": "7922818782744c999aa4a37464af055f"
}
],
"synonyms": [
"surface direction"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "dfd88786ff6c4f2d9c6c29feb86f7e6b",
"m_Id": 0,
"m_DisplayName": "meshVertex",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "meshVertex",
"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.Vector1MaterialSlot",
"m_ObjectId": "e24c093dedae4f5484262e32220eb9f6",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 1,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "e3e78bc840bc460c9eb16733926cddc3",
"m_Id": 2,
"m_DisplayName": "meshTangent",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "meshTangent",
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
"m_ObjectId": "f240bf8c6bb344dc825a4daca0f681b9",
"m_Group": {
"m_Id": ""
},
"m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -429.75,
"y": -377.0,
"width": 205.99993896484376,
"height": 131.0
}
},
"m_Slots": [
{
"m_Id": "3e4149eb70a94bb0bb6ad8654a42b107"
}
],
"synonyms": [
"location"
],
"m_Precision": 1,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 0,
"m_PositionSource": 0
}