VertexAnimation/Runtime/Shaders/SubGraphs/VectorEncodingDecoding/Encode2Vector3ToVector1.shadersubgraph
max 952c1862be Package.json
Package.json deps.
More texture checks.
Upgrade project to 2020.2.
NOTE: Only works in editor.
TODO: Save generated data in editor time.
2020-12-21 03:21:51 +01:00

297 lines
6.7 KiB
Plaintext

{
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "bf747e57d27543eea05553ea33648cbe",
"m_Properties": [
{
"m_Id": "f4f17c3262704090a48f16ca7b479fe2"
}
],
"m_Keywords": [],
"m_Nodes": [
{
"m_Id": "f4bc27e4e711454b9e1074a9ae7debfc"
},
{
"m_Id": "0fa848991aa047428743c4057e9d1b7c"
},
{
"m_Id": "85156a1cafc84b86ac61aec37908a779"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "0fa848991aa047428743c4057e9d1b7c"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "85156a1cafc84b86ac61aec37908a779"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "85156a1cafc84b86ac61aec37908a779"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "f4bc27e4e711454b9e1074a9ae7debfc"
},
"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": ""
}
},
"m_Path": "Sub Graphs",
"m_ConcretePrecision": 0,
"m_OutputNode": {
"m_Id": "f4bc27e4e711454b9e1074a9ae7debfc"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "0fa848991aa047428743c4057e9d1b7c",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1044.0,
"y": 35.000003814697269,
"width": 119.00000762939453,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "da67a8cccc5e47829fbfcf50aead1f3e"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "f4f17c3262704090a48f16ca7b479fe2"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "285ef83ab3394450b82148d63dacc74d",
"m_Id": 1,
"m_DisplayName": "Vector1",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Vector1",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "51aaf4c369c042f28efedb410527046a",
"m_Id": 1,
"m_DisplayName": "vector3",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "vector3",
"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": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "85156a1cafc84b86ac61aec37908a779",
"m_Group": {
"m_Id": ""
},
"m_Name": "Custom Function",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -870.0,
"y": -5.00000524520874,
"width": 181.0,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "51aaf4c369c042f28efedb410527046a"
},
{
"m_Id": "af9842cba20446ec90d8a3d622f30915"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "Encode2Float3ToFloat1",
"m_FunctionSource": "02eb5540183369645883b2c6b33144dc",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "af9842cba20446ec90d8a3d622f30915",
"m_Id": 0,
"m_DisplayName": "vector1",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "vector1",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "da67a8cccc5e47829fbfcf50aead1f3e",
"m_Id": 0,
"m_DisplayName": "Vector3",
"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": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "f4bc27e4e711454b9e1074a9ae7debfc",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -661.0,
"y": -5.00000524520874,
"width": 93.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "285ef83ab3394450b82148d63dacc74d"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
"m_ObjectId": "f4f17c3262704090a48f16ca7b479fe2",
"m_Guid": {
"m_GuidSerialized": "7b9cf9eb-5e6f-4909-bd26-ac9788a9c2b4"
},
"m_Name": "Vector3",
"m_DefaultReferenceName": "Vector3_f4f17c3262704090a48f16ca7b479fe2",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"x": 1.0,
"y": 1.0,
"z": 1.0,
"w": 0.0
}
}