From b046d6a9246a623d81fa135844e8f8299a403d09 Mon Sep 17 00:00:00 2001 From: Yogi <1273750265@qq.com> Date: Fri, 10 Jan 2025 11:47:03 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=89=94=E9=99=A4?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E4=B8=8E=E5=89=94=E9=99=A4=E7=9D=80=E8=89=B2?= =?UTF-8?q?=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scenes/Main.unity | 68 + Assets/Scripts/Main.cs | 53 +- .../CarPaintShader_New_URP.shadergraph | 1071 ++++++++- Assets/Shaders/Glass_URP.shadergraph | 1701 ++++++++++++++ Assets/Shaders/Glass_URP.shadergraph.meta | 10 + Assets/Shaders/SubGraph.meta | 8 + .../SubGraph/WorldNoiseClip.shadersubgraph | 2059 +++++++++++++++++ .../WorldNoiseClip.shadersubgraph.meta | 10 + 8 files changed, 4903 insertions(+), 77 deletions(-) create mode 100644 Assets/Shaders/Glass_URP.shadergraph create mode 100644 Assets/Shaders/Glass_URP.shadergraph.meta create mode 100644 Assets/Shaders/SubGraph.meta create mode 100644 Assets/Shaders/SubGraph/WorldNoiseClip.shadersubgraph create mode 100644 Assets/Shaders/SubGraph/WorldNoiseClip.shadersubgraph.meta diff --git a/Assets/Scenes/Main.unity b/Assets/Scenes/Main.unity index 2d3b752..2d5b36d 100644 --- a/Assets/Scenes/Main.unity +++ b/Assets/Scenes/Main.unity @@ -649,6 +649,14 @@ PrefabInstance: propertyPath: componentTextParent value: objectReference: {fileID: 1521878370} + - target: {fileID: 4467637909231862192, guid: fbd98df1f6ab257439fff069ae185281, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4467637909231862192, guid: fbd98df1f6ab257439fff069ae185281, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4467637909231862192, guid: fbd98df1f6ab257439fff069ae185281, type: 3} propertyPath: m_AnchoredPosition.y value: 0.000029087067 @@ -661,6 +669,14 @@ PrefabInstance: propertyPath: m_SizeDelta.y value: 0 objectReference: {fileID: 0} + - target: {fileID: 7024480808377725595, guid: fbd98df1f6ab257439fff069ae185281, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7024480808377725595, guid: fbd98df1f6ab257439fff069ae185281, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} - target: {fileID: 7571798407419741986, guid: fbd98df1f6ab257439fff069ae185281, type: 3} propertyPath: m_AnchorMax.x value: 0 @@ -669,6 +685,14 @@ PrefabInstance: propertyPath: m_SizeDelta.x value: 0 objectReference: {fileID: 0} + - target: {fileID: 7571798407419741986, guid: fbd98df1f6ab257439fff069ae185281, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7571798407419741986, guid: fbd98df1f6ab257439fff069ae185281, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} - target: {fileID: 8557856746393510970, guid: fbd98df1f6ab257439fff069ae185281, type: 3} propertyPath: m_AnchorMax.x value: 0 @@ -685,6 +709,14 @@ PrefabInstance: propertyPath: m_SizeDelta.y value: 0 objectReference: {fileID: 0} + - target: {fileID: 8557856746393510970, guid: fbd98df1f6ab257439fff069ae185281, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8557856746393510970, guid: fbd98df1f6ab257439fff069ae185281, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} - target: {fileID: 8709297164818035694, guid: fbd98df1f6ab257439fff069ae185281, type: 3} propertyPath: m_AnchoredPosition.y value: 46.30005 @@ -1862,6 +1894,10 @@ PrefabInstance: serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: + - target: {fileID: 227347454680306346, guid: 741d148cf7fe4db4aa6687915c30f4ca, type: 3} + propertyPath: m_IsActive + value: 1 + objectReference: {fileID: 0} - target: {fileID: 251226097386157602, guid: 741d148cf7fe4db4aa6687915c30f4ca, type: 3} propertyPath: m_LocalPosition.x value: 0 @@ -1902,6 +1938,10 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 2881457540606939832, guid: 741d148cf7fe4db4aa6687915c30f4ca, type: 3} + propertyPath: m_IsActive + value: 1 + objectReference: {fileID: 0} - target: {fileID: 4332512220139617832, guid: 741d148cf7fe4db4aa6687915c30f4ca, type: 3} propertyPath: m_LocalPosition.x value: -0.03 @@ -1930,18 +1970,46 @@ PrefabInstance: propertyPath: m_LocalRotation.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 4685081995603142786, guid: 741d148cf7fe4db4aa6687915c30f4ca, type: 3} + propertyPath: m_IsActive + value: 1 + objectReference: {fileID: 0} - target: {fileID: 4830004066221561861, guid: 741d148cf7fe4db4aa6687915c30f4ca, type: 3} propertyPath: m_IsActive value: 1 objectReference: {fileID: 0} + - target: {fileID: 4880362198375544271, guid: 741d148cf7fe4db4aa6687915c30f4ca, type: 3} + propertyPath: m_IsActive + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 5048207471782671204, guid: 741d148cf7fe4db4aa6687915c30f4ca, type: 3} + propertyPath: m_IsActive + value: 1 + objectReference: {fileID: 0} - target: {fileID: 5218155922998809704, guid: 741d148cf7fe4db4aa6687915c30f4ca, type: 3} propertyPath: m_Name value: "\u6839\u8282\u70B9(\u4E0D\u8981\u4FEE\u6539\u4F4D\u7F6E)" objectReference: {fileID: 0} + - target: {fileID: 6009124418285241141, guid: 741d148cf7fe4db4aa6687915c30f4ca, type: 3} + propertyPath: m_IsActive + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 6720075688575866809, guid: 741d148cf7fe4db4aa6687915c30f4ca, type: 3} + propertyPath: m_IsActive + value: 1 + objectReference: {fileID: 0} - target: {fileID: 7574252367231446458, guid: 741d148cf7fe4db4aa6687915c30f4ca, type: 3} propertyPath: m_Name value: "\u8F66\u8F86Body(\u53EF\u4EE5\u4FEE\u6539\u5750\u6807\u4E0E\u65CB\u8F6C)" objectReference: {fileID: 0} + - target: {fileID: 8356284782624027731, guid: 741d148cf7fe4db4aa6687915c30f4ca, type: 3} + propertyPath: m_IsActive + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 9210105406907489482, guid: 741d148cf7fe4db4aa6687915c30f4ca, type: 3} + propertyPath: m_IsActive + value: 1 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] diff --git a/Assets/Scripts/Main.cs b/Assets/Scripts/Main.cs index a54e3be..5fd7732 100644 --- a/Assets/Scripts/Main.cs +++ b/Assets/Scripts/Main.cs @@ -1,4 +1,5 @@ using System; +using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; @@ -37,18 +38,22 @@ public class Main : MonoBehaviour public event Action OnCarComponentConfigChanged; - public event Action OnSwitchComponent; + public event Action OnSwitchComponent; private void HideAllCars() { + StopAllCoroutines(); foreach (var configCar in config.Cars) { - configCar.车辆基础物体.SetActive(false); + // SetCarActiveCoroutine() + SetCarActive(configCar.车辆基础物体,false); + // configCar.车辆基础物体.SetActive(false); foreach (var carComponentConfig in configCar.车辆组件) { foreach (var component in carComponentConfig.车辆组件合集) { - component.物体.SetActive(false); + SetCarActive(component.物体,false); + // component.物体.SetActive(false); } } } @@ -63,7 +68,9 @@ public class Main : MonoBehaviour carComponentConfig.SelectComponentIndex = 0; for (var j = 0; j < carComponentConfig.车辆组件合集.Count; j++) { - carComponentConfig.车辆组件合集[j].物体.SetActive(j == 0); + var go = carComponentConfig.车辆组件合集[j].物体; + SetCarActive(go, j == 0); + // carComponentConfig.车辆组件合集[j].物体.SetActive(j == 0); } } @@ -103,20 +110,24 @@ public class Main : MonoBehaviour if (carIndex == -1) return; var configCar = config.Cars[carIndex]; - configCar.车辆基础物体.SetActive(isActive); + // configCar.车辆基础物体.SetActive(isActive); + SetCarActive(configCar.车辆基础物体,isActive); foreach (var carComponentConfig in configCar.车辆组件) { if (isActive) { if (carComponentConfig.车辆组件合集.Count <= carComponentConfig.SelectComponentIndex) continue; - carComponentConfig.车辆组件合集[carComponentConfig.SelectComponentIndex].物体.SetActive(true); + var go = carComponentConfig.车辆组件合集[carComponentConfig.SelectComponentIndex].物体; + SetCarActive(go,true); + // carComponentConfig.车辆组件合集[carComponentConfig.SelectComponentIndex].物体.SetActive(true); } else { foreach (var component in carComponentConfig.车辆组件合集) { - component.物体.SetActive(false); + // component.物体.SetActive(false); + SetCarActive(component.物体,false); } } } @@ -178,7 +189,33 @@ public class Main : MonoBehaviour { if (componentIndex == -1) return; - currentCarComponents.车辆组件合集[componentIndex].物体.SetActive(isDisplay); + var go = currentCarComponents.车辆组件合集[componentIndex].物体; + // go.SetActive(isDisplay); + SetCarActive(go, isDisplay); + } + + private void SetCarActive(GameObject go, bool isActive) + { + Debug.Log($"SetCarActive ({go.name}) ({isActive})"); + this.StartCoroutine(SetCarActiveCoroutine(go, isActive, .5f)); + } + + private IEnumerator SetCarActiveCoroutine(GameObject go, bool isActive, float time) + { + var renderers = go.GetComponentsInChildren(); + var propertyToID = Shader.PropertyToID("_ClipScaleV"); + float timer = 0; + float min = -1f; + float max = 1.0f; + while (timer < time) + { + timer += Time.deltaTime; + yield return null; + var evl = timer / time; + float result = isActive ? Mathf.Lerp(max, min, evl) : Mathf.Lerp(min, max, evl); + foreach (var r in renderers) + r.material.SetFloat(propertyToID, result); + } } private void Awake() diff --git a/Assets/Shaders/CarPaintShader_New_URP.shadergraph b/Assets/Shaders/CarPaintShader_New_URP.shadergraph index 6907a6d..36d81ec 100644 --- a/Assets/Shaders/CarPaintShader_New_URP.shadergraph +++ b/Assets/Shaders/CarPaintShader_New_URP.shadergraph @@ -32,6 +32,18 @@ }, { "m_Id": "09be6505815c403c89b41957d4fc3121" + }, + { + "m_Id": "fa681e51c50142cea21d779a6b6122d8" + }, + { + "m_Id": "e4a6ae2c88bd47ceb283a523463ea834" + }, + { + "m_Id": "f7c8fd3311d6433b9f2199a5c7fd1b19" + }, + { + "m_Id": "530b5f7a08a24154855da6d6d238cd6e" } ], "m_Keywords": [], @@ -119,11 +131,44 @@ }, { "m_Id": "63c8078a0a3d4e908c31ebc587536fef" + }, + { + "m_Id": "53ec2d648fce4a2baf3f81c18a5854be" + }, + { + "m_Id": "265698fbbe0b41a7ab6de488e670d323" + }, + { + "m_Id": "1c6dbcf6a30d444893e9f6b3610d8874" + }, + { + "m_Id": "a52d8a9dc3d94912a44cf0313ae5e6db" + }, + { + "m_Id": "ec3e6b6356c5410a8ec3ada1b25e5589" + }, + { + "m_Id": "7bceff548e3740ebaf9867fd0bf737f0" + }, + { + "m_Id": "4661b5db9c9f4f5c8f58e83724a217b8" + }, + { + "m_Id": "5b1e5bf059284d8a9fa295f3ec1bdb89" } ], "m_GroupDatas": [ { "m_Id": "0046ffa545f3447e8e342861b6049268" + }, + { + "m_Id": "3fab0168cde4483eb292a485812f4ce5" + }, + { + "m_Id": "42d4473b16c343a6b1ad6bbff713c980" + }, + { + "m_Id": "e868cc27ef554bc5b4af94422a61357b" } ], "m_StickyNoteDatas": [], @@ -170,6 +215,20 @@ "m_SlotId": 2 } }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "1c6dbcf6a30d444893e9f6b3610d8874" + }, + "m_SlotId": 3 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "60c0eab2665f4536bb7450af43837ded" + }, + "m_SlotId": 0 + } + }, { "m_OutputSlot": { "m_Node": { @@ -198,6 +257,48 @@ "m_SlotId": -1966669927 } }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "4661b5db9c9f4f5c8f58e83724a217b8" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "5b1e5bf059284d8a9fa295f3ec1bdb89" + }, + "m_SlotId": 703166234 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "5b1e5bf059284d8a9fa295f3ec1bdb89" + }, + "m_SlotId": 1 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "265698fbbe0b41a7ab6de488e670d323" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "5b1e5bf059284d8a9fa295f3ec1bdb89" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "3667efbd224f4090b5736a435a87e138" + }, + "m_SlotId": 0 + } + }, { "m_OutputSlot": { "m_Node": { @@ -240,6 +341,20 @@ "m_SlotId": 2 } }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "7bceff548e3740ebaf9867fd0bf737f0" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "5b1e5bf059284d8a9fa295f3ec1bdb89" + }, + "m_SlotId": -1387528913 + } + }, { "m_OutputSlot": { "m_Node": { @@ -263,11 +378,25 @@ }, "m_InputSlot": { "m_Node": { - "m_Id": "60c0eab2665f4536bb7450af43837ded" + "m_Id": "1c6dbcf6a30d444893e9f6b3610d8874" }, "m_SlotId": 0 } }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "a52d8a9dc3d94912a44cf0313ae5e6db" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "5b1e5bf059284d8a9fa295f3ec1bdb89" + }, + "m_SlotId": -593105847 + } + }, { "m_OutputSlot": { "m_Node": { @@ -324,6 +453,20 @@ "m_SlotId": 1 } }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "ec3e6b6356c5410a8ec3ada1b25e5589" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "5b1e5bf059284d8a9fa295f3ec1bdb89" + }, + "m_SlotId": -226998828 + } + }, { "m_OutputSlot": { "m_Node": { @@ -341,8 +484,8 @@ ], "m_VertexContext": { "m_Position": { - "x": 0.0, - "y": 0.0 + "x": 1962.0, + "y": 101.99998474121094 }, "m_Blocks": [ { @@ -358,8 +501,8 @@ }, "m_FragmentContext": { "m_Position": { - "x": 0.0, - "y": 200.0 + "x": 1962.0, + "y": 301.99993896484377 }, "m_Blocks": [ { @@ -385,12 +528,18 @@ }, { "m_Id": "19ebe81b80bf49eb9c8c9d7b6f60797e" + }, + { + "m_Id": "53ec2d648fce4a2baf3f81c18a5854be" + }, + { + "m_Id": "265698fbbe0b41a7ab6de488e670d323" } ] }, "m_PreviewData": { "serializedMesh": { - "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}", + "m_SerializedMesh": "{\"mesh\":{\"fileID\":10210,\"guid\":\"0000000000000000e000000000000000\",\"type\":0}}", "m_Guid": "" }, "preventRotation": false @@ -409,14 +558,39 @@ ] } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "00013c3f889c48f6bba5584aec39a791", + "m_Id": 0, + "m_DisplayName": "BorderColor", + "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.GroupData", "m_ObjectId": "0046ffa545f3447e8e342861b6049268", "m_Title": "程序噪音", "m_Position": { - "x": -1317.0, - "y": 553.0000610351563 + "x": 78.0, + "y": 970.0001831054688 } } @@ -463,6 +637,21 @@ "m_Labels": [] } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "01f4beeda40c4790a2f7a3c960c440ec", + "m_Id": 1, + "m_DisplayName": "AlphaClipThreshold", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "AlphaClipThreshold", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", @@ -475,10 +664,10 @@ "m_Expanded": true, "m_Position": { "serializedVersion": "2", - "x": -882.0001220703125, - "y": -187.00001525878907, - "width": 125.0, - "height": 34.00004577636719 + "x": 397.9998474121094, + "y": -195.00010681152345, + "width": 125.00039672851563, + "height": 34.000152587890628 } }, "m_Slots": [ @@ -576,6 +765,45 @@ } } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "0b3e44684fda4ab296e6761000763084", + "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.Vector1MaterialSlot", + "m_ObjectId": "0d92470fe1404149bb369e57af27fb20", + "m_Id": 0, + "m_DisplayName": "ClipNoiseScale", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", @@ -588,10 +816,10 @@ "m_Expanded": true, "m_Position": { "serializedVersion": "2", - "x": -272.0, - "y": 394.0, - "width": 128.0, - "height": 34.0 + "x": 1008.000244140625, + "y": 386.0000305175781, + "width": 127.9996337890625, + "height": 33.99993896484375 } }, "m_Slots": [ @@ -678,10 +906,10 @@ "m_Expanded": true, "m_Position": { "serializedVersion": "2", - "x": -1099.0, - "y": 149.99998474121095, - "width": 146.0, - "height": 34.000030517578128 + "x": 180.99998474121095, + "y": 141.99998474121095, + "width": 146.0002899169922, + "height": 33.99993896484375 } }, "m_Slots": [ @@ -736,6 +964,52 @@ "m_SerializedDescriptor": "SurfaceDescription.CoatSmoothness" } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.LerpNode", + "m_ObjectId": "1c6dbcf6a30d444893e9f6b3610d8874", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Lerp", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 1410.0, + "y": -61.00002670288086, + "width": 208.0, + "height": 326.0000305175781 + } + }, + "m_Slots": [ + { + "m_Id": "0b3e44684fda4ab296e6761000763084" + }, + { + "m_Id": "1f586e00de184d87ac9d1bbc5acb8b50" + }, + { + "m_Id": "366b2d9c92c8444baece14155688facc" + }, + { + "m_Id": "9659cdda61614833b21b38963b511662" + } + ], + "synonyms": [ + "mix", + "blend", + "linear interpolate" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", @@ -748,10 +1022,10 @@ "m_Expanded": true, "m_Position": { "serializedVersion": "2", - "x": -545.0, - "y": 427.9999694824219, - "width": 159.00003051757813, - "height": 34.0 + "x": 734.9999389648438, + "y": 419.9999694824219, + "width": 159.0001220703125, + "height": 33.99993896484375 } }, "m_Slots": [ @@ -772,6 +1046,30 @@ } } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "1f586e00de184d87ac9d1bbc5acb8b50", + "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", @@ -821,6 +1119,40 @@ "m_SerializedDescriptor": "SurfaceDescription.CoatMask" } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "265698fbbe0b41a7ab6de488e670d323", + "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": "8fb50231128f491a8cb1834ba3c9c7c1" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.AlphaClipThreshold" +} + { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.PositionNode", @@ -833,10 +1165,10 @@ "m_Expanded": true, "m_Position": { "serializedVersion": "2", - "x": -1292.0, - "y": 613.9999389648438, - "width": 206.0, - "height": 131.0 + "x": 103.00000762939453, + "y": 1031.0, + "width": 206.00009155273438, + "height": 130.9998779296875 } }, "m_Slots": [ @@ -886,6 +1218,21 @@ } } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "27623f40897f42a1b0f08908fd9b8398", + "m_Id": -1387528913, + "m_DisplayName": "ClipScale", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "_ClipScale", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", @@ -974,6 +1321,30 @@ "m_SerializedDescriptor": "SurfaceDescription.Emission" } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "366b2d9c92c8444baece14155688facc", + "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": 3, "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty", @@ -1004,6 +1375,17 @@ "m_ColorMode": 1 } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.GroupData", + "m_ObjectId": "3fab0168cde4483eb292a485812f4ce5", + "m_Title": "溶解颜色", + "m_Position": { + "x": 1166.0001220703125, + "y": 1064.0001220703125 + } +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", @@ -1019,6 +1401,53 @@ "m_Labels": [] } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.GroupData", + "m_ObjectId": "42d4473b16c343a6b1ad6bbff713c980", + "m_Title": "溶解剔除", + "m_Position": { + "x": 1144.9998779296875, + "y": 917.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "4661b5db9c9f4f5c8f58e83724a217b8", + "m_Group": { + "m_Id": "e868cc27ef554bc5b4af94422a61357b" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 1171.9814453125, + "y": 860.221435546875, + "width": 153.0, + "height": 33.99993896484375 + } + }, + "m_Slots": [ + { + "m_Id": "0d92470fe1404149bb369e57af27fb20" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "fa681e51c50142cea21d779a6b6122d8" + } +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", @@ -1100,6 +1529,34 @@ } } +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", + "m_ObjectId": "530b5f7a08a24154855da6d6d238cd6e", + "m_Guid": { + "m_GuidSerialized": "9456b965-715d-4cbb-a250-025ae3ab064b" + }, + "m_Name": "BorderSize", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "BorderSize", + "m_DefaultReferenceName": "_BorderSize", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": 0.05000000074505806, + "m_FloatType": 0, + "m_RangeValues": { + "x": 0.0, + "y": 1.0 + } +} + { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", @@ -1153,6 +1610,103 @@ "m_Labels": [] } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "53ec2d648fce4a2baf3f81c18a5854be", + "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": "61b8b25b8a1a49138fe73554fb437a23" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.Alpha" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.SubGraphNode", + "m_ObjectId": "5b1e5bf059284d8a9fa295f3ec1bdb89", + "m_Group": { + "m_Id": "" + }, + "m_Name": "WorldNoiseClip", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 1432.9814453125, + "y": 839.221435546875, + "width": 243.0, + "height": 351.0 + } + }, + "m_Slots": [ + { + "m_Id": "ba5c41d4e14d47b3829ca3e785bf8b21" + }, + { + "m_Id": "27623f40897f42a1b0f08908fd9b8398" + }, + { + "m_Id": "8e2885c708f44465ad58a80966993a0c" + }, + { + "m_Id": "c40de9b3867d422f90e78b0ff220c8f9" + }, + { + "m_Id": "01f4beeda40c4790a2f7a3c960c440ec" + }, + { + "m_Id": "9d55a503d7c44cafb745316251d5b9c1" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"d3343779955ffd742acdd608325838cd\",\n \"type\": 3\n }\n}", + "m_PropertyGuids": [ + "b760a522-c070-40a2-9e15-99a4d607b27a", + "7a4ac2eb-87c0-4ade-ae47-5717aaff888a", + "92862675-bbcd-4655-a51e-aceac9c607cc", + "fa8df234-d8cf-47b6-a3b1-d0fd11774e9c" + ], + "m_PropertyIds": [ + 703166234, + -1387528913, + -226998828, + -593105847 + ], + "m_Dropdowns": [], + "m_DropdownSelectedEntries": [] +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", @@ -1187,6 +1741,21 @@ "m_SerializedDescriptor": "SurfaceDescription.BaseColor" } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "61b8b25b8a1a49138fe73554fb437a23", + "m_Id": 0, + "m_DisplayName": "Alpha", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Alpha", + "m_StageCapability": 2, + "m_Value": 1.0, + "m_DefaultValue": 1.0, + "m_Labels": [] +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SubGraphNode", @@ -1199,10 +1768,10 @@ "m_Expanded": true, "m_Position": { "serializedVersion": "2", - "x": -960.0, - "y": 667.0, - "width": 245.0, - "height": 327.0 + "x": 435.0001525878906, + "y": 1084.0, + "width": 244.99996948242188, + "height": 326.9998779296875 } }, "m_Slots": [ @@ -1245,6 +1814,21 @@ "m_DropdownSelectedEntries": [] } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "698b9899ec5d42e3b232eae82df071a1", + "m_Id": 0, + "m_DisplayName": "ClipScaleV", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", @@ -1257,10 +1841,10 @@ "m_Expanded": true, "m_Position": { "serializedVersion": "2", - "x": -882.0, - "y": -261.0, - "width": 131.0, - "height": 34.0 + "x": 397.9998474121094, + "y": -269.00006103515627, + "width": 131.00027465820313, + "height": 33.99995422363281 } }, "m_Slots": [ @@ -1293,10 +1877,10 @@ "m_Expanded": true, "m_Position": { "serializedVersion": "2", - "x": -932.0, - "y": -24.0, - "width": 208.0, - "height": 326.0 + "x": 347.9999694824219, + "y": -31.999961853027345, + "width": 208.00009155273438, + "height": 325.9998779296875 } }, "m_Slots": [ @@ -1395,7 +1979,7 @@ "m_ZWriteControl": 0, "m_AlphaMode": 0, "m_RenderFace": 2, - "m_AlphaClip": false, + "m_AlphaClip": true, "m_CastShadows": true, "m_ReceiveShadows": true, "m_DisableTint": false, @@ -1547,6 +2131,21 @@ } } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "78208840a50d402daf1271f3c89746ea", + "m_Id": 0, + "m_DisplayName": "BorderSize", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.CategoryData", @@ -1582,6 +2181,18 @@ }, { "m_Id": "09be6505815c403c89b41957d4fc3121" + }, + { + "m_Id": "fa681e51c50142cea21d779a6b6122d8" + }, + { + "m_Id": "e4a6ae2c88bd47ceb283a523463ea834" + }, + { + "m_Id": "f7c8fd3311d6433b9f2199a5c7fd1b19" + }, + { + "m_Id": "530b5f7a08a24154855da6d6d238cd6e" } ] } @@ -1596,6 +2207,42 @@ "m_BlendModePreserveSpecular": true } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "7bceff548e3740ebaf9867fd0bf737f0", + "m_Group": { + "m_Id": "42d4473b16c343a6b1ad6bbff713c980" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 1169.9814453125, + "y": 978.221435546875, + "width": 124.0, + "height": 33.99993896484375 + } + }, + "m_Slots": [ + { + "m_Id": "698b9899ec5d42e3b232eae82df071a1" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "e4a6ae2c88bd47ceb283a523463ea834" + } +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", @@ -1650,6 +2297,36 @@ } } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "8e2885c708f44465ad58a80966993a0c", + "m_Id": -226998828, + "m_DisplayName": "BorderSize", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "_BorderSize", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "8fb50231128f491a8cb1834ba3c9c7c1", + "m_Id": 0, + "m_DisplayName": "Alpha Clip Threshold", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "AlphaClipThreshold", + "m_StageCapability": 2, + "m_Value": 0.0010000000474974514, + "m_DefaultValue": 0.5, + "m_Labels": [] +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", @@ -1710,10 +2387,10 @@ "m_Expanded": true, "m_Position": { "serializedVersion": "2", - "x": -369.0, - "y": 186.99998474121095, - "width": 115.99998474121094, - "height": 34.0 + "x": 911.0001220703125, + "y": 178.99984741210938, + "width": 116.0, + "height": 34.000152587890628 } }, "m_Slots": [ @@ -1734,6 +2411,30 @@ } } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "9659cdda61614833b21b38963b511662", + "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.PositionMaterialSlot", @@ -1800,10 +2501,10 @@ "m_Expanded": true, "m_Position": { "serializedVersion": "2", - "x": -614.0, - "y": -270.0, - "width": 208.0, - "height": 326.0 + "x": 666.0001831054688, + "y": -278.0000305175781, + "width": 208.0001220703125, + "height": 326.00006103515627 } }, "m_Slots": [ @@ -1873,6 +2574,29 @@ } } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", + "m_ObjectId": "9d55a503d7c44cafb745316251d5b9c1", + "m_Id": 2, + "m_DisplayName": "EmissionColor", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "EmissionColor", + "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.BlockNode", @@ -1959,6 +2683,42 @@ } } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "a52d8a9dc3d94912a44cf0313ae5e6db", + "m_Group": { + "m_Id": "3fab0168cde4483eb292a485812f4ce5" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 1190.9814453125, + "y": 1156.221435546875, + "width": 140.0, + "height": 34.00006103515625 + } + }, + "m_Slots": [ + { + "m_Id": "00013c3f889c48f6bba5584aec39a791" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "f7c8fd3311d6433b9f2199a5c7fd1b19" + } +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", @@ -2092,10 +2852,10 @@ "m_Expanded": true, "m_Position": { "serializedVersion": "2", - "x": -564.7999267578125, - "y": 527.2000122070313, - "width": 208.00003051757813, - "height": 301.5999755859375 + "x": 703.0, + "y": 519.0000610351563, + "width": 208.00006103515626, + "height": 302.00006103515627 } }, "m_Slots": [ @@ -2138,6 +2898,21 @@ "m_Labels": [] } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "ba5c41d4e14d47b3829ca3e785bf8b21", + "m_Id": 703166234, + "m_DisplayName": "ClipNoiseScale", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "_ClipNoiseScale", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BlockNode", @@ -2209,10 +2984,10 @@ "m_Expanded": true, "m_Position": { "serializedVersion": "2", - "x": -798.0, - "y": 447.0, - "width": 148.0, - "height": 34.00006103515625 + "x": 481.9999084472656, + "y": 438.9998474121094, + "width": 148.00033569335938, + "height": 34.000152587890628 } }, "m_Slots": [ @@ -2233,6 +3008,31 @@ } } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "c40de9b3867d422f90e78b0ff220c8f9", + "m_Id": -593105847, + "m_DisplayName": "BorderColor", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "_BorderColor", + "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", @@ -2302,10 +3102,10 @@ "m_Expanded": true, "m_Position": { "serializedVersion": "2", - "x": -1162.0, - "y": 855.9999389648438, - "width": 143.0, - "height": 34.0 + "x": 233.0001220703125, + "y": 1272.9998779296875, + "width": 143.00015258789063, + "height": 34.0001220703125 } }, "m_Slots": [ @@ -2441,6 +3241,34 @@ } } +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", + "m_ObjectId": "e4a6ae2c88bd47ceb283a523463ea834", + "m_Guid": { + "m_GuidSerialized": "4f2124a7-cbd8-412d-8e08-4c1a166f3270" + }, + "m_Name": "ClipScaleV", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "ClipScaleV", + "m_DefaultReferenceName": "_ClipScaleV", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": -1.0, + "m_FloatType": 1, + "m_RangeValues": { + "x": -1.0, + "y": 1.0 + } +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", @@ -2468,10 +3296,10 @@ "m_Expanded": true, "m_Position": { "serializedVersion": "2", - "x": -535.0000610351563, - "y": 464.0000305175781, - "width": 140.00006103515626, - "height": 33.999969482421878 + "x": 745.0003051757813, + "y": 455.99993896484377, + "width": 161.99981689453126, + "height": 33.99993896484375 } }, "m_Slots": [ @@ -2492,6 +3320,17 @@ } } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.GroupData", + "m_ObjectId": "e868cc27ef554bc5b4af94422a61357b", + "m_Title": "程序噪音", + "m_Position": { + "x": 1147.0, + "y": 799.0001220703125 + } +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", @@ -2507,6 +3346,42 @@ "m_Labels": [] } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "ec3e6b6356c5410a8ec3ada1b25e5589", + "m_Group": { + "m_Id": "3fab0168cde4483eb292a485812f4ce5" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 1190.9814453125, + "y": 1126.221435546875, + "width": 132.0, + "height": 33.99993896484375 + } + }, + "m_Slots": [ + { + "m_Id": "78208840a50d402daf1271f3c89746ea" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "530b5f7a08a24154855da6d6d238cd6e" + } +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", @@ -2567,10 +3442,10 @@ "m_Expanded": true, "m_Position": { "serializedVersion": "2", - "x": -317.9999694824219, - "y": 441.9999694824219, - "width": 207.99998474121095, - "height": 325.9999694824219 + "x": 961.9999389648438, + "y": 433.9999084472656, + "width": 208.00006103515626, + "height": 326.0000915527344 } }, "m_Slots": [ @@ -2674,6 +3549,36 @@ } } +{ + "m_SGVersion": 3, + "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty", + "m_ObjectId": "f7c8fd3311d6433b9f2199a5c7fd1b19", + "m_Guid": { + "m_GuidSerialized": "0111f9ca-1324-4f25-9f59-b2da7e31d8dd" + }, + "m_Name": "BorderColor", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "BorderColor", + "m_DefaultReferenceName": "_BorderColor", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": { + "r": 0.0, + "g": 0.9788961410522461, + "b": 2.0, + "a": 1.0 + }, + "isMainColor": false, + "m_ColorMode": 1 +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", @@ -2689,6 +3594,34 @@ "m_Labels": [] } +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", + "m_ObjectId": "fa681e51c50142cea21d779a6b6122d8", + "m_Guid": { + "m_GuidSerialized": "086a19bc-1272-4d2c-ad0f-47088cd8a55f" + }, + "m_Name": "ClipNoiseScale", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "ClipNoiseScale", + "m_DefaultReferenceName": "_ClipNoiseScale", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": 2.0, + "m_FloatType": 0, + "m_RangeValues": { + "x": 0.0, + "y": 1.0 + } +} + { "m_SGVersion": 3, "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty", diff --git a/Assets/Shaders/Glass_URP.shadergraph b/Assets/Shaders/Glass_URP.shadergraph new file mode 100644 index 0000000..9cab7b6 --- /dev/null +++ b/Assets/Shaders/Glass_URP.shadergraph @@ -0,0 +1,1701 @@ +{ + "m_SGVersion": 3, + "m_Type": "UnityEditor.ShaderGraph.GraphData", + "m_ObjectId": "7f0d19a9e4cf40739ee9d18851c1ff08", + "m_Properties": [ + { + "m_Id": "a4c28b5ddb2e410c8e440229023d4602" + }, + { + "m_Id": "006d64bb9c4b48278e71ff9ae671b4e3" + }, + { + "m_Id": "ff331160b5f34f7a8e46d6df6dbc56c4" + }, + { + "m_Id": "fa681e51c50142cea21d779a6b6122d8" + }, + { + "m_Id": "e4a6ae2c88bd47ceb283a523463ea834" + }, + { + "m_Id": "f7c8fd3311d6433b9f2199a5c7fd1b19" + }, + { + "m_Id": "530b5f7a08a24154855da6d6d238cd6e" + } + ], + "m_Keywords": [], + "m_Dropdowns": [], + "m_CategoryData": [ + { + "m_Id": "7886cbaaf5044a2ba41bd02a96b9c2c4" + } + ], + "m_Nodes": [ + { + "m_Id": "07e47afc1fee45a48a44a4f89549eca9" + }, + { + "m_Id": "6d75042135e14d3983aa20dd627ab8d6" + }, + { + "m_Id": "baa2002c3238408c8735d9a3972dae70" + }, + { + "m_Id": "60c0eab2665f4536bb7450af43837ded" + }, + { + "m_Id": "a0d5e525f6954e958fe327ef3e2ac8d0" + }, + { + "m_Id": "b11af495a0304f548bb0b861260adeef" + }, + { + "m_Id": "3667efbd224f4090b5736a435a87e138" + }, + { + "m_Id": "5155bca51b4945a58e51b3e66b155742" + }, + { + "m_Id": "69f064516fcb40cd9c48bf10e56a2c41" + }, + { + "m_Id": "53ec2d648fce4a2baf3f81c18a5854be" + }, + { + "m_Id": "265698fbbe0b41a7ab6de488e670d323" + }, + { + "m_Id": "146021a8a2244755ae8bdbee32ee4440" + }, + { + "m_Id": "230817f9f5c74a4a8c9a0c50b10c31be" + }, + { + "m_Id": "9161bb12f571415682404fa76457293b" + }, + { + "m_Id": "e0d7ec76877e4879a5d0026b9548576f" + }, + { + "m_Id": "d0c45302cf79486eb258ee5752f41c26" + }, + { + "m_Id": "2fd2bc8f93c44dbe829c332b1fedce62" + }, + { + "m_Id": "bd4673b4869f4a3dae08f398d8c6da54" + } + ], + "m_GroupDatas": [ + { + "m_Id": "7578abb9e2cb4d04890b967441365b9e" + }, + { + "m_Id": "95b4565b6f144ccb970f43fc9a1e0ef4" + }, + { + "m_Id": "dfc519962e2548aebba82530ee6fd3dc" + } + ], + "m_StickyNoteDatas": [], + "m_Edges": [ + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "146021a8a2244755ae8bdbee32ee4440" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "bd4673b4869f4a3dae08f398d8c6da54" + }, + "m_SlotId": 703166234 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "230817f9f5c74a4a8c9a0c50b10c31be" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "bd4673b4869f4a3dae08f398d8c6da54" + }, + "m_SlotId": -1387528913 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "2fd2bc8f93c44dbe829c332b1fedce62" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "b11af495a0304f548bb0b861260adeef" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "69f064516fcb40cd9c48bf10e56a2c41" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "60c0eab2665f4536bb7450af43837ded" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "9161bb12f571415682404fa76457293b" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "bd4673b4869f4a3dae08f398d8c6da54" + }, + "m_SlotId": -593105847 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "bd4673b4869f4a3dae08f398d8c6da54" + }, + "m_SlotId": 1 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "265698fbbe0b41a7ab6de488e670d323" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "bd4673b4869f4a3dae08f398d8c6da54" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "3667efbd224f4090b5736a435a87e138" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "e0d7ec76877e4879a5d0026b9548576f" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "bd4673b4869f4a3dae08f398d8c6da54" + }, + "m_SlotId": -226998828 + } + } + ], + "m_VertexContext": { + "m_Position": { + "x": 1962.0, + "y": 101.99998474121094 + }, + "m_Blocks": [ + { + "m_Id": "07e47afc1fee45a48a44a4f89549eca9" + }, + { + "m_Id": "6d75042135e14d3983aa20dd627ab8d6" + }, + { + "m_Id": "baa2002c3238408c8735d9a3972dae70" + } + ] + }, + "m_FragmentContext": { + "m_Position": { + "x": 1962.0, + "y": 301.99993896484377 + }, + "m_Blocks": [ + { + "m_Id": "60c0eab2665f4536bb7450af43837ded" + }, + { + "m_Id": "a0d5e525f6954e958fe327ef3e2ac8d0" + }, + { + "m_Id": "b11af495a0304f548bb0b861260adeef" + }, + { + "m_Id": "3667efbd224f4090b5736a435a87e138" + }, + { + "m_Id": "5155bca51b4945a58e51b3e66b155742" + }, + { + "m_Id": "53ec2d648fce4a2baf3f81c18a5854be" + }, + { + "m_Id": "265698fbbe0b41a7ab6de488e670d323" + }, + { + "m_Id": "d0c45302cf79486eb258ee5752f41c26" + } + ] + }, + "m_PreviewData": { + "serializedMesh": { + "m_SerializedMesh": "{\"mesh\":{\"fileID\":10210,\"guid\":\"0000000000000000e000000000000000\",\"type\":0}}", + "m_Guid": "" + }, + "preventRotation": false + }, + "m_Path": "Shader Graphs", + "m_GraphPrecision": 1, + "m_PreviewMode": 2, + "m_OutputNode": { + "m_Id": "" + }, + "m_SubDatas": [], + "m_ActiveTargets": [ + { + "m_Id": "6e19f8d4e99a4439898130061e99e2e1" + } + ] +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", + "m_ObjectId": "006d64bb9c4b48278e71ff9ae671b4e3", + "m_Guid": { + "m_GuidSerialized": "2978cf84-a411-44a9-a7ff-027d03691889" + }, + "m_Name": "FlakeIntensity", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "FlakeIntensity", + "m_DefaultReferenceName": "_FlakeIntensity", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": 1.0, + "m_FloatType": 0, + "m_RangeValues": { + "x": 0.0, + "y": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "015c43e3f6c447ffafd5e7e9ff3a1202", + "m_Id": 0, + "m_DisplayName": "Ambient Occlusion", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Occlusion", + "m_StageCapability": 2, + "m_Value": 1.0, + "m_DefaultValue": 1.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "07e47afc1fee45a48a44a4f89549eca9", + "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": "984fee935d344b19881f963c2d200909" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Position" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", + "m_ObjectId": "12cdcf2e46d6483ca531fe763309ef9d", + "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": "146021a8a2244755ae8bdbee32ee4440", + "m_Group": { + "m_Id": "7578abb9e2cb4d04890b967441365b9e" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 1374.999755859375, + "y": 493.9999694824219, + "width": 153.0001220703125, + "height": 33.999969482421878 + } + }, + "m_Slots": [ + { + "m_Id": "31b927975e524fd29b94ced9505c2086" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "fa681e51c50142cea21d779a6b6122d8" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", + "m_ObjectId": "1e9f6bf97a284313938f3213913ac53b", + "m_Id": 2, + "m_DisplayName": "EmissionColor", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "EmissionColor", + "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.Vector4MaterialSlot", + "m_ObjectId": "1fabeaa663ae439d9aeeee34d8d41b2e", + "m_Id": -593105847, + "m_DisplayName": "BorderColor", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "_BorderColor", + "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.PropertyNode", + "m_ObjectId": "230817f9f5c74a4a8c9a0c50b10c31be", + "m_Group": { + "m_Id": "95b4565b6f144ccb970f43fc9a1e0ef4" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 1372.9998779296875, + "y": 611.9999389648438, + "width": 124.0, + "height": 34.0 + } + }, + "m_Slots": [ + { + "m_Id": "5435eb535c504ed492dd5c62b46c0e9d" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "e4a6ae2c88bd47ceb283a523463ea834" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "254e8f6af0f94167a0e692e57da074c3", + "m_Id": 0, + "m_DisplayName": "BorderColor", + "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": "265698fbbe0b41a7ab6de488e670d323", + "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": "8fb50231128f491a8cb1834ba3c9c7c1" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.AlphaClipThreshold" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "2c042fb1f65a4d82a9b55d1d9d49fa13", + "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": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "2c9c90dab9f14a46aab37bec1919f861", + "m_Id": -226998828, + "m_DisplayName": "BorderSize", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "_BorderSize", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "2fd2bc8f93c44dbe829c332b1fedce62", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 1673.9998779296875, + "y": 413.99993896484377, + "width": 140.0, + "height": 34.000030517578128 + } + }, + "m_Slots": [ + { + "m_Id": "2c042fb1f65a4d82a9b55d1d9d49fa13" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "a4c28b5ddb2e410c8e440229023d4602" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "31b927975e524fd29b94ced9505c2086", + "m_Id": 0, + "m_DisplayName": "ClipNoiseScale", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "3667efbd224f4090b5736a435a87e138", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.Emission", + "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": "985938a06a434637ab6610fb9a741f0d" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.Emission" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "4b9128cfdb434ec69c799d97983eb4a9", + "m_Id": 703166234, + "m_DisplayName": "ClipNoiseScale", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "_ClipNoiseScale", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "5155bca51b4945a58e51b3e66b155742", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.Occlusion", + "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": "015c43e3f6c447ffafd5e7e9ff3a1202" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.Occlusion" +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", + "m_ObjectId": "530b5f7a08a24154855da6d6d238cd6e", + "m_Guid": { + "m_GuidSerialized": "9456b965-715d-4cbb-a250-025ae3ab064b" + }, + "m_Name": "BorderSize", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "BorderSize", + "m_DefaultReferenceName": "_BorderSize", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": 0.05000000074505806, + "m_FloatType": 0, + "m_RangeValues": { + "x": 0.0, + "y": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "53ec2d648fce4a2baf3f81c18a5854be", + "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": "61b8b25b8a1a49138fe73554fb437a23" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.Alpha" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "5435eb535c504ed492dd5c62b46c0e9d", + "m_Id": 0, + "m_DisplayName": "ClipScaleV", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "60c0eab2665f4536bb7450af43837ded", + "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": "f787eb33c7144cc6a89d423f138555d1" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.BaseColor" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "61b8b25b8a1a49138fe73554fb437a23", + "m_Id": 0, + "m_DisplayName": "Alpha", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Alpha", + "m_StageCapability": 2, + "m_Value": 1.0, + "m_DefaultValue": 1.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "69f064516fcb40cd9c48bf10e56a2c41", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 1702.9998779296875, + "y": 320.9999694824219, + "width": 131.0, + "height": 34.000030517578128 + } + }, + "m_Slots": [ + { + "m_Id": "bc8f5dff3d4a45849949849d09717f31" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "ff331160b5f34f7a8e46d6df6dbc56c4" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", + "m_ObjectId": "6caef2bbe95e445fa3c4ce02c165ab41", + "m_Id": 0, + "m_DisplayName": "Normal (Tangent Space)", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "NormalTS", + "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": [], + "m_Space": 3 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "6d75042135e14d3983aa20dd627ab8d6", + "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": "12cdcf2e46d6483ca531fe763309ef9d" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Normal" +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget", + "m_ObjectId": "6e19f8d4e99a4439898130061e99e2e1", + "m_Datas": [], + "m_ActiveSubTarget": { + "m_Id": "7ba0e562a6094858ae5bdda20212fbd5" + }, + "m_AllowMaterialOverride": false, + "m_SurfaceType": 0, + "m_ZTestMode": 4, + "m_ZWriteControl": 0, + "m_AlphaMode": 0, + "m_RenderFace": 2, + "m_AlphaClip": true, + "m_CastShadows": true, + "m_ReceiveShadows": true, + "m_DisableTint": false, + "m_AdditionalMotionVectorMode": 0, + "m_AlembicMotionVectors": false, + "m_SupportsLODCrossFade": false, + "m_CustomEditorGUI": "", + "m_SupportVFX": false +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.GroupData", + "m_ObjectId": "7578abb9e2cb4d04890b967441365b9e", + "m_Title": "程序噪音", + "m_Position": { + "x": 1350.0001220703125, + "y": 433.0001220703125 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.CategoryData", + "m_ObjectId": "7886cbaaf5044a2ba41bd02a96b9c2c4", + "m_Name": "", + "m_ChildObjectList": [ + { + "m_Id": "ff331160b5f34f7a8e46d6df6dbc56c4" + }, + { + "m_Id": "a4c28b5ddb2e410c8e440229023d4602" + }, + { + "m_Id": "006d64bb9c4b48278e71ff9ae671b4e3" + }, + { + "m_Id": "fa681e51c50142cea21d779a6b6122d8" + }, + { + "m_Id": "e4a6ae2c88bd47ceb283a523463ea834" + }, + { + "m_Id": "f7c8fd3311d6433b9f2199a5c7fd1b19" + }, + { + "m_Id": "530b5f7a08a24154855da6d6d238cd6e" + } + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", + "m_ObjectId": "7a5de0909dc24292b7c306b24d429c1c", + "m_Id": 0, + "m_DisplayName": "Specular Color", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Specular", + "m_StageCapability": 2, + "m_Value": { + "x": 0.5, + "y": 0.5, + "z": 0.5 + }, + "m_DefaultValue": { + "x": 0.5, + "y": 0.5, + "z": 0.5 + }, + "m_Labels": [], + "m_ColorMode": 0, + "m_DefaultColor": { + "r": 0.5, + "g": 0.5, + "b": 0.5, + "a": 1.0 + } +} + +{ + "m_SGVersion": 2, + "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalLitSubTarget", + "m_ObjectId": "7ba0e562a6094858ae5bdda20212fbd5", + "m_WorkflowMode": 0, + "m_NormalDropOffSpace": 0, + "m_ClearCoat": false, + "m_BlendModePreserveSpecular": true +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "8fb50231128f491a8cb1834ba3c9c7c1", + "m_Id": 0, + "m_DisplayName": "Alpha Clip Threshold", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "AlphaClipThreshold", + "m_StageCapability": 2, + "m_Value": 0.0010000000474974514, + "m_DefaultValue": 0.5, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "9018050b84d54aaf8ecc9140a24947cd", + "m_Id": 0, + "m_DisplayName": "BorderSize", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "9161bb12f571415682404fa76457293b", + "m_Group": { + "m_Id": "dfc519962e2548aebba82530ee6fd3dc" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 1393.9998779296875, + "y": 789.9999389648438, + "width": 140.0, + "height": 33.99993896484375 + } + }, + "m_Slots": [ + { + "m_Id": "254e8f6af0f94167a0e692e57da074c3" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "f7c8fd3311d6433b9f2199a5c7fd1b19" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.GroupData", + "m_ObjectId": "95b4565b6f144ccb970f43fc9a1e0ef4", + "m_Title": "溶解剔除", + "m_Position": { + "x": 1348.000244140625, + "y": 550.9998779296875 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot", + "m_ObjectId": "984fee935d344b19881f963c2d200909", + "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.ColorRGBMaterialSlot", + "m_ObjectId": "985938a06a434637ab6610fb9a741f0d", + "m_Id": 0, + "m_DisplayName": "Emission", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Emission", + "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": [], + "m_ColorMode": 1, + "m_DefaultColor": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "a0d5e525f6954e958fe327ef3e2ac8d0", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.NormalTS", + "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": "6caef2bbe95e445fa3c4ce02c165ab41" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.NormalTS" +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", + "m_ObjectId": "a4c28b5ddb2e410c8e440229023d4602", + "m_Guid": { + "m_GuidSerialized": "c5bb0221-fe9d-441e-901f-593c28fe1503" + }, + "m_Name": "Smoothness", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "Smoothness", + "m_DefaultReferenceName": "_Smoothness", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": 1.0, + "m_FloatType": 0, + "m_RangeValues": { + "x": 0.0, + "y": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot", + "m_ObjectId": "a692502ce8e24a64b8089b8c4cb02fdf", + "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.BlockNode", + "m_ObjectId": "b11af495a0304f548bb0b861260adeef", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.Smoothness", + "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": "e8ae8187c33f4d9bb5be09c934bb1cf1" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.Smoothness" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "baa2002c3238408c8735d9a3972dae70", + "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": "a692502ce8e24a64b8089b8c4cb02fdf" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Tangent" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "bc8f5dff3d4a45849949849d09717f31", + "m_Id": 0, + "m_DisplayName": "ColorBase", + "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.SubGraphNode", + "m_ObjectId": "bd4673b4869f4a3dae08f398d8c6da54", + "m_Group": { + "m_Id": "" + }, + "m_Name": "WorldNoiseClip", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 1635.9998779296875, + "y": 472.9999694824219, + "width": 243.0001220703125, + "height": 350.9999084472656 + } + }, + "m_Slots": [ + { + "m_Id": "4b9128cfdb434ec69c799d97983eb4a9" + }, + { + "m_Id": "c4144404648e4280aa736c272c93c4df" + }, + { + "m_Id": "2c9c90dab9f14a46aab37bec1919f861" + }, + { + "m_Id": "1fabeaa663ae439d9aeeee34d8d41b2e" + }, + { + "m_Id": "eb454b6198104fe1aa9a144463e750c7" + }, + { + "m_Id": "1e9f6bf97a284313938f3213913ac53b" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"d3343779955ffd742acdd608325838cd\",\n \"type\": 3\n }\n}", + "m_PropertyGuids": [ + "b760a522-c070-40a2-9e15-99a4d607b27a", + "7a4ac2eb-87c0-4ade-ae47-5717aaff888a", + "92862675-bbcd-4655-a51e-aceac9c607cc", + "fa8df234-d8cf-47b6-a3b1-d0fd11774e9c" + ], + "m_PropertyIds": [ + 703166234, + -1387528913, + -226998828, + -593105847 + ], + "m_Dropdowns": [], + "m_DropdownSelectedEntries": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "c4144404648e4280aa736c272c93c4df", + "m_Id": -1387528913, + "m_DisplayName": "ClipScale", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "_ClipScale", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "d0c45302cf79486eb258ee5752f41c26", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.Specular", + "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": "7a5de0909dc24292b7c306b24d429c1c" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.Specular" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.GroupData", + "m_ObjectId": "dfc519962e2548aebba82530ee6fd3dc", + "m_Title": "溶解颜色", + "m_Position": { + "x": 1369.0001220703125, + "y": 698.0001220703125 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "e0d7ec76877e4879a5d0026b9548576f", + "m_Group": { + "m_Id": "dfc519962e2548aebba82530ee6fd3dc" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 1393.9998779296875, + "y": 759.9999389648438, + "width": 132.0, + "height": 34.0 + } + }, + "m_Slots": [ + { + "m_Id": "9018050b84d54aaf8ecc9140a24947cd" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "530b5f7a08a24154855da6d6d238cd6e" + } +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", + "m_ObjectId": "e4a6ae2c88bd47ceb283a523463ea834", + "m_Guid": { + "m_GuidSerialized": "4f2124a7-cbd8-412d-8e08-4c1a166f3270" + }, + "m_Name": "ClipScaleV", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "ClipScaleV", + "m_DefaultReferenceName": "_ClipScaleV", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": -1.0, + "m_FloatType": 1, + "m_RangeValues": { + "x": -1.0, + "y": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "e8ae8187c33f4d9bb5be09c934bb1cf1", + "m_Id": 0, + "m_DisplayName": "Smoothness", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Smoothness", + "m_StageCapability": 2, + "m_Value": 0.5, + "m_DefaultValue": 0.5, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "eb454b6198104fe1aa9a144463e750c7", + "m_Id": 1, + "m_DisplayName": "AlphaClipThreshold", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "AlphaClipThreshold", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", + "m_ObjectId": "f787eb33c7144cc6a89d423f138555d1", + "m_Id": 0, + "m_DisplayName": "Base Color", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "BaseColor", + "m_StageCapability": 2, + "m_Value": { + "x": 0.5, + "y": 0.5, + "z": 0.5 + }, + "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": 3, + "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty", + "m_ObjectId": "f7c8fd3311d6433b9f2199a5c7fd1b19", + "m_Guid": { + "m_GuidSerialized": "0111f9ca-1324-4f25-9f59-b2da7e31d8dd" + }, + "m_Name": "BorderColor", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "BorderColor", + "m_DefaultReferenceName": "_BorderColor", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": { + "r": 0.0, + "g": 0.9788961410522461, + "b": 2.0, + "a": 1.0 + }, + "isMainColor": false, + "m_ColorMode": 1 +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", + "m_ObjectId": "fa681e51c50142cea21d779a6b6122d8", + "m_Guid": { + "m_GuidSerialized": "086a19bc-1272-4d2c-ad0f-47088cd8a55f" + }, + "m_Name": "ClipNoiseScale", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "ClipNoiseScale", + "m_DefaultReferenceName": "_ClipNoiseScale", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": 5.0, + "m_FloatType": 0, + "m_RangeValues": { + "x": 0.0, + "y": 1.0 + } +} + +{ + "m_SGVersion": 3, + "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty", + "m_ObjectId": "ff331160b5f34f7a8e46d6df6dbc56c4", + "m_Guid": { + "m_GuidSerialized": "88d7c0b7-6ca0-4dd5-9ef5-b0b6bf33530a" + }, + "m_Name": "ColorBase", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "ColorBase", + "m_DefaultReferenceName": "_ColorBase", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + }, + "isMainColor": false, + "m_ColorMode": 0 +} + diff --git a/Assets/Shaders/Glass_URP.shadergraph.meta b/Assets/Shaders/Glass_URP.shadergraph.meta new file mode 100644 index 0000000..13222a7 --- /dev/null +++ b/Assets/Shaders/Glass_URP.shadergraph.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 08e1cc37db7c5ac4a8d66457f42890aa +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} diff --git a/Assets/Shaders/SubGraph.meta b/Assets/Shaders/SubGraph.meta new file mode 100644 index 0000000..5304aa1 --- /dev/null +++ b/Assets/Shaders/SubGraph.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7f9cddf7033be5945921276c5f6ab914 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Shaders/SubGraph/WorldNoiseClip.shadersubgraph b/Assets/Shaders/SubGraph/WorldNoiseClip.shadersubgraph new file mode 100644 index 0000000..6b71951 --- /dev/null +++ b/Assets/Shaders/SubGraph/WorldNoiseClip.shadersubgraph @@ -0,0 +1,2059 @@ +{ + "m_SGVersion": 3, + "m_Type": "UnityEditor.ShaderGraph.GraphData", + "m_ObjectId": "17cdd69b4c4f472c855d32da7d2cabb8", + "m_Properties": [ + { + "m_Id": "297b0d7607a84974aa46d32f93cba55d" + }, + { + "m_Id": "b60d0a23639c4f80b4b02a0b6332da71" + }, + { + "m_Id": "631e261d167343ab96c904ad79765a16" + }, + { + "m_Id": "f22fb5de3f16450d8dd33447da8a7c7c" + } + ], + "m_Keywords": [], + "m_Dropdowns": [], + "m_CategoryData": [ + { + "m_Id": "52a3930ed15a4d71ac4eaf0af51088c1" + } + ], + "m_Nodes": [ + { + "m_Id": "9c743934e6824d41b0ac7f56512c7f59" + }, + { + "m_Id": "79eeed28433946b7838942a05a1339bc" + }, + { + "m_Id": "5e0399e641a049ccb31e2a2927e68a18" + }, + { + "m_Id": "1591348817ed4f439d2eec616287645a" + }, + { + "m_Id": "71c069a21b9a41b5a27670718ec20483" + }, + { + "m_Id": "149e9106ee904db29d33cfbea60c997b" + }, + { + "m_Id": "e86c77126ecc4edcbb7352a91b65096c" + }, + { + "m_Id": "f5c8d52850e7471f820f98599b5f5fd8" + }, + { + "m_Id": "b14688b999514619af81e1672cf57658" + }, + { + "m_Id": "d913a0824675486983e7d1d9c5e0aab2" + }, + { + "m_Id": "736f81b28ba74a85ba9ba2fb734e1aeb" + }, + { + "m_Id": "39904ad6736240e2810bc826e458c6bd" + }, + { + "m_Id": "e51bc413a882483b9fef4c4ca855317d" + }, + { + "m_Id": "cdb36f1ca3764e52a750ffa64c978c8e" + }, + { + "m_Id": "4d37e3d025a74261be15c9bf14793c8b" + } + ], + "m_GroupDatas": [ + { + "m_Id": "ae99c32c9ef24297ae594d1a05c8fffd" + }, + { + "m_Id": "d7bfc3ea2c3a4f4aa09f67786fa7cef2" + }, + { + "m_Id": "16aeb2ac3f344dc99fe08a05e9e74094" + } + ], + "m_StickyNoteDatas": [], + "m_Edges": [ + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "149e9106ee904db29d33cfbea60c997b" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "9c743934e6824d41b0ac7f56512c7f59" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "149e9106ee904db29d33cfbea60c997b" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "e86c77126ecc4edcbb7352a91b65096c" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "1591348817ed4f439d2eec616287645a" + }, + "m_SlotId": 3 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "71c069a21b9a41b5a27670718ec20483" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "39904ad6736240e2810bc826e458c6bd" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "5e0399e641a049ccb31e2a2927e68a18" + }, + "m_SlotId": -103839353 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "4d37e3d025a74261be15c9bf14793c8b" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "736f81b28ba74a85ba9ba2fb734e1aeb" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "5e0399e641a049ccb31e2a2927e68a18" + }, + "m_SlotId": 1 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "149e9106ee904db29d33cfbea60c997b" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "5e0399e641a049ccb31e2a2927e68a18" + }, + "m_SlotId": 1 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "71c069a21b9a41b5a27670718ec20483" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "71c069a21b9a41b5a27670718ec20483" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "149e9106ee904db29d33cfbea60c997b" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "736f81b28ba74a85ba9ba2fb734e1aeb" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "9c743934e6824d41b0ac7f56512c7f59" + }, + "m_SlotId": 2 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "79eeed28433946b7838942a05a1339bc" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "5e0399e641a049ccb31e2a2927e68a18" + }, + "m_SlotId": -1966669927 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "b14688b999514619af81e1672cf57658" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "f5c8d52850e7471f820f98599b5f5fd8" + }, + "m_SlotId": 2 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "cdb36f1ca3764e52a750ffa64c978c8e" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "b14688b999514619af81e1672cf57658" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "d913a0824675486983e7d1d9c5e0aab2" + }, + "m_SlotId": 3 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "736f81b28ba74a85ba9ba2fb734e1aeb" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "e51bc413a882483b9fef4c4ca855317d" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "1591348817ed4f439d2eec616287645a" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "e86c77126ecc4edcbb7352a91b65096c" + }, + "m_SlotId": 3 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "f5c8d52850e7471f820f98599b5f5fd8" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "f5c8d52850e7471f820f98599b5f5fd8" + }, + "m_SlotId": 3 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "d913a0824675486983e7d1d9c5e0aab2" + }, + "m_SlotId": 0 + } + } + ], + "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": 2, + "m_OutputNode": { + "m_Id": "9c743934e6824d41b0ac7f56512c7f59" + }, + "m_SubDatas": [], + "m_ActiveTargets": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "0b8fbb8c51be4349a6efb4f993323d3d", + "m_Id": -883473370, + "m_DisplayName": "Angle Offset", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Vector1_B47BD908", + "m_StageCapability": 3, + "m_Value": 19.299999237060548, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "0c8236daf64c49c49ae9f35325387b45", + "m_Id": 1, + "m_DisplayName": "B", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "B", + "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": "0c9c9a83e9564e50b4938e64965cbe5a", + "m_Id": 1, + "m_DisplayName": "B", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "B", + "m_StageCapability": 3, + "m_Value": { + "x": 1.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": "12ea8b075d9441e4aa0ff99470078477", + "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.AddNode", + "m_ObjectId": "149e9106ee904db29d33cfbea60c997b", + "m_Group": { + "m_Id": "d7bfc3ea2c3a4f4aa09f67786fa7cef2" + }, + "m_Name": "Add", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -89.4998779296875, + "y": -441.500244140625, + "width": 207.9998779296875, + "height": 302.0 + } + }, + "m_Slots": [ + { + "m_Id": "6e180451c0994353833516a3bf6d3eab" + }, + { + "m_Id": "0c8236daf64c49c49ae9f35325387b45" + }, + { + "m_Id": "b560e1109b954a70a19fa0e9ae95cc11" + } + ], + "synonyms": [ + "addition", + "sum", + "plus" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.RemapNode", + "m_ObjectId": "1591348817ed4f439d2eec616287645a", + "m_Group": { + "m_Id": "d7bfc3ea2c3a4f4aa09f67786fa7cef2" + }, + "m_Name": "Remap", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -690.4998168945313, + "y": 58.499755859375, + "width": 186.00001525878907, + "height": 142.000244140625 + } + }, + "m_Slots": [ + { + "m_Id": "dce0f4fa4e0148e6839aa860bbcfbd1b" + }, + { + "m_Id": "3a075842166a4bef9a331253c4952864" + }, + { + "m_Id": "36073b321a51405886161267522c6966" + }, + { + "m_Id": "fc960048bd0f4b8f8b6a43b209d9de70" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": false, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.GroupData", + "m_ObjectId": "16aeb2ac3f344dc99fe08a05e9e74094", + "m_Title": "溶解颜色", + "m_Position": { + "x": 348.0, + "y": -233.99993896484376 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "24b842bb77fe49428b95fc92f7d6a57f", + "m_Id": 1, + "m_DisplayName": "Value", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Value", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "2518d775898041bba20b81db2313817d", + "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": 1, + "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", + "m_ObjectId": "297b0d7607a84974aa46d32f93cba55d", + "m_Guid": { + "m_GuidSerialized": "b760a522-c070-40a2-9e15-99a4d607b27a" + }, + "m_Name": "ClipNoiseScale", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "ClipNoiseScale", + "m_DefaultReferenceName": "_ClipNoiseScale", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "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.Vector1MaterialSlot", + "m_ObjectId": "308bf20c905445898a9c541d982d5c54", + "m_Id": 0, + "m_DisplayName": "BorderSize", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", + "m_ObjectId": "33ce1c49b4ee43a082c78fba9b5db850", + "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 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", + "m_ObjectId": "36073b321a51405886161267522c6966", + "m_Id": 2, + "m_DisplayName": "Out Min Max", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "OutMinMax", + "m_StageCapability": 3, + "m_Value": { + "x": -1.0, + "y": 1.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 1.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "39904ad6736240e2810bc826e458c6bd", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -967.4998779296875, + "y": -218.00006103515626, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "ad19fd9b689a450ab3f04e89987899f1" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "297b0d7607a84974aa46d32f93cba55d" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", + "m_ObjectId": "3a075842166a4bef9a331253c4952864", + "m_Id": 1, + "m_DisplayName": "In Min Max", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "InMinMax", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 1.0 + }, + "m_DefaultValue": { + "x": -1.0, + "y": 1.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "3c8299bfb61e4ae490285da81356e8d6", + "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.DynamicValueMaterialSlot", + "m_ObjectId": "48890138a8274b36af403b2fdc8dbe83", + "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.Vector3MaterialSlot", + "m_ObjectId": "4b836c10a54549308052726f5fbf98fa", + "m_Id": 2, + "m_DisplayName": "EmissionColor", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "EmissionColor", + "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.Vector4MaterialSlot", + "m_ObjectId": "4c1ca0af2c5d4ce3b3d25d8d28064510", + "m_Id": 0, + "m_DisplayName": "BorderColor", + "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.PropertyNode", + "m_ObjectId": "4d37e3d025a74261be15c9bf14793c8b", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 937.5001220703125, + "y": -21.50006103515625, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "4c1ca0af2c5d4ce3b3d25d8d28064510" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "f22fb5de3f16450d8dd33447da8a7c7c" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.CategoryData", + "m_ObjectId": "52a3930ed15a4d71ac4eaf0af51088c1", + "m_Name": "", + "m_ChildObjectList": [ + { + "m_Id": "297b0d7607a84974aa46d32f93cba55d" + }, + { + "m_Id": "b60d0a23639c4f80b4b02a0b6332da71" + }, + { + "m_Id": "631e261d167343ab96c904ad79765a16" + }, + { + "m_Id": "f22fb5de3f16450d8dd33447da8a7c7c" + } + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.SubGraphNode", + "m_ObjectId": "5e0399e641a049ccb31e2a2927e68a18", + "m_Group": { + "m_Id": "ae99c32c9ef24297ae594d1a05c8fffd" + }, + "m_Name": "Voronoi noise 3D", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -817.4998779296875, + "y": -441.5001220703125, + "width": 244.99996948242188, + "height": 327.0001220703125 + } + }, + "m_Slots": [ + { + "m_Id": "9e56116837db4a6ea102092876a34bbe" + }, + { + "m_Id": "0b8fbb8c51be4349a6efb4f993323d3d" + }, + { + "m_Id": "76c2277565a84b4c83562592de62fedd" + }, + { + "m_Id": "24b842bb77fe49428b95fc92f7d6a57f" + }, + { + "m_Id": "d79e7dbc8bb740dc9de43e5477f7df2e" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"92001a1a051ec8247a12e151ca32427b\",\n \"type\": 3\n }\n}", + "m_PropertyGuids": [ + "e736b5eb-839f-4cc0-b461-5b7759a86b56", + "079226b0-e3c8-4884-8aee-fea8d46fbf2c", + "f254c6b2-6f49-4ec8-b3fd-28a3cfdd7be6" + ], + "m_PropertyIds": [ + -1966669927, + -883473370, + -103839353 + ], + "m_Dropdowns": [], + "m_DropdownSelectedEntries": [] +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", + "m_ObjectId": "631e261d167343ab96c904ad79765a16", + "m_Guid": { + "m_GuidSerialized": "92862675-bbcd-4655-a51e-aceac9c607cc" + }, + "m_Name": "BorderSize", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "BorderSize", + "m_DefaultReferenceName": "_BorderSize", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "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.DynamicVectorMaterialSlot", + "m_ObjectId": "6e180451c0994353833516a3bf6d3eab", + "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.AddNode", + "m_ObjectId": "71c069a21b9a41b5a27670718ec20483", + "m_Group": { + "m_Id": "d7bfc3ea2c3a4f4aa09f67786fa7cef2" + }, + "m_Name": "Add", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -417.4998474121094, + "y": -172.500244140625, + "width": 208.00006103515626, + "height": 302.0 + } + }, + "m_Slots": [ + { + "m_Id": "b3016c53201048958f706f46e8f1a498" + }, + { + "m_Id": "0c9c9a83e9564e50b4938e64965cbe5a" + }, + { + "m_Id": "fd44b3cc665e4428b332d405565c23ac" + } + ], + "synonyms": [ + "addition", + "sum", + "plus" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.MultiplyNode", + "m_ObjectId": "736f81b28ba74a85ba9ba2fb734e1aeb", + "m_Group": { + "m_Id": "16aeb2ac3f344dc99fe08a05e9e74094" + }, + "m_Name": "Multiply", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 1087.5001220703125, + "y": -172.5001220703125, + "width": 208.0, + "height": 302.0001220703125 + } + }, + "m_Slots": [ + { + "m_Id": "7988414fba63475ebc9feaab4377382d" + }, + { + "m_Id": "9b7c88b3d55248c3900a69ce0ba51853" + }, + { + "m_Id": "48890138a8274b36af403b2fdc8dbe83" + } + ], + "synonyms": [ + "multiplication", + "times", + "x" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "76c2277565a84b4c83562592de62fedd", + "m_Id": -103839353, + "m_DisplayName": "Cell Density", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Vector1_AEE7F28E", + "m_StageCapability": 3, + "m_Value": 10.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "773f26e7c36b4673b68d0622e9391b5f", + "m_Id": 2, + "m_DisplayName": "Max", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Max", + "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.DynamicValueMaterialSlot", + "m_ObjectId": "7988414fba63475ebc9feaab4377382d", + "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": 1, + "m_Type": "UnityEditor.ShaderGraph.PositionNode", + "m_ObjectId": "79eeed28433946b7838942a05a1339bc", + "m_Group": { + "m_Id": "ae99c32c9ef24297ae594d1a05c8fffd" + }, + "m_Name": "Position", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -1294.5, + "y": -469.5001220703125, + "width": 205.99993896484376, + "height": 131.0 + } + }, + "m_Slots": [ + { + "m_Id": "fe6c5d74fb604efabb1402f6347db0c7" + } + ], + "synonyms": [ + "location" + ], + "m_Precision": 1, + "m_PreviewExpanded": false, + "m_DismissedVersion": 0, + "m_PreviewMode": 2, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Space": 2, + "m_PositionSource": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", + "m_ObjectId": "80c25d9ab81d4584a2f05d1be0634c9b", + "m_Id": 1, + "m_DisplayName": "In Min Max", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "InMinMax", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 1.0 + }, + "m_DefaultValue": { + "x": -1.0, + "y": 1.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "8a6cbc5eca414f688048dc8aca71ffc1", + "m_Id": 0, + "m_DisplayName": "ClipScale", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "8f05da65980449749c8df95a47d13e91", + "m_Id": 1, + "m_DisplayName": "Min", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Min", + "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.DynamicValueMaterialSlot", + "m_ObjectId": "9b7c88b3d55248c3900a69ce0ba51853", + "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.SubGraphOutputNode", + "m_ObjectId": "9c743934e6824d41b0ac7f56512c7f59", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Output", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 1526.9998779296875, + "y": -247.99993896484376, + "width": 119.0, + "height": 100.99995422363281 + } + }, + "m_Slots": [ + { + "m_Id": "b0c4b30637154386a153b262be529082" + }, + { + "m_Id": "4b836c10a54549308052726f5fbf98fa" + } + ], + "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.Vector3MaterialSlot", + "m_ObjectId": "9e56116837db4a6ea102092876a34bbe", + "m_Id": -1966669927, + "m_DisplayName": "Sampling Coordinates", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Vector3_375394F7", + "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.DynamicVectorMaterialSlot", + "m_ObjectId": "a51e8e741fde412c8976bb58bcd7e81b", + "m_Id": 2, + "m_DisplayName": "Max", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Max", + "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.DynamicVectorMaterialSlot", + "m_ObjectId": "a578292d244e495b90a4b522a072e7c8", + "m_Id": 1, + "m_DisplayName": "Min", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Min", + "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": "a943c4a6ba814cfb95c0b9f7394801fe", + "m_Id": 1, + "m_DisplayName": "X", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "X", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "ad19fd9b689a450ab3f04e89987899f1", + "m_Id": 0, + "m_DisplayName": "ClipNoiseScale", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.GroupData", + "m_ObjectId": "ae99c32c9ef24297ae594d1a05c8fffd", + "m_Title": "程序噪音", + "m_Position": { + "x": -1319.0, + "y": -529.9999389648438 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "b040f1b862f2496ea35d8593836bbe9c", + "m_Id": 0, + "m_DisplayName": "In", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "In", + "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": "b0c4b30637154386a153b262be529082", + "m_Id": 1, + "m_DisplayName": "AlphaClipThreshold", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "AlphaClipThreshold", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2Node", + "m_ObjectId": "b14688b999514619af81e1672cf57658", + "m_Group": { + "m_Id": "16aeb2ac3f344dc99fe08a05e9e74094" + }, + "m_Name": "Vector 2", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 372.500244140625, + "y": 353.5, + "width": 127.9998779296875, + "height": 101.0 + } + }, + "m_Slots": [ + { + "m_Id": "a943c4a6ba814cfb95c0b9f7394801fe" + }, + { + "m_Id": "b49d31f10f1c4adf88cf1f8dda7fc54b" + }, + { + "m_Id": "33ce1c49b4ee43a082c78fba9b5db850" + } + ], + "synonyms": [ + "2", + "v2", + "vec2", + "float2" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Value": { + "x": 0.0, + "y": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "b3016c53201048958f706f46e8f1a498", + "m_Id": 0, + "m_DisplayName": "A", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "A", + "m_StageCapability": 3, + "m_Value": { + "x": 1.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": "b49d31f10f1c4adf88cf1f8dda7fc54b", + "m_Id": 2, + "m_DisplayName": "Y", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Y", + "m_StageCapability": 3, + "m_Value": 1.0, + "m_DefaultValue": 0.0, + "m_Labels": [ + "Y" + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "b560e1109b954a70a19fa0e9ae95cc11", + "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": 1, + "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", + "m_ObjectId": "b60d0a23639c4f80b4b02a0b6332da71", + "m_Guid": { + "m_GuidSerialized": "7a4ac2eb-87c0-4ade-ae47-5717aaff888a" + }, + "m_Name": "ClipScale", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "ClipScale", + "m_DefaultReferenceName": "_ClipScale", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "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.DynamicVectorMaterialSlot", + "m_ObjectId": "c6cd5d379ee5402eb481b333fbe2f7b4", + "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.PropertyNode", + "m_ObjectId": "cdb36f1ca3764e52a750ffa64c978c8e", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 222.500244140625, + "y": 404.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "308bf20c905445898a9c541d982d5c54" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "631e261d167343ab96c904ad79765a16" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "d79e7dbc8bb740dc9de43e5477f7df2e", + "m_Id": 2, + "m_DisplayName": "Cells", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Cells", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.GroupData", + "m_ObjectId": "d7bfc3ea2c3a4f4aa09f67786fa7cef2", + "m_Title": "溶解剔除", + "m_Position": { + "x": -714.9998779296875, + "y": -501.9999694824219 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.ClampNode", + "m_ObjectId": "d913a0824675486983e7d1d9c5e0aab2", + "m_Group": { + "m_Id": "16aeb2ac3f344dc99fe08a05e9e74094" + }, + "m_Name": "Clamp", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 792.5001220703125, + "y": -14.500244140625, + "width": 208.0, + "height": 326.0 + } + }, + "m_Slots": [ + { + "m_Id": "2518d775898041bba20b81db2313817d" + }, + { + "m_Id": "8f05da65980449749c8df95a47d13e91" + }, + { + "m_Id": "773f26e7c36b4673b68d0622e9391b5f" + }, + { + "m_Id": "dd823e8adb784574813b91b4e39e8987" + } + ], + "synonyms": [ + "limit" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "dce0f4fa4e0148e6839aa860bbcfbd1b", + "m_Id": 0, + "m_DisplayName": "In", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "In", + "m_StageCapability": 3, + "m_Value": { + "x": 0.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.DynamicVectorMaterialSlot", + "m_ObjectId": "dd823e8adb784574813b91b4e39e8987", + "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.PropertyNode", + "m_ObjectId": "e51bc413a882483b9fef4c4ca855317d", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -840.4998168945313, + "y": 129.4998779296875, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "8a6cbc5eca414f688048dc8aca71ffc1" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "b60d0a23639c4f80b4b02a0b6332da71" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.ClampNode", + "m_ObjectId": "e86c77126ecc4edcbb7352a91b65096c", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Clamp", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 242.50018310546876, + "y": -14.5, + "width": 207.99993896484376, + "height": 326.0 + } + }, + "m_Slots": [ + { + "m_Id": "12ea8b075d9441e4aa0ff99470078477" + }, + { + "m_Id": "a578292d244e495b90a4b522a072e7c8" + }, + { + "m_Id": "a51e8e741fde412c8976bb58bcd7e81b" + }, + { + "m_Id": "3c8299bfb61e4ae490285da81356e8d6" + } + ], + "synonyms": [ + "limit" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.Internal.Vector4ShaderProperty", + "m_ObjectId": "f22fb5de3f16450d8dd33447da8a7c7c", + "m_Guid": { + "m_GuidSerialized": "fa8df234-d8cf-47b6-a3b1-d0fd11774e9c" + }, + "m_Name": "BorderColor", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "BorderColor", + "m_DefaultReferenceName": "_BorderColor", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "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.RemapNode", + "m_ObjectId": "f5c8d52850e7471f820f98599b5f5fd8", + "m_Group": { + "m_Id": "16aeb2ac3f344dc99fe08a05e9e74094" + }, + "m_Name": "Remap", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 518.5000610351563, + "y": -14.500244140625, + "width": 207.99993896484376, + "height": 325.999755859375 + } + }, + "m_Slots": [ + { + "m_Id": "b040f1b862f2496ea35d8593836bbe9c" + }, + { + "m_Id": "80c25d9ab81d4584a2f05d1be0634c9b" + }, + { + "m_Id": "fccd19046aa04217a2d2a4cf65d7874b" + }, + { + "m_Id": "c6cd5d379ee5402eb481b333fbe2f7b4" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "fc960048bd0f4b8f8b6a43b209d9de70", + "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.Vector2MaterialSlot", + "m_ObjectId": "fccd19046aa04217a2d2a4cf65d7874b", + "m_Id": 2, + "m_DisplayName": "Out Min Max", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "OutMinMax", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 1.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 1.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "fd44b3cc665e4428b332d405565c23ac", + "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.Vector3MaterialSlot", + "m_ObjectId": "fe6c5d74fb604efabb1402f6347db0c7", + "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": [] +} + diff --git a/Assets/Shaders/SubGraph/WorldNoiseClip.shadersubgraph.meta b/Assets/Shaders/SubGraph/WorldNoiseClip.shadersubgraph.meta new file mode 100644 index 0000000..4105c51 --- /dev/null +++ b/Assets/Shaders/SubGraph/WorldNoiseClip.shadersubgraph.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: d3343779955ffd742acdd608325838cd +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3} From 4bccfba40723b1f6df79b2ab1dca1295fd4f9456 Mon Sep 17 00:00:00 2001 From: Yogi <1273750265@qq.com> Date: Fri, 10 Jan 2025 11:52:52 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=96=B0=E5=A2=9EUI=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=9A=90=E8=97=8F=E5=8A=9F=E8=83=BD=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scenes/Main.unity | 141 +++++++++++++++++++++++++++++++++ Assets/Scripts/UI/GamePanel.cs | 8 ++ 2 files changed, 149 insertions(+) diff --git a/Assets/Scenes/Main.unity b/Assets/Scenes/Main.unity index 2d5b36d..a963676 100644 --- a/Assets/Scenes/Main.unity +++ b/Assets/Scenes/Main.unity @@ -270,6 +270,11 @@ MonoBehaviour: target: {fileID: 223334192} rotateSpeed: -30 FreeTime: 30 +--- !u!224 &241816543 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 5626654763991164890, guid: fbd98df1f6ab257439fff069ae185281, type: 3} + m_PrefabInstance: {fileID: 495605761} + m_PrefabAsset: {fileID: 0} --- !u!1 &251978103 GameObject: m_ObjectHideFlags: 0 @@ -641,6 +646,14 @@ PrefabInstance: propertyPath: m_Value value: 0 objectReference: {fileID: 0} + - target: {fileID: 4392250051589012096, guid: fbd98df1f6ab257439fff069ae185281, type: 3} + propertyPath: uiCanvas + value: + objectReference: {fileID: 1277526996} + - target: {fileID: 4392250051589012096, guid: fbd98df1f6ab257439fff069ae185281, type: 3} + propertyPath: uiTriggerBtn + value: + objectReference: {fileID: 1299667255} - target: {fileID: 4392250051589012096, guid: fbd98df1f6ab257439fff069ae185281, type: 3} propertyPath: typewriterPrefab value: @@ -776,6 +789,9 @@ PrefabInstance: m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: + - targetCorrespondingSourceObject: {fileID: 5626654763991164890, guid: fbd98df1f6ab257439fff069ae185281, type: 3} + insertIndex: 1 + addedObject: {fileID: 1299667254} - targetCorrespondingSourceObject: {fileID: 6461988665235398496, guid: fbd98df1f6ab257439fff069ae185281, type: 3} insertIndex: -1 addedObject: {fileID: 1311624461} @@ -1455,11 +1471,136 @@ MonoBehaviour: target: {fileID: 668196392} rotateSpeed: 0.1 FreeTime: 1 +--- !u!1 &1277526996 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 8092749453836692299, guid: fbd98df1f6ab257439fff069ae185281, type: 3} + m_PrefabInstance: {fileID: 495605761} + m_PrefabAsset: {fileID: 0} --- !u!1 &1288110412 stripped GameObject: m_CorrespondingSourceObject: {fileID: 2881457540606939832, guid: 741d148cf7fe4db4aa6687915c30f4ca, type: 3} m_PrefabInstance: {fileID: 6664335491598370550} m_PrefabAsset: {fileID: 0} +--- !u!1 &1299667253 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1299667254} + - component: {fileID: 1299667257} + - component: {fileID: 1299667256} + - component: {fileID: 1299667255} + m_Layer: 5 + m_Name: UITriggerBtn + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1299667254 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1299667253} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 241816543} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: -39.4, y: 124.9} + m_SizeDelta: {x: 112, y: 53.6451} + m_Pivot: {x: 1, y: 0} +--- !u!114 &1299667255 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1299667253} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_WrapAround: 0 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1299667256} + m_OnClick: + m_PersistentCalls: + m_Calls: [] +--- !u!114 &1299667256 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1299667253} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &1299667257 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1299667253} + m_CullTransparentMesh: 1 --- !u!1 &1311624460 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Scripts/UI/GamePanel.cs b/Assets/Scripts/UI/GamePanel.cs index 64d7b16..c925182 100644 --- a/Assets/Scripts/UI/GamePanel.cs +++ b/Assets/Scripts/UI/GamePanel.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Linq; using TMPro; using UnityEngine; +using UnityEngine.UI; using YogiGameCore.ComponentEx; using YogiGameCore.Utils; @@ -27,6 +28,9 @@ public class GamePanel : MonoBehaviour /// private string componentConfigName; + [SerializeField] private Button uiTriggerBtn; + [SerializeField] private GameObject uiCanvas; + private void ClearAllComponentDisplayText() { Debug.Log("清空车辆所有文本信息"); @@ -65,6 +69,10 @@ public class GamePanel : MonoBehaviour this.main.OnCarChanged += OnMainOnOnCarChanged; this.main.OnCarComponentConfigChanged += OnCarComponentConfigChanged; this.main.OnSwitchComponent += OnSwitchComponent; + uiTriggerBtn.onClick.AddListener(() => + { + uiCanvas.SetActive(!uiCanvas.activeSelf); + }); } private void Start() From c992e25391989ffd2adb533e39c1ef1d70663c15 Mon Sep 17 00:00:00 2001 From: Yogi <1273750265@qq.com> Date: Fri, 10 Jan 2025 12:00:50 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=B8=8D=E5=86=8D=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E6=BA=B6=E8=A7=A3=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Main.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/Main.cs b/Assets/Scripts/Main.cs index 5fd7732..ebe58ce 100644 --- a/Assets/Scripts/Main.cs +++ b/Assets/Scripts/Main.cs @@ -196,8 +196,9 @@ public class Main : MonoBehaviour private void SetCarActive(GameObject go, bool isActive) { - Debug.Log($"SetCarActive ({go.name}) ({isActive})"); - this.StartCoroutine(SetCarActiveCoroutine(go, isActive, .5f)); + go.SetActive(isActive); + // Debug.Log($"SetCarActive ({go.name}) ({isActive})"); + // this.StartCoroutine(SetCarActiveCoroutine(go, isActive, .5f)); } private IEnumerator SetCarActiveCoroutine(GameObject go, bool isActive, float time)