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

589 行
13 KiB

{
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "d44c2f5d2ef84b2c8aa5a205fe19d749",
"m_Properties": [
{
"m_Id": "636f0a66efea4002b3f63c2ef80b7382"
}
],
"m_Keywords": [],
"m_Nodes": [
{
"m_Id": "32caa6f2437848169f5786e4a13b9026"
},
{
"m_Id": "262d6ade498c42f6a3affe16fb6c921e"
},
{
"m_Id": "be133ce7020f434fb2891c0e18daed03"
},
{
"m_Id": "ec5ede0b486e40c492fcfb2dc7996663"
},
{
"m_Id": "31b7273604944fb9897767e3c855bce5"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "262d6ade498c42f6a3affe16fb6c921e"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "32caa6f2437848169f5786e4a13b9026"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "31b7273604944fb9897767e3c855bce5"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "262d6ade498c42f6a3affe16fb6c921e"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "be133ce7020f434fb2891c0e18daed03"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "262d6ade498c42f6a3affe16fb6c921e"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "be133ce7020f434fb2891c0e18daed03"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "ec5ede0b486e40c492fcfb2dc7996663"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "ec5ede0b486e40c492fcfb2dc7996663"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "262d6ade498c42f6a3affe16fb6c921e"
},
"m_SlotId": 2
}
}
],
"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": ""
}
},
"m_Path": "Sub Graphs",
"m_ConcretePrecision": 0,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "32caa6f2437848169f5786e4a13b9026"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "138391ee725f49d09ccb22136c1ba619",
"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.LerpNode",
"m_ObjectId": "262d6ade498c42f6a3affe16fb6c921e",
"m_Group": {
"m_Id": ""
},
"m_Name": "Lerp",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 130.85711669921876,
"y": 98.28572082519531,
"width": 129.14288330078126,
"height": 142.2857208251953
}
},
"m_Slots": [
{
"m_Id": "138391ee725f49d09ccb22136c1ba619"
},
{
"m_Id": "4db4e83e4fb247bdb71ffef8aa6c80f6"
},
{
"m_Id": "e725cde7b36c4a478519c72c862d1827"
},
{
"m_Id": "a5f9f9a9944c4879a815643fcbc2ea98"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "31b7273604944fb9897767e3c855bce5",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -19.14288330078125,
"y": 169.4285888671875,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "fc506adf1d5e4899a8e34503cc1816be"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "636f0a66efea4002b3f63c2ef80b7382"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "32caa6f2437848169f5786e4a13b9026",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 395.42852783203127,
"y": 0.0,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "f9b4d5d1be66400394f594de419e1a3c"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "4db4e83e4fb247bdb71ffef8aa6c80f6",
"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.Vector1MaterialSlot",
"m_ObjectId": "57eca72888214266a5c41a56858c3e55",
"m_Id": 1,
"m_DisplayName": "Density",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Density",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
"m_ObjectId": "636f0a66efea4002b3f63c2ef80b7382",
"m_Guid": {
"m_GuidSerialized": "e78ca178-963e-4dc8-948f-3d7c2d3ec6fb"
},
"m_Name": "CleanDiffuse",
"m_DefaultReferenceName": "Vector3_636f0a66efea4002b3f63c2ef80b7382",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "8423d4823b124aad9e45a54b7df8ca0d",
"m_Id": 0,
"m_DisplayName": "Color",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Color",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "8fefd251cf96475d9339d0965d3da432",
"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.PositionMaterialSlot",
"m_ObjectId": "a50ece5f8eb34d2897b9ae387c9502ec",
"m_Id": 2,
"m_DisplayName": "Position",
"m_SlotType": 0,
"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_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "a5f9f9a9944c4879a815643fcbc2ea98",
"m_Id": 3,
"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.FogNode",
"m_ObjectId": "be133ce7020f434fb2891c0e18daed03",
"m_Group": {
"m_Id": ""
},
"m_Name": "Fog",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -288.00006103515627,
"y": -219.99998474121095,
"width": 185.1429443359375,
"height": 101.14283752441406
}
},
"m_Slots": [
{
"m_Id": "a50ece5f8eb34d2897b9ae387c9502ec"
},
{
"m_Id": "8423d4823b124aad9e45a54b7df8ca0d"
},
{
"m_Id": "57eca72888214266a5c41a56858c3e55"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "c6d35f651e864d91aac263ffd000dab7",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "e725cde7b36c4a478519c72c862d1827",
"m_Id": 2,
"m_DisplayName": "T",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "T",
"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.SaturateNode",
"m_ObjectId": "ec5ede0b486e40c492fcfb2dc7996663",
"m_Group": {
"m_Id": ""
},
"m_Name": "Saturate",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -77.71429443359375,
"y": 51.428550720214847,
"width": 128.0,
"height": 93.71429443359375
}
},
"m_Slots": [
{
"m_Id": "c6d35f651e864d91aac263ffd000dab7"
},
{
"m_Id": "8fefd251cf96475d9339d0965d3da432"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "f9b4d5d1be66400394f594de419e1a3c",
"m_Id": 1,
"m_DisplayName": "ResultDiffuse",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "ResultDiffuse",
"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.Vector3MaterialSlot",
"m_ObjectId": "fc506adf1d5e4899a8e34503cc1816be",
"m_Id": 0,
"m_DisplayName": "Vector3",
"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": []
}