From 38f522bb92930a9376b31a0cb15e3567130f338e Mon Sep 17 00:00:00 2001
From: MuHua-123 <136542559+MuHua-123@users.noreply.github.com>
Date: Tue, 12 Aug 2025 17:53:36 +0800
Subject: [PATCH] 1
---
Assets/ModuleCore/ModuleMap.meta | 8 +
Assets/ModuleCore/ModuleMap/Hexagon.cs | 55 +
Assets/ModuleCore/ModuleMap/Hexagon.cs.meta | 11 +
Assets/RenderingPipeline/Shader.meta | 8 +
.../Shader/Hexagon.shadergraph | 2064 +++++++++++++++++
.../Shader/Hexagon.shadergraph.meta | 10 +
.../Shader/Shader Graphs_Hexagon 1.mat | 74 +
.../Shader/Shader Graphs_Hexagon 1.mat.meta | 8 +
.../Shader/Shader Graphs_Hexagon.mat | 74 +
.../Shader/Shader Graphs_Hexagon.mat.meta | 8 +
.../SampleScene/SampleScene.unity | 267 ++-
期货规则.md | 25 -
12 files changed, 2473 insertions(+), 139 deletions(-)
create mode 100644 Assets/ModuleCore/ModuleMap.meta
create mode 100644 Assets/ModuleCore/ModuleMap/Hexagon.cs
create mode 100644 Assets/ModuleCore/ModuleMap/Hexagon.cs.meta
create mode 100644 Assets/RenderingPipeline/Shader.meta
create mode 100644 Assets/RenderingPipeline/Shader/Hexagon.shadergraph
create mode 100644 Assets/RenderingPipeline/Shader/Hexagon.shadergraph.meta
create mode 100644 Assets/RenderingPipeline/Shader/Shader Graphs_Hexagon 1.mat
create mode 100644 Assets/RenderingPipeline/Shader/Shader Graphs_Hexagon 1.mat.meta
create mode 100644 Assets/RenderingPipeline/Shader/Shader Graphs_Hexagon.mat
create mode 100644 Assets/RenderingPipeline/Shader/Shader Graphs_Hexagon.mat.meta
delete mode 100644 期货规则.md
diff --git a/Assets/ModuleCore/ModuleMap.meta b/Assets/ModuleCore/ModuleMap.meta
new file mode 100644
index 0000000..e1cd56e
--- /dev/null
+++ b/Assets/ModuleCore/ModuleMap.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: a7a4f234254ca334f9e1c14310e920ff
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ModuleCore/ModuleMap/Hexagon.cs b/Assets/ModuleCore/ModuleMap/Hexagon.cs
new file mode 100644
index 0000000..2d0f542
--- /dev/null
+++ b/Assets/ModuleCore/ModuleMap/Hexagon.cs
@@ -0,0 +1,55 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+///
+/// 六边形
+///
+public class Hexagon : MonoBehaviour {
+
+ public Transform prefab;
+
+ private void Awake() {
+ float size = 0.5f; // 可以根据实际需求调整边长
+ for (int x = 0; x < 10; x++) {
+ for (int y = 0; y < 10; y++) { Create(new Vector2Int(x, y), size); }
+ }
+ }
+ private void Create(Vector2Int grid, float size) {
+ Transform obj = Instantiate(prefab, transform);
+ obj.position = GridToWorld(grid, size);
+ obj.name = $"Hex_{grid}";
+ obj.gameObject.SetActive(true);
+ }
+
+ ///
+ /// 获取六边形网格的世界坐标
+ ///
+ /// 网格坐标(x, y)
+ /// 六边形边长
+ /// 世界坐标
+ public static Vector3 GridToWorld(Vector2Int grid, float size) {
+ float width = size * 2f;
+ float height = Mathf.Sqrt(3f) * size;
+ float offsetX = grid.x * (width * 0.75f);
+ float offsetY = grid.y * height + (grid.x % 2 == 0 ? 0 : height / 2f);
+ return new Vector3(offsetX, 0, offsetY);
+ }
+
+ ///
+ /// 使用世界坐标转换成六边形网格的x和y坐标
+ ///
+ /// 世界坐标
+ /// 六边形边长
+ /// 网格坐标(x, y)
+ public static Vector2Int WorldToGrid(Vector3 worldPosition, float size) {
+ float width = size * 2f;
+ float height = Mathf.Sqrt(3f) * size;
+ // 计算近似的x
+ int x = Mathf.RoundToInt(worldPosition.x / (width * 0.75f));
+ // 计算近似的y
+ float yOffset = (x % 2 == 0) ? 0 : height / 2f;
+ int y = Mathf.RoundToInt((worldPosition.z - yOffset) / height);
+ return new Vector2Int(x, y);
+ }
+}
diff --git a/Assets/ModuleCore/ModuleMap/Hexagon.cs.meta b/Assets/ModuleCore/ModuleMap/Hexagon.cs.meta
new file mode 100644
index 0000000..228cea2
--- /dev/null
+++ b/Assets/ModuleCore/ModuleMap/Hexagon.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 90c26411725660045a445e742ce72bf8
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/RenderingPipeline/Shader.meta b/Assets/RenderingPipeline/Shader.meta
new file mode 100644
index 0000000..5b0691b
--- /dev/null
+++ b/Assets/RenderingPipeline/Shader.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 210ba86fe9f32c34db7c55b358e3ec24
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/RenderingPipeline/Shader/Hexagon.shadergraph b/Assets/RenderingPipeline/Shader/Hexagon.shadergraph
new file mode 100644
index 0000000..13cacc2
--- /dev/null
+++ b/Assets/RenderingPipeline/Shader/Hexagon.shadergraph
@@ -0,0 +1,2064 @@
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.GraphData",
+ "m_ObjectId": "d47642bd11c848ce9765e19789699b19",
+ "m_Properties": [
+ {
+ "m_Id": "b0e8db1394484f4e9b341263b8bafe68"
+ },
+ {
+ "m_Id": "0d06f83d57e54d2ab6192a45acb9d6c9"
+ }
+ ],
+ "m_Keywords": [],
+ "m_Dropdowns": [],
+ "m_CategoryData": [
+ {
+ "m_Id": "65a8c123afdc4beabc43624357f91c3c"
+ }
+ ],
+ "m_Nodes": [
+ {
+ "m_Id": "6e7d1dc1241e4991905e6fbd16ebf8d1"
+ },
+ {
+ "m_Id": "8f3f20beef2b41dbb488a53b650fa085"
+ },
+ {
+ "m_Id": "f02d91069f5a44d9834c13fe7cfe19a9"
+ },
+ {
+ "m_Id": "cbaacb22406f4880a866ac6fcede2564"
+ },
+ {
+ "m_Id": "54390ed06e9d476d954279d62a65bd55"
+ },
+ {
+ "m_Id": "c4af6bd0fbfb4f0a928e16388359cf6c"
+ },
+ {
+ "m_Id": "5fc92692084a4e728e0cb6a43afaee1f"
+ },
+ {
+ "m_Id": "794758f318bf495ea81b4abf663ab4d3"
+ },
+ {
+ "m_Id": "6931d5a0cfdc420ea2eca11fb3d778a7"
+ },
+ {
+ "m_Id": "d5a8b2990abc4eea946f59bebcb27133"
+ },
+ {
+ "m_Id": "443f65dca92b49b7bfd2225c1e2e43b7"
+ },
+ {
+ "m_Id": "d0edfd961bad4e76bba32331e7ca093c"
+ },
+ {
+ "m_Id": "e50633336bee4e68b92f8ea83cc648c8"
+ },
+ {
+ "m_Id": "1f63f89b9c5f41b78a551aa43b62f691"
+ },
+ {
+ "m_Id": "946d696f329f4e7b820836d333bd4488"
+ },
+ {
+ "m_Id": "f5905834b1c24df3a750ea2654c61751"
+ },
+ {
+ "m_Id": "fa16ec8239d04b4ba6fa3c1df749aa3e"
+ },
+ {
+ "m_Id": "b7c5a2b58738448fb00ac39ea440579c"
+ }
+ ],
+ "m_GroupDatas": [],
+ "m_StickyNoteDatas": [],
+ "m_Edges": [
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "1f63f89b9c5f41b78a551aa43b62f691"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "fa16ec8239d04b4ba6fa3c1df749aa3e"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "443f65dca92b49b7bfd2225c1e2e43b7"
+ },
+ "m_SlotId": 1
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "d0edfd961bad4e76bba32331e7ca093c"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "54390ed06e9d476d954279d62a65bd55"
+ },
+ "m_SlotId": 4
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "6931d5a0cfdc420ea2eca11fb3d778a7"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "6931d5a0cfdc420ea2eca11fb3d778a7"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "c4af6bd0fbfb4f0a928e16388359cf6c"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "794758f318bf495ea81b4abf663ab4d3"
+ },
+ "m_SlotId": 4
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "6931d5a0cfdc420ea2eca11fb3d778a7"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "946d696f329f4e7b820836d333bd4488"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "b7c5a2b58738448fb00ac39ea440579c"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "b7c5a2b58738448fb00ac39ea440579c"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "794758f318bf495ea81b4abf663ab4d3"
+ },
+ "m_SlotId": 3
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "d0edfd961bad4e76bba32331e7ca093c"
+ },
+ "m_SlotId": 1
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "1f63f89b9c5f41b78a551aa43b62f691"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "d0edfd961bad4e76bba32331e7ca093c"
+ },
+ "m_SlotId": 3
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "946d696f329f4e7b820836d333bd4488"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "d5a8b2990abc4eea946f59bebcb27133"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "cbaacb22406f4880a866ac6fcede2564"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "e50633336bee4e68b92f8ea83cc648c8"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "1f63f89b9c5f41b78a551aa43b62f691"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "f5905834b1c24df3a750ea2654c61751"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "946d696f329f4e7b820836d333bd4488"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "fa16ec8239d04b4ba6fa3c1df749aa3e"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "794758f318bf495ea81b4abf663ab4d3"
+ },
+ "m_SlotId": 2
+ }
+ }
+ ],
+ "m_VertexContext": {
+ "m_Position": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Blocks": [
+ {
+ "m_Id": "6e7d1dc1241e4991905e6fbd16ebf8d1"
+ },
+ {
+ "m_Id": "8f3f20beef2b41dbb488a53b650fa085"
+ },
+ {
+ "m_Id": "f02d91069f5a44d9834c13fe7cfe19a9"
+ }
+ ]
+ },
+ "m_FragmentContext": {
+ "m_Position": {
+ "x": 0.0,
+ "y": 200.0
+ },
+ "m_Blocks": [
+ {
+ "m_Id": "cbaacb22406f4880a866ac6fcede2564"
+ },
+ {
+ "m_Id": "c4af6bd0fbfb4f0a928e16388359cf6c"
+ },
+ {
+ "m_Id": "5fc92692084a4e728e0cb6a43afaee1f"
+ }
+ ]
+ },
+ "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": "55b37074618e465897b7bc0a1d45b5f1"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "0d06f83d57e54d2ab6192a45acb9d6c9",
+ "m_Guid": {
+ "m_GuidSerialized": "761e2efd-23f8-4744-8eec-8187645453f1"
+ },
+ "m_Name": "Outline",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Outline",
+ "m_DefaultReferenceName": "_Outline",
+ "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.10000000149011612,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
+ "m_ObjectId": "0e153ec8515446d09aaebbacb06dff45",
+ "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.DynamicVectorMaterialSlot",
+ "m_ObjectId": "17e02046571542359b3dd031157a44fb",
+ "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": "1e8ef7915d254164bddcb649f5b474b8",
+ "m_Id": 2,
+ "m_DisplayName": "World Bounds Min",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "World Bounds Min",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "1ebc02454f4748359fb030b41491acb1",
+ "m_Id": 1,
+ "m_DisplayName": "Scale",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Scale",
+ "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.DivideNode",
+ "m_ObjectId": "1f63f89b9c5f41b78a551aa43b62f691",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Divide",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1444.0,
+ "y": 488.0,
+ "width": 126.0,
+ "height": 118.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "9dd31b8a5a0b41b08c3eec4a39789b97"
+ },
+ {
+ "m_Id": "1fcab22e381b43d5b51f191e0cb780b6"
+ },
+ {
+ "m_Id": "17e02046571542359b3dd031157a44fb"
+ }
+ ],
+ "synonyms": [
+ "division",
+ "divided by"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "1fcab22e381b43d5b51f191e0cb780b6",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 2.0,
+ "y": 2.0,
+ "z": 2.0,
+ "w": 2.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": "22d2d0f015624eb7ae23b35ec263eb19",
+ "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.DynamicVectorMaterialSlot",
+ "m_ObjectId": "29e992b5345a4fedac62802eb49226e7",
+ "m_Id": 4,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "2a166ac8a8104bad8f6412e0f9418e87",
+ "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.DynamicVectorMaterialSlot",
+ "m_ObjectId": "2f0b1a2c270c49eb874d0da1ea5bbe94",
+ "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.UVMaterialSlot",
+ "m_ObjectId": "324836c6a5174b52ba931961fca3513e",
+ "m_Id": 0,
+ "m_DisplayName": "UV",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "UV",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Labels": [],
+ "m_Channel": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "3f415205847b457490c285f9bb361829",
+ "m_Id": 0,
+ "m_DisplayName": "Alpha Clip Threshold",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "AlphaClipThreshold",
+ "m_StageCapability": 2,
+ "m_Value": 0.5,
+ "m_DefaultValue": 0.5,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "4253a4897cb840c0970b226e6111631b",
+ "m_Id": 3,
+ "m_DisplayName": "World Bounds Max",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "World Bounds Max",
+ "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.ObjectNode",
+ "m_ObjectId": "443f65dca92b49b7bfd2225c1e2e43b7",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Object",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1933.0,
+ "y": 547.0,
+ "width": 153.0001220703125,
+ "height": 172.99993896484376
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "bcd6469e72b94344bb01e1784fb671ba"
+ },
+ {
+ "m_Id": "1ebc02454f4748359fb030b41491acb1"
+ },
+ {
+ "m_Id": "1e8ef7915d254164bddcb649f5b474b8"
+ },
+ {
+ "m_Id": "4253a4897cb840c0970b226e6111631b"
+ },
+ {
+ "m_Id": "aca94d00f01244aca60a5e7b096aff54"
+ }
+ ],
+ "synonyms": [
+ "position",
+ "scale",
+ "bounds",
+ "size"
+ ],
+ "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": "46bd6c7c038d4f01a4774660a1e1c20d",
+ "m_Id": 2,
+ "m_DisplayName": "Width",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Width",
+ "m_StageCapability": 3,
+ "m_Value": 0.949999988079071,
+ "m_DefaultValue": 0.5,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "4c1cd9292b2c4bb1b9f14795dd4927a1",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 1.0,
+ "y": 1.0,
+ "z": 1.0,
+ "w": 1.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "4eefea47ef114f9eb99c0be45f953026",
+ "m_Id": 0,
+ "m_DisplayName": "Outline",
+ "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": "5076fac22f1c4101a838e80b71b75be9",
+ "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.PolygonNode",
+ "m_ObjectId": "54390ed06e9d476d954279d62a65bd55",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Polygon",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -894.0000610351563,
+ "y": 82.9999771118164,
+ "width": 208.00006103515626,
+ "height": 350.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "324836c6a5174b52ba931961fca3513e"
+ },
+ {
+ "m_Id": "f1cf8c874e184d018de39915fe9140fb"
+ },
+ {
+ "m_Id": "ff00a2ec75d949739f246ad8405de3e4"
+ },
+ {
+ "m_Id": "dadc94abbd344b82aabd696cff6bd13c"
+ },
+ {
+ "m_Id": "29e992b5345a4fedac62802eb49226e7"
+ }
+ ],
+ "synonyms": [
+ "shape"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
+ "m_ObjectId": "55b37074618e465897b7bc0a1d45b5f1",
+ "m_Datas": [],
+ "m_ActiveSubTarget": {
+ "m_Id": "83dc2ccb8a6e4b14821e9718b5d26a94"
+ },
+ "m_AllowMaterialOverride": true,
+ "m_SurfaceType": 1,
+ "m_ZTestMode": 4,
+ "m_ZWriteControl": 0,
+ "m_AlphaMode": 0,
+ "m_RenderFace": 2,
+ "m_AlphaClip": false,
+ "m_CastShadows": true,
+ "m_ReceiveShadows": true,
+ "m_SupportsLODCrossFade": false,
+ "m_CustomEditorGUI": "",
+ "m_SupportVFX": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "59357600e72b42f5afa12a00d96aa527",
+ "m_Id": 3,
+ "m_DisplayName": "B",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "5f6ac932b5d742298222c04fb031955d",
+ "m_Id": 3,
+ "m_DisplayName": "Height",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Height",
+ "m_StageCapability": 3,
+ "m_Value": 0.949999988079071,
+ "m_DefaultValue": 0.5,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "5fc92692084a4e728e0cb6a43afaee1f",
+ "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": "3f415205847b457490c285f9bb361829"
+ }
+ ],
+ "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.DynamicVectorMaterialSlot",
+ "m_ObjectId": "5fd544d926af4b949c8416f0a5a87a59",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "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.Vector4MaterialSlot",
+ "m_ObjectId": "637149f5cd7f4add9341b759a177ffa5",
+ "m_Id": 0,
+ "m_DisplayName": "Color",
+ "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.DynamicVectorMaterialSlot",
+ "m_ObjectId": "64a1f98071834aa3b7a3167140893f90",
+ "m_Id": 4,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "65a8c123afdc4beabc43624357f91c3c",
+ "m_Name": "",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "b0e8db1394484f4e9b341263b8bafe68"
+ },
+ {
+ "m_Id": "0d06f83d57e54d2ab6192a45acb9d6c9"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SubtractNode",
+ "m_ObjectId": "6931d5a0cfdc420ea2eca11fb3d778a7",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Subtract",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -525.0001220703125,
+ "y": 303.9999694824219,
+ "width": 208.00018310546876,
+ "height": 302.0000305175781
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "a5694f2d3a424dcbb637dbe0b578f83a"
+ },
+ {
+ "m_Id": "2a166ac8a8104bad8f6412e0f9418e87"
+ },
+ {
+ "m_Id": "2f0b1a2c270c49eb874d0da1ea5bbe94"
+ }
+ ],
+ "synonyms": [
+ "subtraction",
+ "remove",
+ "minus",
+ "take away"
+ ],
+ "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": "6d9397b62af0417493dae5ddced268ff",
+ "m_Id": 4,
+ "m_DisplayName": "A",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "6e7d1dc1241e4991905e6fbd16ebf8d1",
+ "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": "cd12fc0736ca4608a619eaa198f821dd"
+ }
+ ],
+ "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.Vector1MaterialSlot",
+ "m_ObjectId": "769424f4cc09440482bb1fa28b9041b5",
+ "m_Id": 1,
+ "m_DisplayName": "Sides",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Sides",
+ "m_StageCapability": 3,
+ "m_Value": 6.0,
+ "m_DefaultValue": 6.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PolygonNode",
+ "m_ObjectId": "794758f318bf495ea81b4abf663ab4d3",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Polygon",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -894.0000610351563,
+ "y": 488.0,
+ "width": 208.00006103515626,
+ "height": 349.99993896484377
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "d6798ed954874623b31851111f5ef5ab"
+ },
+ {
+ "m_Id": "769424f4cc09440482bb1fa28b9041b5"
+ },
+ {
+ "m_Id": "46bd6c7c038d4f01a4774660a1e1c20d"
+ },
+ {
+ "m_Id": "5f6ac932b5d742298222c04fb031955d"
+ },
+ {
+ "m_Id": "64a1f98071834aa3b7a3167140893f90"
+ }
+ ],
+ "synonyms": [
+ "shape"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 2,
+ "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
+ "m_ObjectId": "83dc2ccb8a6e4b14821e9718b5d26a94"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "8560e5844e8a42c5bbee77b43c87640b",
+ "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.BlockNode",
+ "m_ObjectId": "8f3f20beef2b41dbb488a53b650fa085",
+ "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": "9a57ec84f0994af3997fb21b2bbf7fbe"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "VertexDescription.Normal"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DivideNode",
+ "m_ObjectId": "946d696f329f4e7b820836d333bd4488",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Divide",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1444.0,
+ "y": 661.0,
+ "width": 126.0,
+ "height": 117.99993896484375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "adb5e6b512ad4b03b4ab7176851ba067"
+ },
+ {
+ "m_Id": "f0942617e68543a7933de39932fd88d1"
+ },
+ {
+ "m_Id": "22d2d0f015624eb7ae23b35ec263eb19"
+ }
+ ],
+ "synonyms": [
+ "division",
+ "divided by"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
+ "m_ObjectId": "9a57ec84f0994af3997fb21b2bbf7fbe",
+ "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.DynamicVectorMaterialSlot",
+ "m_ObjectId": "9dd31b8a5a0b41b08c3eec4a39789b97",
+ "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.DynamicVectorMaterialSlot",
+ "m_ObjectId": "a5694f2d3a424dcbb637dbe0b578f83a",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "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.Vector3MaterialSlot",
+ "m_ObjectId": "aca94d00f01244aca60a5e7b096aff54",
+ "m_Id": 4,
+ "m_DisplayName": "Bounds Size",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Bounds Size",
+ "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": "adb5e6b512ad4b03b4ab7176851ba067",
+ "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.DynamicVectorMaterialSlot",
+ "m_ObjectId": "af5dfd0009cb4f92b295d8a97c453fdb",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "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": 3,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
+ "m_ObjectId": "b0e8db1394484f4e9b341263b8bafe68",
+ "m_Guid": {
+ "m_GuidSerialized": "a0c8e1ce-0efb-4632-bba6-5caf52bc10b1"
+ },
+ "m_Name": "Color",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Color",
+ "m_DefaultReferenceName": "_Color",
+ "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": 1.0,
+ "g": 1.0,
+ "b": 1.0,
+ "a": 1.0
+ },
+ "isMainColor": false,
+ "m_ColorMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SubtractNode",
+ "m_ObjectId": "b7c5a2b58738448fb00ac39ea440579c",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Subtract",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1214.0,
+ "y": 665.0,
+ "width": 126.0,
+ "height": 117.99993896484375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "5fd544d926af4b949c8416f0a5a87a59"
+ },
+ {
+ "m_Id": "4c1cd9292b2c4bb1b9f14795dd4927a1"
+ },
+ {
+ "m_Id": "d4cf3bfd09ff49e6bab0c4952bf9ee15"
+ }
+ ],
+ "synonyms": [
+ "subtraction",
+ "remove",
+ "minus",
+ "take away"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "bcd6469e72b94344bb01e1784fb671ba",
+ "m_Id": 0,
+ "m_DisplayName": "Position",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Position",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "c4af6bd0fbfb4f0a928e16388359cf6c",
+ "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": "cf8208b0c4184a5c9803d67de6d878ec"
+ }
+ ],
+ "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": "ca9b535b6bb343ea93e6b1ab46063b79",
+ "m_Id": 1,
+ "m_DisplayName": "R",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "R",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "cbaacb22406f4880a866ac6fcede2564",
+ "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": "e7273cea0bf94effa8da9d57899b03ba"
+ }
+ ],
+ "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.PositionMaterialSlot",
+ "m_ObjectId": "cd12fc0736ca4608a619eaa198f821dd",
+ "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.Vector1MaterialSlot",
+ "m_ObjectId": "cf8208b0c4184a5c9803d67de6d878ec",
+ "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.SplitNode",
+ "m_ObjectId": "d0edfd961bad4e76bba32331e7ca093c",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Split",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1729.0,
+ "y": 547.0,
+ "width": 120.0,
+ "height": 149.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "8560e5844e8a42c5bbee77b43c87640b"
+ },
+ {
+ "m_Id": "ca9b535b6bb343ea93e6b1ab46063b79"
+ },
+ {
+ "m_Id": "f5d3ab36381c470ab0e70af5fe4356ea"
+ },
+ {
+ "m_Id": "59357600e72b42f5afa12a00d96aa527"
+ },
+ {
+ "m_Id": "6d9397b62af0417493dae5ddced268ff"
+ }
+ ],
+ "synonyms": [
+ "separate"
+ ],
+ "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": "d14ce490800d41089a39e4d12f4c2ea3",
+ "m_Id": 0,
+ "m_DisplayName": "Outline",
+ "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": "d4cf3bfd09ff49e6bab0c4952bf9ee15",
+ "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.PropertyNode",
+ "m_ObjectId": "d5a8b2990abc4eea946f59bebcb27133",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -421.4678649902344,
+ "y": 136.10586547851563,
+ "width": 0.0,
+ "height": 0.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "637149f5cd7f4add9341b759a177ffa5"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "b0e8db1394484f4e9b341263b8bafe68"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
+ "m_ObjectId": "d6798ed954874623b31851111f5ef5ab",
+ "m_Id": 0,
+ "m_DisplayName": "UV",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "UV",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Labels": [],
+ "m_Channel": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "dadc94abbd344b82aabd696cff6bd13c",
+ "m_Id": 3,
+ "m_DisplayName": "Height",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Height",
+ "m_StageCapability": 3,
+ "m_Value": 1.0,
+ "m_DefaultValue": 0.5,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "e00399899faa49cd8d0d2dc5677c704c",
+ "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.PropertyNode",
+ "m_ObjectId": "e50633336bee4e68b92f8ea83cc648c8",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1595.0,
+ "y": 488.0,
+ "width": 112.0,
+ "height": 33.99993896484375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "d14ce490800d41089a39e4d12f4c2ea3"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "0d06f83d57e54d2ab6192a45acb9d6c9"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
+ "m_ObjectId": "e7273cea0bf94effa8da9d57899b03ba",
+ "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": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "f02d91069f5a44d9834c13fe7cfe19a9",
+ "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": "0e153ec8515446d09aaebbacb06dff45"
+ }
+ ],
+ "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.DynamicVectorMaterialSlot",
+ "m_ObjectId": "f0942617e68543a7933de39932fd88d1",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 2.0,
+ "y": 2.0,
+ "z": 2.0,
+ "w": 2.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": "f1cf8c874e184d018de39915fe9140fb",
+ "m_Id": 1,
+ "m_DisplayName": "Sides",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Sides",
+ "m_StageCapability": 3,
+ "m_Value": 6.0,
+ "m_DefaultValue": 6.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "f5905834b1c24df3a750ea2654c61751",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1595.0,
+ "y": 719.0,
+ "width": 112.0,
+ "height": 33.99993896484375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "4eefea47ef114f9eb99c0be45f953026"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "0d06f83d57e54d2ab6192a45acb9d6c9"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "f5d3ab36381c470ab0e70af5fe4356ea",
+ "m_Id": 2,
+ "m_DisplayName": "G",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "G",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SubtractNode",
+ "m_ObjectId": "fa16ec8239d04b4ba6fa3c1df749aa3e",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Subtract",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1214.0,
+ "y": 488.0,
+ "width": 126.0,
+ "height": 118.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "af5dfd0009cb4f92b295d8a97c453fdb"
+ },
+ {
+ "m_Id": "5076fac22f1c4101a838e80b71b75be9"
+ },
+ {
+ "m_Id": "e00399899faa49cd8d0d2dc5677c704c"
+ }
+ ],
+ "synonyms": [
+ "subtraction",
+ "remove",
+ "minus",
+ "take away"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "ff00a2ec75d949739f246ad8405de3e4",
+ "m_Id": 2,
+ "m_DisplayName": "Width",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Width",
+ "m_StageCapability": 3,
+ "m_Value": 1.0,
+ "m_DefaultValue": 0.5,
+ "m_Labels": []
+}
+
diff --git a/Assets/RenderingPipeline/Shader/Hexagon.shadergraph.meta b/Assets/RenderingPipeline/Shader/Hexagon.shadergraph.meta
new file mode 100644
index 0000000..a53f7f7
--- /dev/null
+++ b/Assets/RenderingPipeline/Shader/Hexagon.shadergraph.meta
@@ -0,0 +1,10 @@
+fileFormatVersion: 2
+guid: 4519daec59cbfca42a844b86477e0d5f
+ScriptedImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
diff --git a/Assets/RenderingPipeline/Shader/Shader Graphs_Hexagon 1.mat b/Assets/RenderingPipeline/Shader/Shader Graphs_Hexagon 1.mat
new file mode 100644
index 0000000..d5c6ce4
--- /dev/null
+++ b/Assets/RenderingPipeline/Shader/Shader Graphs_Hexagon 1.mat
@@ -0,0 +1,74 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!21 &2100000
+Material:
+ serializedVersion: 8
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_Name: Shader Graphs_Hexagon 1
+ m_Shader: {fileID: -6465566751694194690, guid: 4519daec59cbfca42a844b86477e0d5f, type: 3}
+ m_Parent: {fileID: 0}
+ m_ModifiedSerializedProperties: 0
+ m_ValidKeywords:
+ - _SURFACE_TYPE_TRANSPARENT
+ m_InvalidKeywords: []
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 0
+ m_DoubleSidedGI: 0
+ m_CustomRenderQueue: 3001
+ stringTagMap:
+ RenderType: Transparent
+ disabledShaderPasses:
+ - DepthOnly
+ m_LockedProperties:
+ m_SavedProperties:
+ serializedVersion: 3
+ m_TexEnvs:
+ - unity_Lightmaps:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - unity_LightmapsInd:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - unity_ShadowMasks:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ m_Ints: []
+ m_Floats:
+ - _AlphaClip: 0
+ - _AlphaToMask: 0
+ - _Blend: 0
+ - _CastShadows: 1
+ - _Count: 5
+ - _Cull: 2
+ - _DstBlend: 10
+ - _Outline: 0.05
+ - _QueueControl: 0
+ - _QueueOffset: 1
+ - _Size: 0.5
+ - _SrcBlend: 5
+ - _Surface: 1
+ - _ZTest: 4
+ - _ZWrite: 0
+ - _ZWriteControl: 0
+ m_Colors:
+ - _Color: {r: 0.021979094, g: 1, b: 0, a: 1}
+ m_BuildTextureStacks: []
+--- !u!114 &4859952229839602253
+MonoBehaviour:
+ m_ObjectHideFlags: 11
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ version: 7
diff --git a/Assets/RenderingPipeline/Shader/Shader Graphs_Hexagon 1.mat.meta b/Assets/RenderingPipeline/Shader/Shader Graphs_Hexagon 1.mat.meta
new file mode 100644
index 0000000..c824897
--- /dev/null
+++ b/Assets/RenderingPipeline/Shader/Shader Graphs_Hexagon 1.mat.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: c26a47888c31b8b46a36b14222e92371
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 2100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/RenderingPipeline/Shader/Shader Graphs_Hexagon.mat b/Assets/RenderingPipeline/Shader/Shader Graphs_Hexagon.mat
new file mode 100644
index 0000000..54922bc
--- /dev/null
+++ b/Assets/RenderingPipeline/Shader/Shader Graphs_Hexagon.mat
@@ -0,0 +1,74 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!21 &2100000
+Material:
+ serializedVersion: 8
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_Name: Shader Graphs_Hexagon
+ m_Shader: {fileID: -6465566751694194690, guid: 4519daec59cbfca42a844b86477e0d5f, type: 3}
+ m_Parent: {fileID: 0}
+ m_ModifiedSerializedProperties: 0
+ m_ValidKeywords:
+ - _SURFACE_TYPE_TRANSPARENT
+ m_InvalidKeywords: []
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 0
+ m_DoubleSidedGI: 0
+ m_CustomRenderQueue: -1
+ stringTagMap:
+ RenderType: Transparent
+ disabledShaderPasses:
+ - DepthOnly
+ m_LockedProperties:
+ m_SavedProperties:
+ serializedVersion: 3
+ m_TexEnvs:
+ - unity_Lightmaps:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - unity_LightmapsInd:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - unity_ShadowMasks:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ m_Ints: []
+ m_Floats:
+ - _AlphaClip: 0
+ - _AlphaToMask: 0
+ - _Blend: 0
+ - _CastShadows: 1
+ - _Count: 5
+ - _Cull: 2
+ - _DstBlend: 10
+ - _Outline: 0.05
+ - _QueueControl: 0
+ - _QueueOffset: 0
+ - _Size: 0.5
+ - _SrcBlend: 5
+ - _Surface: 1
+ - _ZTest: 4
+ - _ZWrite: 0
+ - _ZWriteControl: 0
+ m_Colors:
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
+ m_BuildTextureStacks: []
+--- !u!114 &4859952229839602253
+MonoBehaviour:
+ m_ObjectHideFlags: 11
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ version: 7
diff --git a/Assets/RenderingPipeline/Shader/Shader Graphs_Hexagon.mat.meta b/Assets/RenderingPipeline/Shader/Shader Graphs_Hexagon.mat.meta
new file mode 100644
index 0000000..475cd1f
--- /dev/null
+++ b/Assets/RenderingPipeline/Shader/Shader Graphs_Hexagon.mat.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: afe6bdd33d8126744b751736e67342d6
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 2100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/SceneManager/SampleScene/SampleScene.unity b/Assets/SceneManager/SampleScene/SampleScene.unity
index 5c04f01..eee209f 100644
--- a/Assets/SceneManager/SampleScene/SampleScene.unity
+++ b/Assets/SceneManager/SampleScene/SampleScene.unity
@@ -228,56 +228,6 @@ MeshFilter:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 218982090}
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
---- !u!1 &321363682
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 321363683}
- - component: {fileID: 321363684}
- m_Layer: 0
- m_Name: UITestPage
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &321363683
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 321363682}
- serializedVersion: 2
- 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: 1327183334}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &321363684
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 321363682}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: a47690fe988195040a2e528bb2e8bce6, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- document: {fileID: 1327183335}
- TemplateAsset: {fileID: 9197481963319205126, guid: f2787443498675b4c80a0bcedd37c0dc, type: 3}
- list:
- - 111
- - 222
- - 333
--- !u!1 &495038689
GameObject:
m_ObjectHideFlags: 0
@@ -310,6 +260,112 @@ Transform:
- {fileID: 1334378338}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &590440553
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 590440557}
+ - component: {fileID: 590440556}
+ - component: {fileID: 590440555}
+ - component: {fileID: 590440554}
+ m_Layer: 0
+ m_Name: Hexagon
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 0
+--- !u!64 &590440554
+MeshCollider:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 590440553}
+ m_Material: {fileID: 0}
+ m_IncludeLayers:
+ serializedVersion: 2
+ m_Bits: 0
+ m_ExcludeLayers:
+ serializedVersion: 2
+ m_Bits: 0
+ m_LayerOverridePriority: 0
+ m_IsTrigger: 0
+ m_ProvidesContacts: 0
+ m_Enabled: 1
+ serializedVersion: 5
+ m_Convex: 0
+ m_CookingOptions: 30
+ m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!23 &590440555
+MeshRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 590440553}
+ m_Enabled: 1
+ m_CastShadows: 1
+ m_ReceiveShadows: 1
+ m_DynamicOccludee: 1
+ m_StaticShadowCaster: 0
+ m_MotionVectors: 1
+ m_LightProbeUsage: 1
+ m_ReflectionProbeUsage: 1
+ m_RayTracingMode: 2
+ m_RayTraceProcedural: 0
+ m_RenderingLayerMask: 1
+ m_RendererPriority: 0
+ m_Materials:
+ - {fileID: 2100000, guid: afe6bdd33d8126744b751736e67342d6, type: 2}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_ReceiveGI: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_StitchLightmapSeams: 1
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+ m_AdditionalVertexStreams: {fileID: 0}
+--- !u!33 &590440556
+MeshFilter:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 590440553}
+ m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!4 &590440557
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 590440553}
+ serializedVersion: 2
+ m_LocalRotation: {x: 0.7071068, y: -0, z: -0, w: 0.7071068}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1.025, y: 1.025, z: 1.025}
+ m_ConstrainProportionsScale: 1
+ m_Children: []
+ m_Father: {fileID: 1548127627}
+ m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0}
--- !u!1 &701611850
GameObject:
m_ObjectHideFlags: 0
@@ -630,69 +686,6 @@ MonoBehaviour:
m_MipBias: 0
m_VarianceClampScale: 0.9
m_ContrastAdaptiveSharpening: 0
---- !u!1 &1327183333
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 1327183334}
- - component: {fileID: 1327183335}
- - component: {fileID: 1327183336}
- m_Layer: 0
- m_Name: "----\u754C\u9762\u6A21\u5757----"
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &1327183334
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1327183333}
- serializedVersion: 2
- 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:
- - {fileID: 321363683}
- m_Father: {fileID: 0}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &1327183335
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1327183333}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 19102, guid: 0000000000000000e000000000000000, type: 0}
- m_Name:
- m_EditorClassIdentifier:
- m_PanelSettings: {fileID: 11400000, guid: 4caef6f0e9981084a9e0cbfd447fac06, type: 2}
- m_ParentUI: {fileID: 0}
- sourceAsset: {fileID: 9197481963319205126, guid: 31e24fa07355f6e42841c8f1d0e77e54, type: 3}
- m_SortingOrder: 0
---- !u!114 &1327183336
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1327183333}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: a3ee54ac782eb1d4a9c8b92a859c3d38, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- document: {fileID: 1327183335}
--- !u!1 &1334378334
GameObject:
m_ObjectHideFlags: 0
@@ -799,6 +792,52 @@ Transform:
- {fileID: 963194228}
m_Father: {fileID: 495038690}
m_LocalEulerAnglesHint: {x: 0, y: 45, z: 0}
+--- !u!1 &1548127625
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1548127627}
+ - component: {fileID: 1548127626}
+ m_Layer: 0
+ m_Name: HexagonMap
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &1548127626
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1548127625}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 90c26411725660045a445e742ce72bf8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ prefab: {fileID: 590440557}
+--- !u!4 &1548127627
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1548127625}
+ serializedVersion: 2
+ 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:
+ - {fileID: 590440557}
+ m_Father: {fileID: 0}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1975274887
GameObject:
m_ObjectHideFlags: 0
@@ -884,4 +923,4 @@ SceneRoots:
- {fileID: 701611851}
- {fileID: 495038690}
- {fileID: 851831250}
- - {fileID: 1327183334}
+ - {fileID: 1548127627}
diff --git a/期货规则.md b/期货规则.md
deleted file mode 100644
index 00b4d2c..0000000
--- a/期货规则.md
+++ /dev/null
@@ -1,25 +0,0 @@
-# 策略
-
-## 多品种分摊风险
-- 把资金分成10份以上的仓位,每个仓位进行一个品种的操作
-- 留出总资金百分之10%-20%资金的扛单,应对低谷爆仓风险
-- 需要克服贪和怕,严格按照规定执行
-- 不做日内短线,看长线趋势来开仓,主做多头,空头亏损无上限
-## 每个品种资金配平
-- 价位低的品种需要多手数来和价位高的品种进行配平
-- 涨跌幅过大禁止加仓
-- 涨跌幅过大禁止反手追涨杀跌
-## 盈利目标百分之20+
-- 如果涨幅达到20%,必须设置保本单保证20%利润
-- 如果涨幅超过20%,每5%利润推进保本单
-## 绿柱多,红柱空
-- 无论什么情况必须遵守绿柱买进,红柱卖出
-- 买进时必须看日线周线计算盈利目标的难度
-- 清仓之后必须等待机会在进场
-- 止盈情况下无论后续走势多么强势都不能追,只能反手
-
-# 7 - 30 亏损
-- 贪心
-- 单一品种加仓
-- 不止盈
-- 没有绿柱买进,红柱卖出
\ No newline at end of file