AnimatorSystems test.

P4 sync:
- LOD testing.
- AnimatorSystems test setup.
- AnimationTime and AnimationIndex per mesh.
- Vector encoding/decoding.
This commit is contained in:
max
2020-12-06 02:36:15 +01:00
parent 7c5e5ee0bb
commit b63ee2ff02
52 changed files with 8072 additions and 1548 deletions

View File

@ -0,0 +1,296 @@
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "a0f7034d6d504c08acccef904e948ff3",
"m_Properties": [
{
"m_Id": "c7aa86a194644e57b07408803b64ebd7"
}
],
"m_Keywords": [],
"m_Nodes": [
{
"m_Id": "0472300f65924c669d0c8ef792dbf414"
},
{
"m_Id": "c55a8b78e4044bb8be73ef4452e76135"
},
{
"m_Id": "cb267a7eefa34a2483d8f58018f1bb0c"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "c55a8b78e4044bb8be73ef4452e76135"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "cb267a7eefa34a2483d8f58018f1bb0c"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "cb267a7eefa34a2483d8f58018f1bb0c"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "0472300f65924c669d0c8ef792dbf414"
},
"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": "0472300f65924c669d0c8ef792dbf414"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "0472300f65924c669d0c8ef792dbf414",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -458.0,
"y": -2.0,
"width": 97.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "9d0a22c11f7347cf85910e670a28a7b2"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "121791ffa91b4ae087bcb644cd91a09b",
"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"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "206320e6a1984736b1513c9eed70af22",
"m_Id": 1,
"m_DisplayName": "vector3",
"m_SlotType": 1,
"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": "2f0e331f581747c9baca83433ff3a875",
"m_Id": 0,
"m_DisplayName": "vector1",
"m_SlotType": 0,
"m_Priority": 2147483647,
"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": "9d0a22c11f7347cf85910e670a28a7b2",
"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.PropertyNode",
"m_ObjectId": "c55a8b78e4044bb8be73ef4452e76135",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -803.0,
"y": 38.0,
"width": 115.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "121791ffa91b4ae087bcb644cd91a09b"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "c7aa86a194644e57b07408803b64ebd7"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "c7aa86a194644e57b07408803b64ebd7",
"m_Guid": {
"m_GuidSerialized": "9bf172a7-cce3-4c15-b3c5-10db50121814"
},
"m_Name": "Vector1",
"m_DefaultReferenceName": "Vector1_c7aa86a194644e57b07408803b64ebd7",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"m_GPUInstanced": false,
"m_Hidden": false,
"m_Value": 0.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "cb267a7eefa34a2483d8f58018f1bb0c",
"m_Group": {
"m_Id": ""
},
"m_Name": "Custom Function",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -669.0,
"y": -2.0,
"width": 181.0,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "2f0e331f581747c9baca83433ff3a875"
},
{
"m_Id": "206320e6a1984736b1513c9eed70af22"
}
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "Decode2Float1ToFloat3",
"m_FunctionSource": "02eb5540183369645883b2c6b33144dc",
"m_FunctionBody": "Enter function body here..."
}

View File

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 64cf0bab3459e65479c62da5bc7e8a33
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}

View File

