mirror of
https://github.com/maxartz15/VertexAnimation.git
synced 2025-06-13 23:06:16 +02:00
Custom encoding/decoding.
Custom vector3 encoding/decoding test. removed normal decoding from VA functions, this should now be done outside this function to allow easy switching of decoders. Co-Authored-By: Neeto-rzo <68438932+Neeto-rzo@users.noreply.github.com>
This commit is contained in:
@ -196,7 +196,7 @@
|
||||
"m_Id": "b89a68670a6642e19ae1063415132848"
|
||||
},
|
||||
{
|
||||
"m_Id": "07aa60cb707f4623a11536d9507405db"
|
||||
"m_Id": "68e1750097114f2d9801fda29c1a4a1a"
|
||||
}
|
||||
],
|
||||
"m_Precision": 0,
|
||||
@ -207,34 +207,6 @@
|
||||
"IsFirstSlotValid": true
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||||
"m_ObjectId": "07aa60cb707f4623a11536d9507405db",
|
||||
"m_Id": 2,
|
||||
"m_DisplayName": "Normal",
|
||||
"m_SlotType": 0,
|
||||
"m_Priority": 2147483647,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "Normal",
|
||||
"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",
|
||||
@ -400,6 +372,34 @@
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||||
"m_ObjectId": "68e1750097114f2d9801fda29c1a4a1a",
|
||||
"m_Id": 2,
|
||||
"m_DisplayName": "Alpha",
|
||||
"m_SlotType": 0,
|
||||
"m_Priority": 2147483647,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "Alpha",
|
||||
"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.Vector2MaterialSlot",
|
||||
@ -425,34 +425,6 @@
|
||||
]
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||||
"m_ObjectId": "7e4dcba5ce514132a507e6bccc9e3871",
|
||||
"m_Id": 10,
|
||||
"m_DisplayName": "outNormal",
|
||||
"m_SlotType": 1,
|
||||
"m_Priority": 2147483647,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "outNormal",
|
||||
"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",
|
||||
@ -472,12 +444,6 @@
|
||||
}
|
||||
},
|
||||
"m_Slots": [
|
||||
{
|
||||
"m_Id": "94dc07ad41a445cd8a24fbb7e2ff81aa"
|
||||
},
|
||||
{
|
||||
"m_Id": "7e4dcba5ce514132a507e6bccc9e3871"
|
||||
},
|
||||
{
|
||||
"m_Id": "7dbe167981d2452a8248b6d23432a518"
|
||||
},
|
||||
@ -492,6 +458,12 @@
|
||||
},
|
||||
{
|
||||
"m_Id": "ee509cecfe5046ebb88dc4c3ae5e2fed"
|
||||
},
|
||||
{
|
||||
"m_Id": "f08b7a93deeb46548e0a57309906d22a"
|
||||
},
|
||||
{
|
||||
"m_Id": "f3afc10b499a42c4bbcd332b713c9635"
|
||||
}
|
||||
],
|
||||
"m_Precision": 0,
|
||||
@ -530,34 +502,6 @@
|
||||
]
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||||
"m_ObjectId": "94dc07ad41a445cd8a24fbb7e2ff81aa",
|
||||
"m_Id": 9,
|
||||
"m_DisplayName": "outPosition",
|
||||
"m_SlotType": 1,
|
||||
"m_Priority": 2147483647,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "outPosition",
|
||||
"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.Internal.Vector1ShaderProperty",
|
||||
@ -755,6 +699,34 @@
|
||||
]
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||||
"m_ObjectId": "f08b7a93deeb46548e0a57309906d22a",
|
||||
"m_Id": 9,
|
||||
"m_DisplayName": "position",
|
||||
"m_SlotType": 1,
|
||||
"m_Priority": 2147483647,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "position",
|
||||
"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.PropertyNode",
|
||||
@ -788,6 +760,34 @@
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||||
"m_ObjectId": "f3afc10b499a42c4bbcd332b713c9635",
|
||||
"m_Id": 10,
|
||||
"m_DisplayName": "alpha",
|
||||
"m_SlotType": 1,
|
||||
"m_Priority": 2147483647,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "alpha",
|
||||
"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.Internal.Vector1ShaderProperty",
|
||||
|
Reference in New Issue
Block a user