添加了更多的材质函数,部分与引擎新特性重合,这是为了能够脱离引擎在多个版本中更具可移植性。

添加了多种对程序流程控制与保全的脚本,而且现在可以更快速的构建一个具有线性关系的协程了。
  添加了一个支持多种模式的单维梯度控制器,类似unity的颜色梯度类型。
  添加了一个用于看向某个物体的旋转控制器。
  添加了一个加载宏。
  完善了批处理脚本流程。
This commit is contained in:
2023-11-23 11:10:40 +08:00
parent d691f8cde8
commit a658cc424b
70 changed files with 24697 additions and 68 deletions
@@ -0,0 +1,180 @@
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "84aa12ea8c7f4190973dab9a530ebb93",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "34bd486136d94eaf81c352e41e295c87"
}
],
"m_Nodes": [
{
"m_Id": "d275909a6cdc4ea18f6ac0e038906aae"
},
{
"m_Id": "16be8fb33dd44534a9395e2fe364b659"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "16be8fb33dd44534a9395e2fe364b659"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "d275909a6cdc4ea18f6ac0e038906aae"
},
"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": ""
},
"preventRotation": false
},
"m_Path": "Sub Graphs",
"m_GraphPrecision": 1,
"m_PreviewMode": 1,
"m_OutputNode": {
"m_Id": "d275909a6cdc4ea18f6ac0e038906aae"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "16be8fb33dd44534a9395e2fe364b659",
"m_Group": {
"m_Id": ""
},
"m_Name": "PI (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -199.0,
"y": 0.0,
"width": 166.0,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "ce4fd33dc2304418a03a50dd2fadb5ea"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 1,
"m_FunctionName": "PI",
"m_FunctionSource": "",
"m_FunctionBody": "pi = 3.1415926535897932384626433832795;\n"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "34bd486136d94eaf81c352e41e295c87",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "ce4fd33dc2304418a03a50dd2fadb5ea",
"m_Id": 0,
"m_DisplayName": "pi",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "pi",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "d275909a6cdc4ea18f6ac0e038906aae",
"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": "e2abd78a1fc1471f95a4a4ba895d6d2e"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "e2abd78a1fc1471f95a4a4ba895d6d2e",
"m_Id": 1,
"m_DisplayName": "PI",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "PI",
"m_StageCapability": 3,
"m_Value": 3.1415927410125734,
"m_DefaultValue": 0.0,
"m_Labels": []
}
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 485490f1eea21ae4bada3113cfff1439
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
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 7c3de367c330d1b41a617f62e6be3a51
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
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: daf5b67320329a14588fdd2bd50230b4
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
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 3deca10a272297642a93b446727afa2e
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
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 961e544533359964cac7b044a4ae7f0a
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
@@ -0,0 +1,519 @@
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "913bf919bcbc4a9aa08c2ea70d2b5bd9",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "94bbbede7d6a4ff78223decef5ecb230"
}
],
"m_Nodes": [
{
"m_Id": "37ca9058f79f4346afc7aef4e5b7455b"
},
{
"m_Id": "f6c9a6ff0fcb49c186100fc67de1a320"
},
{
"m_Id": "1e166a3ac82044a8b26b47a49a4f4b49"
},
{
"m_Id": "96ac27fda4bf4f8a9b82cf37bae07de8"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "1e166a3ac82044a8b26b47a49a4f4b49"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "96ac27fda4bf4f8a9b82cf37bae07de8"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "96ac27fda4bf4f8a9b82cf37bae07de8"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "37ca9058f79f4346afc7aef4e5b7455b"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f6c9a6ff0fcb49c186100fc67de1a320"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "96ac27fda4bf4f8a9b82cf37bae07de8"
},
"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": ""
},
"preventRotation": false
},
"m_Path": "Sub Graphs",
"m_GraphPrecision": 1,
"m_PreviewMode": 1,
"m_OutputNode": {
"m_Id": "37ca9058f79f4346afc7aef4e5b7455b"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "051e8c133dbd4979bcfd9f9e1ebd3b35",
"m_Id": 0,
"m_DisplayName": "Out",
"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": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "06a8bdd262424e3d8fd8cd2883fe6e32",
"m_Id": 7,
"m_DisplayName": "Height",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Height",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "0a13eff7e78344c7b64605d9092d5ed8",
"m_Id": 6,
"m_DisplayName": "Width",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Width",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CameraNode",
"m_ObjectId": "1e166a3ac82044a8b26b47a49a4f4b49",
"m_Group": {
"m_Id": ""
},
"m_Name": "Camera",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -326.0,
"y": 0.0,
"width": 97.0,
"height": 76.0
}
},
"m_Slots": [
{
"m_Id": "39ab33f369174593a84e3814641d2bee"
},
{
"m_Id": "cffeab78cc6f42818a997c2b38070c0d"
},
{
"m_Id": "bba66bbbac304125bff9a1ad23a98aca"
},
{
"m_Id": "20c842d25a5040a2a8aa1e04dc973850"
},
{
"m_Id": "24fa7b844b9549518fa1821cc7e0e8c8"
},
{
"m_Id": "32e2070ed7484478b55d5da524fb04aa"
},
{
"m_Id": "0a13eff7e78344c7b64605d9092d5ed8"
},
{
"m_Id": "06a8bdd262424e3d8fd8cd2883fe6e32"
}
],
"synonyms": [
"position",
"direction",
"orthographic",
"near plane",
"far plane",
"width",
"height"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "20c842d25a5040a2a8aa1e04dc973850",
"m_Id": 3,
"m_DisplayName": "Near Plane",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Near Plane",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "24fa7b844b9549518fa1821cc7e0e8c8",
"m_Id": 4,
"m_DisplayName": "Far Plane",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Far Plane",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "302bee369f7a4bacb31d706c98fc38af",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"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.Vector1MaterialSlot",
"m_ObjectId": "32e2070ed7484478b55d5da524fb04aa",
"m_Id": 5,
"m_DisplayName": "Z Buffer Sign",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Z Buffer Sign",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "37ca9058f79f4346afc7aef4e5b7455b",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -101.0,
"y": 0.0,
"width": 86.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "499388254bec4f7cb89ccb65bee8fd2a"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "39ab33f369174593a84e3814641d2bee",
"m_Id": 0,
"m_DisplayName": "Position",
"m_SlotType": 1,
"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": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "499388254bec4f7cb89ccb65bee8fd2a",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "5442cbd397f44cb7bfe0aa7a3ced3285",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "617697979f2b488d961a88f74321235f",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"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.CategoryData",
"m_ObjectId": "94bbbede7d6a4ff78223decef5ecb230",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DistanceNode",
"m_ObjectId": "96ac27fda4bf4f8a9b82cf37bae07de8",
"m_Group": {
"m_Id": ""
},
"m_Name": "Distance",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -229.0,
"y": 0.0,
"width": 128.0,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "302bee369f7a4bacb31d706c98fc38af"
},
{
"m_Id": "617697979f2b488d961a88f74321235f"
},
{
"m_Id": "5442cbd397f44cb7bfe0aa7a3ced3285"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "bba66bbbac304125bff9a1ad23a98aca",
"m_Id": 2,
"m_DisplayName": "Orthographic",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Orthographic",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "cffeab78cc6f42818a997c2b38070c0d",
"m_Id": 1,
"m_DisplayName": "Direction",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Direction",
"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": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
"m_ObjectId": "f6c9a6ff0fcb49c186100fc67de1a320",
"m_Group": {
"m_Id": ""
},
"m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -532.0,
"y": 0.0,
"width": 206.0,
"height": 131.0
}
},
"m_Slots": [
{
"m_Id": "051e8c133dbd4979bcfd9f9e1ebd3b35"
}
],
"synonyms": [
"location"
],
"m_Precision": 1,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 2,
"m_PositionSource": 0
}
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 31e39c0352e7fa644bedc14a751f6f67
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
@@ -0,0 +1,719 @@
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "1f6a19d74aa24589a951b891846d06bf",
"m_Properties": [
{
"m_Id": "4a0ccfe171ca4cbea0224df37bb4c106"
},
{
"m_Id": "246ae5a94d5946adb708c1df8cecb0b3"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "1b9e4b8c97bb4a6ca4dfcaa2bbcf6dcd"
}
],
"m_Nodes": [
{
"m_Id": "9bd69e69963242de9d3556ed293f164c"
},
{
"m_Id": "844e1fad213f489f9d9d53b61ceada1d"
},
{
"m_Id": "39752ee903e84cc3a3ed40a6210844e6"
},
{
"m_Id": "4c9979a9a0b942e8ad7a8516a25f1bc9"
},
{
"m_Id": "f87c1fd14eba4beb9fbabb59080de1c0"
},
{
"m_Id": "dde6006ead684a9999d0071cce122846"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "39752ee903e84cc3a3ed40a6210844e6"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "9bd69e69963242de9d3556ed293f164c"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "4c9979a9a0b942e8ad7a8516a25f1bc9"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "844e1fad213f489f9d9d53b61ceada1d"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "844e1fad213f489f9d9d53b61ceada1d"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "39752ee903e84cc3a3ed40a6210844e6"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "dde6006ead684a9999d0071cce122846"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "844e1fad213f489f9d9d53b61ceada1d"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f87c1fd14eba4beb9fbabb59080de1c0"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "39752ee903e84cc3a3ed40a6210844e6"
},
"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": ""
},
"preventRotation": false
},
"m_Path": "Sub Graphs",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "9bd69e69963242de9d3556ed293f164c"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "1b9e4b8c97bb4a6ca4dfcaa2bbcf6dcd",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "4a0ccfe171ca4cbea0224df37bb4c106"
},
{
"m_Id": "246ae5a94d5946adb708c1df8cecb0b3"
}
]
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "246ae5a94d5946adb708c1df8cecb0b3",
"m_Guid": {
"m_GuidSerialized": "fa3eeb73-bf96-4ffb-96d8-2ee14bf927dc"
},
"m_Name": "Scale",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Scale",
"m_DefaultReferenceName": "_Scale",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": 1.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "39752ee903e84cc3a3ed40a6210844e6",
"m_Group": {
"m_Id": ""
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -228.99998474121095,
"y": 0.000002384185791015625,
"width": 126.00000762939453,
"height": 117.99999237060547
}
},
"m_Slots": [
{
"m_Id": "d7e6e17514114fa7bb58b3e3185470ae"
},
{
"m_Id": "dc0979a614ed45c0ac8138d162536217"
},
{
"m_Id": "7263456c448141239ff05a4f36632531"
}
],
"synonyms": [
"multiplication",
"times",
"x"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "40499ee0cb974b1f9b75372b87ff8e0f",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "475bf8f65a4a4a2b8592d6e156fce533",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 64.0,
"y": 2.0,
"z": 2.0,
"w": 2.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "4a0ccfe171ca4cbea0224df37bb4c106",
"m_Guid": {
"m_GuidSerialized": "a863a593-cece-4105-8c79-443b13c52c0f"
},
"m_Name": "Base",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Base",
"m_DefaultReferenceName": "_Base",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": 64.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "4c9979a9a0b942e8ad7a8516a25f1bc9",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -355.0,
"y": -34.00000762939453,
"width": 101.00006103515625,
"height": 34.0000114440918
}
},
"m_Slots": [
{
"m_Id": "874a04a863804e5f9cd409ae062e6623"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "4a0ccfe171ca4cbea0224df37bb4c106"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "4e0ffdd46c0f4e6ca0a68b09ee3d6ec8",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"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.DynamicValueMaterialSlot",
"m_ObjectId": "7263456c448141239ff05a4f36632531",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"e00": 0.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 0.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 0.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 0.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "7521d19cc1b44240893a97f2e71e486a",
"m_Id": 0,
"m_DisplayName": "Scale",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DivideNode",
"m_ObjectId": "844e1fad213f489f9d9d53b61ceada1d",
"m_Group": {
"m_Id": ""
},
"m_Name": "Divide",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -355.00006103515627,
"y": 0.0000050067901611328128,
"width": 126.0,
"height": 117.99998474121094
}
},
"m_Slots": [
{
"m_Id": "e5aa6abbb59e456bb0de521834df7c4b"
},
{
"m_Id": "475bf8f65a4a4a2b8592d6e156fce533"
},
{
"m_Id": "4e0ffdd46c0f4e6ca0a68b09ee3d6ec8"
}
],
"synonyms": [
"division",
"divided by"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "874a04a863804e5f9cd409ae062e6623",
"m_Id": 0,
"m_DisplayName": "Base",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "9bd69e69963242de9d3556ed293f164c",
"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": "a00a38d02a84493d8359b29166382962"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "a00a38d02a84493d8359b29166382962",
"m_Id": 1,
"m_DisplayName": "Unit",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Unit",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "d7e6e17514114fa7bb58b3e3185470ae",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": {
"e00": 0.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 0.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 0.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 0.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "dc0979a614ed45c0ac8138d162536217",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"e00": 2.0,
"e01": 2.0,
"e02": 2.0,
"e03": 2.0,
"e10": 2.0,
"e11": 2.0,
"e12": 2.0,
"e13": 2.0,
"e20": 2.0,
"e21": 2.0,
"e22": 2.0,
"e23": 2.0,
"e30": 2.0,
"e31": 2.0,
"e32": 2.0,
"e33": 2.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
"m_ObjectId": "dde6006ead684a9999d0071cce122846",
"m_Group": {
"m_Id": ""
},
"m_Name": "ViewLength",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -469.0,
"y": 0.000022411346435546875,
"width": 114.0,
"height": 94.00001525878906
}
},
"m_Slots": [
{
"m_Id": "40499ee0cb974b1f9b75372b87ff8e0f"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"31e39c0352e7fa644bedc14a751f6f67\",\n \"type\": 3\n }\n}",
"m_PropertyGuids": [],
"m_PropertyIds": [],
"m_Dropdowns": [],
"m_DropdownSelectedEntries": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "e5aa6abbb59e456bb0de521834df7c4b",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"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": "f87c1fd14eba4beb9fbabb59080de1c0",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -355.0,
"y": 117.99999237060547,
"width": 91.00003051757813,
"height": 34.00000762939453
}
},
"m_Slots": [
{
"m_Id": "7521d19cc1b44240893a97f2e71e486a"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "246ae5a94d5946adb708c1df8cecb0b3"
}
}
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 9d90a3805d5077e448fca1be2f6a3ee4
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
@@ -0,0 +1,769 @@
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "21c835d1106748779a28a1b0f3fff62c",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "4e082843f4c449c7afbdec0ebceb5ecc"
}
],
"m_Nodes": [
{
"m_Id": "bfad33db198d4395b5309ec61636cdc0"
},
{
"m_Id": "51cde3b7103145b0b71abc430c3486e2"
},
{
"m_Id": "eacd41b10d314d0c8b3ca342c56b1722"
},
{
"m_Id": "7c46548b390d410c9a3c3dcb705ccb5f"
},
{
"m_Id": "72bb6be4fd594e3695b1d6a3bd640637"
},
{
"m_Id": "cc0a8f8969a9439199b2b3beec309397"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "51cde3b7103145b0b71abc430c3486e2"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "eacd41b10d314d0c8b3ca342c56b1722"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "72bb6be4fd594e3695b1d6a3bd640637"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "cc0a8f8969a9439199b2b3beec309397"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "7c46548b390d410c9a3c3dcb705ccb5f"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "eacd41b10d314d0c8b3ca342c56b1722"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "7c46548b390d410c9a3c3dcb705ccb5f"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "cc0a8f8969a9439199b2b3beec309397"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "cc0a8f8969a9439199b2b3beec309397"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "bfad33db198d4395b5309ec61636cdc0"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "eacd41b10d314d0c8b3ca342c56b1722"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "72bb6be4fd594e3695b1d6a3bd640637"
},
"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": ""
},
"preventRotation": false
},
"m_Path": "Sub Graphs",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "bfad33db198d4395b5309ec61636cdc0"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "0a62990cc42a4b9095aaa26a2700514e",
"m_Id": 5,
"m_DisplayName": "Z Buffer Sign",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Z Buffer Sign",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "0a888b4e0972467f9af554ea5ff1bfc7",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 1.0,
"y": 1.0,
"z": 1.0,
"w": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "1ae7ac2c0c3e4513b50a3efd56e5a877",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"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.Vector1MaterialSlot",
"m_ObjectId": "217021a24f6a4d6abdc0b10b535d8e95",
"m_Id": 6,
"m_DisplayName": "Width",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Width",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "2883e49e97614690ae52918cc5578f2a",
"m_Id": 3,
"m_DisplayName": "Near Plane",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Near Plane",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "2cef2c0df4794b0e8fdfeeab95f48c94",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"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.CategoryData",
"m_ObjectId": "4e082843f4c449c7afbdec0ebceb5ecc",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
"m_ObjectId": "51cde3b7103145b0b71abc430c3486e2",
"m_Group": {
"m_Id": ""
},
"m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -624.0,
"y": 0.0,
"width": 206.0,
"height": 131.0
}
},
"m_Slots": [
{
"m_Id": "b533669952ac4fa192231ce05a268699"
}
],
"synonyms": [
"location"
],
"m_Precision": 1,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 2,
"m_PositionSource": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalizeNode",
"m_ObjectId": "72bb6be4fd594e3695b1d6a3bd640637",
"m_Group": {
"m_Id": ""
},
"m_Name": "Normalize",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -288.0,
"y": 0.0,
"width": 132.0,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "2cef2c0df4794b0e8fdfeeab95f48c94"
},
{
"m_Id": "91aef3cac94849a69dae7f4a4a244bcf"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "769f5dba071649f785bf6926e8da5af1",
"m_Id": 1,
"m_DisplayName": "Direction",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Direction",
"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": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CameraNode",
"m_ObjectId": "7c46548b390d410c9a3c3dcb705ccb5f",
"m_Group": {
"m_Id": ""
},
"m_Name": "Camera",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -624.0,
"y": 131.0,
"width": 102.0,
"height": 100.0
}
},
"m_Slots": [
{
"m_Id": "f88014d1da354d13bccc13ef4f5c939c"
},
{
"m_Id": "769f5dba071649f785bf6926e8da5af1"
},
{
"m_Id": "7e415df3e73c4f46b193a94365772a6a"
},
{
"m_Id": "2883e49e97614690ae52918cc5578f2a"
},
{
"m_Id": "8895252e5dff44bba29549d1909f1956"
},
{
"m_Id": "0a62990cc42a4b9095aaa26a2700514e"
},
{
"m_Id": "217021a24f6a4d6abdc0b10b535d8e95"
},
{
"m_Id": "cc0d936f69e3446cb78f9b0dc9449e15"
}
],
"synonyms": [
"position",
"direction",
"orthographic",
"near plane",
"far plane",
"width",
"height"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "7e415df3e73c4f46b193a94365772a6a",
"m_Id": 2,
"m_DisplayName": "Orthographic",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Orthographic",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "8895252e5dff44bba29549d1909f1956",
"m_Id": 4,
"m_DisplayName": "Far Plane",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Far Plane",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "91aef3cac94849a69dae7f4a4a244bcf",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "a6a9ded60b8a48deb72658adfa59f3d9",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"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.Vector1MaterialSlot",
"m_ObjectId": "b08db34f64e349728ba84aca5f41cdb9",
"m_Id": 1,
"m_DisplayName": "Cos_Alpha",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Cos_Alpha",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "b533669952ac4fa192231ce05a268699",
"m_Id": 0,
"m_DisplayName": "Out",
"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": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "b77003064d594e359f8721191cce0873",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "bfad33db198d4395b5309ec61636cdc0",
"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": "b08db34f64e349728ba84aca5f41cdb9"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "c060ef533c424896a777f023377a9793",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 1.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.DotProductNode",
"m_ObjectId": "cc0a8f8969a9439199b2b3beec309397",
"m_Group": {
"m_Id": ""
},
"m_Name": "Dot Product",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -156.0,
"y": 0.0,
"width": 128.0,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "a6a9ded60b8a48deb72658adfa59f3d9"
},
{
"m_Id": "c060ef533c424896a777f023377a9793"
},
{
"m_Id": "b77003064d594e359f8721191cce0873"
}
],
"synonyms": [
"scalar product"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "cc0d936f69e3446cb78f9b0dc9449e15",
"m_Id": 7,
"m_DisplayName": "Height",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Height",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "dc559a6b8d264dfc991efc973ff7dd2f",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": {
"x": 1.0,
"y": 1.0,
"z": 1.0,
"w": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubtractNode",
"m_ObjectId": "eacd41b10d314d0c8b3ca342c56b1722",
"m_Group": {
"m_Id": ""
},
"m_Name": "Subtract",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -418.0,
"y": 0.0,
"width": 130.0,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "dc559a6b8d264dfc991efc973ff7dd2f"
},
{
"m_Id": "0a888b4e0972467f9af554ea5ff1bfc7"
},
{
"m_Id": "1ae7ac2c0c3e4513b50a3efd56e5a877"
}
],
"synonyms": [
"subtraction",
"remove",
"minus",
"take away"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "f88014d1da354d13bccc13ef4f5c939c",
"m_Id": 0,
"m_DisplayName": "Position",
"m_SlotType": 1,
"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": []
}
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 95d6cb39dd5a4b341a4dcabc668847ef
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
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 4b2b0d5b31833b943bc72be0a3b83ffb
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
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: ecc376d61bcddb44d9e7262fa0c709ed
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
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 8651af11a25c7f148aee9759d820d7da
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}