添加编辑器阶段快捷生成、移除脚本

添加基本几何体拼接算法
  添加线性变换目标类型,类似多种颜色设置功能
  添加一些基本的shader函数,用于计算二维圆形,二维旋转等。
This commit is contained in:
2023-11-17 08:57:18 +08:00
parent d691f8cde8
commit 13cce77210
15 changed files with 6249 additions and 3 deletions
@@ -0,0 +1,107 @@
{
"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_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [],
"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": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "34bd486136d94eaf81c352e41e295c87",
"m_Name": "",
"m_ChildObjectList": []
}
{
"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: 3deca10a272297642a93b446727afa2e
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}