VertexAnimation/Runtime/Shaders/SubGraphs/VectorEncodingDecoding/DecodeFloatToFloat3.shadersubgraph

501 lines
11 KiB
Plaintext
Raw Normal View History

{
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "a0a2fdc9c1a4498195631e1da43ae9d8",
"m_Properties": [
{
"m_Id": "771ac3b08a1144b086078a0d07c220da"
}
],
"m_Keywords": [],
"m_Nodes": [
{
"m_Id": "966c13a2f0a94a189243c9f0d9524146"
},
{
"m_Id": "b1d371a1c68245c59eaee45d4d61c533"
},
{
"m_Id": "95caa98ec1fe4b12be341a504a26521c"
},
{
"m_Id": "263e3f691adc4e89ae69574634db2de6"
},
{
"m_Id": "5c342c9c5ab943a6ab1d9499425f19e0"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "263e3f691adc4e89ae69574634db2de6"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "5c342c9c5ab943a6ab1d9499425f19e0"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "95caa98ec1fe4b12be341a504a26521c"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "966c13a2f0a94a189243c9f0d9524146"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "b1d371a1c68245c59eaee45d4d61c533"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "263e3f691adc4e89ae69574634db2de6"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "b1d371a1c68245c59eaee45d4d61c533"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "95caa98ec1fe4b12be341a504a26521c"
},
"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": ""
}
},
"m_Path": "Sub Graphs",
"m_ConcretePrecision": 0,
"m_OutputNode": {
"m_Id": "966c13a2f0a94a189243c9f0d9524146"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "0cba0cf553074658b7a3602d4d7e647a",
"m_Id": 1,
"m_DisplayName": "Vector3",
"m_SlotType": 0,
"m_Priority": 2147483647,
"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.Vector1MaterialSlot",
"m_ObjectId": "118dcba6ddd7426b8bd4d80808b125fc",
"m_Id": 0,
"m_DisplayName": "f1",
"m_SlotType": 0,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "f1",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "124ded35cbdf4fa58367d2a2bf5374dc",
"m_Id": 1,
"m_DisplayName": "f3",
"m_SlotType": 1,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "f3",
"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": "263e3f691adc4e89ae69574634db2de6",
"m_Group": {
"m_Id": ""
},
"m_Name": "Custom Function",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -77.0,
"y": 288.0,
"width": 208.0,
"height": 278.0
}
},
"m_Slots": [
{
"m_Id": "32a19e0ffeb54588b2a8f5c9e2a738cd"
},
{
"m_Id": "e5b6dcbec075435fbc9af85799fe6420"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "FloatToFloat2",
"m_FunctionSource": "02eb5540183369645883b2c6b33144dc",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "32a19e0ffeb54588b2a8f5c9e2a738cd",
"m_Id": 0,
"m_DisplayName": "f1",
"m_SlotType": 0,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "f1",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "5c342c9c5ab943a6ab1d9499425f19e0",
"m_Group": {
"m_Id": ""
},
"m_Name": "Custom Function",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 154.0,
"y": 288.0,
"width": 208.0,
"height": 278.0
}
},
"m_Slots": [
{
"m_Id": "e613aa81b1a9434aac59f67e9ae7339b"
},
{
"m_Id": "7c8b7afd842e45a5960396a7de8d42f0"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "Float2ToFloat3",
"m_FunctionSource": "02eb5540183369645883b2c6b33144dc",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "771ac3b08a1144b086078a0d07c220da",
"m_Guid": {
"m_GuidSerialized": "000a9ca6-880e-4eee-a436-af6921fc25b8"
},
"m_Name": "Vector1",
"m_DefaultReferenceName": "Vector1_771ac3b08a1144b086078a0d07c220da",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"m_GPUInstanced": false,
"m_Hidden": false,
"m_Value": 0.23919999599456788,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "7c8b7afd842e45a5960396a7de8d42f0",
"m_Id": 1,
"m_DisplayName": "f3",
"m_SlotType": 1,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "f3",
"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": "95caa98ec1fe4b12be341a504a26521c",
"m_Group": {
"m_Id": ""
},
"m_Name": "Custom Function",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -75.0,
"y": 3.0,
"width": 208.0,
"height": 278.0
}
},
"m_Slots": [
{
"m_Id": "118dcba6ddd7426b8bd4d80808b125fc"
},
{
"m_Id": "124ded35cbdf4fa58367d2a2bf5374dc"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "FloatToFloat3",
"m_FunctionSource": "02eb5540183369645883b2c6b33144dc",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "966c13a2f0a94a189243c9f0d9524146",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 538.0,
"y": 9.5367431640625e-7,
"width": 120.00000762939453,
"height": 77.00000762939453
}
},
"m_Slots": [
{
"m_Id": "0cba0cf553074658b7a3602d4d7e647a"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "b1d371a1c68245c59eaee45d4d61c533",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -207.0,
"y": 43.0,
"width": 115.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "f2355e12360c41d8be5dbcb32f44c13d"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "771ac3b08a1144b086078a0d07c220da"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "e5b6dcbec075435fbc9af85799fe6420",
"m_Id": 1,
"m_DisplayName": "f2",
"m_SlotType": 1,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "f2",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": [
"X",
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "e613aa81b1a9434aac59f67e9ae7339b",
"m_Id": 0,
"m_DisplayName": "f2 (1)",
"m_SlotType": 0,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "f2",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": [
"X",
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "f2355e12360c41d8be5dbcb32f44c13d",
"m_Id": 0,
"m_DisplayName": "Vector1",
"m_SlotType": 1,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}