diff --git a/Assets/Materials/ShadowAttenuation.mat b/Assets/Materials/ShadowAttenuation.mat
new file mode 100644
index 0000000..0d761e2
--- /dev/null
+++ b/Assets/Materials/ShadowAttenuation.mat
@@ -0,0 +1,152 @@
+%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: ShadowAttenuation
+ m_Shader: {fileID: -6465566751694194690, guid: 48e516fa33913254ba9639c8cc1c89fd,
+ type: 3}
+ m_Parent: {fileID: 0}
+ m_ModifiedSerializedProperties: 0
+ m_ValidKeywords:
+ - ADDITIONAL_LIGHT_CALCULATE_SHADOWS
+ - MAIN_LIGHT_CALCULATE_SHADOWS
+ - _ADDITIONAL_LIGHTS
+ - _MAIN_LIGHT_SHADOWS_CASCADE
+ - _SHADOWS_SOFT
+ m_InvalidKeywords: []
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 0
+ m_DoubleSidedGI: 0
+ m_CustomRenderQueue: -1
+ stringTagMap: {}
+ disabledShaderPasses: []
+ 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}
+ - _SampleTexture2D_575be33f9e554879af44fc525ea5d825_Texture_1_Texture2D:
+ m_Texture: {fileID: 2800000, guid: 05cb056fb4807704d94083bc167b31f5, type: 3}
+ 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:
+ - ADDITIONAL_LIGHT_CALCULATE_SHADOWS: 1
+ - MAIN_LIGHT_CALCULATE_SHADOWS: 1
+ - _ADDITIONAL_LIGHTS: 1
+ - _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
+ - _HighlightAmount: 0.5
+ - _HighlightThreshold: 0.6
+ - _MAIN_LIGHT_SHADOWS_CASCADE: 1
+ - _Metallic: 0
+ - _OcclusionStrength: 1
+ - _Parallax: 0.005
+ - _QueueControl: 0
+ - _QueueOffset: 0
+ - _ReceiveShadows: 1
+ - _SHADOWS_SOFT: 1
+ - _ShadowAmount: 0.8
+ - _ShadowThreshold: 0.2
+ - _Smoothness: 0.5
+ - _SmoothnessTextureChannel: 0
+ - _SpecularHighlights: 1
+ - _SrcBlend: 1
+ - _SrcBlendAlpha: 1
+ - _Surface: 0
+ - _WorkflowMode: 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: []
+--- !u!114 &6435369611288099118
+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/Materials/ShadowAttenuation.mat.meta b/Assets/Materials/ShadowAttenuation.mat.meta
new file mode 100644
index 0000000..bab950e
--- /dev/null
+++ b/Assets/Materials/ShadowAttenuation.mat.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: ee6c8224eece4ea42bbbca8d2085f894
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 2100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Materials/Toon3Blue.mat b/Assets/Materials/Toon3Blue.mat
new file mode 100644
index 0000000..05adce2
--- /dev/null
+++ b/Assets/Materials/Toon3Blue.mat
@@ -0,0 +1,159 @@
+%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: Toon3Blue
+ m_Shader: {fileID: -6465566751694194690, guid: ddc18d3edb22d2249bf561d3f5c3a5a1,
+ type: 3}
+ m_Parent: {fileID: 0}
+ m_ModifiedSerializedProperties: 0
+ m_ValidKeywords:
+ - ADDITIONAL_LIGHT_CALCULATE_SHADOWS
+ - MAIN_LIGHT_CALCULATE_SHADOWS
+ - _ADDITIONAL_LIGHTS
+ - _MAIN_LIGHT_SHADOWS_CASCADE
+ - _SHADOWS_SOFT
+ m_InvalidKeywords: []
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 0
+ m_DoubleSidedGI: 0
+ m_CustomRenderQueue: -1
+ stringTagMap: {}
+ disabledShaderPasses: []
+ 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}
+ - _GetLightingInfo_8c9659aa60664d878d77b4d4c37e56e8_ShadowTexture_2069962906_Texture2D:
+ m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3}
+ 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}
+ - _MidtoneTexture:
+ m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3}
+ 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:
+ - ADDITIONAL_LIGHT_CALCULATE_SHADOWS: 1
+ - MAIN_LIGHT_CALCULATE_SHADOWS: 1
+ - _ADDITIONAL_LIGHTS: 1
+ - _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
+ - _HighlightAmount: 0.5
+ - _HighlightThreshold: 0.54
+ - _MAIN_LIGHT_SHADOWS_CASCADE: 1
+ - _Metallic: 0
+ - _OcclusionStrength: 1
+ - _Parallax: 0.005
+ - _QueueControl: 0
+ - _QueueOffset: 0
+ - _ReceiveShadows: 1
+ - _SHADOWS_SOFT: 1
+ - _ShadowAmount: 0.8
+ - _ShadowThreshold: 0.02
+ - _Smoothness: 0.5
+ - _SmoothnessTextureChannel: 0
+ - _SpecularHighlights: 1
+ - _SrcBlend: 1
+ - _SrcBlendAlpha: 1
+ - _Surface: 0
+ - _UseMidtoneTexture: 1
+ - _WorkflowMode: 1
+ - _ZWrite: 1
+ m_Colors:
+ - _BaseColor: {r: 0.3339622, g: 0.83570117, b: 1, a: 1}
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
+ - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
+ - _HighlightColor: {r: 0.63584906, g: 0.9100333, b: 1, a: 1}
+ - _ShadowColor: {r: 0.25105017, g: 0.64448804, b: 0.7735849, a: 1}
+ - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
+ m_BuildTextureStacks: []
+--- !u!114 &7947372320518126950
+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/Materials/Toon3Blue.mat.meta b/Assets/Materials/Toon3Blue.mat.meta
new file mode 100644
index 0000000..a5375bd
--- /dev/null
+++ b/Assets/Materials/Toon3Blue.mat.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 6813107a726199f47b536a2071ec42e4
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 2100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Materials/Toon3BlueSolid.mat b/Assets/Materials/Toon3BlueSolid.mat
new file mode 100644
index 0000000..727c2b5
--- /dev/null
+++ b/Assets/Materials/Toon3BlueSolid.mat
@@ -0,0 +1,159 @@
+%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: Toon3BlueSolid
+ m_Shader: {fileID: -6465566751694194690, guid: ddc18d3edb22d2249bf561d3f5c3a5a1,
+ type: 3}
+ m_Parent: {fileID: 0}
+ m_ModifiedSerializedProperties: 0
+ m_ValidKeywords:
+ - ADDITIONAL_LIGHT_CALCULATE_SHADOWS
+ - MAIN_LIGHT_CALCULATE_SHADOWS
+ - _ADDITIONAL_LIGHTS
+ - _MAIN_LIGHT_SHADOWS_CASCADE
+ - _SHADOWS_SOFT
+ m_InvalidKeywords: []
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 0
+ m_DoubleSidedGI: 0
+ m_CustomRenderQueue: -1
+ stringTagMap: {}
+ disabledShaderPasses: []
+ 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}
+ - _GetLightingInfo_8c9659aa60664d878d77b4d4c37e56e8_ShadowTexture_2069962906_Texture2D:
+ m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3}
+ 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}
+ - _MidtoneTexture:
+ m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3}
+ 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:
+ - ADDITIONAL_LIGHT_CALCULATE_SHADOWS: 1
+ - MAIN_LIGHT_CALCULATE_SHADOWS: 1
+ - _ADDITIONAL_LIGHTS: 1
+ - _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
+ - _HighlightAmount: 0.5
+ - _HighlightThreshold: 0.3
+ - _MAIN_LIGHT_SHADOWS_CASCADE: 1
+ - _Metallic: 0
+ - _OcclusionStrength: 1
+ - _Parallax: 0.005
+ - _QueueControl: 0
+ - _QueueOffset: 0
+ - _ReceiveShadows: 1
+ - _SHADOWS_SOFT: 1
+ - _ShadowAmount: 0.8
+ - _ShadowThreshold: 0.3
+ - _Smoothness: 0.5
+ - _SmoothnessTextureChannel: 0
+ - _SpecularHighlights: 1
+ - _SrcBlend: 1
+ - _SrcBlendAlpha: 1
+ - _Surface: 0
+ - _UseMidtoneTexture: 0
+ - _WorkflowMode: 1
+ - _ZWrite: 1
+ m_Colors:
+ - _BaseColor: {r: 0.3339622, g: 0.83570117, b: 1, a: 1}
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
+ - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
+ - _HighlightColor: {r: 0.63584906, g: 0.9100333, b: 1, a: 1}
+ - _ShadowColor: {r: 0.25105017, g: 0.64448804, b: 0.7735849, a: 1}
+ - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
+ m_BuildTextureStacks: []
+--- !u!114 &7947372320518126950
+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/Materials/Toon3BlueSolid.mat.meta b/Assets/Materials/Toon3BlueSolid.mat.meta
new file mode 100644
index 0000000..5f2eaba
--- /dev/null
+++ b/Assets/Materials/Toon3BlueSolid.mat.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: d851dbb8d3731604d97937627340d3f0
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 2100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Materials/Toon3Floor.mat b/Assets/Materials/Toon3Floor.mat
new file mode 100644
index 0000000..ca8787c
--- /dev/null
+++ b/Assets/Materials/Toon3Floor.mat
@@ -0,0 +1,159 @@
+%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: Toon3Floor
+ m_Shader: {fileID: -6465566751694194690, guid: ddc18d3edb22d2249bf561d3f5c3a5a1,
+ type: 3}
+ m_Parent: {fileID: 0}
+ m_ModifiedSerializedProperties: 0
+ m_ValidKeywords:
+ - ADDITIONAL_LIGHT_CALCULATE_SHADOWS
+ - MAIN_LIGHT_CALCULATE_SHADOWS
+ - _ADDITIONAL_LIGHTS
+ - _MAIN_LIGHT_SHADOWS_CASCADE
+ - _SHADOWS_SOFT
+ m_InvalidKeywords: []
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 0
+ m_DoubleSidedGI: 0
+ m_CustomRenderQueue: -1
+ stringTagMap: {}
+ disabledShaderPasses: []
+ 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}
+ - _GetLightingInfo_8c9659aa60664d878d77b4d4c37e56e8_ShadowTexture_2069962906_Texture2D:
+ m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3}
+ 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}
+ - _MidtoneTexture:
+ m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3}
+ 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:
+ - ADDITIONAL_LIGHT_CALCULATE_SHADOWS: 1
+ - MAIN_LIGHT_CALCULATE_SHADOWS: 1
+ - _ADDITIONAL_LIGHTS: 1
+ - _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
+ - _HighlightAmount: 1
+ - _HighlightThreshold: 0.54
+ - _MAIN_LIGHT_SHADOWS_CASCADE: 1
+ - _Metallic: 0
+ - _OcclusionStrength: 1
+ - _Parallax: 0.005
+ - _QueueControl: 0
+ - _QueueOffset: 0
+ - _ReceiveShadows: 1
+ - _SHADOWS_SOFT: 1
+ - _ShadowAmount: 0.8
+ - _ShadowThreshold: 0
+ - _Smoothness: 0.5
+ - _SmoothnessTextureChannel: 0
+ - _SpecularHighlights: 1
+ - _SrcBlend: 1
+ - _SrcBlendAlpha: 1
+ - _Surface: 0
+ - _UseMidtoneTexture: 1
+ - _WorkflowMode: 1
+ - _ZWrite: 1
+ m_Colors:
+ - _BaseColor: {r: 0.8679245, g: 0.8679245, b: 0.8679245, a: 1}
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
+ - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
+ - _HighlightColor: {r: 1, g: 1, b: 1, a: 1}
+ - _ShadowColor: {r: 0.5943396, g: 0.5943396, b: 0.5943396, a: 1}
+ - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
+ m_BuildTextureStacks: []
+--- !u!114 &7947372320518126950
+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/Materials/Toon3Floor.mat.meta b/Assets/Materials/Toon3Floor.mat.meta
new file mode 100644
index 0000000..a759dd0
--- /dev/null
+++ b/Assets/Materials/Toon3Floor.mat.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 0aba4cac8b2f02b4fb8fe4b6e369b242
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 2100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Materials/Toon3Gold.mat b/Assets/Materials/Toon3Gold.mat
new file mode 100644
index 0000000..c6070fa
--- /dev/null
+++ b/Assets/Materials/Toon3Gold.mat
@@ -0,0 +1,159 @@
+%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: Toon3Gold
+ m_Shader: {fileID: -6465566751694194690, guid: ddc18d3edb22d2249bf561d3f5c3a5a1,
+ type: 3}
+ m_Parent: {fileID: 0}
+ m_ModifiedSerializedProperties: 0
+ m_ValidKeywords:
+ - ADDITIONAL_LIGHT_CALCULATE_SHADOWS
+ - MAIN_LIGHT_CALCULATE_SHADOWS
+ - _ADDITIONAL_LIGHTS
+ - _MAIN_LIGHT_SHADOWS_CASCADE
+ - _SHADOWS_SOFT
+ m_InvalidKeywords: []
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 0
+ m_DoubleSidedGI: 0
+ m_CustomRenderQueue: -1
+ stringTagMap: {}
+ disabledShaderPasses: []
+ 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}
+ - _GetLightingInfo_8c9659aa60664d878d77b4d4c37e56e8_ShadowTexture_2069962906_Texture2D:
+ m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3}
+ 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}
+ - _MidtoneTexture:
+ m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3}
+ 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:
+ - ADDITIONAL_LIGHT_CALCULATE_SHADOWS: 1
+ - MAIN_LIGHT_CALCULATE_SHADOWS: 1
+ - _ADDITIONAL_LIGHTS: 1
+ - _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
+ - _HighlightAmount: 0.5
+ - _HighlightThreshold: 0.54
+ - _MAIN_LIGHT_SHADOWS_CASCADE: 1
+ - _Metallic: 0
+ - _OcclusionStrength: 1
+ - _Parallax: 0.005
+ - _QueueControl: 0
+ - _QueueOffset: 0
+ - _ReceiveShadows: 1
+ - _SHADOWS_SOFT: 1
+ - _ShadowAmount: 0.8
+ - _ShadowThreshold: 0.02
+ - _Smoothness: 0.5
+ - _SmoothnessTextureChannel: 0
+ - _SpecularHighlights: 1
+ - _SrcBlend: 1
+ - _SrcBlendAlpha: 1
+ - _Surface: 0
+ - _UseMidtoneTexture: 1
+ - _WorkflowMode: 1
+ - _ZWrite: 1
+ m_Colors:
+ - _BaseColor: {r: 1, g: 0.7189607, b: 0.22075468, a: 1}
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
+ - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
+ - _HighlightColor: {r: 1, g: 0.7783876, b: 0.390566, a: 1}
+ - _ShadowColor: {r: 0.764151, g: 0.53514165, b: 0.11822708, a: 1}
+ - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
+ m_BuildTextureStacks: []
+--- !u!114 &7947372320518126950
+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/Materials/Toon3Gold.mat.meta b/Assets/Materials/Toon3Gold.mat.meta
new file mode 100644
index 0000000..4d2e285
--- /dev/null
+++ b/Assets/Materials/Toon3Gold.mat.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 4a1074ff3bb25de40829cb6721087d2f
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 2100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Materials/Toon3Red.mat b/Assets/Materials/Toon3Red.mat
new file mode 100644
index 0000000..a60bea8
--- /dev/null
+++ b/Assets/Materials/Toon3Red.mat
@@ -0,0 +1,159 @@
+%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: Toon3Red
+ m_Shader: {fileID: -6465566751694194690, guid: ddc18d3edb22d2249bf561d3f5c3a5a1,
+ type: 3}
+ m_Parent: {fileID: 0}
+ m_ModifiedSerializedProperties: 0
+ m_ValidKeywords:
+ - ADDITIONAL_LIGHT_CALCULATE_SHADOWS
+ - MAIN_LIGHT_CALCULATE_SHADOWS
+ - _ADDITIONAL_LIGHTS
+ - _MAIN_LIGHT_SHADOWS_CASCADE
+ - _SHADOWS_SOFT
+ m_InvalidKeywords: []
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 0
+ m_DoubleSidedGI: 0
+ m_CustomRenderQueue: -1
+ stringTagMap: {}
+ disabledShaderPasses: []
+ 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}
+ - _GetLightingInfo_8c9659aa60664d878d77b4d4c37e56e8_ShadowTexture_2069962906_Texture2D:
+ m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3}
+ 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}
+ - _MidtoneTexture:
+ m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3}
+ 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:
+ - ADDITIONAL_LIGHT_CALCULATE_SHADOWS: 1
+ - MAIN_LIGHT_CALCULATE_SHADOWS: 1
+ - _ADDITIONAL_LIGHTS: 1
+ - _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
+ - _HighlightAmount: 0.5
+ - _HighlightThreshold: 0.54
+ - _MAIN_LIGHT_SHADOWS_CASCADE: 1
+ - _Metallic: 0
+ - _OcclusionStrength: 1
+ - _Parallax: 0.005
+ - _QueueControl: 0
+ - _QueueOffset: 0
+ - _ReceiveShadows: 1
+ - _SHADOWS_SOFT: 1
+ - _ShadowAmount: 0.8
+ - _ShadowThreshold: 0.02
+ - _Smoothness: 0.5
+ - _SmoothnessTextureChannel: 0
+ - _SpecularHighlights: 1
+ - _SrcBlend: 1
+ - _SrcBlendAlpha: 1
+ - _Surface: 0
+ - _UseMidtoneTexture: 1
+ - _WorkflowMode: 1
+ - _ZWrite: 1
+ m_Colors:
+ - _BaseColor: {r: 1, g: 0.22075468, b: 0.22075468, a: 1}
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
+ - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
+ - _HighlightColor: {r: 1, g: 0.50377357, b: 0.50377357, a: 1}
+ - _ShadowColor: {r: 0.7830189, g: 0.18762901, b: 0.18762901, a: 1}
+ - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
+ m_BuildTextureStacks: []
+--- !u!114 &7947372320518126950
+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/Materials/Toon3Red.mat.meta b/Assets/Materials/Toon3Red.mat.meta
new file mode 100644
index 0000000..3e96ff8
--- /dev/null
+++ b/Assets/Materials/Toon3Red.mat.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 22031dc0ab3730c4c82636e8a00e6a5c
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 2100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Materials/Toon3SolidWhite.mat b/Assets/Materials/Toon3SolidWhite.mat
new file mode 100644
index 0000000..30eaebb
--- /dev/null
+++ b/Assets/Materials/Toon3SolidWhite.mat
@@ -0,0 +1,159 @@
+%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: Toon3SolidWhite
+ m_Shader: {fileID: -6465566751694194690, guid: ddc18d3edb22d2249bf561d3f5c3a5a1,
+ type: 3}
+ m_Parent: {fileID: 0}
+ m_ModifiedSerializedProperties: 0
+ m_ValidKeywords:
+ - ADDITIONAL_LIGHT_CALCULATE_SHADOWS
+ - MAIN_LIGHT_CALCULATE_SHADOWS
+ - _ADDITIONAL_LIGHTS
+ - _MAIN_LIGHT_SHADOWS_CASCADE
+ - _SHADOWS_SOFT
+ m_InvalidKeywords: []
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 0
+ m_DoubleSidedGI: 0
+ m_CustomRenderQueue: -1
+ stringTagMap: {}
+ disabledShaderPasses: []
+ 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}
+ - _GetLightingInfo_8c9659aa60664d878d77b4d4c37e56e8_ShadowTexture_2069962906_Texture2D:
+ m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3}
+ 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}
+ - _MidtoneTexture:
+ m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3}
+ 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:
+ - ADDITIONAL_LIGHT_CALCULATE_SHADOWS: 1
+ - MAIN_LIGHT_CALCULATE_SHADOWS: 1
+ - _ADDITIONAL_LIGHTS: 1
+ - _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
+ - _HighlightAmount: 1
+ - _HighlightThreshold: -2.85
+ - _MAIN_LIGHT_SHADOWS_CASCADE: 1
+ - _Metallic: 0
+ - _OcclusionStrength: 1
+ - _Parallax: 0.005
+ - _QueueControl: 0
+ - _QueueOffset: 0
+ - _ReceiveShadows: 1
+ - _SHADOWS_SOFT: 1
+ - _ShadowAmount: 0.8
+ - _ShadowThreshold: -2.73
+ - _Smoothness: 0.5
+ - _SmoothnessTextureChannel: 0
+ - _SpecularHighlights: 1
+ - _SrcBlend: 1
+ - _SrcBlendAlpha: 1
+ - _Surface: 0
+ - _UseMidtoneTexture: 0
+ - _WorkflowMode: 1
+ - _ZWrite: 1
+ m_Colors:
+ - _BaseColor: {r: 0.8679245, g: 0.8679245, b: 0.8679245, a: 1}
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
+ - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
+ - _HighlightColor: {r: 1, g: 1, b: 1, a: 1}
+ - _ShadowColor: {r: 0.5943396, g: 0.5943396, b: 0.5943396, a: 1}
+ - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
+ m_BuildTextureStacks: []
+--- !u!114 &7947372320518126950
+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/Materials/Toon3SolidWhite.mat.meta b/Assets/Materials/Toon3SolidWhite.mat.meta
new file mode 100644
index 0000000..adcca8a
--- /dev/null
+++ b/Assets/Materials/Toon3SolidWhite.mat.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 2255f828736308b4588c08e43cf1ec6e
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 2100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Materials/Toon3Tan.mat b/Assets/Materials/Toon3Tan.mat
new file mode 100644
index 0000000..00761ef
--- /dev/null
+++ b/Assets/Materials/Toon3Tan.mat
@@ -0,0 +1,159 @@
+%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: Toon3Tan
+ m_Shader: {fileID: -6465566751694194690, guid: ddc18d3edb22d2249bf561d3f5c3a5a1,
+ type: 3}
+ m_Parent: {fileID: 0}
+ m_ModifiedSerializedProperties: 0
+ m_ValidKeywords:
+ - ADDITIONAL_LIGHT_CALCULATE_SHADOWS
+ - MAIN_LIGHT_CALCULATE_SHADOWS
+ - _ADDITIONAL_LIGHTS
+ - _MAIN_LIGHT_SHADOWS_CASCADE
+ - _SHADOWS_SOFT
+ m_InvalidKeywords: []
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 0
+ m_DoubleSidedGI: 0
+ m_CustomRenderQueue: -1
+ stringTagMap: {}
+ disabledShaderPasses: []
+ 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}
+ - _GetLightingInfo_8c9659aa60664d878d77b4d4c37e56e8_ShadowTexture_2069962906_Texture2D:
+ m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3}
+ 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}
+ - _MidtoneTexture:
+ m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3}
+ 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:
+ - ADDITIONAL_LIGHT_CALCULATE_SHADOWS: 1
+ - MAIN_LIGHT_CALCULATE_SHADOWS: 1
+ - _ADDITIONAL_LIGHTS: 1
+ - _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
+ - _HighlightAmount: 0.5
+ - _HighlightThreshold: 0.54
+ - _MAIN_LIGHT_SHADOWS_CASCADE: 1
+ - _Metallic: 0
+ - _OcclusionStrength: 1
+ - _Parallax: 0.005
+ - _QueueControl: 0
+ - _QueueOffset: 0
+ - _ReceiveShadows: 1
+ - _SHADOWS_SOFT: 1
+ - _ShadowAmount: 0.8
+ - _ShadowThreshold: 0.02
+ - _Smoothness: 0.5
+ - _SmoothnessTextureChannel: 0
+ - _SpecularHighlights: 1
+ - _SrcBlend: 1
+ - _SrcBlendAlpha: 1
+ - _Surface: 0
+ - _UseMidtoneTexture: 1
+ - _WorkflowMode: 1
+ - _ZWrite: 1
+ m_Colors:
+ - _BaseColor: {r: 0.9811321, g: 0.8068656, b: 0.50352436, a: 1}
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
+ - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
+ - _HighlightColor: {r: 1, g: 0.9060934, b: 0.7396226, a: 1}
+ - _ShadowColor: {r: 0.8679245, g: 0.71259475, b: 0.43723744, a: 1}
+ - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
+ m_BuildTextureStacks: []
+--- !u!114 &7947372320518126950
+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/Materials/Toon3Tan.mat.meta b/Assets/Materials/Toon3Tan.mat.meta
new file mode 100644
index 0000000..a0283a6
--- /dev/null
+++ b/Assets/Materials/Toon3Tan.mat.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 03a99d53a06c3d047b1c9ed8e18e7b74
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 2100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Materials/Toon3TanSolid.mat b/Assets/Materials/Toon3TanSolid.mat
new file mode 100644
index 0000000..14be38b
--- /dev/null
+++ b/Assets/Materials/Toon3TanSolid.mat
@@ -0,0 +1,159 @@
+%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: Toon3TanSolid
+ m_Shader: {fileID: -6465566751694194690, guid: ddc18d3edb22d2249bf561d3f5c3a5a1,
+ type: 3}
+ m_Parent: {fileID: 0}
+ m_ModifiedSerializedProperties: 0
+ m_ValidKeywords:
+ - ADDITIONAL_LIGHT_CALCULATE_SHADOWS
+ - MAIN_LIGHT_CALCULATE_SHADOWS
+ - _ADDITIONAL_LIGHTS
+ - _MAIN_LIGHT_SHADOWS_CASCADE
+ - _SHADOWS_SOFT
+ m_InvalidKeywords: []
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 0
+ m_DoubleSidedGI: 0
+ m_CustomRenderQueue: -1
+ stringTagMap: {}
+ disabledShaderPasses: []
+ 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}
+ - _GetLightingInfo_8c9659aa60664d878d77b4d4c37e56e8_ShadowTexture_2069962906_Texture2D:
+ m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3}
+ 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}
+ - _MidtoneTexture:
+ m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3}
+ 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:
+ - ADDITIONAL_LIGHT_CALCULATE_SHADOWS: 1
+ - MAIN_LIGHT_CALCULATE_SHADOWS: 1
+ - _ADDITIONAL_LIGHTS: 1
+ - _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
+ - _HighlightAmount: 0.5
+ - _HighlightThreshold: 0.1
+ - _MAIN_LIGHT_SHADOWS_CASCADE: 1
+ - _Metallic: 0
+ - _OcclusionStrength: 1
+ - _Parallax: 0.005
+ - _QueueControl: 0
+ - _QueueOffset: 0
+ - _ReceiveShadows: 1
+ - _SHADOWS_SOFT: 1
+ - _ShadowAmount: 0.8
+ - _ShadowThreshold: 0.1
+ - _Smoothness: 0.5
+ - _SmoothnessTextureChannel: 0
+ - _SpecularHighlights: 1
+ - _SrcBlend: 1
+ - _SrcBlendAlpha: 1
+ - _Surface: 0
+ - _UseMidtoneTexture: 0
+ - _WorkflowMode: 1
+ - _ZWrite: 1
+ m_Colors:
+ - _BaseColor: {r: 0.9811321, g: 0.8068656, b: 0.50352436, a: 1}
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
+ - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
+ - _HighlightColor: {r: 1, g: 0.9060934, b: 0.7396226, a: 1}
+ - _ShadowColor: {r: 0.8679245, g: 0.71259475, b: 0.43723744, a: 1}
+ - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
+ m_BuildTextureStacks: []
+--- !u!114 &7947372320518126950
+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/Materials/Toon3TanSolid.mat.meta b/Assets/Materials/Toon3TanSolid.mat.meta
new file mode 100644
index 0000000..dd4aa0c
--- /dev/null
+++ b/Assets/Materials/Toon3TanSolid.mat.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 63ce4651e39aaa243a9f7ce89f45c997
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 2100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Materials/Toon3White.mat b/Assets/Materials/Toon3White.mat
new file mode 100644
index 0000000..f44850a
--- /dev/null
+++ b/Assets/Materials/Toon3White.mat
@@ -0,0 +1,159 @@
+%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: Toon3White
+ m_Shader: {fileID: -6465566751694194690, guid: ddc18d3edb22d2249bf561d3f5c3a5a1,
+ type: 3}
+ m_Parent: {fileID: 0}
+ m_ModifiedSerializedProperties: 0
+ m_ValidKeywords:
+ - ADDITIONAL_LIGHT_CALCULATE_SHADOWS
+ - MAIN_LIGHT_CALCULATE_SHADOWS
+ - _ADDITIONAL_LIGHTS
+ - _MAIN_LIGHT_SHADOWS_CASCADE
+ - _SHADOWS_SOFT
+ m_InvalidKeywords: []
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 0
+ m_DoubleSidedGI: 0
+ m_CustomRenderQueue: -1
+ stringTagMap: {}
+ disabledShaderPasses: []
+ 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}
+ - _GetLightingInfo_8c9659aa60664d878d77b4d4c37e56e8_ShadowTexture_2069962906_Texture2D:
+ m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3}
+ 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}
+ - _MidtoneTexture:
+ m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3}
+ 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:
+ - ADDITIONAL_LIGHT_CALCULATE_SHADOWS: 1
+ - MAIN_LIGHT_CALCULATE_SHADOWS: 1
+ - _ADDITIONAL_LIGHTS: 1
+ - _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
+ - _HighlightAmount: 1
+ - _HighlightThreshold: 0.54
+ - _MAIN_LIGHT_SHADOWS_CASCADE: 1
+ - _Metallic: 0
+ - _OcclusionStrength: 1
+ - _Parallax: 0.005
+ - _QueueControl: 0
+ - _QueueOffset: 0
+ - _ReceiveShadows: 1
+ - _SHADOWS_SOFT: 1
+ - _ShadowAmount: 0.8
+ - _ShadowThreshold: 0.02
+ - _Smoothness: 0.5
+ - _SmoothnessTextureChannel: 0
+ - _SpecularHighlights: 1
+ - _SrcBlend: 1
+ - _SrcBlendAlpha: 1
+ - _Surface: 0
+ - _UseMidtoneTexture: 1
+ - _WorkflowMode: 1
+ - _ZWrite: 1
+ m_Colors:
+ - _BaseColor: {r: 0.8679245, g: 0.8679245, b: 0.8679245, a: 1}
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
+ - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
+ - _HighlightColor: {r: 1, g: 1, b: 1, a: 1}
+ - _ShadowColor: {r: 0.5943396, g: 0.5943396, b: 0.5943396, a: 1}
+ - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
+ m_BuildTextureStacks: []
+--- !u!114 &7947372320518126950
+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/Materials/Toon3White.mat.meta b/Assets/Materials/Toon3White.mat.meta
new file mode 100644
index 0000000..64765b6
--- /dev/null
+++ b/Assets/Materials/Toon3White.mat.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 0c074fe93d8489740b02fdece3750aa2
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 2100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Materials/ToonMaterial.mat b/Assets/Materials/ToonMaterial.mat
new file mode 100644
index 0000000..ad5f9b7
--- /dev/null
+++ b/Assets/Materials/ToonMaterial.mat
@@ -0,0 +1,144 @@
+%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: ToonMaterial
+ m_Shader: {fileID: -6465566751694194690, guid: c6aa7fe2d57109446a7e1f7bb3d4ad11,
+ type: 3}
+ m_Parent: {fileID: 0}
+ m_ModifiedSerializedProperties: 0
+ m_ValidKeywords:
+ - ADDITIONAL_LIGHT_CALCULATE_SHADOWS
+ - MAIN_LIGHT_CALCULATE_SHADOWS
+ - _ADDITIONAL_LIGHTS
+ - _MAIN_LIGHT_SHADOWS_CASCADE
+ - _SHADOWS_SOFT
+ m_InvalidKeywords: []
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 0
+ m_DoubleSidedGI: 0
+ m_CustomRenderQueue: -1
+ stringTagMap: {}
+ disabledShaderPasses: []
+ 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:
+ - ADDITIONAL_LIGHT_CALCULATE_SHADOWS: 1
+ - MAIN_LIGHT_CALCULATE_SHADOWS: 1
+ - _ADDITIONAL_LIGHTS: 1
+ - _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
+ - _MAIN_LIGHT_SHADOWS_CASCADE: 1
+ - _Metallic: 0
+ - _OcclusionStrength: 1
+ - _Parallax: 0.005
+ - _QueueControl: 0
+ - _QueueOffset: 0
+ - _ReceiveShadows: 1
+ - _SHADOWS_SOFT: 1
+ - _Smoothness: 0.5
+ - _SmoothnessTextureChannel: 0
+ - _SpecularHighlights: 1
+ - _SrcBlend: 1
+ - _SrcBlendAlpha: 1
+ - _Surface: 0
+ - _WorkflowMode: 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: []
+--- !u!114 &3548132547086209825
+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/Materials/ToonMaterial.mat.meta b/Assets/Materials/ToonMaterial.mat.meta
new file mode 100644
index 0000000..5b5c1cd
--- /dev/null
+++ b/Assets/Materials/ToonMaterial.mat.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: ef3398cdb490ab3478f82234afae3373
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 2100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Scenes/Debug.unity b/Assets/Scenes/Debug.unity
new file mode 100644
index 0000000..9056ae1
--- /dev/null
+++ b/Assets/Scenes/Debug.unity
@@ -0,0 +1,697 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!29 &1
+OcclusionCullingSettings:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_OcclusionBakeSettings:
+ smallestOccluder: 5
+ smallestHole: 0.25
+ backfaceThreshold: 100
+ m_SceneGUID: 00000000000000000000000000000000
+ m_OcclusionCullingData: {fileID: 0}
+--- !u!104 &2
+RenderSettings:
+ m_ObjectHideFlags: 0
+ serializedVersion: 9
+ m_Fog: 0
+ m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
+ m_FogMode: 3
+ m_FogDensity: 0.01
+ m_LinearFogStart: 0
+ m_LinearFogEnd: 300
+ m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
+ m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
+ m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
+ m_AmbientIntensity: 1
+ m_AmbientMode: 0
+ m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
+ m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
+ m_HaloStrength: 0.5
+ m_FlareStrength: 1
+ m_FlareFadeSpeed: 3
+ m_HaloTexture: {fileID: 0}
+ m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
+ m_DefaultReflectionMode: 0
+ m_DefaultReflectionResolution: 128
+ m_ReflectionBounces: 1
+ m_ReflectionIntensity: 1
+ m_CustomReflection: {fileID: 0}
+ m_Sun: {fileID: 0}
+ m_IndirectSpecularColor: {r: 0.18028378, g: 0.22571412, b: 0.30692285, a: 1}
+ m_UseRadianceAmbientProbe: 0
+--- !u!157 &3
+LightmapSettings:
+ m_ObjectHideFlags: 0
+ serializedVersion: 12
+ m_GIWorkflowMode: 1
+ m_GISettings:
+ serializedVersion: 2
+ m_BounceScale: 1
+ m_IndirectOutputScale: 1
+ m_AlbedoBoost: 1
+ m_EnvironmentLightingMode: 0
+ m_EnableBakedLightmaps: 1
+ m_EnableRealtimeLightmaps: 0
+ m_LightmapEditorSettings:
+ serializedVersion: 12
+ m_Resolution: 2
+ m_BakeResolution: 40
+ m_AtlasSize: 1024
+ m_AO: 0
+ m_AOMaxDistance: 1
+ m_CompAOExponent: 1
+ m_CompAOExponentDirect: 0
+ m_ExtractAmbientOcclusion: 0
+ m_Padding: 2
+ m_LightmapParameters: {fileID: 0}
+ m_LightmapsBakeMode: 1
+ m_TextureCompression: 1
+ m_FinalGather: 0
+ m_FinalGatherFiltering: 1
+ m_FinalGatherRayCount: 256
+ m_ReflectionCompression: 2
+ m_MixedBakeMode: 2
+ m_BakeBackend: 1
+ m_PVRSampling: 1
+ m_PVRDirectSampleCount: 32
+ m_PVRSampleCount: 512
+ m_PVRBounces: 2
+ m_PVREnvironmentSampleCount: 256
+ m_PVREnvironmentReferencePointCount: 2048
+ m_PVRFilteringMode: 1
+ m_PVRDenoiserTypeDirect: 1
+ m_PVRDenoiserTypeIndirect: 1
+ m_PVRDenoiserTypeAO: 1
+ m_PVRFilterTypeDirect: 0
+ m_PVRFilterTypeIndirect: 0
+ m_PVRFilterTypeAO: 0
+ m_PVREnvironmentMIS: 1
+ m_PVRCulling: 1
+ m_PVRFilteringGaussRadiusDirect: 1
+ m_PVRFilteringGaussRadiusIndirect: 5
+ m_PVRFilteringGaussRadiusAO: 2
+ m_PVRFilteringAtrousPositionSigmaDirect: 0.5
+ m_PVRFilteringAtrousPositionSigmaIndirect: 2
+ m_PVRFilteringAtrousPositionSigmaAO: 1
+ m_ExportTrainingData: 0
+ m_TrainingDataDestination: TrainingData
+ m_LightProbeSampleCountMultiplier: 4
+ m_LightingDataAsset: {fileID: 0}
+ m_LightingSettings: {fileID: 0}
+--- !u!196 &4
+NavMeshSettings:
+ serializedVersion: 2
+ m_ObjectHideFlags: 0
+ m_BuildSettings:
+ serializedVersion: 3
+ agentTypeID: 0
+ agentRadius: 0.5
+ agentHeight: 2
+ agentSlope: 45
+ agentClimb: 0.4
+ ledgeDropHeight: 0
+ maxJumpAcrossDistance: 0
+ minRegionArea: 2
+ manualCellSize: 0
+ cellSize: 0.16666667
+ manualTileSize: 0
+ tileSize: 256
+ buildHeightMesh: 0
+ maxJobWorkers: 0
+ preserveTilesOutsideBounds: 0
+ debug:
+ m_Flags: 0
+ m_NavMeshData: {fileID: 0}
+--- !u!1 &330585543
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 330585546}
+ - component: {fileID: 330585545}
+ - component: {fileID: 330585544}
+ - component: {fileID: 330585547}
+ m_Layer: 0
+ m_Name: Main Camera
+ m_TagString: MainCamera
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!81 &330585544
+AudioListener:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 330585543}
+ m_Enabled: 1
+--- !u!20 &330585545
+Camera:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 330585543}
+ m_Enabled: 1
+ serializedVersion: 2
+ m_ClearFlags: 1
+ m_BackGroundColor: {r: 1, g: 1, b: 1, a: 0}
+ m_projectionMatrixMode: 1
+ m_GateFitMode: 2
+ m_FOVAxisMode: 0
+ m_Iso: 200
+ m_ShutterSpeed: 0.005
+ m_Aperture: 16
+ m_FocusDistance: 10
+ m_FocalLength: 50
+ m_BladeCount: 5
+ m_Curvature: {x: 2, y: 11}
+ m_BarrelClipping: 0.25
+ m_Anamorphism: 0
+ m_SensorSize: {x: 36, y: 24}
+ m_LensShift: {x: 0, y: 0}
+ m_NormalizedViewPortRect:
+ serializedVersion: 2
+ x: 0
+ y: 0
+ width: 1
+ height: 1
+ near clip plane: 0.3
+ far clip plane: 1000
+ field of view: 60
+ orthographic: 0
+ orthographic size: 5
+ m_Depth: -1
+ m_CullingMask:
+ serializedVersion: 2
+ m_Bits: 4294967295
+ m_RenderingPath: -1
+ m_TargetTexture: {fileID: 0}
+ m_TargetDisplay: 0
+ m_TargetEye: 3
+ m_HDR: 1
+ m_AllowMSAA: 1
+ m_AllowDynamicResolution: 0
+ m_ForceIntoRT: 0
+ m_OcclusionCulling: 1
+ m_StereoConvergence: 10
+ m_StereoSeparation: 0.022
+--- !u!4 &330585546
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 330585543}
+ serializedVersion: 2
+ m_LocalRotation: {x: -0.033433102, y: 0.72074836, z: -0.034845546, w: -0.69151276}
+ m_LocalPosition: {x: 4.8398438, y: 2, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_LocalEulerAnglesHint: {x: 20.991, y: -91.436, z: -0.515}
+--- !u!114 &330585547
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 330585543}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_RenderShadows: 1
+ m_RequiresDepthTextureOption: 2
+ m_RequiresOpaqueTextureOption: 2
+ m_CameraType: 0
+ m_Cameras: []
+ m_RendererIndex: -1
+ m_VolumeLayerMask:
+ serializedVersion: 2
+ m_Bits: 1
+ m_VolumeTrigger: {fileID: 0}
+ m_VolumeFrameworkUpdateModeOption: 2
+ m_RenderPostProcessing: 0
+ m_Antialiasing: 0
+ m_AntialiasingQuality: 2
+ m_StopNaN: 0
+ m_Dithering: 0
+ m_ClearDepth: 1
+ m_AllowXRRendering: 1
+ m_AllowHDROutput: 1
+ m_UseScreenCoordOverride: 0
+ m_ScreenSizeOverride: {x: 0, y: 0, z: 0, w: 0}
+ m_ScreenCoordScaleBias: {x: 0, y: 0, z: 0, w: 0}
+ m_RequiresDepthTexture: 0
+ m_RequiresColorTexture: 0
+ m_Version: 2
+ m_TaaSettings:
+ quality: 3
+ frameInfluence: 0.1
+ jitterScale: 1
+ mipBias: 0
+ varianceClampScale: 0.9
+ contrastAdaptiveSharpening: 0
+--- !u!1 &410087039
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 410087041}
+ - component: {fileID: 410087040}
+ - component: {fileID: 410087042}
+ m_Layer: 0
+ m_Name: Directional Light
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!108 &410087040
+Light:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 410087039}
+ m_Enabled: 1
+ serializedVersion: 10
+ m_Type: 1
+ m_Shape: 0
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_Intensity: 1
+ m_Range: 10
+ m_SpotAngle: 30
+ m_InnerSpotAngle: 21.80208
+ m_CookieSize: 10
+ m_Shadows:
+ m_Type: 2
+ m_Resolution: -1
+ m_CustomResolution: -1
+ m_Strength: 1
+ m_Bias: 0.05
+ m_NormalBias: 0.4
+ m_NearPlane: 0.2
+ m_CullingMatrixOverride:
+ e00: 1
+ e01: 0
+ e02: 0
+ e03: 0
+ e10: 0
+ e11: 1
+ e12: 0
+ e13: 0
+ e20: 0
+ e21: 0
+ e22: 1
+ e23: 0
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ m_UseCullingMatrixOverride: 0
+ m_Cookie: {fileID: 0}
+ m_DrawHalo: 0
+ m_Flare: {fileID: 0}
+ m_RenderMode: 0
+ m_CullingMask:
+ serializedVersion: 2
+ m_Bits: 4294967295
+ m_RenderingLayerMask: 1
+ m_Lightmapping: 4
+ m_LightShadowCasterMode: 0
+ m_AreaSize: {x: 1, y: 1}
+ m_BounceIntensity: 1
+ m_ColorTemperature: 6853
+ m_UseColorTemperature: 1
+ m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
+ m_UseBoundingSphereOverride: 0
+ m_UseViewFrustumForShadowCasterCull: 1
+ m_ShadowRadius: 0
+ m_ShadowAngle: 0
+--- !u!4 &410087041
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 410087039}
+ serializedVersion: 2
+ m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
+ m_LocalPosition: {x: 0, y: 3, z: -2.61}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
+--- !u!114 &410087042
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 410087039}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 474bcb49853aa07438625e644c072ee6, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Version: 3
+ m_UsePipelineSettings: 1
+ m_AdditionalLightsShadowResolutionTier: 2
+ m_LightLayerMask: 1
+ m_RenderingLayers: 1
+ m_CustomShadowLayers: 0
+ m_ShadowLayerMask: 1
+ m_ShadowRenderingLayers: 1
+ m_LightCookieSize: {x: 1, y: 1}
+ m_LightCookieOffset: {x: 0, y: 0}
+ m_SoftShadowQuality: 1
+--- !u!1 &1309247978
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1309247982}
+ - component: {fileID: 1309247981}
+ - component: {fileID: 1309247980}
+ - component: {fileID: 1309247979}
+ m_Layer: 0
+ m_Name: Plane
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!64 &1309247979
+MeshCollider:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1309247978}
+ 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: 10209, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!23 &1309247980
+MeshRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1309247978}
+ 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: 0c074fe93d8489740b02fdece3750aa2, 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 &1309247981
+MeshFilter:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1309247978}
+ m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!4 &1309247982
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1309247978}
+ 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: 1
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1001 &1599074629
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 0}
+ m_Modifications:
+ - target: {fileID: -8679921383154817045, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_LocalScale.x
+ value: 0.3
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_LocalScale.y
+ value: 0.3
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_LocalScale.z
+ value: 0.3
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_LocalPosition.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_LocalRotation.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_LocalRotation.y
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_LocalRotation.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 180
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_ConstrainProportionsScale
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: -8641252633879188597, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 03a99d53a06c3d047b1c9ed8e18e7b74, type: 2}
+ - target: {fileID: -8602433362572305629, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 03a99d53a06c3d047b1c9ed8e18e7b74, type: 2}
+ - target: {fileID: -7407988419630983719, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 0c074fe93d8489740b02fdece3750aa2, type: 2}
+ - target: {fileID: -5733981035308023022, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 6813107a726199f47b536a2071ec42e4, type: 2}
+ - target: {fileID: -5493175262189019911, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 6813107a726199f47b536a2071ec42e4, type: 2}
+ - target: {fileID: -5326866014839177254, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 0c074fe93d8489740b02fdece3750aa2, type: 2}
+ - target: {fileID: -4982485458470054150, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 03a99d53a06c3d047b1c9ed8e18e7b74, type: 2}
+ - target: {fileID: -2750859397604594270, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 03a99d53a06c3d047b1c9ed8e18e7b74, type: 2}
+ - target: {fileID: -1705196261938046187, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 0c074fe93d8489740b02fdece3750aa2, type: 2}
+ - target: {fileID: -742350899316325245, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 4a1074ff3bb25de40829cb6721087d2f, type: 2}
+ - target: {fileID: -534966553111944830, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 0c074fe93d8489740b02fdece3750aa2, type: 2}
+ - target: {fileID: 744112959957790968, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 0c074fe93d8489740b02fdece3750aa2, type: 2}
+ - target: {fileID: 919132149155446097, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Name
+ value: Sonic Model
+ objectReference: {fileID: 0}
+ - target: {fileID: 2035337607983341931, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 22031dc0ab3730c4c82636e8a00e6a5c, type: 2}
+ - target: {fileID: 2035337607983341931, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[1]
+ value:
+ objectReference: {fileID: 2100000, guid: 0c074fe93d8489740b02fdece3750aa2, type: 2}
+ - target: {fileID: 2389692026055523335, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 0c074fe93d8489740b02fdece3750aa2, type: 2}
+ - target: {fileID: 2413864688904672789, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 6813107a726199f47b536a2071ec42e4, type: 2}
+ - target: {fileID: 3253409454975574844, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 03a99d53a06c3d047b1c9ed8e18e7b74, type: 2}
+ - target: {fileID: 5188758170544245908, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 0c074fe93d8489740b02fdece3750aa2, type: 2}
+ - target: {fileID: 5804768582271061324, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 6813107a726199f47b536a2071ec42e4, type: 2}
+ - target: {fileID: 5955265388225236956, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 4a1074ff3bb25de40829cb6721087d2f, type: 2}
+ - target: {fileID: 8259033719123135965, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 22031dc0ab3730c4c82636e8a00e6a5c, type: 2}
+ - target: {fileID: 8259033719123135965, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[1]
+ value:
+ objectReference: {fileID: 2100000, guid: 0c074fe93d8489740b02fdece3750aa2, type: 2}
+ - target: {fileID: 9074906319803942526, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 03a99d53a06c3d047b1c9ed8e18e7b74, type: 2}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: 221abe15e8e581b43bb1d0dc4e10c784, type: 3}
+--- !u!1660057539 &9223372036854775807
+SceneRoots:
+ m_ObjectHideFlags: 0
+ m_Roots:
+ - {fileID: 330585546}
+ - {fileID: 410087041}
+ - {fileID: 1309247982}
+ - {fileID: 1599074629}
diff --git a/Assets/Scenes/Debug.unity.meta b/Assets/Scenes/Debug.unity.meta
new file mode 100644
index 0000000..fc3fc98
--- /dev/null
+++ b/Assets/Scenes/Debug.unity.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 4e991af0bfbdb7340980870c44190d1f
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Scenes/Lab Scene 1.unity b/Assets/Scenes/Lab Scene 1.unity
index acae54e..4d391a8 100644
--- a/Assets/Scenes/Lab Scene 1.unity
+++ b/Assets/Scenes/Lab Scene 1.unity
@@ -556,7 +556,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- - {fileID: 2100000, guid: d60db1350aa31bd4080a3bb5e2541934, type: 2}
+ - {fileID: 2100000, guid: ef3398cdb490ab3478f82234afae3373, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@@ -662,7 +662,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- - {fileID: 2100000, guid: d60db1350aa31bd4080a3bb5e2541934, type: 2}
+ - {fileID: 2100000, guid: ef3398cdb490ab3478f82234afae3373, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
diff --git a/Assets/Scenes/Lab Scene 2.unity b/Assets/Scenes/Lab Scene 2.unity
index fae77c0..f137c6b 100644
--- a/Assets/Scenes/Lab Scene 2.unity
+++ b/Assets/Scenes/Lab Scene 2.unity
@@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
- m_IndirectSpecularColor: {r: 0.18028378, g: 0.22571412, b: 0.30692285, a: 1}
+ m_IndirectSpecularColor: {r: 0.18225935, g: 0.22796467, b: 0.30734423, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
@@ -333,7 +333,7 @@ Light:
m_LightShadowCasterMode: 0
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
- m_ColorTemperature: 5000
+ m_ColorTemperature: 6853
m_UseColorTemperature: 1
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
m_UseBoundingSphereOverride: 0
@@ -348,13 +348,13 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 410087039}
serializedVersion: 2
- m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
- m_LocalPosition: {x: 0, y: 3, z: -2.61}
+ m_LocalRotation: {x: 0.23259722, y: -0.2815755, z: 0.58969426, w: 0.72032946}
+ m_LocalPosition: {x: 1.296, y: 3, z: -1.861}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
- m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
+ m_LocalEulerAnglesHint: {x: 41.85, y: -10.155, z: 74.719}
--- !u!114 &410087042
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -439,7 +439,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- - {fileID: 2100000, guid: d60db1350aa31bd4080a3bb5e2541934, type: 2}
+ - {fileID: 2100000, guid: 0aba4cac8b2f02b4fb8fe4b6e369b242, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@@ -566,47 +566,122 @@ PrefabInstance:
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
- objectReference: {fileID: 2100000, guid: d60db1350aa31bd4080a3bb5e2541934, type: 2}
+ objectReference: {fileID: 2100000, guid: 03a99d53a06c3d047b1c9ed8e18e7b74, type: 2}
+ - target: {fileID: -8602433362572305629, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 63ce4651e39aaa243a9f7ce89f45c997, type: 2}
+ - target: {fileID: -7407988419630983719, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 0c074fe93d8489740b02fdece3750aa2, type: 2}
+ - target: {fileID: -5733981035308023022, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 6813107a726199f47b536a2071ec42e4, type: 2}
- target: {fileID: -5493175262189019911, guid: 221abe15e8e581b43bb1d0dc4e10c784,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
- objectReference: {fileID: 2100000, guid: d60db1350aa31bd4080a3bb5e2541934, type: 2}
+ objectReference: {fileID: 2100000, guid: d851dbb8d3731604d97937627340d3f0, type: 2}
+ - target: {fileID: -5326866014839177254, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 0c074fe93d8489740b02fdece3750aa2, type: 2}
- target: {fileID: -4982485458470054150, guid: 221abe15e8e581b43bb1d0dc4e10c784,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
- objectReference: {fileID: 2100000, guid: d60db1350aa31bd4080a3bb5e2541934, type: 2}
+ objectReference: {fileID: 2100000, guid: 03a99d53a06c3d047b1c9ed8e18e7b74, type: 2}
+ - target: {fileID: -2750859397604594270, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 63ce4651e39aaa243a9f7ce89f45c997, type: 2}
- target: {fileID: -1705196261938046187, guid: 221abe15e8e581b43bb1d0dc4e10c784,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
- objectReference: {fileID: 2100000, guid: d60db1350aa31bd4080a3bb5e2541934, type: 2}
+ objectReference: {fileID: 2100000, guid: 2255f828736308b4588c08e43cf1ec6e, type: 2}
+ - target: {fileID: -742350899316325245, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 4a1074ff3bb25de40829cb6721087d2f, type: 2}
- target: {fileID: -534966553111944830, guid: 221abe15e8e581b43bb1d0dc4e10c784,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
- objectReference: {fileID: 2100000, guid: d60db1350aa31bd4080a3bb5e2541934, type: 2}
+ objectReference: {fileID: 2100000, guid: 0c074fe93d8489740b02fdece3750aa2, type: 2}
- target: {fileID: 744112959957790968, guid: 221abe15e8e581b43bb1d0dc4e10c784,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
- objectReference: {fileID: 2100000, guid: d60db1350aa31bd4080a3bb5e2541934, type: 2}
+ objectReference: {fileID: 2100000, guid: 0c074fe93d8489740b02fdece3750aa2, type: 2}
- target: {fileID: 919132149155446097, guid: 221abe15e8e581b43bb1d0dc4e10c784,
type: 3}
propertyPath: m_Name
value: Sonic Model
objectReference: {fileID: 0}
+ - target: {fileID: 2035337607983341931, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 22031dc0ab3730c4c82636e8a00e6a5c, type: 2}
+ - target: {fileID: 2035337607983341931, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[1]
+ value:
+ objectReference: {fileID: 2100000, guid: 0c074fe93d8489740b02fdece3750aa2, type: 2}
+ - target: {fileID: 2389692026055523335, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 0c074fe93d8489740b02fdece3750aa2, type: 2}
+ - target: {fileID: 2413864688904672789, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 6813107a726199f47b536a2071ec42e4, type: 2}
+ - target: {fileID: 3253409454975574844, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 03a99d53a06c3d047b1c9ed8e18e7b74, type: 2}
- target: {fileID: 5188758170544245908, guid: 221abe15e8e581b43bb1d0dc4e10c784,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
- objectReference: {fileID: 2100000, guid: d60db1350aa31bd4080a3bb5e2541934, type: 2}
+ objectReference: {fileID: 2100000, guid: 0c074fe93d8489740b02fdece3750aa2, type: 2}
- target: {fileID: 5804768582271061324, guid: 221abe15e8e581b43bb1d0dc4e10c784,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
- objectReference: {fileID: 2100000, guid: d60db1350aa31bd4080a3bb5e2541934, type: 2}
+ objectReference: {fileID: 2100000, guid: 6813107a726199f47b536a2071ec42e4, type: 2}
+ - target: {fileID: 5955265388225236956, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 4a1074ff3bb25de40829cb6721087d2f, type: 2}
+ - target: {fileID: 8259033719123135965, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 22031dc0ab3730c4c82636e8a00e6a5c, type: 2}
+ - target: {fileID: 8259033719123135965, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[1]
+ value:
+ objectReference: {fileID: 2100000, guid: 0c074fe93d8489740b02fdece3750aa2, type: 2}
+ - target: {fileID: 9074906319803942526, guid: 221abe15e8e581b43bb1d0dc4e10c784,
+ type: 3}
+ propertyPath: m_Materials.Array.data[0]
+ value:
+ objectReference: {fileID: 2100000, guid: 63ce4651e39aaa243a9f7ce89f45c997, type: 2}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
diff --git a/Assets/Shaders/(TO-DO) Toon Shader.shadergraph b/Assets/Shaders/(TO-DO) Toon Shader.shadergraph
index 3bf3605..e6f0298 100644
--- a/Assets/Shaders/(TO-DO) Toon Shader.shadergraph
+++ b/Assets/Shaders/(TO-DO) Toon Shader.shadergraph
@@ -2,7 +2,17 @@
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "d319c495e5d743d78ca9f6a4bfb83e8b",
- "m_Properties": [],
+ "m_Properties": [
+ {
+ "m_Id": "a94b106472d64bcaa6754e3ef7cc65c5"
+ },
+ {
+ "m_Id": "48c61fe16e8c4e129cdfa703ccba13e2"
+ },
+ {
+ "m_Id": "7eb5a92e8e42466b8fce2e3495393fef"
+ }
+ ],
"m_Keywords": [
{
"m_Id": "e5a71d711c86416886b209ec634fe2f6"
@@ -38,15 +48,262 @@
},
{
"m_Id": "48bdfdf3936944fd964058d7ca97fe50"
+ },
+ {
+ "m_Id": "1240eeb56a0f4eedba1b33d371332336"
+ },
+ {
+ "m_Id": "4c72bad201804a8082ae8873ab044c2c"
+ },
+ {
+ "m_Id": "dab509fa82b747178a15732d467e0809"
+ },
+ {
+ "m_Id": "c0f6273fc33a43fca326b994b2ce8e01"
+ },
+ {
+ "m_Id": "8daed7d95ca04ba2bba706ea4b37dfa9"
+ },
+ {
+ "m_Id": "64becd8858b44a9d928165ecee44401f"
+ },
+ {
+ "m_Id": "eb065c55b8654c77ae049ed667729dde"
+ },
+ {
+ "m_Id": "ca8f31d6fc85411ab94746da159c0493"
+ },
+ {
+ "m_Id": "a522c08df62c48e0ae72da9cfbdebe67"
+ },
+ {
+ "m_Id": "fc0966f955454046b4c34b4eea3614e4"
+ },
+ {
+ "m_Id": "e65e081075524b13a1a92de87f57966b"
+ },
+ {
+ "m_Id": "6cb92ee886ed415b856f434e23cb001a"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
- "m_Edges": [],
+ "m_Edges": [
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "1240eeb56a0f4eedba1b33d371332336"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "6cb92ee886ed415b856f434e23cb001a"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "4c72bad201804a8082ae8873ab044c2c"
+ },
+ "m_SlotId": 1
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "6cb92ee886ed415b856f434e23cb001a"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "4c72bad201804a8082ae8873ab044c2c"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "c0f6273fc33a43fca326b994b2ce8e01"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "4c72bad201804a8082ae8873ab044c2c"
+ },
+ "m_SlotId": 3
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "ca8f31d6fc85411ab94746da159c0493"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "4c72bad201804a8082ae8873ab044c2c"
+ },
+ "m_SlotId": 4
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "ca8f31d6fc85411ab94746da159c0493"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "64becd8858b44a9d928165ecee44401f"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "1240eeb56a0f4eedba1b33d371332336"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "6cb92ee886ed415b856f434e23cb001a"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "48bdfdf3936944fd964058d7ca97fe50"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "8daed7d95ca04ba2bba706ea4b37dfa9"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "c0f6273fc33a43fca326b994b2ce8e01"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "a522c08df62c48e0ae72da9cfbdebe67"
+ },
+ "m_SlotId": 1
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "fc0966f955454046b4c34b4eea3614e4"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "c0f6273fc33a43fca326b994b2ce8e01"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "a522c08df62c48e0ae72da9cfbdebe67"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "ca8f31d6fc85411ab94746da159c0493"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "fc0966f955454046b4c34b4eea3614e4"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "dab509fa82b747178a15732d467e0809"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "4c72bad201804a8082ae8873ab044c2c"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "e65e081075524b13a1a92de87f57966b"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "1240eeb56a0f4eedba1b33d371332336"
+ },
+ "m_SlotId": 5
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "eb065c55b8654c77ae049ed667729dde"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "1240eeb56a0f4eedba1b33d371332336"
+ },
+ "m_SlotId": 3
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "fc0966f955454046b4c34b4eea3614e4"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "1240eeb56a0f4eedba1b33d371332336"
+ },
+ "m_SlotId": 4
+ }
+ }
+ ],
"m_VertexContext": {
"m_Position": {
- "x": 124.66666412353516,
- "y": 25.333330154418947
+ "x": 630.3999633789063,
+ "y": 280.0000305175781
},
"m_Blocks": [
{
@@ -62,8 +319,8 @@
},
"m_FragmentContext": {
"m_Position": {
- "x": 125.33332824707031,
- "y": 260.0
+ "x": 631.199951171875,
+ "y": 515.2000122070313
},
"m_Blocks": [
{
@@ -91,6 +348,21 @@
]
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "076bb90f581744728e5459e076b10cd2",
+ "m_Id": 4,
+ "m_DisplayName": "ShadowAtten",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "ShadowAtten",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
@@ -116,6 +388,106 @@
"m_IsEditable": true
}
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
+ "m_ObjectId": "1240eeb56a0f4eedba1b33d371332336",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "ChooseColor (Custom Function)",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 65.5999755859375,
+ "y": 520.7999267578125,
+ "width": 229.5999755859375,
+ "height": 349.60009765625
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "7857280beb4546fcac4ca287bd4c8ce5"
+ },
+ {
+ "m_Id": "7a24271e4a6542a2a87a19624360d194"
+ },
+ {
+ "m_Id": "9d3627ec30fb48d0bf4cab370e8a9435"
+ },
+ {
+ "m_Id": "d625f1266a9e4126b4a7db43cbef7d12"
+ },
+ {
+ "m_Id": "270bbda4e4dd4a98a0abc3d9d2db677c"
+ }
+ ],
+ "synonyms": [
+ "code",
+ "HLSL"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SourceType": 0,
+ "m_FunctionName": "ChooseColor",
+ "m_FunctionSource": "9c2401c89f3acce4fbc7d5b66a67225b",
+ "m_FunctionBody": "Enter function body here..."
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "132e20aef2984558bd8031ef66c4566f",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
@@ -144,6 +516,163 @@
"m_ObjectId": "26157d021b81491c86e9452f8159ac27"
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "270bbda4e4dd4a98a0abc3d9d2db677c",
+ "m_Id": 0,
+ "m_DisplayName": "OUT",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "OUT",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "287d6989db0e454f98b42b473f6be3be",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "29b51a948be04a588dd2c9d55822bb6d",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "2c7e377560f84acf96eb5aef16faf137",
+ "m_Id": 2,
+ "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_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "2e28b74ebad44d2b97a24045a037baa7",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
@@ -178,30 +707,98 @@
"m_SerializedDescriptor": "SurfaceDescription.BaseColor"
}
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
+ "m_ObjectId": "48c61fe16e8c4e129cdfa703ccba13e2",
+ "m_Guid": {
+ "m_GuidSerialized": "80d34161-fcbe-4810-ba99-004739de7ce5"
+ },
+ "m_Name": "Shadow",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Shadow",
+ "m_DefaultReferenceName": "_Shadow",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "r": 0.5283018946647644,
+ "g": 0.17643286287784577,
+ "b": 0.40192899107933047,
+ "a": 0.0
+ },
+ "isMainColor": false,
+ "m_ColorMode": 0
+}
+
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.BlockNode",
- "m_ObjectId": "67074c7db931474f93a92686f1e963f0",
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "4ac8c228c0e346c2800e0cbfd362b43b",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
+ "m_ObjectId": "4c72bad201804a8082ae8873ab044c2c",
"m_Group": {
"m_Id": ""
},
- "m_Name": "VertexDescription.Normal",
+ "m_Name": "GetMainLight (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 0.0,
- "y": 0.0,
- "width": 0.0,
- "height": 0.0
+ "x": -1263.2000732421875,
+ "y": 384.79998779296877,
+ "width": 232.0,
+ "height": 349.60003662109377
}
},
"m_Slots": [
{
- "m_Id": "b9ea3672569d404fa365dcd82b6e26bd"
+ "m_Id": "76cf7e4763d04205985b3f16171aa02f"
+ },
+ {
+ "m_Id": "e24c905672d84beebaec1daa91a2fcfa"
+ },
+ {
+ "m_Id": "4f77fa10dcc8466688864031e71d8a96"
+ },
+ {
+ "m_Id": "d9ab6ef5ba7c44d1a29da93ea139b3f5"
+ },
+ {
+ "m_Id": "076bb90f581744728e5459e076b10cd2"
}
],
- "synonyms": [],
+ "synonyms": [
+ "code",
+ "HLSL"
+ ],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
@@ -209,17 +806,298 @@
"m_CustomColors": {
"m_SerializableColors": []
},
- "m_SerializedDescriptor": "VertexDescription.Normal"
+ "m_SourceType": 0,
+ "m_FunctionName": "GetMainLight",
+ "m_FunctionSource": "9c2401c89f3acce4fbc7d5b66a67225b",
+ "m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.BlockNode",
- "m_ObjectId": "7934d389d74d40da8657cd6d83d38935",
- "m_Group": {
- "m_Id": ""
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "4f77fa10dcc8466688864031e71d8a96",
+ "m_Id": 2,
+ "m_DisplayName": "Direction",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Direction",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
},
- "m_Name": "VertexDescription.Position",
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "561428f562f0412597ceec4d534cbccb",
+ "m_Id": 1,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "64becd8858b44a9d928165ecee44401f",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -155.20001220703126,
+ "y": 419.9999694824219,
+ "width": 124.00003814697266,
+ "height": 33.600006103515628
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "f5bddbf89db44c1eb4c96e226ff234b0"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "a94b106472d64bcaa6754e3ef7cc65c5"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "67074c7db931474f93a92686f1e963f0",
+ "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": "b9ea3672569d404fa365dcd82b6e26bd"
+ }
+ ],
+ "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.MultiplyNode",
+ "m_ObjectId": "6cb92ee886ed415b856f434e23cb001a",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 367.552978515625,
+ "y": 563.5529174804688,
+ "width": 208.00003051757813,
+ "height": 301.5999755859375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "71f23c59dd6b49ccbe56d4b8b7b70edd"
+ },
+ {
+ "m_Id": "132e20aef2984558bd8031ef66c4566f"
+ },
+ {
+ "m_Id": "29b51a948be04a588dd2c9d55822bb6d"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "71f23c59dd6b49ccbe56d4b8b7b70edd",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "74cccb5d454747459e5147d01ac94f42",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 1.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": "76cf7e4763d04205985b3f16171aa02f",
+ "m_Id": 0,
+ "m_DisplayName": "WorldPos",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "WorldPos",
+ "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": "7857280beb4546fcac4ca287bd4c8ce5",
+ "m_Id": 1,
+ "m_DisplayName": "Highlight",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Highlight",
+ "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": "7934d389d74d40da8657cd6d83d38935",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "VertexDescription.Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
@@ -248,48 +1126,715 @@
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.BlockNode",
- "m_ObjectId": "9d590a060a6245988f804fe7abc93a7b",
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "7a24271e4a6542a2a87a19624360d194",
+ "m_Id": 3,
+ "m_DisplayName": "Shadow",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Shadow",
+ "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": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "7eb5a92e8e42466b8fce2e3495393fef",
+ "m_Guid": {
+ "m_GuidSerialized": "2e239ef5-6224-4600-b7f4-e557f65be907"
+ },
+ "m_Name": "Threshold",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Threshold",
+ "m_DefaultReferenceName": "_Threshold",
+ "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.20000000298023225,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "819f86a1ab4e4ba984ef1bbcb0a0092e",
+ "m_Id": 0,
+ "m_DisplayName": "Shadow",
+ "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.Vector1MaterialSlot",
+ "m_ObjectId": "8442742064ca4bb8921b7d08219b8bf6",
+ "m_Id": 0,
+ "m_DisplayName": "Threshold",
+ "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.NormalVectorNode",
+ "m_ObjectId": "8daed7d95ca04ba2bba706ea4b37dfa9",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Normal Vector",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1162.4000244140625,
+ "y": 231.1999969482422,
+ "width": 205.5999755859375,
+ "height": 128.7999725341797
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "4ac8c228c0e346c2800e0cbfd362b43b"
+ }
+ ],
+ "synonyms": [
+ "surface direction"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 2,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Space": 2
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "9d3627ec30fb48d0bf4cab370e8a9435",
+ "m_Id": 4,
+ "m_DisplayName": "Diffuse",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Diffuse",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "9d590a060a6245988f804fe7abc93a7b",
+ "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": "9dabadec240d422faed42460e368e458"
+ }
+ ],
+ "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.TangentMaterialSlot",
+ "m_ObjectId": "9dabadec240d422faed42460e368e458",
+ "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": 1,
+ "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
+ "m_ObjectId": "a1669d731be94e2c83f4ee08f8a9f669",
+ "m_Guid": {
+ "m_GuidSerialized": "e476794b-ba20-4ab6-8038-e8bda11c9d8c"
+ },
+ "m_Name": "Shadows",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Shadows",
+ "m_DefaultReferenceName": "_SHADOWS",
+ "m_OverrideReferenceName": "MAIN_LIGHT_CALCULATE_SHADOWS",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_KeywordType": 0,
+ "m_KeywordDefinition": 1,
+ "m_KeywordScope": 0,
+ "m_KeywordStages": 63,
+ "m_Entries": [],
+ "m_Value": 1,
+ "m_IsEditable": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SaturateNode",
+ "m_ObjectId": "a522c08df62c48e0ae72da9cfbdebe67",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Saturate",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -553.5999755859375,
+ "y": 412.0,
+ "width": 207.99996948242188,
+ "height": 277.5999755859375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "ece3713d51b54fc1839b1c980b56cfd7"
+ },
+ {
+ "m_Id": "561428f562f0412597ceec4d534cbccb"
+ }
+ ],
+ "synonyms": [
+ "clamp"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
+ "m_ObjectId": "a94b106472d64bcaa6754e3ef7cc65c5",
+ "m_Guid": {
+ "m_GuidSerialized": "718b95b2-d8b4-4624-b7d5-7484eba9af59"
+ },
+ "m_Name": "Highlight",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Highlight",
+ "m_DefaultReferenceName": "_Highlight",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "r": 0.9433962106704712,
+ "g": 0.47525808215141299,
+ "b": 0.691221296787262,
+ "a": 0.0
+ },
+ "isMainColor": false,
+ "m_ColorMode": 0
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
+ "m_ObjectId": "a9c5436a87be4b06afd14e618024c004",
+ "m_Guid": {
+ "m_GuidSerialized": "e5370f12-55bb-4028-835d-23abb44cf31f"
+ },
+ "m_Name": "Additional Lights",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Additional Lights",
+ "m_DefaultReferenceName": "_ADDITIONAL_LIGHTS",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_KeywordType": 0,
+ "m_KeywordDefinition": 1,
+ "m_KeywordScope": 0,
+ "m_KeywordStages": 63,
+ "m_Entries": [],
+ "m_Value": 1,
+ "m_IsEditable": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "add220b505e74a1ea06ac805858fa8fe",
+ "m_Name": "",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "b809fdc1f7e34de0b139821499ca0e23"
+ },
+ {
+ "m_Id": "e5a71d711c86416886b209ec634fe2f6"
+ },
+ {
+ "m_Id": "a9c5436a87be4b06afd14e618024c004"
+ },
+ {
+ "m_Id": "0eef9d116d3b4975b9bd81200bf0bbb4"
+ },
+ {
+ "m_Id": "a1669d731be94e2c83f4ee08f8a9f669"
+ },
+ {
+ "m_Id": "a94b106472d64bcaa6754e3ef7cc65c5"
+ },
+ {
+ "m_Id": "48c61fe16e8c4e129cdfa703ccba13e2"
+ },
+ {
+ "m_Id": "7eb5a92e8e42466b8fce2e3495393fef"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "adfb13d4d2ac49439fa249acf045e9f0",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
+ "m_ObjectId": "b809fdc1f7e34de0b139821499ca0e23",
+ "m_Guid": {
+ "m_GuidSerialized": "e1fc1bfe-6ef3-45c9-9d42-9ece7e3d91e3"
+ },
+ "m_Name": "Soft Shadows",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Soft Shadows",
+ "m_DefaultReferenceName": "_SOFT_SHADOWS",
+ "m_OverrideReferenceName": "_SHADOWS_SOFT",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_KeywordType": 0,
+ "m_KeywordDefinition": 1,
+ "m_KeywordScope": 0,
+ "m_KeywordStages": 63,
+ "m_Entries": [],
+ "m_Value": 1,
+ "m_IsEditable": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
+ "m_ObjectId": "b9ea3672569d404fa365dcd82b6e26bd",
+ "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": "c0b5fac8e5f640e5ad59cbc403110496",
+ "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.DotProductNode",
+ "m_ObjectId": "c0f6273fc33a43fca326b994b2ce8e01",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Dot Product",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -821.5999755859375,
+ "y": 418.39996337890627,
+ "width": 208.00006103515626,
+ "height": 301.5999755859375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "c0b5fac8e5f640e5ad59cbc403110496"
+ },
+ {
+ "m_Id": "74cccb5d454747459e5147d01ac94f42"
+ },
+ {
+ "m_Id": "2c7e377560f84acf96eb5aef16faf137"
+ }
+ ],
+ "synonyms": [
+ "scalar product"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
+ "m_ObjectId": "c56b870e7d5a4cb183c1d0dc063d2203",
+ "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.MultiplyNode",
+ "m_ObjectId": "ca8f31d6fc85411ab94746da159c0493",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -805.5999755859375,
+ "y": 790.4000244140625,
+ "width": 207.99993896484376,
+ "height": 301.5999755859375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "e1ca17bfdd5749858f9a5562bdbb0e95"
+ },
+ {
+ "m_Id": "2e28b74ebad44d2b97a24045a037baa7"
+ },
+ {
+ "m_Id": "eff764db2c3b41db99abe3619440c70b"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "d625f1266a9e4126b4a7db43cbef7d12",
+ "m_Id": 5,
+ "m_DisplayName": "Threshold",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Threshold",
+ "m_StageCapability": 3,
+ "m_Value": 0.20000000298023225,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "d9ab6ef5ba7c44d1a29da93ea139b3f5",
+ "m_Id": 3,
+ "m_DisplayName": "DistanceAtten",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "DistanceAtten",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.PositionNode",
+ "m_ObjectId": "dab509fa82b747178a15732d467e0809",
"m_Group": {
"m_Id": ""
},
- "m_Name": "VertexDescription.Tangent",
+ "m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
- "x": 0.0,
- "y": 0.0,
- "width": 0.0,
- "height": 0.0
+ "x": -1585.5999755859375,
+ "y": 388.79998779296877,
+ "width": 208.0,
+ "height": 312.79998779296877
}
},
"m_Slots": [
{
- "m_Id": "9dabadec240d422faed42460e368e458"
+ "m_Id": "287d6989db0e454f98b42b473f6be3be"
}
],
- "synonyms": [],
- "m_Precision": 0,
+ "synonyms": [
+ "location"
+ ],
+ "m_Precision": 1,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
- "m_PreviewMode": 0,
+ "m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
- "m_SerializedDescriptor": "VertexDescription.Tangent"
+ "m_Space": 2,
+ "m_PositionSource": 0
}
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
- "m_ObjectId": "9dabadec240d422faed42460e368e458",
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "e1ca17bfdd5749858f9a5562bdbb0e95",
"m_Id": 0,
- "m_DisplayName": "Tangent",
+ "m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
- "m_ShaderOutputName": "Tangent",
- "m_StageCapability": 1,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "e24c905672d84beebaec1daa91a2fcfa",
+ "m_Id": 1,
+ "m_DisplayName": "Color",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Color",
+ "m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
@@ -300,22 +1845,21 @@
"y": 0.0,
"z": 0.0
},
- "m_Labels": [],
- "m_Space": 0
+ "m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
- "m_ObjectId": "a1669d731be94e2c83f4ee08f8a9f669",
+ "m_ObjectId": "e5a71d711c86416886b209ec634fe2f6",
"m_Guid": {
- "m_GuidSerialized": "e476794b-ba20-4ab6-8038-e8bda11c9d8c"
+ "m_GuidSerialized": "2d4a7eb1-5095-4e3c-a08a-ec0e0b786285"
},
- "m_Name": "Shadows",
+ "m_Name": "Additional Shadows",
"m_DefaultRefNameVersion": 1,
- "m_RefNameGeneratedByDisplayName": "Shadows",
- "m_DefaultReferenceName": "_SHADOWS",
- "m_OverrideReferenceName": "MAIN_LIGHT_CALCULATE_SHADOWS",
+ "m_RefNameGeneratedByDisplayName": "Additional Shadows",
+ "m_DefaultReferenceName": "_ADDITIONAL_SHADOWS",
+ "m_OverrideReferenceName": "ADDITIONAL_LIGHT_CALCULATE_SHADOWS",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
@@ -330,156 +1874,268 @@
}
{
- "m_SGVersion": 1,
- "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
- "m_ObjectId": "a9c5436a87be4b06afd14e618024c004",
- "m_Guid": {
- "m_GuidSerialized": "e5370f12-55bb-4028-835d-23abb44cf31f"
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "e65e081075524b13a1a92de87f57966b",
+ "m_Group": {
+ "m_Id": ""
},
- "m_Name": "Additional Lights",
- "m_DefaultRefNameVersion": 1,
- "m_RefNameGeneratedByDisplayName": "Additional Lights",
- "m_DefaultReferenceName": "_ADDITIONAL_LIGHTS",
- "m_OverrideReferenceName": "",
- "m_GeneratePropertyBlock": true,
- "m_UseCustomSlotLabel": false,
- "m_CustomSlotLabel": "",
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -143.1999969482422,
+ "y": 931.2000122070313,
+ "width": 127.99994659423828,
+ "height": 33.5999755859375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "8442742064ca4bb8921b7d08219b8bf6"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
"m_DismissedVersion": 0,
- "m_KeywordType": 0,
- "m_KeywordDefinition": 1,
- "m_KeywordScope": 0,
- "m_KeywordStages": 63,
- "m_Entries": [],
- "m_Value": 1,
- "m_IsEditable": true
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "7eb5a92e8e42466b8fce2e3495393fef"
+ }
}
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.CategoryData",
- "m_ObjectId": "add220b505e74a1ea06ac805858fa8fe",
- "m_Name": "",
- "m_ChildObjectList": [
- {
- "m_Id": "b809fdc1f7e34de0b139821499ca0e23"
- },
- {
- "m_Id": "e5a71d711c86416886b209ec634fe2f6"
- },
- {
- "m_Id": "a9c5436a87be4b06afd14e618024c004"
- },
- {
- "m_Id": "0eef9d116d3b4975b9bd81200bf0bbb4"
- },
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "e7f7b156a4df4a3789cc6578aca2627e",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "eb065c55b8654c77ae049ed667729dde",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -149.6000213623047,
+ "y": 493.5999450683594,
+ "width": 120.00003051757813,
+ "height": 33.600067138671878
+ }
+ },
+ "m_Slots": [
{
- "m_Id": "a1669d731be94e2c83f4ee08f8a9f669"
+ "m_Id": "819f86a1ab4e4ba984ef1bbcb0a0092e"
}
- ]
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "48c61fe16e8c4e129cdfa703ccba13e2"
+ }
}
{
- "m_SGVersion": 1,
- "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
- "m_ObjectId": "b809fdc1f7e34de0b139821499ca0e23",
- "m_Guid": {
- "m_GuidSerialized": "e1fc1bfe-6ef3-45c9-9d42-9ece7e3d91e3"
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "ebff23965b1a4300b2c204a3d0ca3536",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
},
- "m_Name": "Soft Shadows",
- "m_DefaultRefNameVersion": 1,
- "m_RefNameGeneratedByDisplayName": "Soft Shadows",
- "m_DefaultReferenceName": "_SOFT_SHADOWS",
- "m_OverrideReferenceName": "_SHADOWS_SOFT",
- "m_GeneratePropertyBlock": true,
- "m_UseCustomSlotLabel": false,
- "m_CustomSlotLabel": "",
- "m_DismissedVersion": 0,
- "m_KeywordType": 0,
- "m_KeywordDefinition": 1,
- "m_KeywordScope": 0,
- "m_KeywordStages": 63,
- "m_Entries": [],
- "m_Value": 1,
- "m_IsEditable": true
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
}
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
- "m_ObjectId": "b9ea3672569d404fa365dcd82b6e26bd",
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "ece3713d51b54fc1839b1c980b56cfd7",
"m_Id": 0,
- "m_DisplayName": "Normal",
+ "m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
- "m_ShaderOutputName": "Normal",
- "m_StageCapability": 1,
+ "m_ShaderOutputName": "In",
+ "m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
- "z": 0.0
+ "z": 0.0,
+ "w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
- "z": 0.0
- },
- "m_Labels": [],
- "m_Space": 0
+ "z": 0.0,
+ "w": 0.0
+ }
}
{
"m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
- "m_ObjectId": "c56b870e7d5a4cb183c1d0dc063d2203",
- "m_Id": 0,
- "m_DisplayName": "Base Color",
- "m_SlotType": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "eff764db2c3b41db99abe3619440c70b",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
"m_Hidden": false,
- "m_ShaderOutputName": "BaseColor",
- "m_StageCapability": 2,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
"m_Value": {
- "x": 0.5,
- "y": 0.5,
- "z": 0.5
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
},
"m_DefaultValue": {
- "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
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
}
}
{
- "m_SGVersion": 1,
- "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
- "m_ObjectId": "e5a71d711c86416886b209ec634fe2f6",
- "m_Guid": {
- "m_GuidSerialized": "2d4a7eb1-5095-4e3c-a08a-ec0e0b786285"
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "f5bddbf89db44c1eb4c96e226ff234b0",
+ "m_Id": 0,
+ "m_DisplayName": "Highlight",
+ "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_Name": "Additional Shadows",
- "m_DefaultRefNameVersion": 1,
- "m_RefNameGeneratedByDisplayName": "Additional Shadows",
- "m_DefaultReferenceName": "_ADDITIONAL_SHADOWS",
- "m_OverrideReferenceName": "ADDITIONAL_LIGHT_CALCULATE_SHADOWS",
- "m_GeneratePropertyBlock": true,
- "m_UseCustomSlotLabel": false,
- "m_CustomSlotLabel": "",
- "m_DismissedVersion": 0,
- "m_KeywordType": 0,
- "m_KeywordDefinition": 1,
- "m_KeywordScope": 0,
- "m_KeywordStages": 63,
- "m_Entries": [],
- "m_Value": 1,
- "m_IsEditable": true
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
}
{
@@ -506,3 +2162,46 @@
"m_Space": 0
}
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "fc0966f955454046b4c34b4eea3614e4",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -212.0000457763672,
+ "y": 573.5999755859375,
+ "width": 208.0,
+ "height": 301.60003662109377
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "adfb13d4d2ac49439fa249acf045e9f0"
+ },
+ {
+ "m_Id": "e7f7b156a4df4a3789cc6578aca2627e"
+ },
+ {
+ "m_Id": "ebff23965b1a4300b2c204a3d0ca3536"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
diff --git a/Assets/Shaders/BrightenColor.shadersubgraph b/Assets/Shaders/BrightenColor.shadersubgraph
new file mode 100644
index 0000000..0798ef7
--- /dev/null
+++ b/Assets/Shaders/BrightenColor.shadersubgraph
@@ -0,0 +1,504 @@
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.GraphData",
+ "m_ObjectId": "8e672dad6cb44b5692fc6fd0eaf5293a",
+ "m_Properties": [
+ {
+ "m_Id": "3f0babb0036c467b9fa0a02be106506c"
+ },
+ {
+ "m_Id": "36ea455ed83b4628abc18166053ef904"
+ }
+ ],
+ "m_Keywords": [],
+ "m_Dropdowns": [],
+ "m_CategoryData": [
+ {
+ "m_Id": "a5ed9b6597a44aad9be111745005de5a"
+ }
+ ],
+ "m_Nodes": [
+ {
+ "m_Id": "857ff44abd0a4906ac72e6478e50993b"
+ },
+ {
+ "m_Id": "12ee3bda3e864eea93f9ebb7169e9c12"
+ },
+ {
+ "m_Id": "b9c03c94abd545e48977938621060d2a"
+ },
+ {
+ "m_Id": "c337e224e55047a49d64bc0f3bdfca7b"
+ }
+ ],
+ "m_GroupDatas": [],
+ "m_StickyNoteDatas": [],
+ "m_Edges": [
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "12ee3bda3e864eea93f9ebb7169e9c12"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "857ff44abd0a4906ac72e6478e50993b"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "b9c03c94abd545e48977938621060d2a"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "12ee3bda3e864eea93f9ebb7169e9c12"
+ },
+ "m_SlotId": 3
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "c337e224e55047a49d64bc0f3bdfca7b"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "12ee3bda3e864eea93f9ebb7169e9c12"
+ },
+ "m_SlotId": 0
+ }
+ }
+ ],
+ "m_VertexContext": {
+ "m_Position": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Blocks": []
+ },
+ "m_FragmentContext": {
+ "m_Position": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Blocks": []
+ },
+ "m_PreviewData": {
+ "serializedMesh": {
+ "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
+ "m_Guid": ""
+ },
+ "preventRotation": false
+ },
+ "m_Path": "Sub Graphs",
+ "m_GraphPrecision": 1,
+ "m_PreviewMode": 2,
+ "m_OutputNode": {
+ "m_Id": "857ff44abd0a4906ac72e6478e50993b"
+ },
+ "m_ActiveTargets": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlendNode",
+ "m_ObjectId": "12ee3bda3e864eea93f9ebb7169e9c12",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Blend",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -259.1999816894531,
+ "y": -62.399993896484378,
+ "width": 208.00003051757813,
+ "height": 359.20001220703127
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "27617232151c4fea85d0c5ab4575d2ef"
+ },
+ {
+ "m_Id": "7a3cba229d544f9b873189d1dbb3a726"
+ },
+ {
+ "m_Id": "f4d5eb44da9e42049c9441dbf538579e"
+ },
+ {
+ "m_Id": "3d36d1c29fc44ef08760afd4caec9aad"
+ }
+ ],
+ "synonyms": [
+ "burn",
+ "darken",
+ "difference",
+ "dodge",
+ "divide",
+ "exclusion",
+ "hard light",
+ "hard mix",
+ "linear burn",
+ "linear dodge",
+ "linear light",
+ "multiply",
+ "negate",
+ "overlay",
+ "pin light",
+ "screen",
+ "soft light",
+ "subtract",
+ "vivid light",
+ "overwrite"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_BlendMode": 8
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "27617232151c4fea85d0c5ab4575d2ef",
+ "m_Id": 0,
+ "m_DisplayName": "Base",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Base",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
+ "m_ObjectId": "36ea455ed83b4628abc18166053ef904",
+ "m_Guid": {
+ "m_GuidSerialized": "f5aeb99c-8065-4639-82a6-6e1b91a313a8"
+ },
+ "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": 0.8396226167678833,
+ "g": 0.35169094800949099,
+ "b": 0.35169094800949099,
+ "a": 0.0
+ },
+ "isMainColor": false,
+ "m_ColorMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "3d36d1c29fc44ef08760afd4caec9aad",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "3f0babb0036c467b9fa0a02be106506c",
+ "m_Guid": {
+ "m_GuidSerialized": "be157d81-77a6-4a01-b84e-d95e2bf5f55a"
+ },
+ "m_Name": "BrightenAmount",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "BrightenAmount",
+ "m_DefaultReferenceName": "_BrightenAmount",
+ "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.5,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "5e28bf7dc5e84383b0ece496b79389b0",
+ "m_Id": 0,
+ "m_DisplayName": "BrightenAmount",
+ "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": "7a3cba229d544f9b873189d1dbb3a726",
+ "m_Id": 1,
+ "m_DisplayName": "Blend",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Blend",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 1.0,
+ "y": 1.0,
+ "z": 1.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.SubGraphOutputNode",
+ "m_ObjectId": "857ff44abd0a4906ac72e6478e50993b",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Output",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1.5999755859375,
+ "y": -63.19999694824219,
+ "width": 120.79998779296875,
+ "height": 76.80000305175781
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "c28418f9b39a41b1854466da31eb1d18"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "IsFirstSlotValid": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "a22609cddccd4ea089c066340128aac7",
+ "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": "a5ed9b6597a44aad9be111745005de5a",
+ "m_Name": "",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "3f0babb0036c467b9fa0a02be106506c"
+ },
+ {
+ "m_Id": "36ea455ed83b4628abc18166053ef904"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "b9c03c94abd545e48977938621060d2a",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -468.0,
+ "y": 35.19999694824219,
+ "width": 152.80001831054688,
+ "height": 33.600006103515628
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "5e28bf7dc5e84383b0ece496b79389b0"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "3f0babb0036c467b9fa0a02be106506c"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "c28418f9b39a41b1854466da31eb1d18",
+ "m_Id": 1,
+ "m_DisplayName": "Out_Vector4",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out_Vector4",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "c337e224e55047a49d64bc0f3bdfca7b",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -423.1999816894531,
+ "y": -53.600006103515628,
+ "width": 105.60000610351563,
+ "height": 33.600006103515628
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "a22609cddccd4ea089c066340128aac7"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "36ea455ed83b4628abc18166053ef904"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "f4d5eb44da9e42049c9441dbf538579e",
+ "m_Id": 3,
+ "m_DisplayName": "Opacity",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Opacity",
+ "m_StageCapability": 3,
+ "m_Value": 1.0,
+ "m_DefaultValue": 1.0,
+ "m_Labels": []
+}
+
diff --git a/Assets/Shaders/BrightenColor.shadersubgraph.meta b/Assets/Shaders/BrightenColor.shadersubgraph.meta
new file mode 100644
index 0000000..db466e6
--- /dev/null
+++ b/Assets/Shaders/BrightenColor.shadersubgraph.meta
@@ -0,0 +1,10 @@
+fileFormatVersion: 2
+guid: 3acc3b29dd2659d44bcf2cef2b05ad81
+ScriptedImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
diff --git a/Assets/Shaders/ChooseColor3.shadersubgraph b/Assets/Shaders/ChooseColor3.shadersubgraph
new file mode 100644
index 0000000..c82df34
--- /dev/null
+++ b/Assets/Shaders/ChooseColor3.shadersubgraph
@@ -0,0 +1,1158 @@
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.GraphData",
+ "m_ObjectId": "7547f6186db64a87b4b8779913f04c2f",
+ "m_Properties": [
+ {
+ "m_Id": "ab209d50fbc348b19e68274e7f202af9"
+ },
+ {
+ "m_Id": "b77e0604243740f0bcebf25b184c9299"
+ },
+ {
+ "m_Id": "3b0d76ca1e3b4f40915087f7f6b0fabe"
+ },
+ {
+ "m_Id": "2e6ec2aef51941df9f643bd01318e8fa"
+ },
+ {
+ "m_Id": "811f5648617641f9ad1983047ac17c46"
+ },
+ {
+ "m_Id": "a3b2f94e9d99431689aa9ce78a528826"
+ }
+ ],
+ "m_Keywords": [],
+ "m_Dropdowns": [],
+ "m_CategoryData": [
+ {
+ "m_Id": "9adea5e3bc5e42dfbf213282d3342b4c"
+ }
+ ],
+ "m_Nodes": [
+ {
+ "m_Id": "e306f64f0223492bbec1ea0bf96dcc3f"
+ },
+ {
+ "m_Id": "913487f8a7af45cf82ae2dbeeb32c849"
+ },
+ {
+ "m_Id": "8c4aa81f46bc45d0b504c2ed06a87a54"
+ },
+ {
+ "m_Id": "a08f16ec0d1141bfb162632872d4a8ec"
+ },
+ {
+ "m_Id": "19c4a281dcd4418e918ef090bed1645d"
+ },
+ {
+ "m_Id": "3ddd18eba503436e8d3d201b4a2b6c3f"
+ },
+ {
+ "m_Id": "478bb24ffc40421bb89291b848870a21"
+ },
+ {
+ "m_Id": "123bd84e0f5447dba7539ab59f9de40a"
+ },
+ {
+ "m_Id": "e0fce709fc3d407586542776c40d21c7"
+ },
+ {
+ "m_Id": "04bccbb02c71404989f7cb3269d5dd01"
+ }
+ ],
+ "m_GroupDatas": [],
+ "m_StickyNoteDatas": [],
+ "m_Edges": [
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "04bccbb02c71404989f7cb3269d5dd01"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "8c4aa81f46bc45d0b504c2ed06a87a54"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "123bd84e0f5447dba7539ab59f9de40a"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "913487f8a7af45cf82ae2dbeeb32c849"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "19c4a281dcd4418e918ef090bed1645d"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "8c4aa81f46bc45d0b504c2ed06a87a54"
+ },
+ "m_SlotId": 3
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "3ddd18eba503436e8d3d201b4a2b6c3f"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "913487f8a7af45cf82ae2dbeeb32c849"
+ },
+ "m_SlotId": 2
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "478bb24ffc40421bb89291b848870a21"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "8c4aa81f46bc45d0b504c2ed06a87a54"
+ },
+ "m_SlotId": 2
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "8c4aa81f46bc45d0b504c2ed06a87a54"
+ },
+ "m_SlotId": 4
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "e306f64f0223492bbec1ea0bf96dcc3f"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "913487f8a7af45cf82ae2dbeeb32c849"
+ },
+ "m_SlotId": 4
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "8c4aa81f46bc45d0b504c2ed06a87a54"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "a08f16ec0d1141bfb162632872d4a8ec"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "913487f8a7af45cf82ae2dbeeb32c849"
+ },
+ "m_SlotId": 3
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "e0fce709fc3d407586542776c40d21c7"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "913487f8a7af45cf82ae2dbeeb32c849"
+ },
+ "m_SlotId": 0
+ }
+ }
+ ],
+ "m_VertexContext": {
+ "m_Position": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Blocks": []
+ },
+ "m_FragmentContext": {
+ "m_Position": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Blocks": []
+ },
+ "m_PreviewData": {
+ "serializedMesh": {
+ "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
+ "m_Guid": ""
+ },
+ "preventRotation": false
+ },
+ "m_Path": "Sub Graphs",
+ "m_GraphPrecision": 1,
+ "m_PreviewMode": 2,
+ "m_OutputNode": {
+ "m_Id": "e306f64f0223492bbec1ea0bf96dcc3f"
+ },
+ "m_ActiveTargets": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "04bccbb02c71404989f7cb3269d5dd01",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -506.40008544921877,
+ "y": 87.19999694824219,
+ "width": 112.00006103515625,
+ "height": 33.60002136230469
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "75a67613887342c0a8f70a1a5fcb8f01"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "a3b2f94e9d99431689aa9ce78a528826"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "0590c0d5cbe14dce8f572c92a1322e8c",
+ "m_Id": 3,
+ "m_DisplayName": "Threshold",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Threshold",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "08a467b45f544499a5191c099245682f",
+ "m_Id": 0,
+ "m_DisplayName": "Diffuse",
+ "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.Vector3MaterialSlot",
+ "m_ObjectId": "095d97b1e3be45c192789cc21b705f6b",
+ "m_Id": 1,
+ "m_DisplayName": "Color2",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Color2",
+ "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.Vector1MaterialSlot",
+ "m_ObjectId": "0ac490c57f464440acdf13668fc20068",
+ "m_Id": 0,
+ "m_DisplayName": "Threshold2",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "123bd84e0f5447dba7539ab59f9de40a",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -930.4000244140625,
+ "y": 140.0,
+ "width": 109.5999755859375,
+ "height": 33.60002136230469
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "64f289b477224717920695dfaddcf9ce"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "2e6ec2aef51941df9f643bd01318e8fa"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "17795a4fbe0149059743b2def1242c82",
+ "m_Id": 3,
+ "m_DisplayName": "Threshold",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Threshold",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "19c4a281dcd4418e918ef090bed1645d",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -525.5999755859375,
+ "y": 215.1999969482422,
+ "width": 135.19998168945313,
+ "height": 33.5999755859375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "0ac490c57f464440acdf13668fc20068"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "b77e0604243740f0bcebf25b184c9299"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "2cc0c6e4c84b4a7da50f7a5c9ec58e4d",
+ "m_Id": 0,
+ "m_DisplayName": "Threshold1",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
+ "m_ObjectId": "2e6ec2aef51941df9f643bd01318e8fa",
+ "m_Guid": {
+ "m_GuidSerialized": "99a31d26-a699-4d01-aa2c-0b3b1668b70d"
+ },
+ "m_Name": "Color1",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Color1",
+ "m_DefaultReferenceName": "_Color1",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "3b0d76ca1e3b4f40915087f7f6b0fabe",
+ "m_Guid": {
+ "m_GuidSerialized": "e6c1fe4a-5d79-4850-8425-70005a2bc0db"
+ },
+ "m_Name": "Diffuse",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Diffuse",
+ "m_DefaultReferenceName": "_Diffuse",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 0.0,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "3ddd18eba503436e8d3d201b4a2b6c3f",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -966.3999633789063,
+ "y": 199.1999969482422,
+ "width": 112.79998779296875,
+ "height": 33.5999755859375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "612cf4c493ac49b5898a8ff6d035f5bb"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "3b0d76ca1e3b4f40915087f7f6b0fabe"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "478bb24ffc40421bb89291b848870a21",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -507.20001220703127,
+ "y": 168.00001525878907,
+ "width": 112.80001831054688,
+ "height": 33.59996032714844
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "08a467b45f544499a5191c099245682f"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "3b0d76ca1e3b4f40915087f7f6b0fabe"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "50a92fbe212e4ad69b3e34d9c39ec274",
+ "m_Id": 1,
+ "m_DisplayName": "OutColor",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "OutColor",
+ "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.Vector1MaterialSlot",
+ "m_ObjectId": "612cf4c493ac49b5898a8ff6d035f5bb",
+ "m_Id": 0,
+ "m_DisplayName": "Diffuse",
+ "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.Vector3MaterialSlot",
+ "m_ObjectId": "64f289b477224717920695dfaddcf9ce",
+ "m_Id": 0,
+ "m_DisplayName": "Color1",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "75a67613887342c0a8f70a1a5fcb8f01",
+ "m_Id": 0,
+ "m_DisplayName": "Color3",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
+ "m_ObjectId": "811f5648617641f9ad1983047ac17c46",
+ "m_Guid": {
+ "m_GuidSerialized": "c2c87a23-2a38-404d-b45d-7c9fa0a2956a"
+ },
+ "m_Name": "Color2",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Color2",
+ "m_DefaultReferenceName": "_Color2",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
+ "m_ObjectId": "8c4aa81f46bc45d0b504c2ed06a87a54",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "ChooseColor (Custom Function)",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -360.0000305175781,
+ "y": 69.59999084472656,
+ "width": 229.6000518798828,
+ "height": 349.60003662109377
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "9a0bba6867f94d7abe10b7e1ab03e90e"
+ },
+ {
+ "m_Id": "095d97b1e3be45c192789cc21b705f6b"
+ },
+ {
+ "m_Id": "95d92b52efc942c395b727364865b944"
+ },
+ {
+ "m_Id": "17795a4fbe0149059743b2def1242c82"
+ },
+ {
+ "m_Id": "b896fcfa3a9c4fa2b652d5faca666ba1"
+ }
+ ],
+ "synonyms": [
+ "code",
+ "HLSL"
+ ],
+ "m_Precision": 1,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SourceType": 0,
+ "m_FunctionName": "ChooseColor",
+ "m_FunctionSource": "9c2401c89f3acce4fbc7d5b66a67225b",
+ "m_FunctionBody": "Enter function body here..."
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
+ "m_ObjectId": "913487f8a7af45cf82ae2dbeeb32c849",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "ChooseColor (Custom Function)",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -777.5999145507813,
+ "y": 91.20000457763672,
+ "width": 229.59991455078126,
+ "height": 349.5999755859375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "f0f501c653984e8ba6031e3ba8f0f122"
+ },
+ {
+ "m_Id": "b0b150a88dce459cabf8fd98deabe6cf"
+ },
+ {
+ "m_Id": "ec6730b44b584b74ab01cd20242a06e2"
+ },
+ {
+ "m_Id": "0590c0d5cbe14dce8f572c92a1322e8c"
+ },
+ {
+ "m_Id": "df91c0f31f6544f48dd4e8d963e86861"
+ }
+ ],
+ "synonyms": [
+ "code",
+ "HLSL"
+ ],
+ "m_Precision": 1,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SourceType": 0,
+ "m_FunctionName": "ChooseColor",
+ "m_FunctionSource": "9c2401c89f3acce4fbc7d5b66a67225b",
+ "m_FunctionBody": "Enter function body here..."
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "95d92b52efc942c395b727364865b944",
+ "m_Id": 2,
+ "m_DisplayName": "Diffuse",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Diffuse",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "9a0bba6867f94d7abe10b7e1ab03e90e",
+ "m_Id": 0,
+ "m_DisplayName": "Color3",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Color3",
+ "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.CategoryData",
+ "m_ObjectId": "9adea5e3bc5e42dfbf213282d3342b4c",
+ "m_Name": "",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "ab209d50fbc348b19e68274e7f202af9"
+ },
+ {
+ "m_Id": "b77e0604243740f0bcebf25b184c9299"
+ },
+ {
+ "m_Id": "3b0d76ca1e3b4f40915087f7f6b0fabe"
+ },
+ {
+ "m_Id": "2e6ec2aef51941df9f643bd01318e8fa"
+ },
+ {
+ "m_Id": "811f5648617641f9ad1983047ac17c46"
+ },
+ {
+ "m_Id": "a3b2f94e9d99431689aa9ce78a528826"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "a08f16ec0d1141bfb162632872d4a8ec",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -987.2000122070313,
+ "y": 238.3999786376953,
+ "width": 133.60003662109376,
+ "height": 33.60002136230469
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "2cc0c6e4c84b4a7da50f7a5c9ec58e4d"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "ab209d50fbc348b19e68274e7f202af9"
+ }
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
+ "m_ObjectId": "a3b2f94e9d99431689aa9ce78a528826",
+ "m_Guid": {
+ "m_GuidSerialized": "acf3bca7-a5ee-4db4-a108-2f69ba5f91be"
+ },
+ "m_Name": "Color3",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Color3",
+ "m_DefaultReferenceName": "_Color3",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "ab209d50fbc348b19e68274e7f202af9",
+ "m_Guid": {
+ "m_GuidSerialized": "e5e568d6-e81e-46e5-8fab-9e1e6a0542ae"
+ },
+ "m_Name": "Threshold1",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Threshold1",
+ "m_DefaultReferenceName": "_Threshold1",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 0.0,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "b0b150a88dce459cabf8fd98deabe6cf",
+ "m_Id": 1,
+ "m_DisplayName": "Color1",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Color1",
+ "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": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "b77e0604243740f0bcebf25b184c9299",
+ "m_Guid": {
+ "m_GuidSerialized": "04a1ae36-788f-43a8-b652-1955b62e5016"
+ },
+ "m_Name": "Threshold2",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Threshold2",
+ "m_DefaultReferenceName": "_Threshold2",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 0.0,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "b896fcfa3a9c4fa2b652d5faca666ba1",
+ "m_Id": 4,
+ "m_DisplayName": "OutColor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "OutColor",
+ "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": "df91c0f31f6544f48dd4e8d963e86861",
+ "m_Id": 4,
+ "m_DisplayName": "OutColor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "OutColor",
+ "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.PropertyNode",
+ "m_ObjectId": "e0fce709fc3d407586542776c40d21c7",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -946.4000244140625,
+ "y": 92.0,
+ "width": 112.0,
+ "height": 33.599998474121097
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "f76bf6df8d894850804e8811f480fa3d"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "811f5648617641f9ad1983047ac17c46"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
+ "m_ObjectId": "e306f64f0223492bbec1ea0bf96dcc3f",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Output",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 27.20001792907715,
+ "y": 69.5999755859375,
+ "width": 101.5999984741211,
+ "height": 76.80000305175781
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "50a92fbe212e4ad69b3e34d9c39ec274"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "IsFirstSlotValid": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "ec6730b44b584b74ab01cd20242a06e2",
+ "m_Id": 2,
+ "m_DisplayName": "Diffuse",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Diffuse",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "f0f501c653984e8ba6031e3ba8f0f122",
+ "m_Id": 0,
+ "m_DisplayName": "Color2",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Color2",
+ "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": "f76bf6df8d894850804e8811f480fa3d",
+ "m_Id": 0,
+ "m_DisplayName": "Color2",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
diff --git a/Assets/Shaders/ChooseColor3.shadersubgraph.meta b/Assets/Shaders/ChooseColor3.shadersubgraph.meta
new file mode 100644
index 0000000..5e00ed8
--- /dev/null
+++ b/Assets/Shaders/ChooseColor3.shadersubgraph.meta
@@ -0,0 +1,10 @@
+fileFormatVersion: 2
+guid: ed81a177b766dc34ba4eedce861f8815
+ScriptedImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
diff --git a/Assets/Shaders/DarkenColor.shadersubgraph b/Assets/Shaders/DarkenColor.shadersubgraph
new file mode 100644
index 0000000..3e20243
--- /dev/null
+++ b/Assets/Shaders/DarkenColor.shadersubgraph
@@ -0,0 +1,504 @@
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.GraphData",
+ "m_ObjectId": "8e672dad6cb44b5692fc6fd0eaf5293a",
+ "m_Properties": [
+ {
+ "m_Id": "3f0babb0036c467b9fa0a02be106506c"
+ },
+ {
+ "m_Id": "36ea455ed83b4628abc18166053ef904"
+ }
+ ],
+ "m_Keywords": [],
+ "m_Dropdowns": [],
+ "m_CategoryData": [
+ {
+ "m_Id": "a5ed9b6597a44aad9be111745005de5a"
+ }
+ ],
+ "m_Nodes": [
+ {
+ "m_Id": "857ff44abd0a4906ac72e6478e50993b"
+ },
+ {
+ "m_Id": "12ee3bda3e864eea93f9ebb7169e9c12"
+ },
+ {
+ "m_Id": "b9c03c94abd545e48977938621060d2a"
+ },
+ {
+ "m_Id": "c337e224e55047a49d64bc0f3bdfca7b"
+ }
+ ],
+ "m_GroupDatas": [],
+ "m_StickyNoteDatas": [],
+ "m_Edges": [
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "12ee3bda3e864eea93f9ebb7169e9c12"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "857ff44abd0a4906ac72e6478e50993b"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "b9c03c94abd545e48977938621060d2a"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "12ee3bda3e864eea93f9ebb7169e9c12"
+ },
+ "m_SlotId": 3
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "c337e224e55047a49d64bc0f3bdfca7b"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "12ee3bda3e864eea93f9ebb7169e9c12"
+ },
+ "m_SlotId": 0
+ }
+ }
+ ],
+ "m_VertexContext": {
+ "m_Position": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Blocks": []
+ },
+ "m_FragmentContext": {
+ "m_Position": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Blocks": []
+ },
+ "m_PreviewData": {
+ "serializedMesh": {
+ "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
+ "m_Guid": ""
+ },
+ "preventRotation": false
+ },
+ "m_Path": "Sub Graphs",
+ "m_GraphPrecision": 1,
+ "m_PreviewMode": 2,
+ "m_OutputNode": {
+ "m_Id": "857ff44abd0a4906ac72e6478e50993b"
+ },
+ "m_ActiveTargets": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlendNode",
+ "m_ObjectId": "12ee3bda3e864eea93f9ebb7169e9c12",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Blend",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -259.1999816894531,
+ "y": -62.399993896484378,
+ "width": 208.00003051757813,
+ "height": 359.20001220703127
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "27617232151c4fea85d0c5ab4575d2ef"
+ },
+ {
+ "m_Id": "7a3cba229d544f9b873189d1dbb3a726"
+ },
+ {
+ "m_Id": "f4d5eb44da9e42049c9441dbf538579e"
+ },
+ {
+ "m_Id": "3d36d1c29fc44ef08760afd4caec9aad"
+ }
+ ],
+ "synonyms": [
+ "burn",
+ "darken",
+ "difference",
+ "dodge",
+ "divide",
+ "exclusion",
+ "hard light",
+ "hard mix",
+ "linear burn",
+ "linear dodge",
+ "linear light",
+ "multiply",
+ "negate",
+ "overlay",
+ "pin light",
+ "screen",
+ "soft light",
+ "subtract",
+ "vivid light",
+ "overwrite"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_BlendMode": 1
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "27617232151c4fea85d0c5ab4575d2ef",
+ "m_Id": 0,
+ "m_DisplayName": "Base",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Base",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
+ "m_ObjectId": "36ea455ed83b4628abc18166053ef904",
+ "m_Guid": {
+ "m_GuidSerialized": "f5aeb99c-8065-4639-82a6-6e1b91a313a8"
+ },
+ "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": 0.8396226167678833,
+ "g": 0.35169094800949099,
+ "b": 0.35169094800949099,
+ "a": 0.0
+ },
+ "isMainColor": false,
+ "m_ColorMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "3d36d1c29fc44ef08760afd4caec9aad",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "3f0babb0036c467b9fa0a02be106506c",
+ "m_Guid": {
+ "m_GuidSerialized": "be157d81-77a6-4a01-b84e-d95e2bf5f55a"
+ },
+ "m_Name": "DarkenAmount",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "DarkenAmount",
+ "m_DefaultReferenceName": "_DarkenAmount",
+ "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.5,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "5e28bf7dc5e84383b0ece496b79389b0",
+ "m_Id": 0,
+ "m_DisplayName": "DarkenAmount",
+ "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": "7a3cba229d544f9b873189d1dbb3a726",
+ "m_Id": 1,
+ "m_DisplayName": "Blend",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Blend",
+ "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.SubGraphOutputNode",
+ "m_ObjectId": "857ff44abd0a4906ac72e6478e50993b",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Output",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1.5999755859375,
+ "y": -63.19999694824219,
+ "width": 120.79998779296875,
+ "height": 76.80000305175781
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "c28418f9b39a41b1854466da31eb1d18"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "IsFirstSlotValid": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "a22609cddccd4ea089c066340128aac7",
+ "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": "a5ed9b6597a44aad9be111745005de5a",
+ "m_Name": "",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "3f0babb0036c467b9fa0a02be106506c"
+ },
+ {
+ "m_Id": "36ea455ed83b4628abc18166053ef904"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "b9c03c94abd545e48977938621060d2a",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -468.0,
+ "y": 35.19999694824219,
+ "width": 152.80001831054688,
+ "height": 33.600006103515628
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "5e28bf7dc5e84383b0ece496b79389b0"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "3f0babb0036c467b9fa0a02be106506c"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "c28418f9b39a41b1854466da31eb1d18",
+ "m_Id": 1,
+ "m_DisplayName": "Out_Vector4",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out_Vector4",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "c337e224e55047a49d64bc0f3bdfca7b",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -423.1999816894531,
+ "y": -53.600006103515628,
+ "width": 105.60000610351563,
+ "height": 33.600006103515628
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "a22609cddccd4ea089c066340128aac7"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "36ea455ed83b4628abc18166053ef904"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "f4d5eb44da9e42049c9441dbf538579e",
+ "m_Id": 3,
+ "m_DisplayName": "Opacity",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Opacity",
+ "m_StageCapability": 3,
+ "m_Value": 1.0,
+ "m_DefaultValue": 1.0,
+ "m_Labels": []
+}
+
diff --git a/Assets/Shaders/DarkenColor.shadersubgraph.meta b/Assets/Shaders/DarkenColor.shadersubgraph.meta
new file mode 100644
index 0000000..36b7704
--- /dev/null
+++ b/Assets/Shaders/DarkenColor.shadersubgraph.meta
@@ -0,0 +1,10 @@
+fileFormatVersion: 2
+guid: a0a1c4fc04468cd44932f8bfa4a02ef1
+ScriptedImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
diff --git a/Assets/Shaders/GetLightingInfo.shadersubgraph b/Assets/Shaders/GetLightingInfo.shadersubgraph
new file mode 100644
index 0000000..7799931
--- /dev/null
+++ b/Assets/Shaders/GetLightingInfo.shadersubgraph
@@ -0,0 +1,1196 @@
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.GraphData",
+ "m_ObjectId": "7652568edf7348d2881152f2124aca19",
+ "m_Properties": [
+ {
+ "m_Id": "b28a1a1d5f7e46efb169a818e531ea4e"
+ },
+ {
+ "m_Id": "dfad9cc9d847491493b56f3120ded703"
+ }
+ ],
+ "m_Keywords": [],
+ "m_Dropdowns": [],
+ "m_CategoryData": [
+ {
+ "m_Id": "19403041f877434eb9993b3f3470a438"
+ }
+ ],
+ "m_Nodes": [
+ {
+ "m_Id": "f01a7f6a35114c03bb53dba7c9e36725"
+ },
+ {
+ "m_Id": "4d768881d3104d74b5d6478c320c2c02"
+ },
+ {
+ "m_Id": "e093a203a0364b15b34f467e49d6cf83"
+ },
+ {
+ "m_Id": "7c1ebe33950b447c8c7700bde779c8f6"
+ },
+ {
+ "m_Id": "257bfc298ea341b38c781bbb8aec6347"
+ },
+ {
+ "m_Id": "22a2dfc6c27744eea358c5c7f228a3e6"
+ },
+ {
+ "m_Id": "9ef6a3966f9f43329ea8f88671fdb0a3"
+ },
+ {
+ "m_Id": "ba64fa0749db45ddadee51bf20083c38"
+ }
+ ],
+ "m_GroupDatas": [],
+ "m_StickyNoteDatas": [],
+ "m_Edges": [
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "22a2dfc6c27744eea358c5c7f228a3e6"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "ba64fa0749db45ddadee51bf20083c38"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "257bfc298ea341b38c781bbb8aec6347"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "7c1ebe33950b447c8c7700bde779c8f6"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "4d768881d3104d74b5d6478c320c2c02"
+ },
+ "m_SlotId": 1
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "f01a7f6a35114c03bb53dba7c9e36725"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "4d768881d3104d74b5d6478c320c2c02"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "7c1ebe33950b447c8c7700bde779c8f6"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "4d768881d3104d74b5d6478c320c2c02"
+ },
+ "m_SlotId": 3
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "22a2dfc6c27744eea358c5c7f228a3e6"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "4d768881d3104d74b5d6478c320c2c02"
+ },
+ "m_SlotId": 4
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "22a2dfc6c27744eea358c5c7f228a3e6"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "7c1ebe33950b447c8c7700bde779c8f6"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "9ef6a3966f9f43329ea8f88671fdb0a3"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "9ef6a3966f9f43329ea8f88671fdb0a3"
+ },
+ "m_SlotId": 1
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "ba64fa0749db45ddadee51bf20083c38"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "ba64fa0749db45ddadee51bf20083c38"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "f01a7f6a35114c03bb53dba7c9e36725"
+ },
+ "m_SlotId": 2
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "e093a203a0364b15b34f467e49d6cf83"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "4d768881d3104d74b5d6478c320c2c02"
+ },
+ "m_SlotId": 0
+ }
+ }
+ ],
+ "m_VertexContext": {
+ "m_Position": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Blocks": []
+ },
+ "m_FragmentContext": {
+ "m_Position": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Blocks": []
+ },
+ "m_PreviewData": {
+ "serializedMesh": {
+ "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
+ "m_Guid": ""
+ },
+ "preventRotation": false
+ },
+ "m_Path": "Sub Graphs",
+ "m_GraphPrecision": 1,
+ "m_PreviewMode": 2,
+ "m_OutputNode": {
+ "m_Id": "f01a7f6a35114c03bb53dba7c9e36725"
+ },
+ "m_ActiveTargets": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "0f5b3469a04a44f38ce6b5a216c7e3c7",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "19403041f877434eb9993b3f3470a438",
+ "m_Name": "",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "b28a1a1d5f7e46efb169a818e531ea4e"
+ },
+ {
+ "m_Id": "dfad9cc9d847491493b56f3120ded703"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "1f14b336b5e64b4896450096ff6c268e",
+ "m_Id": 4,
+ "m_DisplayName": "ShadowAtten",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "ShadowAtten",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "22a2dfc6c27744eea358c5c7f228a3e6",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1119.2000732421875,
+ "y": 120.79998779296875,
+ "width": 125.60009765625,
+ "height": 117.60000610351563
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "92553d48490941f09fe5dab4e2ae3b59"
+ },
+ {
+ "m_Id": "e1531f5296da4927a04d5094c18e01fe"
+ },
+ {
+ "m_Id": "6b6f90d19a6449fa858e4d80cb3ca6c7"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.NormalVectorNode",
+ "m_ObjectId": "257bfc298ea341b38c781bbb8aec6347",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Normal Vector",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1121.60009765625,
+ "y": -27.20001220703125,
+ "width": 205.60003662109376,
+ "height": 128.8000030517578
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "b027fb7a3534470298af7642b626bd3a"
+ }
+ ],
+ "synonyms": [
+ "surface direction"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 2,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Space": 2
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "3ecbcfae97004b009585a844e0c40265",
+ "m_Id": 1,
+ "m_DisplayName": "Color",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Color",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "3fb78a986b504e0babfd3d245ea68f1d",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
+ "m_ObjectId": "4d768881d3104d74b5d6478c320c2c02",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "GetMainLight (Custom Function)",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1548.0,
+ "y": -182.39999389648438,
+ "width": 232.0,
+ "height": 165.5999755859375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "a8cf681b3bb748108b4c73f717d473e8"
+ },
+ {
+ "m_Id": "3ecbcfae97004b009585a844e0c40265"
+ },
+ {
+ "m_Id": "cbd881d1e4dd4b08b05d3c5a2c2042e1"
+ },
+ {
+ "m_Id": "9e2d7f9b2a2a467d90e9ec42ce901a49"
+ },
+ {
+ "m_Id": "1f14b336b5e64b4896450096ff6c268e"
+ }
+ ],
+ "synonyms": [
+ "code",
+ "HLSL"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SourceType": 0,
+ "m_FunctionName": "GetMainLight",
+ "m_FunctionSource": "9c2401c89f3acce4fbc7d5b66a67225b",
+ "m_FunctionBody": "Enter function body here..."
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "4d90fbcfc38a4daa9e0acc3ffaaa51c7",
+ "m_Id": 1,
+ "m_DisplayName": "LightColor",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "LightColor",
+ "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": "61ea936f4f3d408c92e9c0a517402397",
+ "m_Id": 1,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "6b6f90d19a6449fa858e4d80cb3ca6c7",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DotProductNode",
+ "m_ObjectId": "7c1ebe33950b447c8c7700bde779c8f6",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Dot Product",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -858.3999633789063,
+ "y": -102.40000915527344,
+ "width": 128.00006103515626,
+ "height": 117.60000610351563
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "b73c593b85294f2d8592ec5e749043fe"
+ },
+ {
+ "m_Id": "a22678c49d0444029c478a94686e4e7a"
+ },
+ {
+ "m_Id": "9dd7c6d5da7d44c78b03ced2ddeb2e51"
+ }
+ ],
+ "synonyms": [
+ "scalar product"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "92553d48490941f09fe5dab4e2ae3b59",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "9a86a4cbecb24b83a16d4d5b222dd51e",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "9dd7c6d5da7d44c78b03ced2ddeb2e51",
+ "m_Id": 2,
+ "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_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "9e2d7f9b2a2a467d90e9ec42ce901a49",
+ "m_Id": 3,
+ "m_DisplayName": "DistanceAtten",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "DistanceAtten",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SaturateNode",
+ "m_ObjectId": "9ef6a3966f9f43329ea8f88671fdb0a3",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Saturate",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -697.5999755859375,
+ "y": -102.39999389648438,
+ "width": 128.0,
+ "height": 93.60002136230469
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "b56865b1646e40c2bd7144cadcd67139"
+ },
+ {
+ "m_Id": "61ea936f4f3d408c92e9c0a517402397"
+ }
+ ],
+ "synonyms": [
+ "clamp"
+ ],
+ "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": "a22678c49d0444029c478a94686e4e7a",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 1.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": "a8cf681b3bb748108b4c73f717d473e8",
+ "m_Id": 0,
+ "m_DisplayName": "WorldPos",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "WorldPos",
+ "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": "b027fb7a3534470298af7642b626bd3a",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "b28a1a1d5f7e46efb169a818e531ea4e",
+ "m_Guid": {
+ "m_GuidSerialized": "f0678efc-09e6-44c9-acfb-9e5a2c5c5195"
+ },
+ "m_Name": "ShadowTexture",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "ShadowTexture",
+ "m_DefaultReferenceName": "_ShadowTexture",
+ "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": {
+ "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"966f2baf5f8eaa745a5bcdc4c8127425\",\"type\":3}}",
+ "m_Guid": ""
+ },
+ "isMainTexture": false,
+ "useTilingAndOffset": false,
+ "m_Modifiable": true,
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "b3b021767cde4e578674c3ddd2fa0210",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "b56865b1646e40c2bd7144cadcd67139",
+ "m_Id": 0,
+ "m_DisplayName": "In",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "In",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "b73c593b85294f2d8592ec5e749043fe",
+ "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.MultiplyNode",
+ "m_ObjectId": "ba64fa0749db45ddadee51bf20083c38",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -501.5998840332031,
+ "y": -25.599990844726564,
+ "width": 125.59991455078125,
+ "height": 117.60000610351563
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "9a86a4cbecb24b83a16d4d5b222dd51e"
+ },
+ {
+ "m_Id": "b3b021767cde4e578674c3ddd2fa0210"
+ },
+ {
+ "m_Id": "0f5b3469a04a44f38ce6b5a216c7e3c7"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "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": "cbd881d1e4dd4b08b05d3c5a2c2042e1",
+ "m_Id": 2,
+ "m_DisplayName": "Direction",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Direction",
+ "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.Internal.BooleanShaderProperty",
+ "m_ObjectId": "dfad9cc9d847491493b56f3120ded703",
+ "m_Guid": {
+ "m_GuidSerialized": "b3896d5e-8846-4b2e-af59-c9f699ff71fe"
+ },
+ "m_Name": "UseShadowTexture",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "UseShadowTexture",
+ "m_DefaultReferenceName": "_UseShadowTexture",
+ "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": false
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.PositionNode",
+ "m_ObjectId": "e093a203a0364b15b34f467e49d6cf83",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Position",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1846.39990234375,
+ "y": -179.19996643066407,
+ "width": 208.0,
+ "height": 312.7999267578125
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "3fb78a986b504e0babfd3d245ea68f1d"
+ }
+ ],
+ "synonyms": [
+ "location"
+ ],
+ "m_Precision": 1,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 2,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Space": 2,
+ "m_PositionSource": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "e1531f5296da4927a04d5094c18e01fe",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "e95906bbfb664a1484994acb978c87a3",
+ "m_Id": 2,
+ "m_DisplayName": "Diffuse",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Diffuse",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
+ "m_ObjectId": "f01a7f6a35114c03bb53dba7c9e36725",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Output",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -324.7999572753906,
+ "y": -169.59999084472657,
+ "width": 108.80003356933594,
+ "height": 100.79998779296875
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "4d90fbcfc38a4daa9e0acc3ffaaa51c7"
+ },
+ {
+ "m_Id": "e95906bbfb664a1484994acb978c87a3"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "IsFirstSlotValid": true
+}
+
diff --git a/Assets/Shaders/GetLightingInfo.shadersubgraph.meta b/Assets/Shaders/GetLightingInfo.shadersubgraph.meta
new file mode 100644
index 0000000..0c3c204
--- /dev/null
+++ b/Assets/Shaders/GetLightingInfo.shadersubgraph.meta
@@ -0,0 +1,10 @@
+fileFormatVersion: 2
+guid: 9f5243657714ed34dbaf3ffa96f68cee
+ScriptedImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
diff --git a/Assets/Shaders/GetTexturedMidtone.shadersubgraph b/Assets/Shaders/GetTexturedMidtone.shadersubgraph
new file mode 100644
index 0000000..a47cbf9
--- /dev/null
+++ b/Assets/Shaders/GetTexturedMidtone.shadersubgraph
@@ -0,0 +1,1323 @@
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.GraphData",
+ "m_ObjectId": "c5f566bc5571450c9a91ce17ed5f5fff",
+ "m_Properties": [
+ {
+ "m_Id": "cdea1c448af34003b781020e792983bd"
+ },
+ {
+ "m_Id": "51018a8c7aaa416eae4873451cc4b43f"
+ },
+ {
+ "m_Id": "85bd71e3303d40ae92c8a8aa6e603331"
+ }
+ ],
+ "m_Keywords": [],
+ "m_Dropdowns": [],
+ "m_CategoryData": [
+ {
+ "m_Id": "22c58a0ff5584534876ca39e4f743386"
+ }
+ ],
+ "m_Nodes": [
+ {
+ "m_Id": "f3d5496890964442b7745515e006ea24"
+ },
+ {
+ "m_Id": "8b6eb9c0e4cc4b549fde5cc78be853a5"
+ },
+ {
+ "m_Id": "4830176c5edb4909bc29f90ba273584c"
+ },
+ {
+ "m_Id": "2001987ccef54c4881e419cfe5ba5f65"
+ },
+ {
+ "m_Id": "6913255685e242fc97c972aabb2bf313"
+ },
+ {
+ "m_Id": "ef04d3475070467291910df217b8a694"
+ },
+ {
+ "m_Id": "8c608bc1210b40b98c1746196768f923"
+ },
+ {
+ "m_Id": "b0bae5f5d4c24048a1c561230376237c"
+ },
+ {
+ "m_Id": "b6f2e3bcbe624c4c92732c42623b6fdb"
+ },
+ {
+ "m_Id": "e76b73e73f4e41308f8ba844aec88432"
+ }
+ ],
+ "m_GroupDatas": [],
+ "m_StickyNoteDatas": [],
+ "m_Edges": [
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "2001987ccef54c4881e419cfe5ba5f65"
+ },
+ "m_SlotId": 3
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "e76b73e73f4e41308f8ba844aec88432"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "4830176c5edb4909bc29f90ba273584c"
+ },
+ "m_SlotId": 4
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "b6f2e3bcbe624c4c92732c42623b6fdb"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "6913255685e242fc97c972aabb2bf313"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "4830176c5edb4909bc29f90ba273584c"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "8b6eb9c0e4cc4b549fde5cc78be853a5"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "2001987ccef54c4881e419cfe5ba5f65"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "8c608bc1210b40b98c1746196768f923"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "ef04d3475070467291910df217b8a694"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "b0bae5f5d4c24048a1c561230376237c"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "ef04d3475070467291910df217b8a694"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "b6f2e3bcbe624c4c92732c42623b6fdb"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "ef04d3475070467291910df217b8a694"
+ },
+ "m_SlotId": 3
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "e76b73e73f4e41308f8ba844aec88432"
+ },
+ "m_SlotId": 3
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "4830176c5edb4909bc29f90ba273584c"
+ },
+ "m_SlotId": 2
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "ef04d3475070467291910df217b8a694"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "f3d5496890964442b7745515e006ea24"
+ },
+ "m_SlotId": 1
+ }
+ }
+ ],
+ "m_VertexContext": {
+ "m_Position": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Blocks": []
+ },
+ "m_FragmentContext": {
+ "m_Position": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Blocks": []
+ },
+ "m_PreviewData": {
+ "serializedMesh": {
+ "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
+ "m_Guid": ""
+ },
+ "preventRotation": false
+ },
+ "m_Path": "Sub Graphs",
+ "m_GraphPrecision": 1,
+ "m_PreviewMode": 2,
+ "m_OutputNode": {
+ "m_Id": "f3d5496890964442b7745515e006ea24"
+ },
+ "m_ActiveTargets": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "028ebf85345d4a0f8004df163a355b0a",
+ "m_Id": 5,
+ "m_DisplayName": "G",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "G",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
+ "m_ObjectId": "0a05c8a4bd274e608fb6169ede0f13ae",
+ "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.Vector1MaterialSlot",
+ "m_ObjectId": "0e5dc9a583104a33b4b3fb1a360c4484",
+ "m_Id": 3,
+ "m_DisplayName": "Opacity",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Opacity",
+ "m_StageCapability": 3,
+ "m_Value": 1.0,
+ "m_DefaultValue": 1.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.RotateNode",
+ "m_ObjectId": "2001987ccef54c4881e419cfe5ba5f65",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Rotate",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1099.2000732421875,
+ "y": 67.19999694824219,
+ "width": 207.99993896484376,
+ "height": 359.2000732421875
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "8456e77b18f44d5d8d2be533debbed9a"
+ },
+ {
+ "m_Id": "e7529c78748743a1b1fc1d0e9c826f95"
+ },
+ {
+ "m_Id": "3d6d3da081bd476183658cb021d18986"
+ },
+ {
+ "m_Id": "7834e1d20f8d4569bcfd48b3ce7ecd5a"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Unit": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "22c58a0ff5584534876ca39e4f743386",
+ "m_Name": "",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "cdea1c448af34003b781020e792983bd"
+ },
+ {
+ "m_Id": "51018a8c7aaa416eae4873451cc4b43f"
+ },
+ {
+ "m_Id": "85bd71e3303d40ae92c8a8aa6e603331"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "242e636b5a45419ab1dd47e0db7b7807",
+ "m_Id": 1,
+ "m_DisplayName": "In",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "In",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "2f6691b8b3ab4ae3bb82b751037eeb8a",
+ "m_Id": 0,
+ "m_DisplayName": "Base",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Base",
+ "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": "34bab57b9800400a93e3e350ab8c3ad7",
+ "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.Vector1MaterialSlot",
+ "m_ObjectId": "3d6d3da081bd476183658cb021d18986",
+ "m_Id": 2,
+ "m_DisplayName": "Rotation",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Rotation",
+ "m_StageCapability": 3,
+ "m_Value": 2.3399999141693117,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SampleTexture2DNode",
+ "m_ObjectId": "4830176c5edb4909bc29f90ba273584c",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Sample Texture 2D",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -509.5999450683594,
+ "y": 32.79999542236328,
+ "width": 207.99996948242188,
+ "height": 431.9999694824219
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "c66aeeb4e92744f0af1829b60ead5193"
+ },
+ {
+ "m_Id": "bac3dcc119874f5191c175f4a04d16b2"
+ },
+ {
+ "m_Id": "028ebf85345d4a0f8004df163a355b0a"
+ },
+ {
+ "m_Id": "56109a4aeef147c786d158d2277e90be"
+ },
+ {
+ "m_Id": "b02b33bab32a4b2dbba67ac233e08a76"
+ },
+ {
+ "m_Id": "ffcbd4a87ea74a1bab3dc1211c064d64"
+ },
+ {
+ "m_Id": "f9e9d3325d1b4917b0b68eba99d36b0c"
+ },
+ {
+ "m_Id": "d2b4964cf2a341e48dba00d7993b19aa"
+ }
+ ],
+ "synonyms": [
+ "tex2d"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_TextureType": 0,
+ "m_NormalMapSpace": 0,
+ "m_EnableGlobalMipBias": true,
+ "m_MipSamplingMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
+ "m_ObjectId": "4e64cb5898dd472eab10d44557520f67",
+ "m_Id": 0,
+ "m_DisplayName": "MidtoneTexture",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
+ "m_ObjectId": "51018a8c7aaa416eae4873451cc4b43f",
+ "m_Guid": {
+ "m_GuidSerialized": "c8cd343c-8408-400b-8beb-ba11175b46e3"
+ },
+ "m_Name": "HighlightColor",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "HighlightColor",
+ "m_DefaultReferenceName": "_HighlightColor",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "r": 0.16408658027648927,
+ "g": 1.0,
+ "b": 0.0,
+ "a": 0.0
+ },
+ "isMainColor": false,
+ "m_ColorMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "56109a4aeef147c786d158d2277e90be",
+ "m_Id": 6,
+ "m_DisplayName": "B",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "6913255685e242fc97c972aabb2bf313",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -767.2000122070313,
+ "y": 37.60000228881836,
+ "width": 166.40008544921876,
+ "height": 33.60000228881836
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "4e64cb5898dd472eab10d44557520f67"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "85bd71e3303d40ae92c8a8aa6e603331"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
+ "m_ObjectId": "7834e1d20f8d4569bcfd48b3ce7ecd5a",
+ "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.Vector4MaterialSlot",
+ "m_ObjectId": "80dbf2dc4ae343ffba9360a6b883258c",
+ "m_Id": 0,
+ "m_DisplayName": "HighlightColor",
+ "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.UVMaterialSlot",
+ "m_ObjectId": "8456e77b18f44d5d8d2be533debbed9a",
+ "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.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "85bd71e3303d40ae92c8a8aa6e603331",
+ "m_Guid": {
+ "m_GuidSerialized": "fc5a6a0d-5803-4983-a216-d0691feebad7"
+ },
+ "m_Name": "MidtoneTexture",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "MidtoneTexture",
+ "m_DefaultReferenceName": "_MidtoneTexture",
+ "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": {
+ "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"966f2baf5f8eaa745a5bcdc4c8127425\",\"type\":3}}",
+ "m_Guid": ""
+ },
+ "isMainTexture": false,
+ "useTilingAndOffset": false,
+ "m_Modifiable": true,
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
+ "m_ObjectId": "87d4368fead34ed987cd96caa4b5382c",
+ "m_Id": 1,
+ "m_DisplayName": "Tiling",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Tiling",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 4.0,
+ "y": 1.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.ScreenPositionNode",
+ "m_ObjectId": "8b6eb9c0e4cc4b549fde5cc78be853a5",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Screen Position",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -1349.5999755859375,
+ "y": 68.79999542236328,
+ "width": 208.0,
+ "height": 311.20001220703127
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "e916c45105114c42912f6d0df24842dc"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_ScreenSpaceType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "8c608bc1210b40b98c1746196768f923",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -182.39999389648438,
+ "y": -120.00000762939453,
+ "width": 147.2000274658203,
+ "height": 33.599998474121097
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "fa84abdc454548b28d6d450c73dac47d"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "cdea1c448af34003b781020e792983bd"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "9d55807c38ac44e3ae093ab2b0e0a2bc",
+ "m_Id": 1,
+ "m_DisplayName": "Blend",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Blend",
+ "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.Vector4MaterialSlot",
+ "m_ObjectId": "a68f032d4d1045ad8298dfc618b46f05",
+ "m_Id": 1,
+ "m_DisplayName": "MidtoneColor",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "MidtoneColor",
+ "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_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "b02b33bab32a4b2dbba67ac233e08a76",
+ "m_Id": 7,
+ "m_DisplayName": "A",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "b0bae5f5d4c24048a1c561230376237c",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -197.59996032714845,
+ "y": -77.5999984741211,
+ "width": 151.19998168945313,
+ "height": 33.59999465942383
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "80dbf2dc4ae343ffba9360a6b883258c"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "51018a8c7aaa416eae4873451cc4b43f"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.StepNode",
+ "m_ObjectId": "b6f2e3bcbe624c4c92732c42623b6fdb",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Step",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -210.4000244140625,
+ "y": 29.600006103515626,
+ "width": 144.800048828125,
+ "height": 117.5999755859375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "d37fb217254c442d932ed9ffc20d3e46"
+ },
+ {
+ "m_Id": "242e636b5a45419ab1dd47e0db7b7807"
+ },
+ {
+ "m_Id": "e401741153a8439db11abbf4d7c2d6bb"
+ }
+ ],
+ "synonyms": [],
+ "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": "bac3dcc119874f5191c175f4a04d16b2",
+ "m_Id": 4,
+ "m_DisplayName": "R",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "R",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
+ "m_ObjectId": "be586046ae83419ab9f8a0a85e0c22c6",
+ "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.Vector4MaterialSlot",
+ "m_ObjectId": "c66aeeb4e92744f0af1829b60ead5193",
+ "m_Id": 0,
+ "m_DisplayName": "RGBA",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "RGBA",
+ "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_Labels": []
+}
+
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
+ "m_ObjectId": "cdea1c448af34003b781020e792983bd",
+ "m_Guid": {
+ "m_GuidSerialized": "28e32ff8-8780-475a-9d32-22bdc7361777"
+ },
+ "m_Name": "ShadowColor",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "ShadowColor",
+ "m_DefaultReferenceName": "_ShadowColor",
+ "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": 0.0,
+ "b": 0.0,
+ "a": 0.0
+ },
+ "isMainColor": false,
+ "m_ColorMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
+ "m_ObjectId": "d2b4964cf2a341e48dba00d7993b19aa",
+ "m_Id": 3,
+ "m_DisplayName": "Sampler",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Sampler",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "d37fb217254c442d932ed9ffc20d3e46",
+ "m_Id": 0,
+ "m_DisplayName": "Edge",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Edge",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.5,
+ "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": "e401741153a8439db11abbf4d7c2d6bb",
+ "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.Vector2MaterialSlot",
+ "m_ObjectId": "e7529c78748743a1b1fc1d0e9c826f95",
+ "m_Id": 1,
+ "m_DisplayName": "Center",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Center",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.5,
+ "y": 0.5
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.TilingAndOffsetNode",
+ "m_ObjectId": "e76b73e73f4e41308f8ba844aec88432",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Tiling And Offset",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -756.7999267578125,
+ "y": 96.00000762939453,
+ "width": 208.0,
+ "height": 325.6000061035156
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "f7a28d0b01bd49d98d72c2f8201dff3b"
+ },
+ {
+ "m_Id": "87d4368fead34ed987cd96caa4b5382c"
+ },
+ {
+ "m_Id": "be586046ae83419ab9f8a0a85e0c22c6"
+ },
+ {
+ "m_Id": "0a05c8a4bd274e608fb6169ede0f13ae"
+ }
+ ],
+ "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.Vector4MaterialSlot",
+ "m_ObjectId": "e916c45105114c42912f6d0df24842dc",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "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.BlendNode",
+ "m_ObjectId": "ef04d3475070467291910df217b8a694",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Blend",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 12.800009727478028,
+ "y": -132.80001831054688,
+ "width": 208.00003051757813,
+ "height": 359.20001220703127
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "2f6691b8b3ab4ae3bb82b751037eeb8a"
+ },
+ {
+ "m_Id": "9d55807c38ac44e3ae093ab2b0e0a2bc"
+ },
+ {
+ "m_Id": "0e5dc9a583104a33b4b3fb1a360c4484"
+ },
+ {
+ "m_Id": "34bab57b9800400a93e3e350ab8c3ad7"
+ }
+ ],
+ "synonyms": [
+ "burn",
+ "darken",
+ "difference",
+ "dodge",
+ "divide",
+ "exclusion",
+ "hard light",
+ "hard mix",
+ "linear burn",
+ "linear dodge",
+ "linear light",
+ "multiply",
+ "negate",
+ "overlay",
+ "pin light",
+ "screen",
+ "soft light",
+ "subtract",
+ "vivid light",
+ "overwrite"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_BlendMode": 21
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
+ "m_ObjectId": "f3d5496890964442b7745515e006ea24",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Output",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 391.2000427246094,
+ "y": -97.60000610351563,
+ "width": 125.60000610351563,
+ "height": 76.80000305175781
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "a68f032d4d1045ad8298dfc618b46f05"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "IsFirstSlotValid": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
+ "m_ObjectId": "f7a28d0b01bd49d98d72c2f8201dff3b",
+ "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.UVMaterialSlot",
+ "m_ObjectId": "f9e9d3325d1b4917b0b68eba99d36b0c",
+ "m_Id": 2,
+ "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.Vector4MaterialSlot",
+ "m_ObjectId": "fa84abdc454548b28d6d450c73dac47d",
+ "m_Id": 0,
+ "m_DisplayName": "ShadowColor",
+ "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.Texture2DInputMaterialSlot",
+ "m_ObjectId": "ffcbd4a87ea74a1bab3dc1211c064d64",
+ "m_Id": 1,
+ "m_DisplayName": "Texture",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Texture",
+ "m_StageCapability": 3,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
diff --git a/Assets/Shaders/GetTexturedMidtone.shadersubgraph.meta b/Assets/Shaders/GetTexturedMidtone.shadersubgraph.meta
new file mode 100644
index 0000000..38be76d
--- /dev/null
+++ b/Assets/Shaders/GetTexturedMidtone.shadersubgraph.meta
@@ -0,0 +1,10 @@
+fileFormatVersion: 2
+guid: ca6b1d14a1506154dabaeb22a6d3a322
+ScriptedImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
diff --git a/Assets/Shaders/ShadowAttenuation.shadergraph b/Assets/Shaders/ShadowAttenuation.shadergraph
new file mode 100644
index 0000000..c1a332f
--- /dev/null
+++ b/Assets/Shaders/ShadowAttenuation.shadergraph
@@ -0,0 +1,1346 @@
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.GraphData",
+ "m_ObjectId": "d319c495e5d743d78ca9f6a4bfb83e8b",
+ "m_Properties": [
+ {
+ "m_Id": "7eb5a92e8e42466b8fce2e3495393fef"
+ },
+ {
+ "m_Id": "9c204c2099e04e0996dd0d5550d28f4a"
+ },
+ {
+ "m_Id": "715003ffbedb41e1ba2567bce74e58d2"
+ },
+ {
+ "m_Id": "49a358ee74994ee38d8a0cca6114a9e6"
+ },
+ {
+ "m_Id": "c592b9ea3e184abaa0973e0292884668"
+ }
+ ],
+ "m_Keywords": [
+ {
+ "m_Id": "e5a71d711c86416886b209ec634fe2f6"
+ },
+ {
+ "m_Id": "a9c5436a87be4b06afd14e618024c004"
+ },
+ {
+ "m_Id": "0eef9d116d3b4975b9bd81200bf0bbb4"
+ },
+ {
+ "m_Id": "a1669d731be94e2c83f4ee08f8a9f669"
+ },
+ {
+ "m_Id": "b809fdc1f7e34de0b139821499ca0e23"
+ }
+ ],
+ "m_Dropdowns": [],
+ "m_CategoryData": [
+ {
+ "m_Id": "add220b505e74a1ea06ac805858fa8fe"
+ }
+ ],
+ "m_Nodes": [
+ {
+ "m_Id": "7934d389d74d40da8657cd6d83d38935"
+ },
+ {
+ "m_Id": "67074c7db931474f93a92686f1e963f0"
+ },
+ {
+ "m_Id": "9d590a060a6245988f804fe7abc93a7b"
+ },
+ {
+ "m_Id": "48bdfdf3936944fd964058d7ca97fe50"
+ },
+ {
+ "m_Id": "a06200c1683740bdaddb575af7254b06"
+ },
+ {
+ "m_Id": "cec38ddfb1ed4b82be77e0c5cc69187c"
+ },
+ {
+ "m_Id": "575be33f9e554879af44fc525ea5d825"
+ },
+ {
+ "m_Id": "cfe87f057d1d4659af00116b1fd08bde"
+ },
+ {
+ "m_Id": "18f2266afdc843a9a8a0a1efb8b95d92"
+ }
+ ],
+ "m_GroupDatas": [],
+ "m_StickyNoteDatas": [],
+ "m_Edges": [
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "18f2266afdc843a9a8a0a1efb8b95d92"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "48bdfdf3936944fd964058d7ca97fe50"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "575be33f9e554879af44fc525ea5d825"
+ },
+ "m_SlotId": 4
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "18f2266afdc843a9a8a0a1efb8b95d92"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "a06200c1683740bdaddb575af7254b06"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "cec38ddfb1ed4b82be77e0c5cc69187c"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "cec38ddfb1ed4b82be77e0c5cc69187c"
+ },
+ "m_SlotId": 4
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "18f2266afdc843a9a8a0a1efb8b95d92"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "cfe87f057d1d4659af00116b1fd08bde"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "575be33f9e554879af44fc525ea5d825"
+ },
+ "m_SlotId": 2
+ }
+ }
+ ],
+ "m_VertexContext": {
+ "m_Position": {
+ "x": 607.2000122070313,
+ "y": 363.2000427246094
+ },
+ "m_Blocks": [
+ {
+ "m_Id": "7934d389d74d40da8657cd6d83d38935"
+ },
+ {
+ "m_Id": "67074c7db931474f93a92686f1e963f0"
+ },
+ {
+ "m_Id": "9d590a060a6245988f804fe7abc93a7b"
+ }
+ ]
+ },
+ "m_FragmentContext": {
+ "m_Position": {
+ "x": 608.0,
+ "y": 598.4000854492188
+ },
+ "m_Blocks": [
+ {
+ "m_Id": "48bdfdf3936944fd964058d7ca97fe50"
+ }
+ ]
+ },
+ "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_ActiveTargets": [
+ {
+ "m_Id": "16b9825dba0b4b20b1621dba1e0a0534"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
+ "m_ObjectId": "0eef9d116d3b4975b9bd81200bf0bbb4",
+ "m_Guid": {
+ "m_GuidSerialized": "9e19c791-edf1-4c4b-b630-fadc4acae967"
+ },
+ "m_Name": "Shadows Cascade",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Shadows Cascade",
+ "m_DefaultReferenceName": "_SHADOWS_CASCADE",
+ "m_OverrideReferenceName": "_MAIN_LIGHT_SHADOWS_CASCADE",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_KeywordType": 0,
+ "m_KeywordDefinition": 1,
+ "m_KeywordScope": 0,
+ "m_KeywordStages": 63,
+ "m_Entries": [],
+ "m_Value": 1,
+ "m_IsEditable": true
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
+ "m_ObjectId": "16b9825dba0b4b20b1621dba1e0a0534",
+ "m_Datas": [],
+ "m_ActiveSubTarget": {
+ "m_Id": "26157d021b81491c86e9452f8159ac27"
+ },
+ "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_SupportsLODCrossFade": false,
+ "m_CustomEditorGUI": "",
+ "m_SupportVFX": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.MaximumNode",
+ "m_ObjectId": "18f2266afdc843a9a8a0a1efb8b95d92",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Maximum",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 524.2373657226563,
+ "y": 1359.4373779296875,
+ "width": 208.0,
+ "height": 301.5999755859375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "d88e13e2368a40a2b8e47dc5ed89a0bc"
+ },
+ {
+ "m_Id": "34dba725d4584afdb1607c9c48916837"
+ },
+ {
+ "m_Id": "1dc173c3f8534bd9b847b3652427b912"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "1dc173c3f8534bd9b847b3652427b912",
+ "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": 2,
+ "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
+ "m_ObjectId": "26157d021b81491c86e9452f8159ac27"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "3462d6f7ce934d49a9671d7def96a500",
+ "m_Id": 3,
+ "m_DisplayName": "DistanceAtten",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "DistanceAtten",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "34dba725d4584afdb1607c9c48916837",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "351d623f568d47a3a57d19b77eccfb8d",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "48bdfdf3936944fd964058d7ca97fe50",
+ "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": "c56b870e7d5a4cb183c1d0dc063d2203"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.BaseColor"
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "49a358ee74994ee38d8a0cca6114a9e6",
+ "m_Guid": {
+ "m_GuidSerialized": "9d86b2c5-6c8b-4a5c-b01c-c4271a8ec990"
+ },
+ "m_Name": "ShadowAmount",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "ShadowAmount",
+ "m_DefaultReferenceName": "_ShadowAmount",
+ "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.800000011920929,
+ "m_FloatType": 1,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "4c91caeea9db48b68ab48560dfc4e7ab",
+ "m_Id": 4,
+ "m_DisplayName": "ShadowAtten",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "ShadowAtten",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "522921c04118402d8586f9e6a988fcea",
+ "m_Id": 1,
+ "m_DisplayName": "Color",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Color",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "5252cf7f552d443dbf98dd2621d1fe43",
+ "m_Id": 5,
+ "m_DisplayName": "G",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "G",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "53736907bc4e4f109055342ea66a20e8",
+ "m_Id": 4,
+ "m_DisplayName": "R",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "R",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "555e7b6a5ba74f8faf54a059011f043d",
+ "m_Id": 2,
+ "m_DisplayName": "Direction",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Direction",
+ "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.SampleTexture2DNode",
+ "m_ObjectId": "575be33f9e554879af44fc525ea5d825",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Sample Texture 2D",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 265.6000061035156,
+ "y": 1320.800048828125,
+ "width": 207.99996948242188,
+ "height": 432.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "fec51d84a1f74e8b88fc242d5bda05d6"
+ },
+ {
+ "m_Id": "53736907bc4e4f109055342ea66a20e8"
+ },
+ {
+ "m_Id": "5252cf7f552d443dbf98dd2621d1fe43"
+ },
+ {
+ "m_Id": "57ff47effb534d449296ab4be5f9d322"
+ },
+ {
+ "m_Id": "db6bc1e6ee354bc89d527fa639578a78"
+ },
+ {
+ "m_Id": "76fe9d0c27584e06a1eabe62425540d0"
+ },
+ {
+ "m_Id": "5a3dbf687d374fc28f0836e3efc47d0f"
+ },
+ {
+ "m_Id": "d54f68050ab84f08bb90a28ec74f8984"
+ }
+ ],
+ "synonyms": [
+ "tex2d"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_TextureType": 0,
+ "m_NormalMapSpace": 0,
+ "m_EnableGlobalMipBias": true,
+ "m_MipSamplingMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "57ff47effb534d449296ab4be5f9d322",
+ "m_Id": 6,
+ "m_DisplayName": "B",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
+ "m_ObjectId": "5a3dbf687d374fc28f0836e3efc47d0f",
+ "m_Id": 2,
+ "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.BlockNode",
+ "m_ObjectId": "67074c7db931474f93a92686f1e963f0",
+ "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": "b9ea3672569d404fa365dcd82b6e26bd"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "VertexDescription.Normal"
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "715003ffbedb41e1ba2567bce74e58d2",
+ "m_Guid": {
+ "m_GuidSerialized": "642e18bc-836b-4f1b-b547-e977c3e521a6"
+ },
+ "m_Name": "HighlightThreshold",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "HighlightThreshold",
+ "m_DefaultReferenceName": "_HighlightThreshold",
+ "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.6000000238418579,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "76fe9d0c27584e06a1eabe62425540d0",
+ "m_Id": 1,
+ "m_DisplayName": "Texture",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Texture",
+ "m_StageCapability": 3,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"05cb056fb4807704d94083bc167b31f5\",\"type\":3}}",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "7934d389d74d40da8657cd6d83d38935",
+ "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": "f7799d2969664bafb5b2bb91b8ca17cc"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "VertexDescription.Position"
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "7eb5a92e8e42466b8fce2e3495393fef",
+ "m_Guid": {
+ "m_GuidSerialized": "2e239ef5-6224-4600-b7f4-e557f65be907"
+ },
+ "m_Name": "ShadowThreshold",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "ShadowThreshold",
+ "m_DefaultReferenceName": "_ShadowThreshold",
+ "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.20000000298023225,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
+ "m_ObjectId": "9c204c2099e04e0996dd0d5550d28f4a",
+ "m_Guid": {
+ "m_GuidSerialized": "deee1f0a-d299-4de2-8d1b-f89e6f29ad12"
+ },
+ "m_Name": "BaseColor",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "BaseColor",
+ "m_DefaultReferenceName": "_BaseColor",
+ "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": 0.211320698261261,
+ "b": 0.7412702441215515,
+ "a": 0.0
+ },
+ "isMainColor": false,
+ "m_ColorMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "9d590a060a6245988f804fe7abc93a7b",
+ "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": "9dabadec240d422faed42460e368e458"
+ }
+ ],
+ "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.TangentMaterialSlot",
+ "m_ObjectId": "9dabadec240d422faed42460e368e458",
+ "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": 1,
+ "m_Type": "UnityEditor.ShaderGraph.PositionNode",
+ "m_ObjectId": "a06200c1683740bdaddb575af7254b06",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Position",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -444.43218994140627,
+ "y": 697.0048828125,
+ "width": 208.0,
+ "height": 312.7999267578125
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "ba513ee2c5c04c3f878d296dbe25aee0"
+ }
+ ],
+ "synonyms": [
+ "location"
+ ],
+ "m_Precision": 1,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 2,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Space": 2,
+ "m_PositionSource": 0
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
+ "m_ObjectId": "a1669d731be94e2c83f4ee08f8a9f669",
+ "m_Guid": {
+ "m_GuidSerialized": "e476794b-ba20-4ab6-8038-e8bda11c9d8c"
+ },
+ "m_Name": "Shadows",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Shadows",
+ "m_DefaultReferenceName": "_SHADOWS",
+ "m_OverrideReferenceName": "MAIN_LIGHT_CALCULATE_SHADOWS",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_KeywordType": 0,
+ "m_KeywordDefinition": 1,
+ "m_KeywordScope": 0,
+ "m_KeywordStages": 63,
+ "m_Entries": [],
+ "m_Value": 1,
+ "m_IsEditable": true
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
+ "m_ObjectId": "a9c5436a87be4b06afd14e618024c004",
+ "m_Guid": {
+ "m_GuidSerialized": "e5370f12-55bb-4028-835d-23abb44cf31f"
+ },
+ "m_Name": "Additional Lights",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Additional Lights",
+ "m_DefaultReferenceName": "_ADDITIONAL_LIGHTS",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_KeywordType": 0,
+ "m_KeywordDefinition": 1,
+ "m_KeywordScope": 0,
+ "m_KeywordStages": 63,
+ "m_Entries": [],
+ "m_Value": 1,
+ "m_IsEditable": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "add220b505e74a1ea06ac805858fa8fe",
+ "m_Name": "",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "b809fdc1f7e34de0b139821499ca0e23"
+ },
+ {
+ "m_Id": "e5a71d711c86416886b209ec634fe2f6"
+ },
+ {
+ "m_Id": "a9c5436a87be4b06afd14e618024c004"
+ },
+ {
+ "m_Id": "0eef9d116d3b4975b9bd81200bf0bbb4"
+ },
+ {
+ "m_Id": "715003ffbedb41e1ba2567bce74e58d2"
+ },
+ {
+ "m_Id": "a1669d731be94e2c83f4ee08f8a9f669"
+ },
+ {
+ "m_Id": "7eb5a92e8e42466b8fce2e3495393fef"
+ },
+ {
+ "m_Id": "9c204c2099e04e0996dd0d5550d28f4a"
+ },
+ {
+ "m_Id": "49a358ee74994ee38d8a0cca6114a9e6"
+ },
+ {
+ "m_Id": "c592b9ea3e184abaa0973e0292884668"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
+ "m_ObjectId": "b809fdc1f7e34de0b139821499ca0e23",
+ "m_Guid": {
+ "m_GuidSerialized": "e1fc1bfe-6ef3-45c9-9d42-9ece7e3d91e3"
+ },
+ "m_Name": "Soft Shadows",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Soft Shadows",
+ "m_DefaultReferenceName": "_SOFT_SHADOWS",
+ "m_OverrideReferenceName": "_SHADOWS_SOFT",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_KeywordType": 0,
+ "m_KeywordDefinition": 1,
+ "m_KeywordScope": 0,
+ "m_KeywordStages": 63,
+ "m_Entries": [],
+ "m_Value": 1,
+ "m_IsEditable": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
+ "m_ObjectId": "b9ea3672569d404fa365dcd82b6e26bd",
+ "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.Vector3MaterialSlot",
+ "m_ObjectId": "ba503b0e8fbd4db98e50e6e7eed27f16",
+ "m_Id": 0,
+ "m_DisplayName": "WorldPos",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "WorldPos",
+ "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": "ba513ee2c5c04c3f878d296dbe25aee0",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
+ "m_ObjectId": "c56b870e7d5a4cb183c1d0dc063d2203",
+ "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": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "c592b9ea3e184abaa0973e0292884668",
+ "m_Guid": {
+ "m_GuidSerialized": "6527677c-9d70-4d66-967c-b4203c46cc3d"
+ },
+ "m_Name": "HighlightAmount",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "HighlightAmount",
+ "m_DefaultReferenceName": "_HighlightAmount",
+ "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.5,
+ "m_FloatType": 1,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
+ "m_ObjectId": "cec38ddfb1ed4b82be77e0c5cc69187c",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "GetMainLight (Custom Function)",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -101.60000610351563,
+ "y": 763.2000122070313,
+ "width": 231.99998474121095,
+ "height": 349.60003662109377
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "ba503b0e8fbd4db98e50e6e7eed27f16"
+ },
+ {
+ "m_Id": "522921c04118402d8586f9e6a988fcea"
+ },
+ {
+ "m_Id": "555e7b6a5ba74f8faf54a059011f043d"
+ },
+ {
+ "m_Id": "3462d6f7ce934d49a9671d7def96a500"
+ },
+ {
+ "m_Id": "4c91caeea9db48b68ab48560dfc4e7ab"
+ }
+ ],
+ "synonyms": [
+ "code",
+ "HLSL"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SourceType": 0,
+ "m_FunctionName": "GetMainLight",
+ "m_FunctionSource": "9c2401c89f3acce4fbc7d5b66a67225b",
+ "m_FunctionBody": "Enter function body here..."
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.ScreenPositionNode",
+ "m_ObjectId": "cfe87f057d1d4659af00116b1fd08bde",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Screen Position",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -91.20001220703125,
+ "y": 1367.199951171875,
+ "width": 208.0,
+ "height": 311.2000732421875
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "351d623f568d47a3a57d19b77eccfb8d"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_ScreenSpaceType": 3
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
+ "m_ObjectId": "d54f68050ab84f08bb90a28ec74f8984",
+ "m_Id": 3,
+ "m_DisplayName": "Sampler",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Sampler",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "d88e13e2368a40a2b8e47dc5ed89a0bc",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "db6bc1e6ee354bc89d527fa639578a78",
+ "m_Id": 7,
+ "m_DisplayName": "A",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
+ "m_ObjectId": "e5a71d711c86416886b209ec634fe2f6",
+ "m_Guid": {
+ "m_GuidSerialized": "2d4a7eb1-5095-4e3c-a08a-ec0e0b786285"
+ },
+ "m_Name": "Additional Shadows",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Additional Shadows",
+ "m_DefaultReferenceName": "_ADDITIONAL_SHADOWS",
+ "m_OverrideReferenceName": "ADDITIONAL_LIGHT_CALCULATE_SHADOWS",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_KeywordType": 0,
+ "m_KeywordDefinition": 1,
+ "m_KeywordScope": 0,
+ "m_KeywordStages": 63,
+ "m_Entries": [],
+ "m_Value": 1,
+ "m_IsEditable": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
+ "m_ObjectId": "f7799d2969664bafb5b2bb91b8ca17cc",
+ "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.Vector4MaterialSlot",
+ "m_ObjectId": "fec51d84a1f74e8b88fc242d5bda05d6",
+ "m_Id": 0,
+ "m_DisplayName": "RGBA",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "RGBA",
+ "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_Labels": []
+}
+
diff --git a/Assets/Shaders/ShadowAttenuation.shadergraph.meta b/Assets/Shaders/ShadowAttenuation.shadergraph.meta
new file mode 100644
index 0000000..b465125
--- /dev/null
+++ b/Assets/Shaders/ShadowAttenuation.shadergraph.meta
@@ -0,0 +1,10 @@
+fileFormatVersion: 2
+guid: 48e516fa33913254ba9639c8cc1c89fd
+ScriptedImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
diff --git a/Assets/Shaders/ToonShader3Level.shadergraph b/Assets/Shaders/ToonShader3Level.shadergraph
new file mode 100644
index 0000000..7e12944
--- /dev/null
+++ b/Assets/Shaders/ToonShader3Level.shadergraph
@@ -0,0 +1,2574 @@
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.GraphData",
+ "m_ObjectId": "d319c495e5d743d78ca9f6a4bfb83e8b",
+ "m_Properties": [
+ {
+ "m_Id": "7eb5a92e8e42466b8fce2e3495393fef"
+ },
+ {
+ "m_Id": "9c204c2099e04e0996dd0d5550d28f4a"
+ },
+ {
+ "m_Id": "715003ffbedb41e1ba2567bce74e58d2"
+ },
+ {
+ "m_Id": "49a358ee74994ee38d8a0cca6114a9e6"
+ },
+ {
+ "m_Id": "c592b9ea3e184abaa0973e0292884668"
+ },
+ {
+ "m_Id": "0dab9d21fa2d460d9c1eaad4f84e2916"
+ },
+ {
+ "m_Id": "bc6b217ce51248628c0edbead624b7b4"
+ }
+ ],
+ "m_Keywords": [
+ {
+ "m_Id": "e5a71d711c86416886b209ec634fe2f6"
+ },
+ {
+ "m_Id": "a9c5436a87be4b06afd14e618024c004"
+ },
+ {
+ "m_Id": "0eef9d116d3b4975b9bd81200bf0bbb4"
+ },
+ {
+ "m_Id": "a1669d731be94e2c83f4ee08f8a9f669"
+ },
+ {
+ "m_Id": "b809fdc1f7e34de0b139821499ca0e23"
+ }
+ ],
+ "m_Dropdowns": [],
+ "m_CategoryData": [
+ {
+ "m_Id": "add220b505e74a1ea06ac805858fa8fe"
+ }
+ ],
+ "m_Nodes": [
+ {
+ "m_Id": "7934d389d74d40da8657cd6d83d38935"
+ },
+ {
+ "m_Id": "67074c7db931474f93a92686f1e963f0"
+ },
+ {
+ "m_Id": "9d590a060a6245988f804fe7abc93a7b"
+ },
+ {
+ "m_Id": "48bdfdf3936944fd964058d7ca97fe50"
+ },
+ {
+ "m_Id": "e65e081075524b13a1a92de87f57966b"
+ },
+ {
+ "m_Id": "6cb92ee886ed415b856f434e23cb001a"
+ },
+ {
+ "m_Id": "8c9659aa60664d878d77b4d4c37e56e8"
+ },
+ {
+ "m_Id": "1757b5c0446b49f0ad458c7330ae0bee"
+ },
+ {
+ "m_Id": "41e2715268f940e88b781288ff9fc477"
+ },
+ {
+ "m_Id": "dc2f5478562b4439aaffc9e780f3992b"
+ },
+ {
+ "m_Id": "19229424cc0548c58f81191c0ab22f38"
+ },
+ {
+ "m_Id": "d9df74fd33194a5a99a96e62de878b2b"
+ },
+ {
+ "m_Id": "5b539897f5e445ffb567f6c408738131"
+ },
+ {
+ "m_Id": "22c2989a111749e7b9837d83b4e134cc"
+ },
+ {
+ "m_Id": "84689d32ac46410abdc8344309b9daea"
+ },
+ {
+ "m_Id": "33f579155d8341878c6ee1927f89b390"
+ },
+ {
+ "m_Id": "f4af5591faa44d47a717d025648facfe"
+ },
+ {
+ "m_Id": "fcd04b3a3acf44dc99f55bc8343cb494"
+ },
+ {
+ "m_Id": "0cb800f3fc604edfb1bb9fc05dbb5ad4"
+ },
+ {
+ "m_Id": "a6ed35cb750c4f119da5c002ab403555"
+ }
+ ],
+ "m_GroupDatas": [],
+ "m_StickyNoteDatas": [],
+ "m_Edges": [
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "0cb800f3fc604edfb1bb9fc05dbb5ad4"
+ },
+ "m_SlotId": 1
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "fcd04b3a3acf44dc99f55bc8343cb494"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "1757b5c0446b49f0ad458c7330ae0bee"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "dc2f5478562b4439aaffc9e780f3992b"
+ },
+ "m_SlotId": 71346873
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "19229424cc0548c58f81191c0ab22f38"
+ },
+ "m_SlotId": 1
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "0cb800f3fc604edfb1bb9fc05dbb5ad4"
+ },
+ "m_SlotId": 2050621608
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "19229424cc0548c58f81191c0ab22f38"
+ },
+ "m_SlotId": 1
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "dc2f5478562b4439aaffc9e780f3992b"
+ },
+ "m_SlotId": 922308178
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "22c2989a111749e7b9837d83b4e134cc"
+ },
+ "m_SlotId": 1
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "0cb800f3fc604edfb1bb9fc05dbb5ad4"
+ },
+ "m_SlotId": -1517507550
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "22c2989a111749e7b9837d83b4e134cc"
+ },
+ "m_SlotId": 1
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "dc2f5478562b4439aaffc9e780f3992b"
+ },
+ "m_SlotId": -501285117
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "33f579155d8341878c6ee1927f89b390"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "22c2989a111749e7b9837d83b4e134cc"
+ },
+ "m_SlotId": 15351018
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "41e2715268f940e88b781288ff9fc477"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "fcd04b3a3acf44dc99f55bc8343cb494"
+ },
+ "m_SlotId": 2
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "5b539897f5e445ffb567f6c408738131"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "19229424cc0548c58f81191c0ab22f38"
+ },
+ "m_SlotId": -264719948
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "6cb92ee886ed415b856f434e23cb001a"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "48bdfdf3936944fd964058d7ca97fe50"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "84689d32ac46410abdc8344309b9daea"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "22c2989a111749e7b9837d83b4e134cc"
+ },
+ "m_SlotId": -264719948
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "8c9659aa60664d878d77b4d4c37e56e8"
+ },
+ "m_SlotId": 1
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "6cb92ee886ed415b856f434e23cb001a"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "8c9659aa60664d878d77b4d4c37e56e8"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "dc2f5478562b4439aaffc9e780f3992b"
+ },
+ "m_SlotId": 1965141485
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "a6ed35cb750c4f119da5c002ab403555"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "0cb800f3fc604edfb1bb9fc05dbb5ad4"
+ },
+ "m_SlotId": 196332211
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "d9df74fd33194a5a99a96e62de878b2b"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "19229424cc0548c58f81191c0ab22f38"
+ },
+ "m_SlotId": 15351018
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "dc2f5478562b4439aaffc9e780f3992b"
+ },
+ "m_SlotId": 1
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "6cb92ee886ed415b856f434e23cb001a"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "e65e081075524b13a1a92de87f57966b"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "dc2f5478562b4439aaffc9e780f3992b"
+ },
+ "m_SlotId": 333196845
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "f4af5591faa44d47a717d025648facfe"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "fcd04b3a3acf44dc99f55bc8343cb494"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "fcd04b3a3acf44dc99f55bc8343cb494"
+ },
+ "m_SlotId": 3
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "dc2f5478562b4439aaffc9e780f3992b"
+ },
+ "m_SlotId": 2003611407
+ }
+ }
+ ],
+ "m_VertexContext": {
+ "m_Position": {
+ "x": 1106.3997802734375,
+ "y": 357.6000061035156
+ },
+ "m_Blocks": [
+ {
+ "m_Id": "7934d389d74d40da8657cd6d83d38935"
+ },
+ {
+ "m_Id": "67074c7db931474f93a92686f1e963f0"
+ },
+ {
+ "m_Id": "9d590a060a6245988f804fe7abc93a7b"
+ }
+ ]
+ },
+ "m_FragmentContext": {
+ "m_Position": {
+ "x": 1107.1998291015625,
+ "y": 592.800048828125
+ },
+ "m_Blocks": [
+ {
+ "m_Id": "48bdfdf3936944fd964058d7ca97fe50"
+ }
+ ]
+ },
+ "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_ActiveTargets": [
+ {
+ "m_Id": "16b9825dba0b4b20b1621dba1e0a0534"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "0129e1cb717d4df5b83021b1f3581042",
+ "m_Id": 0,
+ "m_DisplayName": "HighlightAmount",
+ "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.Vector4MaterialSlot",
+ "m_ObjectId": "0938f1f976ee4768b4759ddff12f9e9b",
+ "m_Id": 15351018,
+ "m_DisplayName": "Color",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_Color",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.8396226167678833,
+ "y": 0.35169094800949099,
+ "z": 0.35169094800949099,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
+ "m_ObjectId": "0cb800f3fc604edfb1bb9fc05dbb5ad4",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "GetTexturedMidtone",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -236.79998779296876,
+ "y": 1108.800048828125,
+ "width": 263.20001220703127,
+ "height": 142.39990234375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "3481843ac68d4081bfdbb134657386f4"
+ },
+ {
+ "m_Id": "bc01102d808041c088655285f7366324"
+ },
+ {
+ "m_Id": "44b549e56bf34593ad1e04b31a410ad4"
+ },
+ {
+ "m_Id": "f817e947c78a4e628cee087466a30baf"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"ca6b1d14a1506154dabaeb22a6d3a322\",\n \"type\": 3\n }\n}",
+ "m_PropertyGuids": [
+ "28e32ff8-8780-475a-9d32-22bdc7361777",
+ "c8cd343c-8408-400b-8beb-ba11175b46e3",
+ "fc5a6a0d-5803-4983-a216-d0691feebad7"
+ ],
+ "m_PropertyIds": [
+ -1517507550,
+ 2050621608,
+ 196332211
+ ],
+ "m_Dropdowns": [],
+ "m_DropdownSelectedEntries": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.BooleanShaderProperty",
+ "m_ObjectId": "0dab9d21fa2d460d9c1eaad4f84e2916",
+ "m_Guid": {
+ "m_GuidSerialized": "8ea355e9-3f7b-40f6-8103-4ba198be4d61"
+ },
+ "m_Name": "UseMidtoneTexture",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "UseMidtoneTexture",
+ "m_DefaultReferenceName": "_UseMidtoneTexture",
+ "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": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "0e66578551854999a5750cb7a8195235",
+ "m_Id": 2003611407,
+ "m_DisplayName": "Color2",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_Color2",
+ "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": 1,
+ "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
+ "m_ObjectId": "0eef9d116d3b4975b9bd81200bf0bbb4",
+ "m_Guid": {
+ "m_GuidSerialized": "9e19c791-edf1-4c4b-b630-fadc4acae967"
+ },
+ "m_Name": "Shadows Cascade",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Shadows Cascade",
+ "m_DefaultReferenceName": "_SHADOWS_CASCADE",
+ "m_OverrideReferenceName": "_MAIN_LIGHT_SHADOWS_CASCADE",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_KeywordType": 0,
+ "m_KeywordDefinition": 1,
+ "m_KeywordScope": 0,
+ "m_KeywordStages": 63,
+ "m_Entries": [],
+ "m_Value": 1,
+ "m_IsEditable": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "106eac4621e24a80b15144b07704dbf2",
+ "m_Id": 0,
+ "m_DisplayName": "BaseColor",
+ "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.DynamicValueMaterialSlot",
+ "m_ObjectId": "132e20aef2984558bd8031ef66c4566f",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
+ "m_ObjectId": "16b9825dba0b4b20b1621dba1e0a0534",
+ "m_Datas": [],
+ "m_ActiveSubTarget": {
+ "m_Id": "26157d021b81491c86e9452f8159ac27"
+ },
+ "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_SupportsLODCrossFade": false,
+ "m_CustomEditorGUI": "",
+ "m_SupportVFX": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "16eb55fad12240f6a5653218c59b9e9e",
+ "m_Id": 3,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "1757b5c0446b49f0ad458c7330ae0bee",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 292.79998779296877,
+ "y": 759.9999389648438,
+ "width": 173.60003662109376,
+ "height": 33.5999755859375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "9a1311942350488aaad438e9b6a2e9a8"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "715003ffbedb41e1ba2567bce74e58d2"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
+ "m_ObjectId": "19229424cc0548c58f81191c0ab22f38",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "BrightenColor",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -681.5999145507813,
+ "y": 1336.800048828125,
+ "width": 251.19998168945313,
+ "height": 118.39990234375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "39f718394e2c4bd597dfe3595897d450"
+ },
+ {
+ "m_Id": "0938f1f976ee4768b4759ddff12f9e9b"
+ },
+ {
+ "m_Id": "2de88d208e2b40fd80f53403dba04114"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"3acc3b29dd2659d44bcf2cef2b05ad81\",\n \"type\": 3\n }\n}",
+ "m_PropertyGuids": [
+ "be157d81-77a6-4a01-b84e-d95e2bf5f55a",
+ "f5aeb99c-8065-4639-82a6-6e1b91a313a8"
+ ],
+ "m_PropertyIds": [
+ -264719948,
+ 15351018
+ ],
+ "m_Dropdowns": [],
+ "m_DropdownSelectedEntries": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
+ "m_ObjectId": "1a019ee4ffca4f3fa64115f1049449cf",
+ "m_Id": 0,
+ "m_DisplayName": "UseMidtoneTexture",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": false,
+ "m_DefaultValue": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
+ "m_ObjectId": "22c2989a111749e7b9837d83b4e134cc",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "DarkenColor",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -632.7999877929688,
+ "y": 924.0,
+ "width": 244.800048828125,
+ "height": 118.4000244140625
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "f266b851682e4f96b64dd19f3e7518cd"
+ },
+ {
+ "m_Id": "768df3c9240d4491887f841794821c8e"
+ },
+ {
+ "m_Id": "50a8672fed7c4ecb813bbb4afad4392b"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"a0a1c4fc04468cd44932f8bfa4a02ef1\",\n \"type\": 3\n }\n}",
+ "m_PropertyGuids": [
+ "be157d81-77a6-4a01-b84e-d95e2bf5f55a",
+ "f5aeb99c-8065-4639-82a6-6e1b91a313a8"
+ ],
+ "m_PropertyIds": [
+ -264719948,
+ 15351018
+ ],
+ "m_Dropdowns": [],
+ "m_DropdownSelectedEntries": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "240aa217b56c407188dd1a35080fb370",
+ "m_Id": 1965141485,
+ "m_DisplayName": "Diffuse",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_Diffuse",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 2,
+ "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
+ "m_ObjectId": "26157d021b81491c86e9452f8159ac27"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "29b51a948be04a588dd2c9d55822bb6d",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "2de88d208e2b40fd80f53403dba04114",
+ "m_Id": 1,
+ "m_DisplayName": "Out_Vector4",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out_Vector4",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "33f579155d8341878c6ee1927f89b390",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -799.9999389648438,
+ "y": 993.5999755859375,
+ "width": 130.4000244140625,
+ "height": 33.5999755859375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "e99c011193bd4ee2af06b41ab1ac0e1b"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "9c204c2099e04e0996dd0d5550d28f4a"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "3481843ac68d4081bfdbb134657386f4",
+ "m_Id": -1517507550,
+ "m_DisplayName": "ShadowColor",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_ShadowColor",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "39f718394e2c4bd597dfe3595897d450",
+ "m_Id": -264719948,
+ "m_DisplayName": "BrightenAmount",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_BrightenAmount",
+ "m_StageCapability": 3,
+ "m_Value": 0.5,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "41e2715268f940e88b781288ff9fc477",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -110.39997100830078,
+ "y": 1070.4000244140625,
+ "width": 130.39996337890626,
+ "height": 33.5999755859375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "106eac4621e24a80b15144b07704dbf2"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "9c204c2099e04e0996dd0d5550d28f4a"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "44b549e56bf34593ad1e04b31a410ad4",
+ "m_Id": 196332211,
+ "m_DisplayName": "MidtoneTexture",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_MidtoneTexture",
+ "m_StageCapability": 2,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"966f2baf5f8eaa745a5bcdc4c8127425\",\"type\":3}}",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "48bdfdf3936944fd964058d7ca97fe50",
+ "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": "c56b870e7d5a4cb183c1d0dc063d2203"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.BaseColor"
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "49a358ee74994ee38d8a0cca6114a9e6",
+ "m_Guid": {
+ "m_GuidSerialized": "9d86b2c5-6c8b-4a5c-b01c-c4271a8ec990"
+ },
+ "m_Name": "ShadowAmount",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "ShadowAmount",
+ "m_DefaultReferenceName": "_ShadowAmount",
+ "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.800000011920929,
+ "m_FloatType": 1,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "4f0766281cab400c97f69d945f77a449",
+ "m_Id": 0,
+ "m_DisplayName": "BaseColor",
+ "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.Vector4MaterialSlot",
+ "m_ObjectId": "50a8672fed7c4ecb813bbb4afad4392b",
+ "m_Id": 1,
+ "m_DisplayName": "Out_Vector4",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out_Vector4",
+ "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": "5640ecbb5a8f4262a7c41eff5eda2de7",
+ "m_Id": 1,
+ "m_DisplayName": "True",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "True",
+ "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": "59667abdf30f4018b29b26d529742fac",
+ "m_Id": 1,
+ "m_DisplayName": "OutColor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "OutColor",
+ "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.PropertyNode",
+ "m_ObjectId": "5b539897f5e445ffb567f6c408738131",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -883.199951171875,
+ "y": 1367.199951171875,
+ "width": 161.5999755859375,
+ "height": 33.60009765625
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "0129e1cb717d4df5b83021b1f3581042"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "c592b9ea3e184abaa0973e0292884668"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
+ "m_ObjectId": "64306cae99be4adca5d9db7b2c752684",
+ "m_Id": 0,
+ "m_DisplayName": "Predicate",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Predicate",
+ "m_StageCapability": 3,
+ "m_Value": false,
+ "m_DefaultValue": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "67074c7db931474f93a92686f1e963f0",
+ "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": "b9ea3672569d404fa365dcd82b6e26bd"
+ }
+ ],
+ "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.MultiplyNode",
+ "m_ObjectId": "6cb92ee886ed415b856f434e23cb001a",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 795.9999389648438,
+ "y": 603.2000122070313,
+ "width": 208.0001220703125,
+ "height": 301.5999755859375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "71f23c59dd6b49ccbe56d4b8b7b70edd"
+ },
+ {
+ "m_Id": "132e20aef2984558bd8031ef66c4566f"
+ },
+ {
+ "m_Id": "29b51a948be04a588dd2c9d55822bb6d"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "715003ffbedb41e1ba2567bce74e58d2",
+ "m_Guid": {
+ "m_GuidSerialized": "642e18bc-836b-4f1b-b547-e977c3e521a6"
+ },
+ "m_Name": "HighlightThreshold",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "HighlightThreshold",
+ "m_DefaultReferenceName": "_HighlightThreshold",
+ "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.6000000238418579,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "71f23c59dd6b49ccbe56d4b8b7b70edd",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
+ "m_ObjectId": "751f220f2f434e10b13a435f0e411702",
+ "m_Id": -266386642,
+ "m_DisplayName": "UseShadowTexture",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_UseShadowTexture",
+ "m_StageCapability": 3,
+ "m_Value": false,
+ "m_DefaultValue": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "768df3c9240d4491887f841794821c8e",
+ "m_Id": 15351018,
+ "m_DisplayName": "Color",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_Color",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.8396226167678833,
+ "y": 0.35169094800949099,
+ "z": 0.35169094800949099,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "7934d389d74d40da8657cd6d83d38935",
+ "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": "f7799d2969664bafb5b2bb91b8ca17cc"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "VertexDescription.Position"
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "7eb5a92e8e42466b8fce2e3495393fef",
+ "m_Guid": {
+ "m_GuidSerialized": "2e239ef5-6224-4600-b7f4-e557f65be907"
+ },
+ "m_Name": "ShadowThreshold",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "ShadowThreshold",
+ "m_DefaultReferenceName": "_ShadowThreshold",
+ "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.20000000298023225,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "83389fcb31d14362bba01c3526a5e68c",
+ "m_Id": -501285117,
+ "m_DisplayName": "Color1",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_Color1",
+ "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.Vector1MaterialSlot",
+ "m_ObjectId": "8442742064ca4bb8921b7d08219b8bf6",
+ "m_Id": 0,
+ "m_DisplayName": "ShadowThreshold",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "84689d32ac46410abdc8344309b9daea",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -819.9999389648438,
+ "y": 960.800048828125,
+ "width": 157.60003662109376,
+ "height": 33.5999755859375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "8480645d9d9143f392eaffd90e0e435d"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "49a358ee74994ee38d8a0cca6114a9e6"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "8480645d9d9143f392eaffd90e0e435d",
+ "m_Id": 0,
+ "m_DisplayName": "ShadowAmount",
+ "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.Texture2DInputMaterialSlot",
+ "m_ObjectId": "8b7493bcd9644e39a09a394b9a7ab6eb",
+ "m_Id": 2069962906,
+ "m_DisplayName": "ShadowTexture",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_ShadowTexture",
+ "m_StageCapability": 3,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"966f2baf5f8eaa745a5bcdc4c8127425\",\"type\":3}}",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
+ "m_ObjectId": "8c9659aa60664d878d77b4d4c37e56e8",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "GetLightingInfo",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -581.5999145507813,
+ "y": 592.7999267578125,
+ "width": 208.0,
+ "height": 302.4000244140625
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "8b7493bcd9644e39a09a394b9a7ab6eb"
+ },
+ {
+ "m_Id": "751f220f2f434e10b13a435f0e411702"
+ },
+ {
+ "m_Id": "eda169717766459daf8512de6d55cde4"
+ },
+ {
+ "m_Id": "d680ccf126654eedb99bb88cd016aff9"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"9f5243657714ed34dbaf3ffa96f68cee\",\n \"type\": 3\n }\n}",
+ "m_PropertyGuids": [
+ "f0678efc-09e6-44c9-acfb-9e5a2c5c5195",
+ "b3896d5e-8846-4b2e-af59-c9f699ff71fe"
+ ],
+ "m_PropertyIds": [
+ 2069962906,
+ -266386642
+ ],
+ "m_Dropdowns": [],
+ "m_DropdownSelectedEntries": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "9a1311942350488aaad438e9b6a2e9a8",
+ "m_Id": 0,
+ "m_DisplayName": "HighlightThreshold",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
+ "m_ObjectId": "9c204c2099e04e0996dd0d5550d28f4a",
+ "m_Guid": {
+ "m_GuidSerialized": "deee1f0a-d299-4de2-8d1b-f89e6f29ad12"
+ },
+ "m_Name": "BaseColor",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "BaseColor",
+ "m_DefaultReferenceName": "_BaseColor",
+ "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": 0.211320698261261,
+ "b": 0.7412702441215515,
+ "a": 0.0
+ },
+ "isMainColor": false,
+ "m_ColorMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "9d590a060a6245988f804fe7abc93a7b",
+ "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": "9dabadec240d422faed42460e368e458"
+ }
+ ],
+ "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.TangentMaterialSlot",
+ "m_ObjectId": "9dabadec240d422faed42460e368e458",
+ "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": 1,
+ "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
+ "m_ObjectId": "a1669d731be94e2c83f4ee08f8a9f669",
+ "m_Guid": {
+ "m_GuidSerialized": "e476794b-ba20-4ab6-8038-e8bda11c9d8c"
+ },
+ "m_Name": "Shadows",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Shadows",
+ "m_DefaultReferenceName": "_SHADOWS",
+ "m_OverrideReferenceName": "MAIN_LIGHT_CALCULATE_SHADOWS",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_KeywordType": 0,
+ "m_KeywordDefinition": 1,
+ "m_KeywordScope": 0,
+ "m_KeywordStages": 63,
+ "m_Entries": [],
+ "m_Value": 1,
+ "m_IsEditable": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "a45065ab22ce422da7cccc658cd5cf92",
+ "m_Id": 333196845,
+ "m_DisplayName": "Threshold1",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_Threshold1",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "a6ed35cb750c4f119da5c002ab403555",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -436.0000305175781,
+ "y": 1200.800048828125,
+ "width": 167.20001220703126,
+ "height": 33.60009765625
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "bb3f24186f6f4aa0a1e0c460a0c8dcf7"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "bc6b217ce51248628c0edbead624b7b4"
+ }
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
+ "m_ObjectId": "a9c5436a87be4b06afd14e618024c004",
+ "m_Guid": {
+ "m_GuidSerialized": "e5370f12-55bb-4028-835d-23abb44cf31f"
+ },
+ "m_Name": "Additional Lights",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Additional Lights",
+ "m_DefaultReferenceName": "_ADDITIONAL_LIGHTS",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_KeywordType": 0,
+ "m_KeywordDefinition": 1,
+ "m_KeywordScope": 0,
+ "m_KeywordStages": 63,
+ "m_Entries": [],
+ "m_Value": 1,
+ "m_IsEditable": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "add220b505e74a1ea06ac805858fa8fe",
+ "m_Name": "",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "b809fdc1f7e34de0b139821499ca0e23"
+ },
+ {
+ "m_Id": "e5a71d711c86416886b209ec634fe2f6"
+ },
+ {
+ "m_Id": "a9c5436a87be4b06afd14e618024c004"
+ },
+ {
+ "m_Id": "0eef9d116d3b4975b9bd81200bf0bbb4"
+ },
+ {
+ "m_Id": "715003ffbedb41e1ba2567bce74e58d2"
+ },
+ {
+ "m_Id": "a1669d731be94e2c83f4ee08f8a9f669"
+ },
+ {
+ "m_Id": "7eb5a92e8e42466b8fce2e3495393fef"
+ },
+ {
+ "m_Id": "9c204c2099e04e0996dd0d5550d28f4a"
+ },
+ {
+ "m_Id": "49a358ee74994ee38d8a0cca6114a9e6"
+ },
+ {
+ "m_Id": "c592b9ea3e184abaa0973e0292884668"
+ },
+ {
+ "m_Id": "0dab9d21fa2d460d9c1eaad4f84e2916"
+ },
+ {
+ "m_Id": "bc6b217ce51248628c0edbead624b7b4"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
+ "m_ObjectId": "b809fdc1f7e34de0b139821499ca0e23",
+ "m_Guid": {
+ "m_GuidSerialized": "e1fc1bfe-6ef3-45c9-9d42-9ece7e3d91e3"
+ },
+ "m_Name": "Soft Shadows",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Soft Shadows",
+ "m_DefaultReferenceName": "_SOFT_SHADOWS",
+ "m_OverrideReferenceName": "_SHADOWS_SOFT",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_KeywordType": 0,
+ "m_KeywordDefinition": 1,
+ "m_KeywordScope": 0,
+ "m_KeywordStages": 63,
+ "m_Entries": [],
+ "m_Value": 1,
+ "m_IsEditable": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
+ "m_ObjectId": "b9ea3672569d404fa365dcd82b6e26bd",
+ "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.Texture2DMaterialSlot",
+ "m_ObjectId": "bb3f24186f6f4aa0a1e0c460a0c8dcf7",
+ "m_Id": 0,
+ "m_DisplayName": "MidtoneTexture",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "bc01102d808041c088655285f7366324",
+ "m_Id": 2050621608,
+ "m_DisplayName": "HighlightColor",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_HighlightColor",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.16408658027648927,
+ "y": 1.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.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "bc6b217ce51248628c0edbead624b7b4",
+ "m_Guid": {
+ "m_GuidSerialized": "03697cc0-711d-4f06-834a-fd28c88d15a5"
+ },
+ "m_Name": "MidtoneTexture",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "MidtoneTexture",
+ "m_DefaultReferenceName": "_MidtoneTexture",
+ "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": {
+ "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"966f2baf5f8eaa745a5bcdc4c8127425\",\"type\":3}}",
+ "m_Guid": ""
+ },
+ "isMainTexture": false,
+ "useTilingAndOffset": false,
+ "m_Modifiable": true,
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
+ "m_ObjectId": "c56b870e7d5a4cb183c1d0dc063d2203",
+ "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": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "c592b9ea3e184abaa0973e0292884668",
+ "m_Guid": {
+ "m_GuidSerialized": "6527677c-9d70-4d66-967c-b4203c46cc3d"
+ },
+ "m_Name": "HighlightAmount",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "HighlightAmount",
+ "m_DefaultReferenceName": "_HighlightAmount",
+ "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.5,
+ "m_FloatType": 1,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "c8d0ed9c33b2450ab387415e3ab4d077",
+ "m_Id": 922308178,
+ "m_DisplayName": "Color3",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_Color3",
+ "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.Vector1MaterialSlot",
+ "m_ObjectId": "d680ccf126654eedb99bb88cd016aff9",
+ "m_Id": 2,
+ "m_DisplayName": "Diffuse",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Diffuse",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "d9df74fd33194a5a99a96e62de878b2b",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -869.5999755859375,
+ "y": 1406.4000244140625,
+ "width": 130.4000244140625,
+ "height": 33.5999755859375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "4f0766281cab400c97f69d945f77a449"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "9c204c2099e04e0996dd0d5550d28f4a"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
+ "m_ObjectId": "dc2f5478562b4439aaffc9e780f3992b",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "ChooseColor3",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 493.6000061035156,
+ "y": 724.7999877929688,
+ "width": 208.00003051757813,
+ "height": 398.39996337890627
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "a45065ab22ce422da7cccc658cd5cf92"
+ },
+ {
+ "m_Id": "fe9f34d0dd464bd3aec7e289f80f99a3"
+ },
+ {
+ "m_Id": "240aa217b56c407188dd1a35080fb370"
+ },
+ {
+ "m_Id": "83389fcb31d14362bba01c3526a5e68c"
+ },
+ {
+ "m_Id": "0e66578551854999a5750cb7a8195235"
+ },
+ {
+ "m_Id": "c8d0ed9c33b2450ab387415e3ab4d077"
+ },
+ {
+ "m_Id": "59667abdf30f4018b29b26d529742fac"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"ed81a177b766dc34ba4eedce861f8815\",\n \"type\": 3\n }\n}",
+ "m_PropertyGuids": [
+ "e5e568d6-e81e-46e5-8fab-9e1e6a0542ae",
+ "04a1ae36-788f-43a8-b652-1955b62e5016",
+ "e6c1fe4a-5d79-4850-8425-70005a2bc0db",
+ "99a31d26-a699-4d01-aa2c-0b3b1668b70d",
+ "c2c87a23-2a38-404d-b45d-7c9fa0a2956a",
+ "acf3bca7-a5ee-4db4-a108-2f69ba5f91be"
+ ],
+ "m_PropertyIds": [
+ 333196845,
+ 71346873,
+ 1965141485,
+ -501285117,
+ 2003611407,
+ 922308178
+ ],
+ "m_Dropdowns": [],
+ "m_DropdownSelectedEntries": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "e56da76681084373841c2c91a46df952",
+ "m_Id": 2,
+ "m_DisplayName": "False",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "False",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword",
+ "m_ObjectId": "e5a71d711c86416886b209ec634fe2f6",
+ "m_Guid": {
+ "m_GuidSerialized": "2d4a7eb1-5095-4e3c-a08a-ec0e0b786285"
+ },
+ "m_Name": "Additional Shadows",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Additional Shadows",
+ "m_DefaultReferenceName": "_ADDITIONAL_SHADOWS",
+ "m_OverrideReferenceName": "ADDITIONAL_LIGHT_CALCULATE_SHADOWS",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_KeywordType": 0,
+ "m_KeywordDefinition": 1,
+ "m_KeywordScope": 0,
+ "m_KeywordStages": 63,
+ "m_Entries": [],
+ "m_Value": 1,
+ "m_IsEditable": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "e65e081075524b13a1a92de87f57966b",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 287.2000732421875,
+ "y": 708.7999877929688,
+ "width": 169.5999755859375,
+ "height": 33.60003662109375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "8442742064ca4bb8921b7d08219b8bf6"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "7eb5a92e8e42466b8fce2e3495393fef"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "e99c011193bd4ee2af06b41ab1ac0e1b",
+ "m_Id": 0,
+ "m_DisplayName": "BaseColor",
+ "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.Vector3MaterialSlot",
+ "m_ObjectId": "eda169717766459daf8512de6d55cde4",
+ "m_Id": 1,
+ "m_DisplayName": "LightColor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "LightColor",
+ "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.Vector1MaterialSlot",
+ "m_ObjectId": "f266b851682e4f96b64dd19f3e7518cd",
+ "m_Id": -264719948,
+ "m_DisplayName": "DarkenAmount",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_DarkenAmount",
+ "m_StageCapability": 3,
+ "m_Value": 0.5,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "f4af5591faa44d47a717d025648facfe",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -151.99998474121095,
+ "y": 1004.7999877929688,
+ "width": 180.79998779296876,
+ "height": 33.59991455078125
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "1a019ee4ffca4f3fa64115f1049449cf"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "0dab9d21fa2d460d9c1eaad4f84e2916"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
+ "m_ObjectId": "f7799d2969664bafb5b2bb91b8ca17cc",
+ "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.Vector4MaterialSlot",
+ "m_ObjectId": "f817e947c78a4e628cee087466a30baf",
+ "m_Id": 1,
+ "m_DisplayName": "MidtoneColor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "MidtoneColor",
+ "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_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BranchNode",
+ "m_ObjectId": "fcd04b3a3acf44dc99f55bc8343cb494",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Branch",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 88.79997253417969,
+ "y": 978.4000244140625,
+ "width": 171.99998474121095,
+ "height": 141.5999755859375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "64306cae99be4adca5d9db7b2c752684"
+ },
+ {
+ "m_Id": "5640ecbb5a8f4262a7c41eff5eda2de7"
+ },
+ {
+ "m_Id": "e56da76681084373841c2c91a46df952"
+ },
+ {
+ "m_Id": "16eb55fad12240f6a5653218c59b9e9e"
+ }
+ ],
+ "synonyms": [
+ "switch",
+ "if",
+ "else"
+ ],
+ "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": "fe9f34d0dd464bd3aec7e289f80f99a3",
+ "m_Id": 71346873,
+ "m_DisplayName": "Threshold2",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_Threshold2",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
diff --git a/Assets/Shaders/ToonShader3Level.shadergraph.meta b/Assets/Shaders/ToonShader3Level.shadergraph.meta
new file mode 100644
index 0000000..521d957
--- /dev/null
+++ b/Assets/Shaders/ToonShader3Level.shadergraph.meta
@@ -0,0 +1,10 @@
+fileFormatVersion: 2
+guid: ddc18d3edb22d2249bf561d3f5c3a5a1
+ScriptedImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
diff --git a/Images/Lab3Puzzle1.png b/Images/Lab3Puzzle1.png
new file mode 100644
index 0000000..9d079f2
Binary files /dev/null and b/Images/Lab3Puzzle1.png differ
diff --git a/Images/Lab3Puzzle2.png b/Images/Lab3Puzzle2.png
new file mode 100644
index 0000000..bed318e
Binary files /dev/null and b/Images/Lab3Puzzle2.png differ
diff --git a/Images/Lab3Puzzle3.png b/Images/Lab3Puzzle3.png
new file mode 100644
index 0000000..575f42f
Binary files /dev/null and b/Images/Lab3Puzzle3.png differ
diff --git a/README.md b/README.md
index b8551a7..e2b7ce7 100644
--- a/README.md
+++ b/README.md
@@ -1,44 +1,12 @@
# Lab 05 - Stylization!
-Let's practice adding stylization to a 3D scene using Unity's shader graph!
-## Introduction
-We will be stylizing a "toon" look by creating a shader in Unity that supports shadows and multiple lights in real-time! In the process, you will gain some familiarity with Unity’s shader graph.
+## Puzzle 1:
+
-## What’s provided:
-This tutorial video will cover the base code, and then go over the process of making a limited version of a toon shader.
+## Puzzle 2:
+
-Start by downloading Unity 2022.3.9f1
+## Puzzle 3:
+
-[Lab Overview and Puzzle 1 Tutorial Video](https://youtu.be/jc5MLgzJong)
-
-## Lab Puzzles:
-The goal of each puzzle will be to replicate the look of each puzzle’s image.
-
-### 1. Puzzle 1: Simple two-tone toon shading
-
-
-
- * Follow the tutorial to create a 2 band toon shader, and then create multiple materials based off of the shader graph
- * Attach those materials to the objects (the sphere and plane) in the default scene "Lab Scene 1" to produce a look similar to the one above!
-
-### 2. Puzzle 2: Leveled-up toon shading
-
-
-
- * Edit your materials to allow for a 3rd color in your scene, such that you have highlights, midtones, shadows on your objects. Edit your shader so that the thresholds on these values are adjustable.
- * Shade the sonic and shadow receiving plane in "Lab Scene 2" to get a look similar to the one above!
-
-### 3. Puzzle 3: Stylized Shadow
-
-
-
- * Use one of the provided texture png’s in order to add a screenspace shadow pattern onto the shadows of the scene!
- * Hint 1: What does the "ShadowAttenuation" variable do?
-
-Extra Credit:
- * Add some soft interpolation at the edges of your bands, for smooth transitions between color bands. Create a "smoothness" parameter that adjusts the degree of smoothness!
-
-# Submission:
-- Create a pull request against this repository
-- In your readme, add screenshots of your results for Puzzles 1, 2 and 3
-- Profit
+For puzzle 3 I used the shadow texture on the midtone in particular, and gave the eyes and head a material w/o texturing to make it pop more.
\ No newline at end of file