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

762 行
17 KiB

{
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "acc9a861e6ef4211aa5c3a7b2fbbf9c3",
"m_Properties": [
{
"m_Id": "966f7e00e23ca681a2ca8b1253e2131a"
},
{
"m_Id": "ccbff91823347a8988e3f52bbbe8f497"
}
],
"m_Keywords": [],
"m_Nodes": [
{
"m_Id": "36a61f2c8ec69f84bcc92303ddbc7d92"
},
{
"m_Id": "63968d20134fe085a779bef1dcc93f85"
},
{
"m_Id": "6ef9046cd01567839a0608aec5dac026"
},
{
"m_Id": "28007430933d4a9080cba3f801eed374"
},
{
"m_Id": "ab7b0e3d5b774242bc4f79b13bda9b8b"
},
{
"m_Id": "dd50bd2d4e0444f6b2994822364fe37e"
},
{
"m_Id": "95239eec1cff47dab366b824bf1896eb"
},
{
"m_Id": "62e54197932d4f3da7539cdd5ce5dd96"
},
{
"m_Id": "1d1cfbe629a546e786a67994072dd4f8"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "36a61f2c8ec69f84bcc92303ddbc7d92"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6ef9046cd01567839a0608aec5dac026"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "63968d20134fe085a779bef1dcc93f85"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "95239eec1cff47dab366b824bf1896eb"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "6ef9046cd01567839a0608aec5dac026"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "1d1cfbe629a546e786a67994072dd4f8"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 88.9999008178711,
"y": 95.00001525878906
},
"m_Blocks": [
{
"m_Id": "28007430933d4a9080cba3f801eed374"
},
{
"m_Id": "ab7b0e3d5b774242bc4f79b13bda9b8b"
},
{
"m_Id": "dd50bd2d4e0444f6b2994822364fe37e"
}
]
},
"m_FragmentContext": {
"m_Position": {
"x": 88.9999008178711,
"y": 295.0
},
"m_Blocks": [
{
"m_Id": "95239eec1cff47dab366b824bf1896eb"
},
{
"m_Id": "62e54197932d4f3da7539cdd5ce5dd96"
},
{
"m_Id": "1d1cfbe629a546e786a67994072dd4f8"
}
]
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"fileID\":-2986877221505521278,\"guid\":\"34ed7fe3652b17a4abd3f65a68583890\",\"type\":3}}",
"m_Guid": ""
}
},
"m_Path": "UOP1",
"m_ConcretePrecision": 0,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": ""
},
"m_ActiveTargets": [
{
"m_Id": "eead11bf5dfd46668b68c2918400772d"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "1d1cfbe629a546e786a67994072dd4f8",
"m_Group": {
"m_Id": ""
},
"m_Name": "SurfaceDescription.AlphaClipThreshold",
"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": "962ce09f56b145839caac7beec3d969a"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.AlphaClipThreshold"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "23e6ff43aa80fe83ab0a1c582e5b8eca",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"m_StageCapability": 3,
"m_Value": {
"x": 0.41999998688697817,
"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.BlockNode",
"m_ObjectId": "28007430933d4a9080cba3f801eed374",
"m_Group": {
"m_Id": ""
},
"m_Name": "VertexDescription.Position",
"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": "cf490131381d4c9684021925bbddd5f8"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Position"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
"m_ObjectId": "2e15e8c45dbe4f5aa2b04c4be51adfb3",
"m_Id": 0,
"m_DisplayName": "Normal",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Normal",
"m_StageCapability": 1,
"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_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "36a61f2c8ec69f84bcc92303ddbc7d92",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -466.0000305175781,
"y": 379.0,
"width": 166.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "c10c8f9e568eac828fb98aebdd56edf7"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "ccbff91823347a8988e3f52bbbe8f497"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
"m_ObjectId": "4bd2508405f14824bb21b1bf83a23835"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "62e54197932d4f3da7539cdd5ce5dd96",
"m_Group": {
"m_Id": ""
},
"m_Name": "SurfaceDescription.Alpha",
"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": "d92a8addc51b4cae85dfe4353b737d2b"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.Alpha"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "63968d20134fe085a779bef1dcc93f85",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -149.0000457763672,
"y": 209.0,
"width": 109.00000762939453,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "a3e4198e9eafd08a891cde9c30330daf"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "966f7e00e23ca681a2ca8b1253e2131a"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DitherNode",
"m_ObjectId": "6ef9046cd01567839a0608aec5dac026",
"m_Group": {
"m_Id": ""
},
"m_Name": "Dither",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -215.00001525878907,
"y": 341.0,
"width": 213.0,
"height": 302.0
}
},
"m_Slots": [
{
"m_Id": "23e6ff43aa80fe83ab0a1c582e5b8eca"
},
{
"m_Id": "f34c1caefc72d28db64760b908ae98ad"
},
{
"m_Id": "d004e59c397f7a8eaa73db02e076ee9c"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "898154dc8fc041c68ba555d69ab419d6",
"m_Id": 0,
"m_DisplayName": "Base Color",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "BaseColor",
"m_StageCapability": 2,
"m_Value": {
"x": 0.7353569269180298,
"y": 0.7353569269180298,
"z": 0.7353569269180298
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [],
"m_ColorMode": 0,
"m_DefaultColor": {
"r": 0.5,
"g": 0.5,
"b": 0.5,
"a": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "95239eec1cff47dab366b824bf1896eb",
"m_Group": {
"m_Id": ""
},
"m_Name": "SurfaceDescription.BaseColor",
"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": "898154dc8fc041c68ba555d69ab419d6"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.BaseColor"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "962ce09f56b145839caac7beec3d969a",
"m_Id": 0,
"m_DisplayName": "Alpha Clip Threshold",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "AlphaClipThreshold",
"m_StageCapability": 2,
"m_Value": 0.5,
"m_DefaultValue": 0.5,
"m_Labels": []
}
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
"m_ObjectId": "966f7e00e23ca681a2ca8b1253e2131a",
"m_Guid": {
"m_GuidSerialized": "4b43e3a4-3fd8-46f9-b338-9c0787c10016"
},
"m_Name": "Tint",
"m_DefaultReferenceName": "Color_82A5AC39",
"m_OverrideReferenceName": "_TintColor",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
},
"m_ColorMode": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "a3e4198e9eafd08a891cde9c30330daf",
"m_Id": 0,
"m_DisplayName": "Tint",
"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.BlockNode",
"m_ObjectId": "ab7b0e3d5b774242bc4f79b13bda9b8b",
"m_Group": {
"m_Id": ""
},
"m_Name": "VertexDescription.Normal",
"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": "2e15e8c45dbe4f5aa2b04c4be51adfb3"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Normal"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
"m_ObjectId": "b7ee8261e1ed4b418f3a2a6feaf8c2ab",
"m_Id": 0,
"m_DisplayName": "Tangent",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Tangent",
"m_StageCapability": 1,
"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_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "c10c8f9e568eac828fb98aebdd56edf7",
"m_Id": 0,
"m_DisplayName": "AlphaThreshold",
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "ccbff91823347a8988e3f52bbbe8f497",
"m_Guid": {
"m_GuidSerialized": "4083d7fa-09b2-4c17-a65a-8daafe967fba"
},
"m_Name": "AlphaThreshold",
"m_DefaultReferenceName": "Vector1_63C376FD",
"m_OverrideReferenceName": "_AlphaClipTreshold",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": 0.5,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
"m_ObjectId": "cf490131381d4c9684021925bbddd5f8",
"m_Id": 0,
"m_DisplayName": "Position",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Position",
"m_StageCapability": 1,
"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_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "d004e59c397f7a8eaa73db02e076ee9c",
"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": "d92a8addc51b4cae85dfe4353b737d2b",
"m_Id": 0,
"m_DisplayName": "Alpha",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Alpha",
"m_StageCapability": 2,
"m_Value": 0.5,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "dd50bd2d4e0444f6b2994822364fe37e",
"m_Group": {
"m_Id": ""
},
"m_Name": "VertexDescription.Tangent",
"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": "b7ee8261e1ed4b418f3a2a6feaf8c2ab"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Tangent"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
"m_ObjectId": "eead11bf5dfd46668b68c2918400772d",
"m_ActiveSubTarget": {
"m_Id": "4bd2508405f14824bb21b1bf83a23835"
},
"m_SurfaceType": 0,
"m_AlphaMode": 0,
"m_TwoSided": false,
"m_AlphaClip": true,
"m_CustomEditorGUI": ""
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ScreenPositionMaterialSlot",
"m_ObjectId": "f34c1caefc72d28db64760b908ae98ad",
"m_Id": 1,
"m_DisplayName": "Screen Position",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "ScreenPosition",
"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_ScreenSpaceType": 0
}