@ -0,0 +1,296 @@
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "a0f7034d6d504c08acccef904e948ff3",
"m_Properties": [
{
"m_Id": "c7aa86a194644e57b07408803b64ebd7"
}
],
"m_Keywords": [],
"m_Nodes": [
{
"m_Id": "0472300f65924c669d0c8ef792dbf414"
},
{
"m_Id": "c55a8b78e4044bb8be73ef4452e76135"
},
{
"m_Id": "cb267a7eefa34a2483d8f58018f1bb0c"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "c55a8b78e4044bb8be73ef4452e76135"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "cb267a7eefa34a2483d8f58018f1bb0c"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "cb267a7eefa34a2483d8f58018f1bb0c"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "0472300f65924c669d0c8ef792dbf414"
},
"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": "0472300f65924c669d0c8ef792dbf414"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "0472300f65924c669d0c8ef792dbf414",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -458.0,
"y": -2.0,
"width": 97.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "9d0a22c11f7347cf85910e670a28a7b2"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "121791ffa91b4ae087bcb644cd91a09b",
"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"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "206320e6a1984736b1513c9eed70af22",
"m_Id": 1,
"m_DisplayName": "vector3",
"m_SlotType": 1,
"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": "2f0e331f581747c9baca83433ff3a875",
"m_Id": 0,
"m_DisplayName": "vector1",
"m_SlotType": 0,
"m_Priority": 2147483647,
"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": "9d0a22c11f7347cf85910e670a28a7b2",
"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.PropertyNode",
"m_ObjectId": "c55a8b78e4044bb8be73ef4452e76135",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -803.0,
"y": 38.0,
"width": 115.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "121791ffa91b4ae087bcb644cd91a09b"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "c7aa86a194644e57b07408803b64ebd7"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "c7aa86a194644e57b07408803b64ebd7",
"m_Guid": {
"m_GuidSerialized": "9bf172a7-cce3-4c15-b3c5-10db50121814"
},
"m_Name": "Vector1",
"m_DefaultReferenceName": "Vector1_c7aa86a194644e57b07408803b64ebd7",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"m_GPUInstanced": false,
"m_Hidden": false,
"m_Value": 0.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "cb267a7eefa34a2483d8f58018f1bb0c",
"m_Group": {
"m_Id": ""
},
"m_Name": "Custom Function",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -669.0,
"y": -2.0,
"width": 181.0,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "2f0e331f581747c9baca83433ff3a875"
},
{
"m_Id": "206320e6a1984736b1513c9eed70af22"
}
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "DecodeFloat1ToFloat3",
"m_FunctionSource": "02eb5540183369645883b2c6b33144dc",
"m_FunctionBody": "Enter function body here..."
}

View File

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 7f3356cfbf53f3741b12d5aa82ff460a
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}

View File

@ -0,0 +1,296 @@
{
"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"
}
],
"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_Priority": 2147483647,
"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_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.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"
}
],
"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_Priority": 2147483647,
"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_Priority": 2147483647,
"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"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"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,
"m_GPUInstanced": false,
"m_Hidden": false,
"m_Value": {
"x": 1.0,
"y": 1.0,
"z": 1.0,
"w": 0.0
}
}

View File

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 4e060d9f63bdc144c9b64d247cb2006e
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 724cb4c5ff5f0d24ba62eed1ed67add2
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}

View File

