这是第一个 Unity 开放项目的repo,是 Unity 和社区合作创建的一个小型开源游戏演示,第一款游戏是一款名为 Chop Chop 的动作冒险游戏。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

801 行
18 KiB

{
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "426e88ca409346a7bdae7720760a1126",
"m_Properties": [
{
"m_Id": "8fa569387612c5879e557f4fb79bf294"
},
{
"m_Id": "e42f9e9725384d8fb0afe3ed90a57daa"
}
],
"m_Keywords": [],
"m_Nodes": [
{
"m_Id": "49828e7d74a4e68a8a43c7b4cc533407"
},
{
"m_Id": "5a606dc06437368c9ceefdbeb47fd64e"
},
{
"m_Id": "1db2588779f37f8c9bbc51802d4966f2"
},
{
"m_Id": "b1966500dc20b9828efe420cf5670448"
},
{
"m_Id": "92e01a685fbbd8809bf0b9249bd73efc"
},
{
"m_Id": "85f2fbd81ee8f982a53a8695c6e42f58"
}
],
"m_GroupDatas": [
{
"m_Id": "7c6cdbc6cc6045d99dbe7d1210524c62"
}
],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "1db2588779f37f8c9bbc51802d4966f2"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "92e01a685fbbd8809bf0b9249bd73efc"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "5a606dc06437368c9ceefdbeb47fd64e"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "49828e7d74a4e68a8a43c7b4cc533407"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "85f2fbd81ee8f982a53a8695c6e42f58"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "5a606dc06437368c9ceefdbeb47fd64e"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "92e01a685fbbd8809bf0b9249bd73efc"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "5a606dc06437368c9ceefdbeb47fd64e"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "b1966500dc20b9828efe420cf5670448"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "92e01a685fbbd8809bf0b9249bd73efc"
},
"m_SlotId": 2
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 787.0000610351563,
"y": -402.9999694824219
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": 787.0000610351563,
"y": -202.99996948242188
},
"m_Blocks": []
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
}
},
"m_Path": "Sub Graphs",
"m_ConcretePrecision": 0,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "49828e7d74a4e68a8a43c7b4cc533407"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
"m_ObjectId": "131993e5035d418782851bfa1431b42b",
"m_Id": 2,
"m_DisplayName": "UV",
"m_SlotType": 0,
"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_Channel": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "1db2588779f37f8c9bbc51802d4966f2",
"m_Group": {
"m_Id": "7c6cdbc6cc6045d99dbe7d1210524c62"
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 55.00004577636719,
"y": -556.9999389648438,
"width": 110.99999237060547,
"height": 33.999996185302737
}
},
"m_Slots": [
{
"m_Id": "57da34e89fa3c08fb342329d83e29ca8"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "e42f9e9725384d8fb0afe3ed90a57daa"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "21bf7e3faf1e4184b73391d6087a487f",
"m_Id": 7,
"m_DisplayName": "A",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "483df6860c2a5a80b4af76e224360e3c",
"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.SubGraphOutputNode",
"m_ObjectId": "49828e7d74a4e68a8a43c7b4cc533407",
"m_Group": {
"m_Id": ""
},
"m_Name": "Out_Vector3",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 787.0000610351563,
"y": -402.9999694824219,
"width": 137.99998474121095,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "9f7bfb98a3677e86a86f057e32902d6c"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "4efc5ea10c00aa8fb5825f7e85f70d2b",
"m_Id": 0,
"m_DisplayName": "Emission Intensity",
"m_SlotType": 1,
"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.Texture2DInputMaterialSlot",
"m_ObjectId": "50f8e3eec0ecf788ac8424ec20cd8e15",
"m_Id": 1,
"m_DisplayName": "Texture",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Texture",
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_Guid": ""
},
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
"m_ObjectId": "57da34e89fa3c08fb342329d83e29ca8",
"m_Id": 0,
"m_DisplayName": "Mask",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "5a606dc06437368c9ceefdbeb47fd64e",
"m_Group": {
"m_Id": ""
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 573.5,
"y": -401.0,
"width": 208.0,
"height": 302.0
}
},
"m_Slots": [
{
"m_Id": "799e4a28b529d88d99ba0fe81cf4fd0b"
},
{
"m_Id": "b22fb305de99a784817ca01aa229c0fa"
},
{
"m_Id": "483df6860c2a5a80b4af76e224360e3c"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "600b7e834ad11d818a08f6316ce06f7e",
"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,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "7215c7afbcf9618fa766022c9d811699",
"m_Id": 0,
"m_DisplayName": "RGBA",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "RGBA",
"m_StageCapability": 2,
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "799e4a28b529d88d99ba0fe81cf4fd0b",
"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.GroupData",
"m_ObjectId": "7c6cdbc6cc6045d99dbe7d1210524c62",
"m_Title": "Mask",
"m_Position": {
"x": 7.000123977661133,
"y": -624.9998779296875
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "85f2fbd81ee8f982a53a8695c6e42f58",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 317.0,
"y": -253.0,
"width": 168.99998474121095,
"height": 33.999996185302737
}
},
"m_Slots": [
{
"m_Id": "4efc5ea10c00aa8fb5825f7e85f70d2b"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "8fa569387612c5879e557f4fb79bf294"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
"m_ObjectId": "8c7deedb74ae208587806d500a24c8cc",
"m_Id": 3,
"m_DisplayName": "Sampler",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Sampler",
"m_StageCapability": 3,
"m_BareResource": false
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "8fa569387612c5879e557f4fb79bf294",
"m_Guid": {
"m_GuidSerialized": "0e0890ef-6c20-4bb3-9c69-d2b66cc533ae"
},
"m_Name": "Emission Intensity",
"m_DefaultReferenceName": "Vector1_2B8A4218",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"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.SampleTexture2DNode",
"m_ObjectId": "92e01a685fbbd8809bf0b9249bd73efc",
"m_Group": {
"m_Id": "7c6cdbc6cc6045d99dbe7d1210524c62"
},
"m_Name": "Sample Texture 2D",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 243.99996948242188,
"y": -564.9999389648438,
"width": 187.0,
"height": 248.99998474121095
}
},
"m_Slots": [
{
"m_Id": "7215c7afbcf9618fa766022c9d811699"
},
{
"m_Id": "ffba6b0cfab5ad82a7440d0bc1688006"
},
{
"m_Id": "a9d750750d8b7d8ab87fb970e30783f3"
},
{
"m_Id": "e6bed39ab4ebaf8f9fb764631cd0dc0a"
},
{
"m_Id": "21bf7e3faf1e4184b73391d6087a487f"
},
{
"m_Id": "50f8e3eec0ecf788ac8424ec20cd8e15"
},
{
"m_Id": "131993e5035d418782851bfa1431b42b"
},
{
"m_Id": "8c7deedb74ae208587806d500a24c8cc"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_TextureType": 0,
"m_NormalMapSpace": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "9f7bfb98a3677e86a86f057e32902d6c",
"m_Id": 1,
"m_DisplayName": "Out_Vector3",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "OutVector3",
"m_StageCapability": 2,
"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": "a9d750750d8b7d8ab87fb970e30783f3",
"m_Id": 5,
"m_DisplayName": "G",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "G",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.UVNode",
"m_ObjectId": "b1966500dc20b9828efe420cf5670448",
"m_Group": {
"m_Id": "7c6cdbc6cc6045d99dbe7d1210524c62"
},
"m_Name": "UV",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 32.00006103515625,
"y": -486.99993896484377,
"width": 145.0,
"height": 127.99999237060547
}
},
"m_Slots": [
{
"m_Id": "600b7e834ad11d818a08f6316ce06f7e"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_OutputChannel": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "b22fb305de99a784817ca01aa229c0fa",
"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.Internal.Texture2DShaderProperty",
"m_ObjectId": "e42f9e9725384d8fb0afe3ed90a57daa",
"m_Guid": {
"m_GuidSerialized": "3a53d368-9eb2-47d2-9da4-1da66377abd5"
},
"m_Name": "Mask",
"m_DefaultReferenceName": "Texture2D_223377E2",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"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.Vector1MaterialSlot",
"m_ObjectId": "e6bed39ab4ebaf8f9fb764631cd0dc0a",
"m_Id": 6,
"m_DisplayName": "B",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "ffba6b0cfab5ad82a7440d0bc1688006",
"m_Id": 4,
"m_DisplayName": "R",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "R",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}