summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Assets/Materials/Blue.mat6
-rw-r--r--Assets/Materials/Ground.mat137
-rw-r--r--Assets/Materials/Ground.mat.meta8
-rw-r--r--Assets/Materials/Player.mat59
-rw-r--r--Assets/Materials/Player.mat.meta8
-rw-r--r--Assets/Materials/Red.mat6
-rw-r--r--Assets/Prefabs/Player.prefab7
-rw-r--r--Assets/Scenes/PlayScene.unity186
-rw-r--r--Assets/Scripts/CameraFOVWithDistance.cs29
-rw-r--r--Assets/Scripts/CameraFOVWithDistance.cs.meta2
-rw-r--r--Assets/Scripts/GrabStateMachine.cs25
-rw-r--r--Assets/Scripts/NewScriptableObjectScript.cs7
-rw-r--r--Assets/Scripts/NewScriptableObjectScript.cs.meta2
-rw-r--r--Assets/Scripts/PlayerColor.cs35
-rw-r--r--Assets/Scripts/PlayerColor.cs.meta2
-rw-r--r--Assets/Scripts/PlayerTracker.cs67
-rw-r--r--Assets/Scripts/PlayerTracker.cs.meta2
-rw-r--r--Assets/Shaders.meta8
-rw-r--r--Assets/Shaders/Cartoon.shadergraph1025
-rw-r--r--Assets/Shaders/Cartoon.shadergraph.meta18
-rw-r--r--Assets/Shaders/Checkboard.shadergraph998
-rw-r--r--Assets/Shaders/Checkboard.shadergraph.meta18
22 files changed, 2517 insertions, 138 deletions
diff --git a/Assets/Materials/Blue.mat b/Assets/Materials/Blue.mat
index c7d6fb8..e80724d 100644
--- a/Assets/Materials/Blue.mat
+++ b/Assets/Materials/Blue.mat
@@ -21,7 +21,7 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Blue
- m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
+ m_Shader: {fileID: -6465566751694194690, guid: d3441d60782a40b5e8931542d5c381e7, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
@@ -30,8 +30,7 @@ Material:
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
- stringTagMap:
- RenderType: Opaque
+ stringTagMap: {}
disabledShaderPasses:
- MOTIONVECTORS
m_LockedProperties:
@@ -117,6 +116,7 @@ Material:
- _Metallic: 0
- _OcclusionStrength: 1
- _Parallax: 0.005
+ - _QueueControl: 0
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
diff --git a/Assets/Materials/Ground.mat b/Assets/Materials/Ground.mat
new file mode 100644
index 0000000..5e1513f
--- /dev/null
+++ b/Assets/Materials/Ground.mat
@@ -0,0 +1,137 @@
+%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: Ground
+ m_Shader: {fileID: -6465566751694194690, guid: 93758f40c3b60a134aa7d50cd72537ca, type: 3}
+ m_Parent: {fileID: 0}
+ m_ModifiedSerializedProperties: 0
+ m_ValidKeywords: []
+ m_InvalidKeywords: []
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 0
+ m_DoubleSidedGI: 0
+ m_CustomRenderQueue: -1
+ stringTagMap: {}
+ disabledShaderPasses:
+ - MOTIONVECTORS
+ m_LockedProperties:
+ m_SavedProperties:
+ serializedVersion: 3
+ m_TexEnvs:
+ - _BaseMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _BumpMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailAlbedoMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailMask:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailNormalMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _EmissionMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _MainTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _MetallicGlossMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _OcclusionMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _ParallaxMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _SpecGlossMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - 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:
+ - _AddPrecomputedVelocity: 0
+ - _AlphaClip: 0
+ - _AlphaToMask: 0
+ - _Blend: 0
+ - _BlendModePreserveSpecular: 1
+ - _BumpScale: 1
+ - _ClearCoatMask: 0
+ - _ClearCoatSmoothness: 0
+ - _Cull: 2
+ - _Cutoff: 0.5
+ - _DetailAlbedoMapScale: 1
+ - _DetailNormalMapScale: 1
+ - _DstBlend: 0
+ - _DstBlendAlpha: 0
+ - _EnvironmentReflections: 1
+ - _GlossMapScale: 0
+ - _Glossiness: 0
+ - _GlossyReflections: 0
+ - _Metallic: 0
+ - _OcclusionStrength: 1
+ - _Parallax: 0.005
+ - _QueueControl: 0
+ - _QueueOffset: 0
+ - _ReceiveShadows: 1
+ - _Smoothness: 0.5
+ - _SmoothnessTextureChannel: 0
+ - _SpecularHighlights: 1
+ - _SrcBlend: 1
+ - _SrcBlendAlpha: 1
+ - _Surface: 0
+ - _WorkflowMode: 1
+ - _XRMotionVectorsPass: 1
+ - _ZWrite: 1
+ m_Colors:
+ - _BaseColor: {r: 1, g: 1, b: 1, a: 1}
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
+ - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
+ - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
+ m_BuildTextureStacks: []
+ m_AllowLocking: 1
+--- !u!114 &1391304040983159717
+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: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion
+ version: 10
diff --git a/Assets/Materials/Ground.mat.meta b/Assets/Materials/Ground.mat.meta
new file mode 100644
index 0000000..b62a66a
--- /dev/null
+++ b/Assets/Materials/Ground.mat.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: ad4963dc46f7e809186f2efe53b4d17f
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 2100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Materials/Player.mat b/Assets/Materials/Player.mat
new file mode 100644
index 0000000..c5fccd7
--- /dev/null
+++ b/Assets/Materials/Player.mat
@@ -0,0 +1,59 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!114 &-1732811418859744833
+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: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion
+ version: 10
+--- !u!21 &2100000
+Material:
+ serializedVersion: 8
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_Name: Player
+ m_Shader: {fileID: -6465566751694194690, guid: d3441d60782a40b5e8931542d5c381e7, type: 3}
+ m_Parent: {fileID: 0}
+ m_ModifiedSerializedProperties: 0
+ m_ValidKeywords: []
+ m_InvalidKeywords: []
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 0
+ m_DoubleSidedGI: 0
+ m_CustomRenderQueue: -1
+ stringTagMap: {}
+ disabledShaderPasses:
+ - MOTIONVECTORS
+ 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:
+ - _QueueControl: 0
+ - _QueueOffset: 0
+ m_Colors:
+ - _Color: {r: 0.4592491, g: 0.20714669, b: 0.8962264, a: 1}
+ m_BuildTextureStacks: []
+ m_AllowLocking: 1
diff --git a/Assets/Materials/Player.mat.meta b/Assets/Materials/Player.mat.meta
new file mode 100644
index 0000000..a01fc38
--- /dev/null
+++ b/Assets/Materials/Player.mat.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 06c1c02dac664e5f3adbfdc355579919
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 2100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Materials/Red.mat b/Assets/Materials/Red.mat
index 3f766f8..eb15e03 100644
--- a/Assets/Materials/Red.mat
+++ b/Assets/Materials/Red.mat
@@ -21,7 +21,7 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Red
- m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
+ m_Shader: {fileID: -6465566751694194690, guid: d3441d60782a40b5e8931542d5c381e7, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
@@ -30,8 +30,7 @@ Material:
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
- stringTagMap:
- RenderType: Opaque
+ stringTagMap: {}
disabledShaderPasses:
- MOTIONVECTORS
m_LockedProperties:
@@ -117,6 +116,7 @@ Material:
- _Metallic: 0
- _OcclusionStrength: 1
- _Parallax: 0.005
+ - _QueueControl: 0
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
diff --git a/Assets/Prefabs/Player.prefab b/Assets/Prefabs/Player.prefab
index 5e65ebf..1f46b37 100644
--- a/Assets/Prefabs/Player.prefab
+++ b/Assets/Prefabs/Player.prefab
@@ -122,7 +122,7 @@ GameObject:
- component: {fileID: 2341430063894590208}
m_Layer: 0
m_Name: Player
- m_TagString: Untagged
+ m_TagString: Player
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
@@ -340,6 +340,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 8cbfd87026c9dc54bbd983d8aa98eafd, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::PlayerDrag
+ grabKey: 103
--- !u!1 &4328717198840516823
GameObject:
m_ObjectHideFlags: 0
@@ -737,8 +738,8 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 811939d88c0df0c44bf13cae7f13a581, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::GrabStateMachine
- anim: {fileID: 0}
- grabKey: 103
+ playerControl: {fileID: 3267697200445213522}
+ anim: {fileID: 2498788679243921835}
--- !u!4 &5427005771150001327 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: ce903e52583f4664a945b7c2eb161634, type: 3}
diff --git a/Assets/Scenes/PlayScene.unity b/Assets/Scenes/PlayScene.unity
index c924c3c..f87728f 100644
--- a/Assets/Scenes/PlayScene.unity
+++ b/Assets/Scenes/PlayScene.unity
@@ -119,30 +119,38 @@ NavMeshSettings:
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
---- !u!1 &738278464 stripped
+--- !u!1 &1181544169
GameObject:
- m_CorrespondingSourceObject: {fileID: 4619365361263074837, guid: 5a380f4e0f263cee8b2148dbffce9758, type: 3}
- m_PrefabInstance: {fileID: 1731624642}
- m_PrefabAsset: {fileID: 0}
---- !u!114 &738278467
-MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 738278464}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 811939d88c0df0c44bf13cae7f13a581, type: 3}
- m_Name:
- m_EditorClassIdentifier: Assembly-CSharp::GrabStateMachine
- anim: {fileID: 0}
- grabKey: 103
---- !u!4 &826326573 stripped
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1181544170}
+ m_Layer: 0
+ m_Name: CameraPos
+ m_TagString: Untagged
+ m_Icon: {fileID: 7148428337604731935, guid: 0000000000000000d000000000000000, type: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &1181544170
Transform:
- m_CorrespondingSourceObject: {fileID: 3858086185141390273, guid: 5a380f4e0f263cee8b2148dbffce9758, type: 3}
- m_PrefabInstance: {fileID: 1731624642}
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1181544169}
+ 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: 1992053536}
+ m_Father: {fileID: 0}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1250508122
GameObject:
m_ObjectHideFlags: 0
@@ -222,78 +230,6 @@ Transform:
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!1001 &1731624642
-PrefabInstance:
- m_ObjectHideFlags: 0
- serializedVersion: 2
- m_Modification:
- serializedVersion: 3
- m_TransformParent: {fileID: 0}
- m_Modifications:
- - target: {fileID: 2684917141693768409, guid: 5a380f4e0f263cee8b2148dbffce9758, type: 3}
- propertyPath: m_LocalPosition.x
- value: -2.9113557
- objectReference: {fileID: 0}
- - target: {fileID: 2684917141693768409, guid: 5a380f4e0f263cee8b2148dbffce9758, type: 3}
- propertyPath: m_LocalPosition.y
- value: -0.00000019833448
- objectReference: {fileID: 0}
- - target: {fileID: 2684917141693768409, guid: 5a380f4e0f263cee8b2148dbffce9758, type: 3}
- propertyPath: m_LocalPosition.z
- value: -1.1362278
- objectReference: {fileID: 0}
- - target: {fileID: 2684917141693768409, guid: 5a380f4e0f263cee8b2148dbffce9758, type: 3}
- propertyPath: m_LocalRotation.w
- value: 1
- objectReference: {fileID: 0}
- - target: {fileID: 2684917141693768409, guid: 5a380f4e0f263cee8b2148dbffce9758, type: 3}
- propertyPath: m_LocalRotation.x
- value: 0
- objectReference: {fileID: 0}
- - target: {fileID: 2684917141693768409, guid: 5a380f4e0f263cee8b2148dbffce9758, type: 3}
- propertyPath: m_LocalRotation.y
- value: 0
- objectReference: {fileID: 0}
- - target: {fileID: 2684917141693768409, guid: 5a380f4e0f263cee8b2148dbffce9758, type: 3}
- propertyPath: m_LocalRotation.z
- value: 0
- objectReference: {fileID: 0}
- - target: {fileID: 2684917141693768409, guid: 5a380f4e0f263cee8b2148dbffce9758, type: 3}
- propertyPath: m_LocalEulerAnglesHint.x
- value: 0
- objectReference: {fileID: 0}
- - target: {fileID: 2684917141693768409, guid: 5a380f4e0f263cee8b2148dbffce9758, type: 3}
- propertyPath: m_LocalEulerAnglesHint.y
- value: 0
- objectReference: {fileID: 0}
- - target: {fileID: 2684917141693768409, guid: 5a380f4e0f263cee8b2148dbffce9758, type: 3}
- propertyPath: m_LocalEulerAnglesHint.z
- value: 0
- objectReference: {fileID: 0}
- - target: {fileID: 4314353825088690500, guid: 5a380f4e0f263cee8b2148dbffce9758, type: 3}
- propertyPath: m_Name
- value: Player
- objectReference: {fileID: 0}
- - target: {fileID: 6804967426155711280, guid: 5a380f4e0f263cee8b2148dbffce9758, type: 3}
- propertyPath: m_Enabled
- value: 1
- objectReference: {fileID: 0}
- - target: {fileID: 8017654697833592608, guid: 5a380f4e0f263cee8b2148dbffce9758, type: 3}
- propertyPath: targetObject
- value:
- objectReference: {fileID: 826326573}
- - target: {fileID: 8622649025587430758, guid: 5a380f4e0f263cee8b2148dbffce9758, type: 3}
- propertyPath: m_Controller
- value:
- objectReference: {fileID: 9100000, guid: b557819f13ae72f4789f2a749b6d950e, type: 2}
- m_RemovedComponents: []
- m_RemovedGameObjects: []
- m_AddedGameObjects: []
- m_AddedComponents:
- - targetCorrespondingSourceObject: {fileID: 4619365361263074837, guid: 5a380f4e0f263cee8b2148dbffce9758, type: 3}
- insertIndex: -1
- addedObject: {fileID: 738278467}
- m_SourcePrefab: {fileID: 100100000, guid: 5a380f4e0f263cee8b2148dbffce9758, type: 3}
--- !u!1 &1976095976
GameObject:
m_ObjectHideFlags: 0
@@ -304,6 +240,8 @@ GameObject:
m_Component:
- component: {fileID: 1976095978}
- component: {fileID: 1976095977}
+ - component: {fileID: 1976095979}
+ - component: {fileID: 1976095980}
m_Layer: 0
m_Name: Input Manager
m_TagString: Untagged
@@ -329,10 +267,34 @@ MonoBehaviour:
m_JoinBehavior: 0
m_PlayerJoinedEvent:
m_PersistentCalls:
- m_Calls: []
+ m_Calls:
+ - m_Target: {fileID: 1976095979}
+ m_TargetAssemblyTypeName: PlayerTracker, Assembly-CSharp
+ m_MethodName: CollectPlayers
+ m_Mode: 1
+ m_Arguments:
+ m_ObjectArgument: {fileID: 0}
+ m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
+ m_IntArgument: 0
+ m_FloatArgument: 0
+ m_StringArgument:
+ m_BoolArgument: 0
+ m_CallState: 2
m_PlayerLeftEvent:
m_PersistentCalls:
- m_Calls: []
+ m_Calls:
+ - m_Target: {fileID: 1976095979}
+ m_TargetAssemblyTypeName: PlayerTracker, Assembly-CSharp
+ m_MethodName: CollectPlayers
+ m_Mode: 1
+ m_Arguments:
+ m_ObjectArgument: {fileID: 0}
+ m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
+ m_IntArgument: 0
+ m_FloatArgument: 0
+ m_StringArgument:
+ m_BoolArgument: 0
+ m_CallState: 2
m_JoinAction:
m_UseReference: 0
m_Action:
@@ -378,6 +340,37 @@ Transform:
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!114 &1976095979
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1976095976}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: c25a3df449c3a6ff795ce47e0c770627, type: 3}
+ m_Name:
+ m_EditorClassIdentifier: Assembly-CSharp::PlayerTracker
+ centerPos: {fileID: 1181544170}
+ playerTransforms: []
+ maxDistance: 0
+ MaxDistance: 100
+--- !u!114 &1976095980
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1976095976}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 502ec2fb6642346ad863dc45131eab27, type: 3}
+ m_Name:
+ m_EditorClassIdentifier: Assembly-CSharp::CameraFOVWithDistance
+ tracker: {fileID: 1976095979}
+ camera: {fileID: 1992053535}
+ lerpSpeed: 0.15
--- !u!1 &1992053532
GameObject:
m_ObjectHideFlags: 0
@@ -482,7 +475,7 @@ Camera:
height: 1
near clip plane: 0.3
far clip plane: 1000
- field of view: 60
+ field of view: 35
orthographic: 0
orthographic size: 5
m_Depth: 0
@@ -508,12 +501,12 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1992053532}
serializedVersion: 2
- m_LocalRotation: {x: 0.5735764, y: 0, z: 0, w: 0.8191521}
+ m_LocalRotation: {x: 0.5735764, y: -0, z: -0, w: 0.8191521}
m_LocalPosition: {x: 0, y: 25.52, z: -6.68}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
- m_Father: {fileID: 0}
+ m_Father: {fileID: 1181544170}
m_LocalEulerAnglesHint: {x: 70, y: 0, z: 0}
--- !u!1 &2026935423
GameObject:
@@ -708,7 +701,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- - {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2}
+ - {fileID: 2100000, guid: ad4963dc46f7e809186f2efe53b4d17f, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@@ -763,5 +756,4 @@ SceneRoots:
- {fileID: 2061861049}
- {fileID: 1250508125}
- {fileID: 1976095978}
- - {fileID: 1992053536}
- - {fileID: 1731624642}
+ - {fileID: 1181544170}
diff --git a/Assets/Scripts/CameraFOVWithDistance.cs b/Assets/Scripts/CameraFOVWithDistance.cs
new file mode 100644
index 0000000..56c3562
--- /dev/null
+++ b/Assets/Scripts/CameraFOVWithDistance.cs
@@ -0,0 +1,29 @@
+using System;
+using UnityEngine;
+
+public class CameraFOVWithDistance : MonoBehaviour
+{
+ public PlayerTracker tracker;
+ public Camera camera;
+
+ public float lerpSpeed = 0.15f;
+
+ private float _targetFOV;
+
+ private float _minDistance = 7.5f;
+ private float _maxDistance = 16.5f;
+
+ private float _minFOV = 25f;
+ private float _maxFOV = 45f;
+
+ private void Update()
+ {
+ var distancePercent = Mathf.InverseLerp(_minDistance, _maxDistance, Math.Clamp(tracker.Distance, _minDistance, _maxDistance));
+ _targetFOV = Mathf.Lerp(_minFOV, _maxFOV, distancePercent);
+ }
+
+ private void FixedUpdate()
+ {
+ camera.fieldOfView = Mathf.Lerp(camera.fieldOfView, _targetFOV, lerpSpeed);
+ }
+}
diff --git a/Assets/Scripts/CameraFOVWithDistance.cs.meta b/Assets/Scripts/CameraFOVWithDistance.cs.meta
new file mode 100644
index 0000000..a630d0c
--- /dev/null
+++ b/Assets/Scripts/CameraFOVWithDistance.cs.meta
@@ -0,0 +1,2 @@
+fileFormatVersion: 2
+guid: 502ec2fb6642346ad863dc45131eab27 \ No newline at end of file
diff --git a/Assets/Scripts/GrabStateMachine.cs b/Assets/Scripts/GrabStateMachine.cs
index 8242097..4695457 100644
--- a/Assets/Scripts/GrabStateMachine.cs
+++ b/Assets/Scripts/GrabStateMachine.cs
@@ -2,16 +2,9 @@ using UnityEngine;
public class GrabStateMachine : MonoBehaviour
{
- private bool grabbing = false;
-
- // 动画组件引用(需要在Inspector面板赋值,或通过代码自动获取)
- [Header("动画组件引用")]
+ public PlayerControl playerControl;
[SerializeField] private Animator anim;
- // 按键设置(可在Inspector面板修改,无需硬编码)
- [Header("控制按键")]
- [SerializeField] private KeyCode grabKey = KeyCode.G;
-
/// <summary>
/// 初始化
/// </summary>
@@ -22,26 +15,12 @@ public class GrabStateMachine : MonoBehaviour
private void Update()
{
- DetectGrabKeyInput();
UpdateAnimatorState();
}
- private void DetectGrabKeyInput()
- {
- if (Input.GetKey(grabKey))
- {
- grabbing = true;
- }
-
- if (Input.GetKeyUp(grabKey))
- {
- grabbing = false;
- }
- }
-
private void UpdateAnimatorState()
{
- anim.SetBool("grabbing", grabbing);
+ anim.SetBool("grabbing", playerControl.grabbing);
}
}
diff --git a/Assets/Scripts/NewScriptableObjectScript.cs b/Assets/Scripts/NewScriptableObjectScript.cs
deleted file mode 100644
index 2445c74..0000000
--- a/Assets/Scripts/NewScriptableObjectScript.cs
+++ /dev/null
@@ -1,7 +0,0 @@
-using UnityEngine;
-
-[CreateAssetMenu(fileName = "iteminformation", menuName = "Scriptable Objects/NewScriptableObjectScript")]
-public class NewScriptableObjectScript : ScriptableObject
-{
-
-}
diff --git a/Assets/Scripts/NewScriptableObjectScript.cs.meta b/Assets/Scripts/NewScriptableObjectScript.cs.meta
deleted file mode 100644
index de7a567..0000000
--- a/Assets/Scripts/NewScriptableObjectScript.cs.meta
+++ /dev/null
@@ -1,2 +0,0 @@
-fileFormatVersion: 2
-guid: e3b8854be5b2e694e96b45b9baf9e04a \ No newline at end of file
diff --git a/Assets/Scripts/PlayerColor.cs b/Assets/Scripts/PlayerColor.cs
new file mode 100644
index 0000000..d8fedbe
--- /dev/null
+++ b/Assets/Scripts/PlayerColor.cs
@@ -0,0 +1,35 @@
+using System;
+using UnityEngine;
+
+[RequireComponent(typeof(SkinnedMeshRenderer))]
+public class PlayerColor : MonoBehaviour
+{
+ private SkinnedMeshRenderer _renderer;
+ private Material _materialInstance;
+
+ private Color _currentColor;
+ public Color color;
+
+ private void Start()
+ {
+ _renderer = GetComponent<SkinnedMeshRenderer>();
+ _materialInstance = new Material(_renderer.material);
+ _renderer.material = _materialInstance;
+ }
+
+ private void Update()
+ {
+ SetColor(color);
+ }
+
+ public void SetColor(Color newColor)
+ {
+ if (newColor == _currentColor) return;
+
+ _currentColor = newColor;
+ if (_materialInstance != null)
+ {
+ _materialInstance.SetColor("_Color", newColor);
+ }
+ }
+}
diff --git a/Assets/Scripts/PlayerColor.cs.meta b/Assets/Scripts/PlayerColor.cs.meta
new file mode 100644
index 0000000..7fbe8fa
--- /dev/null
+++ b/Assets/Scripts/PlayerColor.cs.meta
@@ -0,0 +1,2 @@
+fileFormatVersion: 2
+guid: 772311eef2b56ff108735f496df4ebb0 \ No newline at end of file
diff --git a/Assets/Scripts/PlayerTracker.cs b/Assets/Scripts/PlayerTracker.cs
new file mode 100644
index 0000000..b5f95e3
--- /dev/null
+++ b/Assets/Scripts/PlayerTracker.cs
@@ -0,0 +1,67 @@
+using UnityEngine;
+using System.Collections.Generic;
+
+public class PlayerTracker : MonoBehaviour
+{
+ public Transform centerPos;
+
+ [Header("玩家追踪设置")]
+ [SerializeField] private List<Transform> playerTransforms = new();
+ [SerializeField] private float maxDistance;
+
+ public float Distance => maxDistance;
+
+ [Header("距离限制")]
+ [Tooltip("最远玩家的距离")]
+ public float MaxDistance = 10f;
+
+ [ContextMenu("收集玩家")]
+ public void CollectPlayers()
+ {
+ playerTransforms.Clear();
+
+ GameObject[] playerObjects = GameObject.FindGameObjectsWithTag("Player");
+
+ foreach (GameObject player in playerObjects)
+ {
+ Transform playerTransform = player.transform;
+ if (playerTransform != null && !playerTransforms.Contains(playerTransform))
+ {
+ playerTransforms.Add(playerTransform);
+ }
+ }
+ }
+
+ private void Update()
+ {
+ if (playerTransforms.Count == 0) return;
+
+ Vector3 center = Vector3.zero;
+ foreach (Transform player in playerTransforms)
+ {
+ if (player != null)
+ {
+ center += player.position;
+ }
+ }
+ center /= playerTransforms.Count;
+
+ centerPos.position = center;
+
+ maxDistance = 0f;
+ foreach (Transform player in playerTransforms)
+ {
+ if (player != null)
+ {
+ float distance = Vector3.Distance(center, player.position);
+ if (distance > maxDistance)
+ {
+ maxDistance = distance;
+ }
+ }
+ }
+
+ if (maxDistance > MaxDistance)
+ maxDistance = MaxDistance;
+ }
+} \ No newline at end of file
diff --git a/Assets/Scripts/PlayerTracker.cs.meta b/Assets/Scripts/PlayerTracker.cs.meta
new file mode 100644
index 0000000..d5b41eb
--- /dev/null
+++ b/Assets/Scripts/PlayerTracker.cs.meta
@@ -0,0 +1,2 @@
+fileFormatVersion: 2
+guid: c25a3df449c3a6ff795ce47e0c770627 \ No newline at end of file
diff --git a/Assets/Shaders.meta b/Assets/Shaders.meta
new file mode 100644
index 0000000..b9ac9d8
--- /dev/null
+++ b/Assets/Shaders.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 23cfeab5c6101dcb3942fc7891a234a7
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Shaders/Cartoon.shadergraph b/Assets/Shaders/Cartoon.shadergraph
new file mode 100644
index 0000000..45581e2
--- /dev/null
+++ b/Assets/Shaders/Cartoon.shadergraph
@@ -0,0 +1,1025 @@
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.GraphData",
+ "m_ObjectId": "d44d3ecf06e142ad860a4045bff77117",
+ "m_Properties": [
+ {
+ "m_Id": "a230679715c14f5f8edb409c2e64a056"
+ }
+ ],
+ "m_Keywords": [],
+ "m_Dropdowns": [],
+ "m_CategoryData": [
+ {
+ "m_Id": "96f54c14ee614026a242777b8f337ec7"
+ }
+ ],
+ "m_Nodes": [
+ {
+ "m_Id": "abf401d184a64dd7a0c306e543b6e5bb"
+ },
+ {
+ "m_Id": "377a9e10595949078f63076aa2975bc1"
+ },
+ {
+ "m_Id": "f352432339c448d7a95c093393fb9678"
+ },
+ {
+ "m_Id": "14c80c9a65334a6dbd5e28e8d5437a6e"
+ },
+ {
+ "m_Id": "426cec70775049d9b8e9bbb081db893f"
+ },
+ {
+ "m_Id": "cc2a72e058ef4f11abe7daa11d416ca9"
+ },
+ {
+ "m_Id": "b56f25c600c346d9bf9836feaa95304e"
+ },
+ {
+ "m_Id": "c6fab9ea6d7b49ef9660809033ff19d1"
+ },
+ {
+ "m_Id": "9cf26a3063cf4362adfa5d659d90372c"
+ },
+ {
+ "m_Id": "302cb5e0656145e28fc01fe445344014"
+ },
+ {
+ "m_Id": "fcc5d4e3ec5d4b3caae2b2c649a044a0"
+ },
+ {
+ "m_Id": "ace2d3ffa91547cebc08ce4942d83c93"
+ }
+ ],
+ "m_GroupDatas": [],
+ "m_StickyNoteDatas": [],
+ "m_Edges": [
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "426cec70775049d9b8e9bbb081db893f"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "14c80c9a65334a6dbd5e28e8d5437a6e"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "426cec70775049d9b8e9bbb081db893f"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "fcc5d4e3ec5d4b3caae2b2c649a044a0"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "ace2d3ffa91547cebc08ce4942d83c93"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "fcc5d4e3ec5d4b3caae2b2c649a044a0"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "fcc5d4e3ec5d4b3caae2b2c649a044a0"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "c6fab9ea6d7b49ef9660809033ff19d1"
+ },
+ "m_SlotId": 0
+ }
+ }
+ ],
+ "m_VertexContext": {
+ "m_Position": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Blocks": [
+ {
+ "m_Id": "abf401d184a64dd7a0c306e543b6e5bb"
+ },
+ {
+ "m_Id": "377a9e10595949078f63076aa2975bc1"
+ },
+ {
+ "m_Id": "f352432339c448d7a95c093393fb9678"
+ }
+ ]
+ },
+ "m_FragmentContext": {
+ "m_Position": {
+ "x": 0.0,
+ "y": 200.0
+ },
+ "m_Blocks": [
+ {
+ "m_Id": "14c80c9a65334a6dbd5e28e8d5437a6e"
+ },
+ {
+ "m_Id": "cc2a72e058ef4f11abe7daa11d416ca9"
+ },
+ {
+ "m_Id": "b56f25c600c346d9bf9836feaa95304e"
+ },
+ {
+ "m_Id": "c6fab9ea6d7b49ef9660809033ff19d1"
+ },
+ {
+ "m_Id": "9cf26a3063cf4362adfa5d659d90372c"
+ },
+ {
+ "m_Id": "302cb5e0656145e28fc01fe445344014"
+ }
+ ]
+ },
+ "m_PreviewData": {
+ "serializedMesh": {
+ "m_SerializedMesh": "{\"mesh\":{\"instanceID\":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": "ddf37e302e21482cb3dffcf2a084b1b4"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "1149de7d0049443295b7d080f5e25050",
+ "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_LiteralMode": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "1432a1d6fecc4184bf2cdd8319b4e001",
+ "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_LiteralMode": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "14c80c9a65334a6dbd5e28e8d5437a6e",
+ "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": "3b1594f067114aa9b795e9fcbc2251c7"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.BaseColor"
+}
+
+{
+ "m_SGVersion": 2,
+ "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalLitSubTarget",
+ "m_ObjectId": "185e5c3c1f2d44c1b1dde4c3e0382059",
+ "m_WorkflowMode": 1,
+ "m_NormalDropOffSpace": 0,
+ "m_ClearCoat": false,
+ "m_BlendModePreserveSpecular": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "302cb5e0656145e28fc01fe445344014",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "SurfaceDescription.Metallic",
+ "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": "5345dffc6b18446a9a83865745af0607"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.Metallic"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
+ "m_ObjectId": "372363a9462345bf8874bc734434b515",
+ "m_Id": 0,
+ "m_DisplayName": "Emission",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Emission",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 1.0,
+ "y": 1.0,
+ "z": 1.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": "377a9e10595949078f63076aa2975bc1",
+ "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": "3b4ab5cc243846db9f61b8792797db13"
+ }
+ ],
+ "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.ColorRGBMaterialSlot",
+ "m_ObjectId": "3b1594f067114aa9b795e9fcbc2251c7",
+ "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.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": 0,
+ "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
+ "m_ObjectId": "3b4ab5cc243846db9f61b8792797db13",
+ "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": "426cec70775049d9b8e9bbb081db893f",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -516.0,
+ "y": 239.0,
+ "width": 105.0,
+ "height": 34.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "91fa3416e86c46cc8a111a92f4749f26"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "a230679715c14f5f8edb409c2e64a056"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "4f2e760d90fb4d14a15a1be34a2b4606",
+ "m_Id": 0,
+ "m_DisplayName": "Smoothness",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Smoothness",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.5,
+ "m_Labels": [],
+ "m_LiteralMode": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "5345dffc6b18446a9a83865745af0607",
+ "m_Id": 0,
+ "m_DisplayName": "Metallic",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Metallic",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": [],
+ "m_LiteralMode": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "54204067b6aa465490144fb22c2cc370",
+ "m_Id": 1,
+ "m_DisplayName": "X",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "X",
+ "m_StageCapability": 3,
+ "m_Value": 2.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": [],
+ "m_LiteralMode": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
+ "m_ObjectId": "605098384df649c8bd40540a4f62ce82",
+ "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.TangentMaterialSlot",
+ "m_ObjectId": "6bf04380895e49daa8773a623a94f95b",
+ "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.Vector4MaterialSlot",
+ "m_ObjectId": "91fa3416e86c46cc8a111a92f4749f26",
+ "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.CategoryData",
+ "m_ObjectId": "96f54c14ee614026a242777b8f337ec7",
+ "m_Name": "",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "a230679715c14f5f8edb409c2e64a056"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "9cf26a3063cf4362adfa5d659d90372c",
+ "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": "1432a1d6fecc4184bf2cdd8319b4e001"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.Occlusion"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "9f0037c0cc0f4ff9a1d3d707f5403961",
+ "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_LiteralMode": false
+}
+
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
+ "m_ObjectId": "a230679715c14f5f8edb409c2e64a056",
+ "m_Guid": {
+ "m_GuidSerialized": "81d100b0-2e58-48fa-82dd-84b5bcba26fe"
+ },
+ "promotedFromAssetID": "",
+ "promotedFromCategoryName": "",
+ "promotedOrdering": -1,
+ "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_PerRendererData": false,
+ "m_customAttributes": [],
+ "m_Value": {
+ "r": 0.0,
+ "g": 0.0,
+ "b": 0.0,
+ "a": 1.0
+ },
+ "isMainColor": false,
+ "m_ColorMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "abf401d184a64dd7a0c306e543b6e5bb",
+ "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": "605098384df649c8bd40540a4f62ce82"
+ }
+ ],
+ "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.Vector1Node",
+ "m_ObjectId": "ace2d3ffa91547cebc08ce4942d83c93",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Float",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -642.0,
+ "y": 417.0,
+ "width": 126.0,
+ "height": 77.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "54204067b6aa465490144fb22c2cc370"
+ },
+ {
+ "m_Id": "b6ce5ca02bda44579e725e39e51577f7"
+ }
+ ],
+ "synonyms": [
+ "Vector 1",
+ "1",
+ "v1",
+ "vec1",
+ "scalar"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Value": 0.0,
+ "m_ConstIntMode": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "b56f25c600c346d9bf9836feaa95304e",
+ "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": "fe8cb95d80f14ccebe8a99a9c99c95eb"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.NormalTS"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "b6ce5ca02bda44579e725e39e51577f7",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": [],
+ "m_LiteralMode": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "b8b78a9a75c74f26b913c0dfc725e4eb",
+ "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_LiteralMode": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "c6fab9ea6d7b49ef9660809033ff19d1",
+ "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": "372363a9462345bf8874bc734434b515"
+ }
+ ],
+ "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.BlockNode",
+ "m_ObjectId": "cc2a72e058ef4f11abe7daa11d416ca9",
+ "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": "4f2e760d90fb4d14a15a1be34a2b4606"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.Smoothness"
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
+ "m_ObjectId": "ddf37e302e21482cb3dffcf2a084b1b4",
+ "m_Datas": [],
+ "m_ActiveSubTarget": {
+ "m_Id": "185e5c3c1f2d44c1b1dde4c3e0382059"
+ },
+ "m_AllowMaterialOverride": false,
+ "m_SurfaceType": 0,
+ "m_ZTestMode": 4,
+ "m_ZWriteControl": 0,
+ "m_AlphaMode": 0,
+ "m_RenderFace": 2,
+ "m_AlphaClip": false,
+ "m_CastShadows": true,
+ "m_ReceiveShadows": true,
+ "m_DisableTint": false,
+ "m_Sort3DAs2DCompatible": false,
+ "m_AdditionalMotionVectorMode": 0,
+ "m_AlembicMotionVectors": false,
+ "m_SupportsLODCrossFade": false,
+ "m_CustomEditorGUI": "",
+ "m_SupportVFX": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "f352432339c448d7a95c093393fb9678",
+ "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": "6bf04380895e49daa8773a623a94f95b"
+ }
+ ],
+ "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.DivideNode",
+ "m_ObjectId": "fcc5d4e3ec5d4b3caae2b2c649a044a0",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Divide",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -332.0,
+ "y": 322.0,
+ "width": 208.0,
+ "height": 302.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "1149de7d0049443295b7d080f5e25050"
+ },
+ {
+ "m_Id": "9f0037c0cc0f4ff9a1d3d707f5403961"
+ },
+ {
+ "m_Id": "b8b78a9a75c74f26b913c0dfc725e4eb"
+ }
+ ],
+ "synonyms": [
+ "division",
+ "divided by"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
+ "m_ObjectId": "fe8cb95d80f14ccebe8a99a9c99c95eb",
+ "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
+}
+
diff --git a/Assets/Shaders/Cartoon.shadergraph.meta b/Assets/Shaders/Cartoon.shadergraph.meta
new file mode 100644
index 0000000..cd0e17c
--- /dev/null
+++ b/Assets/Shaders/Cartoon.shadergraph.meta
@@ -0,0 +1,18 @@
+fileFormatVersion: 2
+guid: d3441d60782a40b5e8931542d5c381e7
+ScriptedImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
+ useAsTemplate: 0
+ exposeTemplateAsShader: 0
+ template:
+ name:
+ category:
+ description:
+ icon: {instanceID: 0}
+ thumbnail: {instanceID: 0}
diff --git a/Assets/Shaders/Checkboard.shadergraph b/Assets/Shaders/Checkboard.shadergraph
new file mode 100644
index 0000000..07c69c9
--- /dev/null
+++ b/Assets/Shaders/Checkboard.shadergraph
@@ -0,0 +1,998 @@
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.GraphData",
+ "m_ObjectId": "373b11d0b213412c92aa0bcb0ba9f411",
+ "m_Properties": [],
+ "m_Keywords": [],
+ "m_Dropdowns": [],
+ "m_CategoryData": [
+ {
+ "m_Id": "a0133b8a2e584af48aafaa4a544a3423"
+ }
+ ],
+ "m_Nodes": [
+ {
+ "m_Id": "7b3c3eab0f804c7d8c9c9ce5af8744c7"
+ },
+ {
+ "m_Id": "f10b853ac6844a5d9ff7b6ac1f13ed49"
+ },
+ {
+ "m_Id": "815979b175114bed9044dfb20b91790c"
+ },
+ {
+ "m_Id": "be4172a5bb974e59b765d3aa5ad7b375"
+ },
+ {
+ "m_Id": "64ea13907f544ad7a6e41eea22cedec4"
+ },
+ {
+ "m_Id": "4229585c59ea4a62adef91abe9cab64f"
+ },
+ {
+ "m_Id": "f2fef095ec384bf3ac384d70a735722a"
+ },
+ {
+ "m_Id": "67b71d9d77d44d6aac6407aa017d6ca0"
+ },
+ {
+ "m_Id": "99b6cb1511704a1e86e6faff34f37663"
+ },
+ {
+ "m_Id": "05427cc5764440208115561785c06df0"
+ },
+ {
+ "m_Id": "03fac8d21ee54dc296774fab5ca020f6"
+ }
+ ],
+ "m_GroupDatas": [],
+ "m_StickyNoteDatas": [],
+ "m_Edges": [
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "03fac8d21ee54dc296774fab5ca020f6"
+ },
+ "m_SlotId": 3
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "05427cc5764440208115561785c06df0"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "05427cc5764440208115561785c06df0"
+ },
+ "m_SlotId": 4
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "be4172a5bb974e59b765d3aa5ad7b375"
+ },
+ "m_SlotId": 0
+ }
+ }
+ ],
+ "m_VertexContext": {
+ "m_Position": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Blocks": [
+ {
+ "m_Id": "7b3c3eab0f804c7d8c9c9ce5af8744c7"
+ },
+ {
+ "m_Id": "f10b853ac6844a5d9ff7b6ac1f13ed49"
+ },
+ {
+ "m_Id": "815979b175114bed9044dfb20b91790c"
+ }
+ ]
+ },
+ "m_FragmentContext": {
+ "m_Position": {
+ "x": 0.0,
+ "y": 200.0
+ },
+ "m_Blocks": [
+ {
+ "m_Id": "be4172a5bb974e59b765d3aa5ad7b375"
+ },
+ {
+ "m_Id": "64ea13907f544ad7a6e41eea22cedec4"
+ },
+ {
+ "m_Id": "4229585c59ea4a62adef91abe9cab64f"
+ },
+ {
+ "m_Id": "f2fef095ec384bf3ac384d70a735722a"
+ },
+ {
+ "m_Id": "67b71d9d77d44d6aac6407aa017d6ca0"
+ },
+ {
+ "m_Id": "99b6cb1511704a1e86e6faff34f37663"
+ }
+ ]
+ },
+ "m_PreviewData": {
+ "serializedMesh": {
+ "m_SerializedMesh": "{\"mesh\":{\"instanceID\":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": "f4b5ea4d8de24348b436688fe867ee31"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.TilingAndOffsetNode",
+ "m_ObjectId": "03fac8d21ee54dc296774fab5ca020f6",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Tiling And Offset",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1224.0,
+ "y": 301.0,
+ "width": 208.0,
+ "height": 326.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "bfe9898c12a84112bbe5f7cf6040f405"
+ },
+ {
+ "m_Id": "8ec1d7e8e5444fbc8a01e2c053e86dd7"
+ },
+ {
+ "m_Id": "0cca14aab7a541edb3f55a9935f682e4"
+ },
+ {
+ "m_Id": "9a50105befaa4f1cab03963c5ad4cf5c"
+ }
+ ],
+ "synonyms": [
+ "pan",
+ "scale"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CheckerboardNode",
+ "m_ObjectId": "05427cc5764440208115561785c06df0",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Checkerboard",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -657.0,
+ "y": 187.0,
+ "width": 208.0,
+ "height": 350.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "fead48504e4f44998edca80e3f2df4a2"
+ },
+ {
+ "m_Id": "95333ad2d6004381a06a5f041db62680"
+ },
+ {
+ "m_Id": "fceeee68e90849b0a25335e71856123a"
+ },
+ {
+ "m_Id": "3cff40dd24874978aaf13ff39583163f"
+ },
+ {
+ "m_Id": "4004179984cc48d99060f4da719f84f8"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
+ "m_ObjectId": "0cca14aab7a541edb3f55a9935f682e4",
+ "m_Id": 2,
+ "m_DisplayName": "Offset",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Offset",
+ "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.ColorRGBMaterialSlot",
+ "m_ObjectId": "10a90524e0b34577a1387d6f805baf3b",
+ "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.NormalMaterialSlot",
+ "m_ObjectId": "2accf63b98784ecf84ef997ee5d502a3",
+ "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.Vector1MaterialSlot",
+ "m_ObjectId": "3940e4ba7f734dfa864389b45c949077",
+ "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_LiteralMode": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
+ "m_ObjectId": "3cff40dd24874978aaf13ff39583163f",
+ "m_Id": 3,
+ "m_DisplayName": "Frequency",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Frequency",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 1.0,
+ "y": 1.0
+ },
+ "m_DefaultValue": {
+ "x": 1.0,
+ "y": 1.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "4004179984cc48d99060f4da719f84f8",
+ "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
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "4229585c59ea4a62adef91abe9cab64f",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "SurfaceDescription.Metallic",
+ "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": "73692e5531114d78baadefea6cddf4bb"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.Metallic"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
+ "m_ObjectId": "4bfb3e9741244a558d6791e1b5f17ae4",
+ "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": "5ad096f1da444c6ba80ea0c14e2e65f7",
+ "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.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": 0,
+ "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
+ "m_ObjectId": "610f75017fb045f789ab1d99468805aa",
+ "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.BlockNode",
+ "m_ObjectId": "64ea13907f544ad7a6e41eea22cedec4",
+ "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": "2accf63b98784ecf84ef997ee5d502a3"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.NormalTS"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "67b71d9d77d44d6aac6407aa017d6ca0",
+ "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": "10a90524e0b34577a1387d6f805baf3b"
+ }
+ ],
+ "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": "73692e5531114d78baadefea6cddf4bb",
+ "m_Id": 0,
+ "m_DisplayName": "Metallic",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Metallic",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": [],
+ "m_LiteralMode": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "7b3c3eab0f804c7d8c9c9ce5af8744c7",
+ "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": "4bfb3e9741244a558d6791e1b5f17ae4"
+ }
+ ],
+ "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.BlockNode",
+ "m_ObjectId": "815979b175114bed9044dfb20b91790c",
+ "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": "bc61af6141f24e5dabc51315e938c95f"
+ }
+ ],
+ "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.Vector1MaterialSlot",
+ "m_ObjectId": "8548a75197454e06a5dd2fe954ceadb1",
+ "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_LiteralMode": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
+ "m_ObjectId": "8ec1d7e8e5444fbc8a01e2c053e86dd7",
+ "m_Id": 1,
+ "m_DisplayName": "Tiling",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Tiling",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 12.0,
+ "y": 12.0
+ },
+ "m_DefaultValue": {
+ "x": 1.0,
+ "y": 1.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
+ "m_ObjectId": "95333ad2d6004381a06a5f041db62680",
+ "m_Id": 1,
+ "m_DisplayName": "Color A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "ColorA",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.20000000298023225,
+ "y": 0.20000000298023225,
+ "z": 0.20000000298023225
+ },
+ "m_DefaultValue": {
+ "x": 0.20000000298023225,
+ "y": 0.20000000298023225,
+ "z": 0.20000000298023225
+ },
+ "m_Labels": [],
+ "m_ColorMode": 0,
+ "m_DefaultColor": {
+ "r": 0.20000000298023225,
+ "g": 0.20000000298023225,
+ "b": 0.20000000298023225,
+ "a": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "99b6cb1511704a1e86e6faff34f37663",
+ "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": "8548a75197454e06a5dd2fe954ceadb1"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.Occlusion"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
+ "m_ObjectId": "9a50105befaa4f1cab03963c5ad4cf5c",
+ "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
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "a0133b8a2e584af48aafaa4a544a3423",
+ "m_Name": "",
+ "m_ChildObjectList": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
+ "m_ObjectId": "bc61af6141f24e5dabc51315e938c95f",
+ "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": "be4172a5bb974e59b765d3aa5ad7b375",
+ "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": "5ad096f1da444c6ba80ea0c14e2e65f7"
+ }
+ ],
+ "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.UVMaterialSlot",
+ "m_ObjectId": "bfe9898c12a84112bbe5f7cf6040f405",
+ "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": 2,
+ "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalLitSubTarget",
+ "m_ObjectId": "e1b599f258444b71ae2b0aa245aec461",
+ "m_WorkflowMode": 1,
+ "m_NormalDropOffSpace": 0,
+ "m_ClearCoat": false,
+ "m_BlendModePreserveSpecular": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "f10b853ac6844a5d9ff7b6ac1f13ed49",
+ "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": "610f75017fb045f789ab1d99468805aa"
+ }
+ ],
+ "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.BlockNode",
+ "m_ObjectId": "f2fef095ec384bf3ac384d70a735722a",
+ "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": "3940e4ba7f734dfa864389b45c949077"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.Smoothness"
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
+ "m_ObjectId": "f4b5ea4d8de24348b436688fe867ee31",
+ "m_Datas": [],
+ "m_ActiveSubTarget": {
+ "m_Id": "e1b599f258444b71ae2b0aa245aec461"
+ },
+ "m_AllowMaterialOverride": false,
+ "m_SurfaceType": 0,
+ "m_ZTestMode": 4,
+ "m_ZWriteControl": 0,
+ "m_AlphaMode": 0,
+ "m_RenderFace": 2,
+ "m_AlphaClip": false,
+ "m_CastShadows": true,
+ "m_ReceiveShadows": true,
+ "m_DisableTint": false,
+ "m_Sort3DAs2DCompatible": false,
+ "m_AdditionalMotionVectorMode": 0,
+ "m_AlembicMotionVectors": false,
+ "m_SupportsLODCrossFade": false,
+ "m_CustomEditorGUI": "",
+ "m_SupportVFX": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
+ "m_ObjectId": "fceeee68e90849b0a25335e71856123a",
+ "m_Id": 2,
+ "m_DisplayName": "Color B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "ColorB",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.699999988079071,
+ "y": 0.699999988079071,
+ "z": 0.699999988079071
+ },
+ "m_DefaultValue": {
+ "x": 0.699999988079071,
+ "y": 0.699999988079071,
+ "z": 0.699999988079071
+ },
+ "m_Labels": [],
+ "m_ColorMode": 0,
+ "m_DefaultColor": {
+ "r": 0.699999988079071,
+ "g": 0.699999988079071,
+ "b": 0.699999988079071,
+ "a": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
+ "m_ObjectId": "fead48504e4f44998edca80e3f2df4a2",
+ "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
+}
+
diff --git a/Assets/Shaders/Checkboard.shadergraph.meta b/Assets/Shaders/Checkboard.shadergraph.meta
new file mode 100644
index 0000000..93ff589
--- /dev/null
+++ b/Assets/Shaders/Checkboard.shadergraph.meta
@@ -0,0 +1,18 @@
+fileFormatVersion: 2
+guid: 93758f40c3b60a134aa7d50cd72537ca
+ScriptedImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
+ useAsTemplate: 0
+ exposeTemplateAsShader: 0
+ template:
+ name:
+ category:
+ description:
+ icon: {instanceID: 0}
+ thumbnail: {instanceID: 0}