@ -0,0 +1,741 @@
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "cbab75119725437aa16a28e453ccbff3",
"m_Properties": [
{
"m_Id": "56de5f3015004a03be4fb3303dacdbc8"
},
{
"m_Id": "8e06a56cd1e244f197e6c9bd75a8474a"
},
{
"m_Id": "b0260d3a49914d1db233f511237ebf85"
},
{
"m_Id": "67550e6ee3cc4f93917d5f97c2ab01a7"
},
{
"m_Id": "6c228c0694f148038c732bcc5395679d"
}
],
"m_Keywords": [],
"m_Nodes": [
{
"m_Id": "ca7a6f238b7644eaa658f7e33e751520"
},
{
"m_Id": "38f0c7c461ee4a4d8bc6c68c89625cd1"
},
{
"m_Id": "bff190e49a7a40bbbeb3f0cdb4fe3b26"
},
{
"m_Id": "5ad050d9f7c64d6cb1562bc8e974de2e"
},
{
"m_Id": "05c90fb44edf466d87c24596ca3c98f4"
},
{
"m_Id": "db576b9d628d44ddac846cc571225702"
},
{
"m_Id": "6631a119b51441f2ab2322e2ec92a0fe"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "05c90fb44edf466d87c24596ca3c98f4"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "38f0c7c461ee4a4d8bc6c68c89625cd1"
},
"m_SlotId": 3
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "38f0c7c461ee4a4d8bc6c68c89625cd1"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "ca7a6f238b7644eaa658f7e33e751520"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "5ad050d9f7c64d6cb1562bc8e974de2e"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "38f0c7c461ee4a4d8bc6c68c89625cd1"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "6631a119b51441f2ab2322e2ec92a0fe"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "38f0c7c461ee4a4d8bc6c68c89625cd1"
},
"m_SlotId": 5
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "bff190e49a7a40bbbeb3f0cdb4fe3b26"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "38f0c7c461ee4a4d8bc6c68c89625cd1"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "db576b9d628d44ddac846cc571225702"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "38f0c7c461ee4a4d8bc6c68c89625cd1"
},
"m_SlotId": 4
}
}
],
"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": "ca7a6f238b7644eaa658f7e33e751520"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "05c90fb44edf466d87c24596ca3c98f4",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -430.0,
"y": 88.0,
"width": 155.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "3e4d522c290842969d37626d90937b59"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "b0260d3a49914d1db233f511237ebf85"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "3739175e78cb4b10997f85da1fa4dd08",
"m_Id": 0,
"m_DisplayName": "Index",
"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"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "38f0c7c461ee4a4d8bc6c68c89625cd1",
"m_Group": {
"m_Id": ""
},
"m_Name": "Custom Function",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -261.0,
"y": 0.0,
"width": 214.0,
"height": 374.0
}
},
"m_Slots": [
{
"m_Id": "f0b2f1d1369445a1b8b30901b35c81d7"
},
{
"m_Id": "7bddec395df24cd0b6c3a89aec8e0d0d"
},
{
"m_Id": "66a50b21d25741c0a00aea150a2edfba"
},
{
"m_Id": "7878c1efdd114f6e8fdd93f7ffab3a48"
},
{
"m_Id": "5ff96695f49e4d1182cf67a53de68be6"
},
{
"m_Id": "6cb7d5a539a9483598c17e29f13c9871"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "SampleTexture2DArrayLOD",
"m_FunctionSource": "eb87dde6533ca4440aae5a15702ee904",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
"m_ObjectId": "3e4d522c290842969d37626d90937b59",
"m_Id": 0,
"m_DisplayName": "SamplerState",
"m_SlotType": 1,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DArrayShaderProperty",
"m_ObjectId": "56de5f3015004a03be4fb3303dacdbc8",
"m_Guid": {
"m_GuidSerialized": "fa470f3b-4f2b-4934-8621-bf38606654cd"
},
"m_Name": "Texture2D Array",
"m_DefaultReferenceName": "Texture2DArray_56de5f3015004a03be4fb3303dacdbc8",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"m_GPUInstanced": false,
"m_Hidden": false,
"m_Value": {
"m_SerializedTexture": "{\"textureArray\":{\"instanceID\":0}}",
"m_Guid": ""
},
"m_Modifiable": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "5ad050d9f7c64d6cb1562bc8e974de2e",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -369.0,
"y": 64.0,
"width": 93.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "87be4a5d04ff4012b150c8d7e9e970f9"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "8e06a56cd1e244f197e6c9bd75a8474a"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "5ff96695f49e4d1182cf67a53de68be6",
"m_Id": 4,
"m_DisplayName": "Index",
"m_SlotType": 0,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "Index",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "6631a119b51441f2ab2322e2ec92a0fe",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -377.0,
"y": 136.0,
"width": 98.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "d127f4bc74d14171b956d138cacb9893"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "6c228c0694f148038c732bcc5395679d"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "66a50b21d25741c0a00aea150a2edfba",
"m_Id": 2,
"m_DisplayName": "UV",
"m_SlotType": 0,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "UV",
"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.Internal.Vector1ShaderProperty",
"m_ObjectId": "67550e6ee3cc4f93917d5f97c2ab01a7",
"m_Guid": {
"m_GuidSerialized": "c9a3f125-3d0c-431a-ad9f-b37a8c9256fd"
},
"m_Name": "Index",
"m_DefaultReferenceName": "Vector1_67550e6ee3cc4f93917d5f97c2ab01a7",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"m_GPUInstanced": false,
"m_Hidden": false,
"m_Value": 0.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "6c228c0694f148038c732bcc5395679d",
"m_Guid": {
"m_GuidSerialized": "0b74a32b-db28-45cd-bc74-0da627317bf3"
},
"m_Name": "LOD",
"m_DefaultReferenceName": "Vector1_6c228c0694f148038c732bcc5395679d",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"m_GPUInstanced": false,
"m_Hidden": false,
"m_Value": 0.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "6cb7d5a539a9483598c17e29f13c9871",
"m_Id": 5,
"m_DisplayName": "LOD",
"m_SlotType": 0,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "LOD",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
"m_ObjectId": "7878c1efdd114f6e8fdd93f7ffab3a48",
"m_Id": 3,
"m_DisplayName": "Sampler",
"m_SlotType": 0,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "Sampler",
"m_StageCapability": 3
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DArrayInputMaterialSlot",
"m_ObjectId": "7bddec395df24cd0b6c3a89aec8e0d0d",
"m_Id": 0,
"m_DisplayName": "TextureArray",
"m_SlotType": 0,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "TextureArray",
"m_StageCapability": 3,
"m_TextureArray": {
"m_SerializedTexture": "{\"textureArray\":{\"instanceID\":0}}",
"m_Guid": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "87be4a5d04ff4012b150c8d7e9e970f9",
"m_Id": 0,
"m_DisplayName": "UV",
"m_SlotType": 1,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"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.Internal.Vector2ShaderProperty",
"m_ObjectId": "8e06a56cd1e244f197e6c9bd75a8474a",
"m_Guid": {
"m_GuidSerialized": "3755068c-1d51-4f97-b21f-e0e26e1d01c7"
},
"m_Name": "UV",
"m_DefaultReferenceName": "Vector2_8e06a56cd1e244f197e6c9bd75a8474a",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"m_GPUInstanced": false,
"m_Hidden": false,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SamplerStateShaderProperty",
"m_ObjectId": "b0260d3a49914d1db233f511237ebf85",
"m_Guid": {
"m_GuidSerialized": "ccb5d131-0aaa-4142-ab36-1aa19ba33eff"
},
"m_Name": "SamplerState",
"m_DefaultReferenceName": "",
"m_OverrideReferenceName": "SamplerState_Linear_Repeat",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"m_GPUInstanced": false,
"m_Hidden": false,
"m_Value": {
"m_filter": 0,
"m_wrap": 0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DArrayMaterialSlot",
"m_ObjectId": "ba8b8ce0934d473eb1e921e11b4a358f",
"m_Id": 0,
"m_DisplayName": "Texture2D Array",
"m_SlotType": 1,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "bff190e49a7a40bbbeb3f0cdb4fe3b26",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -452.0,
"y": 40.0,
"width": 176.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "ba8b8ce0934d473eb1e921e11b4a358f"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "56de5f3015004a03be4fb3303dacdbc8"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "ca7a6f238b7644eaa658f7e33e751520",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 0.0,
"y": 0.0,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "d2d519a5c5484c799973056f62d350a2"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "d127f4bc74d14171b956d138cacb9893",
"m_Id": 0,
"m_DisplayName": "LOD",
"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"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "d2d519a5c5484c799973056f62d350a2",
"m_Id": 1,
"m_DisplayName": "Out_Vector4",
"m_SlotType": 0,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "OutVector4",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "db576b9d628d44ddac846cc571225702",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -381.0,
"y": 112.0,
"width": 104.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "3739175e78cb4b10997f85da1fa4dd08"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "67550e6ee3cc4f93917d5f97c2ab01a7"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "f0b2f1d1369445a1b8b30901b35c81d7",
"m_Id": 1,
"m_DisplayName": "RGBA",
"m_SlotType": 1,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "RGBA",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}

View File

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 8bdd750537df760429e237e32827b8d9
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}

View File

@ -0,0 +1,825 @@
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "144dcb1a2d15470a91360080bc9bd989",
"m_Properties": [
{
"m_Id": "3564f72314574212a0eed0f9581a6b85"
},
{
"m_Id": "a09a6ce7e08545d99b5bda70586f4e79"
},
{
"m_Id": "975a04061f8d4786bce18d1574108732"
},
{
"m_Id": "f9b649ed28584dca8a522f3fb582f350"
},
{
"m_Id": "967e0c2bcb6e48c2b85b82c6d4c734a4"
}
],
"m_Keywords": [],
"m_Nodes": [
{
"m_Id": "031d019a3f114a639fed0a731159883c"
},
{
"m_Id": "83aca69ecbd845e888867dea88a660f1"
},
{
"m_Id": "46dfe2d873b3436a89d174ac3545bc00"
},
{
"m_Id": "f39a0ab1ea5d4129b8c210c762bed693"
},
{
"m_Id": "5c18cb5e2e0542c2ae766d7de7011cda"
},
{
"m_Id": "431f7271c3544d459b5128258fd524ed"
},
{
"m_Id": "bc36bc83631c44e0b48e951b444ba971"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "431f7271c3544d459b5128258fd524ed"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "83aca69ecbd845e888867dea88a660f1"
},
"m_SlotId": 4
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "46dfe2d873b3436a89d174ac3545bc00"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "83aca69ecbd845e888867dea88a660f1"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "5c18cb5e2e0542c2ae766d7de7011cda"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "83aca69ecbd845e888867dea88a660f1"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "83aca69ecbd845e888867dea88a660f1"
},
"m_SlotId": 9
},
"m_InputSlot": {
"m_Node": {
"m_Id": "031d019a3f114a639fed0a731159883c"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "83aca69ecbd845e888867dea88a660f1"
},
"m_SlotId": 10
},
"m_InputSlot": {
"m_Node": {
"m_Id": "031d019a3f114a639fed0a731159883c"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "bc36bc83631c44e0b48e951b444ba971"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "83aca69ecbd845e888867dea88a660f1"
},
"m_SlotId": 6
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f39a0ab1ea5d4129b8c210c762bed693"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "83aca69ecbd845e888867dea88a660f1"
},
"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": "031d019a3f114a639fed0a731159883c"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "031d019a3f114a639fed0a731159883c",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -108.0,
"y": -144.0,
"width": 120.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "b89a68670a6642e19ae1063415132848"
},
{
"m_Id": "07aa60cb707f4623a11536d9507405db"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"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",
"m_ObjectId": "23a471ed9f794edb8e8bd66a5f65451e",
"m_Id": 0,
"m_DisplayName": "Time",
"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"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
"m_ObjectId": "3564f72314574212a0eed0f9581a6b85",
"m_Guid": {
"m_GuidSerialized": "7a6985bf-76e4-4794-ab89-d013bd6b7c48"
},
"m_Name": "PositionMap",
"m_DefaultReferenceName": "Texture2D_3564f72314574212a0eed0f9581a6b85",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"m_GPUInstanced": false,
"m_Hidden": false,
"m_Value": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_Guid": ""
},
"m_Modifiable": true,
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
"m_ObjectId": "3e7d4ea371804f5c9265e859f8e8e08b",
"m_Id": 1,
"m_DisplayName": "texSampler",
"m_SlotType": 0,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "texSampler",
"m_StageCapability": 3
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "431f7271c3544d459b5128258fd524ed",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -546.0,
"y": -32.0,
"width": 102.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "23a471ed9f794edb8e8bd66a5f65451e"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "f9b649ed28584dca8a522f3fb582f350"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "46dfe2d873b3436a89d174ac3545bc00",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -544.0,
"y": -104.0,
"width": 93.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "91fad60529a14d678005224cfbac1b50"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "a09a6ce7e08545d99b5bda70586f4e79"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
"m_ObjectId": "4820d64a797d4948a129f455b98feed8",
"m_Id": 0,
"m_DisplayName": "SamplerState",
"m_SlotType": 1,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "5c18cb5e2e0542c2ae766d7de7011cda",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -594.0,
"y": -56.0,
"width": 151.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "ffcaa3e5c6a5468c92d6d08c301a6f59"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "3564f72314574212a0eed0f9581a6b85"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "7dbe167981d2452a8248b6d23432a518",
"m_Id": 0,
"m_DisplayName": "uvIndex",
"m_SlotType": 0,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "uvIndex",
"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.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",
"m_ObjectId": "83aca69ecbd845e888867dea88a660f1",
"m_Group": {
"m_Id": ""
},
"m_Name": "Custom Function",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -405.0,
"y": -144.0,
"width": 237.99998474121095,
"height": 494.0
}
},
"m_Slots": [
{
"m_Id": "94dc07ad41a445cd8a24fbb7e2ff81aa"
},
{
"m_Id": "7e4dcba5ce514132a507e6bccc9e3871"
},
{
"m_Id": "7dbe167981d2452a8248b6d23432a518"
},
{
"m_Id": "3e7d4ea371804f5c9265e859f8e8e08b"
},
{
"m_Id": "cb715a22dd514d2f9ec4045d78f7361b"
},
{
"m_Id": "c24141b2554f431fbe3223c66bd8f0f0"
},
{
"m_Id": "ee509cecfe5046ebb88dc4c3ae5e2fed"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "VA",
"m_FunctionSource": "a1250bb4cf9f61147bba30a99144d8f2",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "91fad60529a14d678005224cfbac1b50",
"m_Id": 0,
"m_DisplayName": "UV",
"m_SlotType": 1,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"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.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",
"m_ObjectId": "967e0c2bcb6e48c2b85b82c6d4c734a4",
"m_Guid": {
"m_GuidSerialized": "26e53708-434a-4d58-b8b2-d8fb8005d644"
},
"m_Name": "MaxFrames",
"m_DefaultReferenceName": "Vector1_967e0c2bcb6e48c2b85b82c6d4c734a4",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"m_GPUInstanced": false,
"m_Hidden": false,
"m_Value": 0.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SamplerStateShaderProperty",
"m_ObjectId": "975a04061f8d4786bce18d1574108732",
"m_Guid": {
"m_GuidSerialized": "374e9a5f-1ef4-43a2-9ff2-6108a1976ab0"
},
"m_Name": "SamplerState",
"m_DefaultReferenceName": "",
"m_OverrideReferenceName": "SamplerState_Linear_Repeat",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"m_GPUInstanced": false,
"m_Hidden": false,
"m_Value": {
"m_filter": 0,
"m_wrap": 0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector2ShaderProperty",
"m_ObjectId": "a09a6ce7e08545d99b5bda70586f4e79",
"m_Guid": {
"m_GuidSerialized": "96fb959c-8624-4642-9ac6-6b405b5a6dd4"
},
"m_Name": "UV",
"m_DefaultReferenceName": "Vector2_a09a6ce7e08545d99b5bda70586f4e79",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"m_GPUInstanced": false,
"m_Hidden": false,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "b23754f8d4404c9cb59d3879708464ad",
"m_Id": 0,
"m_DisplayName": "MaxFrames",
"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"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "b89a68670a6642e19ae1063415132848",
"m_Id": 1,
"m_DisplayName": "Position",
"m_SlotType": 0,
"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",
"m_ObjectId": "bc36bc83631c44e0b48e951b444ba971",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -576.0,
"y": -8.0,
"width": 136.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "b23754f8d4404c9cb59d3879708464ad"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "967e0c2bcb6e48c2b85b82c6d4c734a4"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "c24141b2554f431fbe3223c66bd8f0f0",
"m_Id": 4,
"m_DisplayName": "time",
"m_SlotType": 0,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "time",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
"m_ObjectId": "cb715a22dd514d2f9ec4045d78f7361b",
"m_Id": 2,
"m_DisplayName": "positionMap",
"m_SlotType": 0,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "positionMap",
"m_StageCapability": 3,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_Guid": ""
},
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "ee509cecfe5046ebb88dc4c3ae5e2fed",
"m_Id": 6,
"m_DisplayName": "maxFrames",
"m_SlotType": 0,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "maxFrames",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "f39a0ab1ea5d4129b8c210c762bed693",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -606.0,
"y": -80.0,
"width": 155.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "4820d64a797d4948a129f455b98feed8"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "975a04061f8d4786bce18d1574108732"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "f9b649ed28584dca8a522f3fb582f350",
"m_Guid": {
"m_GuidSerialized": "07478aa4-3d18-4430-bf12-24688db601b8"
},
"m_Name": "Time",
"m_DefaultReferenceName": "Vector1_f9b649ed28584dca8a522f3fb582f350",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"m_GPUInstanced": false,
"m_Hidden": false,
"m_Value": 0.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
"m_ObjectId": "ffcaa3e5c6a5468c92d6d08c301a6f59",
"m_Id": 0,
"m_DisplayName": "PositionMap",
"m_SlotType": 1,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3
}

View File

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: b89cca7278345864097f8a4dcd77f458
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}

