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

710 行
16 KiB

{
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "7c12e2d40f1249f6acad4404852997d3",
"m_Properties": [
{
"m_Id": "6791d8ac93a4ca87b7a77b64b202aec7"
}
],
"m_Keywords": [],
"m_Nodes": [
{
"m_Id": "a6d18249c45f668ca4d780f4503b5fa6"
},
{
"m_Id": "5889652d0580cd8a9118de23fd280c26"
},
{
"m_Id": "74379b6488aec488b84795eee9249c71"
},
{
"m_Id": "6fd8cab1f3391f89b26a5e7454672aa1"
},
{
"m_Id": "ffabe09692615489805d66a23c1fe2ec"
},
{
"m_Id": "0c14249b5acf138c9865bbe708691426"
}
],
"m_GroupDatas": [
{
"m_Id": "3e04c5ca798b4d3a8bd169874115377e"
}
],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "0c14249b5acf138c9865bbe708691426"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6fd8cab1f3391f89b26a5e7454672aa1"
},
"m_SlotId": 6
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "5889652d0580cd8a9118de23fd280c26"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6fd8cab1f3391f89b26a5e7454672aa1"
},
"m_SlotId": 8
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "6fd8cab1f3391f89b26a5e7454672aa1"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a6d18249c45f668ca4d780f4503b5fa6"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "6fd8cab1f3391f89b26a5e7454672aa1"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a6d18249c45f668ca4d780f4503b5fa6"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "74379b6488aec488b84795eee9249c71"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6fd8cab1f3391f89b26a5e7454672aa1"
},
"m_SlotId": 7
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "ffabe09692615489805d66a23c1fe2ec"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6fd8cab1f3391f89b26a5e7454672aa1"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 414.00006103515627,
"y": -161.0
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": 414.00006103515627,
"y": 39.0
},
"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": "a6d18249c45f668ca4d780f4503b5fa6"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "04126768120c8f8e982b56f65cc9049c",
"m_Id": 1,
"m_DisplayName": "Diffuse",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Diffuse",
"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.Vector3MaterialSlot",
"m_ObjectId": "095047a3a0935286b5b093b57bc730ee",
"m_Id": 2,
"m_DisplayName": "Specular",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Specular",
"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": "0c14249b5acf138c9865bbe708691426",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -486.0,
"y": -126.00001525878906,
"width": 148.00001525878907,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "5cdcbfd1a71c0788ab954c9ef32d1528"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "6791d8ac93a4ca87b7a77b64b202aec7"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "0d23be6a171e13808b18e835193ecd17",
"m_Id": 8,
"m_DisplayName": "WorldView",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "WorldView",
"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": "2dfef66d9af76389979dce1d0f64e0e6",
"m_Id": 6,
"m_DisplayName": "Smoothness",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Smoothness",
"m_StageCapability": 3,
"m_Value": 0.5,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.GroupData",
"m_ObjectId": "3e04c5ca798b4d3a8bd169874115377e",
"m_Title": "Additional Lights",
"m_Position": {
"x": -488.0,
"y": -299.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "4139ce8aa730e886942894294a155148",
"m_Id": 1,
"m_DisplayName": "LightDiffuse",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "LightDiffuse",
"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.Vector3MaterialSlot",
"m_ObjectId": "4cfc9bb5260e038ca52edb4e94d47de4",
"m_Id": 0,
"m_DisplayName": "WorldPosition",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "WorldPosition",
"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.ViewDirectionNode",
"m_ObjectId": "5889652d0580cd8a9118de23fd280c26",
"m_Group": {
"m_Id": "3e04c5ca798b4d3a8bd169874115377e"
},
"m_Name": "View Direction",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -249.99998474121095,
"y": 73.00003051757813,
"width": 206.00001525878907,
"height": 130.0
}
},
"m_Slots": [
{
"m_Id": "b445784ee7c8858fba1b9de452a11d54"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 2
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "5cdcbfd1a71c0788ab954c9ef32d1528",
"m_Id": 0,
"m_DisplayName": "Smoothness",
"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": "6791d8ac93a4ca87b7a77b64b202aec7",
"m_Guid": {
"m_GuidSerialized": "8aebea48-50b5-442e-a464-4d67c88bfb5c"
},
"m_Name": "Smoothness",
"m_DefaultReferenceName": "Vector1_E56B297F",
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "6fd8cab1f3391f89b26a5e7454672aa1",
"m_Group": {
"m_Id": "3e04c5ca798b4d3a8bd169874115377e"
},
"m_Name": "AdditionalLights (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 24.999969482421876,
"y": -163.00001525878907,
"width": 228.0,
"height": 374.0
}
},
"m_Slots": [
{
"m_Id": "2dfef66d9af76389979dce1d0f64e0e6"
},
{
"m_Id": "4cfc9bb5260e038ca52edb4e94d47de4"
},
{
"m_Id": "d75d12a39fe5aa8ea2310b1b8f81fdb8"
},
{
"m_Id": "0d23be6a171e13808b18e835193ecd17"
},
{
"m_Id": "04126768120c8f8e982b56f65cc9049c"
},
{
"m_Id": "095047a3a0935286b5b093b57bc730ee"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "AdditionalLights",
"m_FunctionSource": "23c92d2936d6c554db4651369482a821",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalVectorNode",
"m_ObjectId": "74379b6488aec488b84795eee9249c71",
"m_Group": {
"m_Id": "3e04c5ca798b4d3a8bd169874115377e"
},
"m_Name": "Normal Vector",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -245.99996948242188,
"y": -78.00000762939453,
"width": 206.00001525878907,
"height": 130.0
}
},
"m_Slots": [
{
"m_Id": "cda52bd9bc800f849e978de854b3be63"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 2
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "8c9980176659978eb3217a40360b3c55",
"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": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "a6d18249c45f668ca4d780f4503b5fa6",
"m_Group": {
"m_Id": ""
},
"m_Name": "Out_Vector3 (1)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 414.00006103515627,
"y": -161.0,
"width": 161.00001525878907,
"height": 101.0
}
},
"m_Slots": [
{
"m_Id": "4139ce8aa730e886942894294a155148"
},
{
"m_Id": "c66d9042b358a586b509a1fd330a5f17"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "b445784ee7c8858fba1b9de452a11d54",
"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": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "c66d9042b358a586b509a1fd330a5f17",
"m_Id": 2,
"m_DisplayName": "Specular",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Specular",
"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.Vector3MaterialSlot",
"m_ObjectId": "cda52bd9bc800f849e978de854b3be63",
"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": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "d75d12a39fe5aa8ea2310b1b8f81fdb8",
"m_Id": 7,
"m_DisplayName": "WorldNormal",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "WorldNormal",
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
"m_ObjectId": "ffabe09692615489805d66a23c1fe2ec",
"m_Group": {
"m_Id": "3e04c5ca798b4d3a8bd169874115377e"
},
"m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -245.99996948242188,
"y": -263.0000305175781,
"width": 206.00001525878907,
"height": 130.0
}
},
"m_Slots": [
{
"m_Id": "8c9980176659978eb3217a40360b3c55"
}
],
"synonyms": [],
"m_Precision": 1,
"m_PreviewExpanded": false,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 2
}