mirror of
				https://github.com/maxartz15/VertexAnimation.git
				synced 2025-11-04 10:25:44 +01:00 
			
		
		
		
	WIP custom vector encoding.
Co-Authored-By: Neeto-rzo <68438932+Neeto-rzo@users.noreply.github.com>
This commit is contained in:
		@@ -45,7 +45,7 @@
 | 
			
		||||
        {
 | 
			
		||||
            "m_OutputSlot": {
 | 
			
		||||
                "m_Node": {
 | 
			
		||||
                    "m_Id": "5c342c9c5ab943a6ab1d9499425f19e0"
 | 
			
		||||
                    "m_Id": "95caa98ec1fe4b12be341a504a26521c"
 | 
			
		||||
                },
 | 
			
		||||
                "m_SlotId": 1
 | 
			
		||||
            },
 | 
			
		||||
@@ -113,6 +113,34 @@
 | 
			
		||||
    "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",
 | 
			
		||||
@@ -171,8 +199,8 @@
 | 
			
		||||
        "m_Expanded": true,
 | 
			
		||||
        "m_Position": {
 | 
			
		||||
            "serializedVersion": "2",
 | 
			
		||||
            "x": -81.0,
 | 
			
		||||
            "y": 325.0,
 | 
			
		||||
            "x": -77.0,
 | 
			
		||||
            "y": 288.0,
 | 
			
		||||
            "width": 208.0,
 | 
			
		||||
            "height": 278.0
 | 
			
		||||
        }
 | 
			
		||||
@@ -226,8 +254,8 @@
 | 
			
		||||
        "m_Expanded": true,
 | 
			
		||||
        "m_Position": {
 | 
			
		||||
            "serializedVersion": "2",
 | 
			
		||||
            "x": 157.0,
 | 
			
		||||
            "y": 325.0,
 | 
			
		||||
            "x": 154.0,
 | 
			
		||||
            "y": 288.0,
 | 
			
		||||
            "width": 208.0,
 | 
			
		||||
            "height": 278.0
 | 
			
		||||
        }
 | 
			
		||||
@@ -358,7 +386,7 @@
 | 
			
		||||
    },
 | 
			
		||||
    "m_Slots": [
 | 
			
		||||
        {
 | 
			
		||||
            "m_Id": "b220757e741547ccaa7b90e39ecc4acb"
 | 
			
		||||
            "m_Id": "0cba0cf553074658b7a3602d4d7e647a"
 | 
			
		||||
        }
 | 
			
		||||
    ],
 | 
			
		||||
    "m_Precision": 0,
 | 
			
		||||
@@ -381,7 +409,7 @@
 | 
			
		||||
        "m_Expanded": true,
 | 
			
		||||
        "m_Position": {
 | 
			
		||||
            "serializedVersion": "2",
 | 
			
		||||
            "x": -219.0,
 | 
			
		||||
            "x": -207.0,
 | 
			
		||||
            "y": 43.0,
 | 
			
		||||
            "width": 115.0,
 | 
			
		||||
            "height": 34.0
 | 
			
		||||
@@ -402,34 +430,6 @@
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
    "m_SGVersion": 0,
 | 
			
		||||
    "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
 | 
			
		||||
    "m_ObjectId": "b220757e741547ccaa7b90e39ecc4acb",
 | 
			
		||||
    "m_Id": 1,
 | 
			
		||||
    "m_DisplayName": "Out_Vector3",
 | 
			
		||||
    "m_SlotType": 0,
 | 
			
		||||
    "m_Priority": 2147483647,
 | 
			
		||||
    "m_Hidden": false,
 | 
			
		||||
    "m_ShaderOutputName": "OutVector3",
 | 
			
		||||
    "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",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user