View File

@ -0,0 +1,937 @@
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "144dcb1a2d15470a91360080bc9bd989",
"m_Properties": [
{
"m_Id": "c333595616b942739573e272a2bcc553"
},
{
"m_Id": "a09a6ce7e08545d99b5bda70586f4e79"
},
{
"m_Id": "975a04061f8d4786bce18d1574108732"
},
{
"m_Id": "f9b649ed28584dca8a522f3fb582f350"
},
{
"m_Id": "967e0c2bcb6e48c2b85b82c6d4c734a4"
},
{
"m_Id": "cc4eba55004546408c4665cdb22d3111"
}
],
"m_Keywords": [],
"m_Nodes": [
{
"m_Id": "031d019a3f114a639fed0a731159883c"
},
{
"m_Id": "83aca69ecbd845e888867dea88a660f1"
},
{
"m_Id": "46dfe2d873b3436a89d174ac3545bc00"
},
{
"m_Id": "f39a0ab1ea5d4129b8c210c762bed693"
},
{
"m_Id": "431f7271c3544d459b5128258fd524ed"
},
{
"m_Id": "bc36bc83631c44e0b48e951b444ba971"
},
{
"m_Id": "ec1ce691e5744e479cc8dab24da25012"
},
{
"m_Id": "c3ccaba1b3c243c1b485a94bdacdf812"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "431f7271c3544d459b5128258fd524ed"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "83aca69ecbd845e888867dea88a660f1"
},
"m_SlotId": 4
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "46dfe2d873b3436a89d174ac3545bc00"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "83aca69ecbd845e888867dea88a660f1"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "83aca69ecbd845e888867dea88a660f1"
},
"m_SlotId": 9
},
"m_InputSlot": {
"m_Node": {
"m_Id": "031d019a3f114a639fed0a731159883c"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "83aca69ecbd845e888867dea88a660f1"
},
"m_SlotId": 10
},
"m_InputSlot": {
"m_Node": {
"m_Id": "031d019a3f114a639fed0a731159883c"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "bc36bc83631c44e0b48e951b444ba971"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "83aca69ecbd845e888867dea88a660f1"
},
"m_SlotId": 6
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "c3ccaba1b3c243c1b485a94bdacdf812"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "83aca69ecbd845e888867dea88a660f1"
},
"m_SlotId": 11
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "ec1ce691e5744e479cc8dab24da25012"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "83aca69ecbd845e888867dea88a660f1"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f39a0ab1ea5d4129b8c210c762bed693"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "83aca69ecbd845e888867dea88a660f1"
},
"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": "031d019a3f114a639fed0a731159883c"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "031d019a3f114a639fed0a731159883c",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -108.0,
"y": -144.0,
"width": 120.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "b89a68670a6642e19ae1063415132848"
},
{
"m_Id": "07aa60cb707f4623a11536d9507405db"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"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",
"m_ObjectId": "23a471ed9f794edb8e8bd66a5f65451e",
"m_Id": 0,
"m_DisplayName": "Time",
"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"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
"m_ObjectId": "3e7d4ea371804f5c9265e859f8e8e08b",
"m_Id": 1,
"m_DisplayName": "texSampler",
"m_SlotType": 0,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "texSampler",
"m_StageCapability": 3
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "431f7271c3544d459b5128258fd524ed",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -560.0,
"y": -8.0,
"width": 102.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "23a471ed9f794edb8e8bd66a5f65451e"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "f9b649ed28584dca8a522f3fb582f350"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "46dfe2d873b3436a89d174ac3545bc00",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -544.0,
"y": -104.0,
"width": 93.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "91fad60529a14d678005224cfbac1b50"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "a09a6ce7e08545d99b5bda70586f4e79"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
"m_ObjectId": "4820d64a797d4948a129f455b98feed8",
"m_Id": 0,
"m_DisplayName": "SamplerState",
"m_SlotType": 1,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "582d5d344008450caad85abd181be9a5",
"m_Id": 0,
"m_DisplayName": "PositionMapIndex",
"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"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "7dbe167981d2452a8248b6d23432a518",
"m_Id": 0,
"m_DisplayName": "uvIndex",
"m_SlotType": 0,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "uvIndex",
"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.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",
"m_ObjectId": "83aca69ecbd845e888867dea88a660f1",
"m_Group": {
"m_Id": ""
},
"m_Name": "Custom Function",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -405.0,
"y": -144.0,
"width": 237.99998474121095,
"height": 494.0
}
},
"m_Slots": [
{
"m_Id": "94dc07ad41a445cd8a24fbb7e2ff81aa"
},
{
"m_Id": "7e4dcba5ce514132a507e6bccc9e3871"
},
{
"m_Id": "7dbe167981d2452a8248b6d23432a518"
},
{
"m_Id": "3e7d4ea371804f5c9265e859f8e8e08b"
},
{
"m_Id": "bdb1d62362114a42abb1e5209573429c"
},
{
"m_Id": "b0513c7b0dfc4dfb9a974d7dc9f253b4"
},
{
"m_Id": "c24141b2554f431fbe3223c66bd8f0f0"
},
{
"m_Id": "ee509cecfe5046ebb88dc4c3ae5e2fed"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "VA_ARRAY",
"m_FunctionSource": "a1250bb4cf9f61147bba30a99144d8f2",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "91fad60529a14d678005224cfbac1b50",
"m_Id": 0,
"m_DisplayName": "UV",
"m_SlotType": 1,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"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.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",
"m_ObjectId": "967e0c2bcb6e48c2b85b82c6d4c734a4",
"m_Guid": {
"m_GuidSerialized": "26e53708-434a-4d58-b8b2-d8fb8005d644"
},
"m_Name": "MaxFrames",
"m_DefaultReferenceName": "Vector1_967e0c2bcb6e48c2b85b82c6d4c734a4",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"m_GPUInstanced": false,
"m_Hidden": false,
"m_Value": 0.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SamplerStateShaderProperty",
"m_ObjectId": "975a04061f8d4786bce18d1574108732",
"m_Guid": {
"m_GuidSerialized": "374e9a5f-1ef4-43a2-9ff2-6108a1976ab0"
},
"m_Name": "SamplerState",
"m_DefaultReferenceName": "",
"m_OverrideReferenceName": "SamplerState_Linear_Repeat",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"m_GPUInstanced": false,
"m_Hidden": false,
"m_Value": {
"m_filter": 0,
"m_wrap": 0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector2ShaderProperty",
"m_ObjectId": "a09a6ce7e08545d99b5bda70586f4e79",
"m_Guid": {
"m_GuidSerialized": "96fb959c-8624-4642-9ac6-6b405b5a6dd4"
},
"m_Name": "UV",
"m_DefaultReferenceName": "Vector2_a09a6ce7e08545d99b5bda70586f4e79",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"m_GPUInstanced": false,
"m_Hidden": false,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "b0513c7b0dfc4dfb9a974d7dc9f253b4",
"m_Id": 11,
"m_DisplayName": "positionMapIndex",
"m_SlotType": 0,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "positionMapIndex",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "b23754f8d4404c9cb59d3879708464ad",
"m_Id": 0,
"m_DisplayName": "MaxFrames",
"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"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "b89a68670a6642e19ae1063415132848",
"m_Id": 1,
"m_DisplayName": "Position",
"m_SlotType": 0,
"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",
"m_ObjectId": "bc36bc83631c44e0b48e951b444ba971",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -597.0,
"y": 16.0,
"width": 136.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "b23754f8d4404c9cb59d3879708464ad"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "967e0c2bcb6e48c2b85b82c6d4c734a4"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DArrayInputMaterialSlot",
"m_ObjectId": "bdb1d62362114a42abb1e5209573429c",
"m_Id": 2,
"m_DisplayName": "positionMap",
"m_SlotType": 0,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "positionMap",
"m_StageCapability": 3,
"m_TextureArray": {
"m_SerializedTexture": "{\"textureArray\":{\"instanceID\":0}}",
"m_Guid": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "c24141b2554f431fbe3223c66bd8f0f0",
"m_Id": 4,
"m_DisplayName": "time",
"m_SlotType": 0,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "time",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DArrayShaderProperty",
"m_ObjectId": "c333595616b942739573e272a2bcc553",
"m_Guid": {
"m_GuidSerialized": "484a186e-c3de-457f-80e1-65e0ac649faf"
},
"m_Name": "PositionMap",
"m_DefaultReferenceName": "Texture2DArray_c333595616b942739573e272a2bcc553",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"m_GPUInstanced": false,
"m_Hidden": false,
"m_Value": {
"m_SerializedTexture": "{\"textureArray\":{\"instanceID\":0}}",
"m_Guid": ""
},
"m_Modifiable": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "c3ccaba1b3c243c1b485a94bdacdf812",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -626.0,
"y": -32.0,
"width": 170.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "582d5d344008450caad85abd181be9a5"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "cc4eba55004546408c4665cdb22d3111"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "cc4eba55004546408c4665cdb22d3111",
"m_Guid": {
"m_GuidSerialized": "3f779194-c6e4-40be-9134-677bb0c69785"
},
"m_Name": "PositionMapIndex",
"m_DefaultReferenceName": "Vector1_cc4eba55004546408c4665cdb22d3111",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"m_GPUInstanced": true,
"m_Hidden": false,
"m_Value": 0.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DArrayMaterialSlot",
"m_ObjectId": "d24cdb691ca9439aa88c66714545877c",
"m_Id": 0,
"m_DisplayName": "PositionMap",
"m_SlotType": 1,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "ec1ce691e5744e479cc8dab24da25012",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -612.0,
"y": -56.0,
"width": 158.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "d24cdb691ca9439aa88c66714545877c"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "c333595616b942739573e272a2bcc553"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "ee509cecfe5046ebb88dc4c3ae5e2fed",
"m_Id": 6,
"m_DisplayName": "maxFrames",
"m_SlotType": 0,
"m_Priority": 2147483647,
"m_Hidden": false,
"m_ShaderOutputName": "maxFrames",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "f39a0ab1ea5d4129b8c210c762bed693",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -606.0,
"y": -80.0,
"width": 155.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "4820d64a797d4948a129f455b98feed8"
}
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "975a04061f8d4786bce18d1574108732"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "f9b649ed28584dca8a522f3fb582f350",
"m_Guid": {
"m_GuidSerialized": "07478aa4-3d18-4430-bf12-24688db601b8"
},
"m_Name": "Time",
"m_DefaultReferenceName": "Vector1_f9b649ed28584dca8a522f3fb582f350",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"m_GPUInstanced": false,
"m_Hidden": false,
"m_Value": 0.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}

View File

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: cd1263763928d8547a1d83d121b29fe1
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}