diff --git a/Assets/Materials/SonicBlue.mat b/Assets/Materials/SonicBlue.mat new file mode 100644 index 0000000..f35d90d --- /dev/null +++ b/Assets/Materials/SonicBlue.mat @@ -0,0 +1,154 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-5197238629235070474 +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 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: SonicBlue + 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} + - _SampleTexture2D_28240d37a9594d38a65c01189dacc49a_Texture_1_Texture2D: + m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, 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 + - _Highlight_Mid_Threshold: 0.457 + - _MAIN_LIGHT_SHADOWS_CASCADE: 1 + - _Metallic: 0 + - _Mid_Shadow_Threshold: 0.066 + - _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 + - _Threshold: 0.486 + - _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} + - _Highlight: {r: 0.44868279, g: 0.6493317, b: 0.8584906, a: 0} + - _Midtone: {r: 0.18839444, g: 0.47549587, b: 0.6792453, a: 0} + - _Shadow: {r: 0, g: 0.3497105, b: 0.6792453, a: 0} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/Materials/SonicBlue.mat.meta b/Assets/Materials/SonicBlue.mat.meta new file mode 100644 index 0000000..559cf16 --- /dev/null +++ b/Assets/Materials/SonicBlue.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8343d5edc970f964b91ca234747b78b4 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Materials/SonicRedShooz.mat b/Assets/Materials/SonicRedShooz.mat new file mode 100644 index 0000000..40dd4d9 --- /dev/null +++ b/Assets/Materials/SonicRedShooz.mat @@ -0,0 +1,154 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-5197238629235070474 +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 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: SonicRedShooz + 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} + - _SampleTexture2D_28240d37a9594d38a65c01189dacc49a_Texture_1_Texture2D: + m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, 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 + - _Highlight_Mid_Threshold: 0.967 + - _MAIN_LIGHT_SHADOWS_CASCADE: 1 + - _Metallic: 0 + - _Mid_Shadow_Threshold: 0.211 + - _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 + - _Threshold: 0.486 + - _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} + - _Highlight: {r: 0.8773585, g: 0.37641636, b: 0.29300457, a: 0} + - _Midtone: {r: 0.6784314, g: 0.1882353, b: 0.20116343, a: 0} + - _Shadow: {r: 0.3301887, g: 0.057315763, b: 0.094819084, a: 0} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/Materials/SonicRedShooz.mat.meta b/Assets/Materials/SonicRedShooz.mat.meta new file mode 100644 index 0000000..79a8a94 --- /dev/null +++ b/Assets/Materials/SonicRedShooz.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ae99c9d9505c659479193e096f7e6a87 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Materials/SonicShadow.mat b/Assets/Materials/SonicShadow.mat new file mode 100644 index 0000000..6f349bd --- /dev/null +++ b/Assets/Materials/SonicShadow.mat @@ -0,0 +1,154 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-5197238629235070474 +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 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: SonicShadow + 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} + - _SampleTexture2D_28240d37a9594d38a65c01189dacc49a_Texture_1_Texture2D: + m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, 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 + - _Highlight_Mid_Threshold: 0.699 + - _MAIN_LIGHT_SHADOWS_CASCADE: 1 + - _Metallic: 0 + - _Mid_Shadow_Threshold: 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 + - _Threshold: 0.486 + - _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} + - _Highlight: {r: 1, g: 1, b: 1, a: 0} + - _Midtone: {r: 0.7830189, g: 0.7830189, b: 0.7830189, a: 0} + - _Shadow: {r: 0, g: 0, b: 0, a: 0} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/Materials/SonicShadow.mat.meta b/Assets/Materials/SonicShadow.mat.meta new file mode 100644 index 0000000..05c1974 --- /dev/null +++ b/Assets/Materials/SonicShadow.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 36026d97c907dd0408dcf55a5a9073d8 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Materials/SonicSkin.mat b/Assets/Materials/SonicSkin.mat new file mode 100644 index 0000000..bebbb61 --- /dev/null +++ b/Assets/Materials/SonicSkin.mat @@ -0,0 +1,154 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-5197238629235070474 +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 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: SonicSkin + 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} + - _SampleTexture2D_28240d37a9594d38a65c01189dacc49a_Texture_1_Texture2D: + m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, 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 + - _Highlight_Mid_Threshold: 0.287 + - _MAIN_LIGHT_SHADOWS_CASCADE: 1 + - _Metallic: 0 + - _Mid_Shadow_Threshold: 0.04 + - _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 + - _Threshold: 0.486 + - _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} + - _Highlight: {r: 0.9622642, g: 0.9481891, b: 0.63001066, a: 0} + - _Midtone: {r: 0.8018868, g: 0.789397, b: 0.09380559, a: 0} + - _Shadow: {r: 0.6698113, g: 0.6514789, b: 0.38166606, a: 0} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/Materials/SonicSkin.mat.meta b/Assets/Materials/SonicSkin.mat.meta new file mode 100644 index 0000000..d6d2e2f --- /dev/null +++ b/Assets/Materials/SonicSkin.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 02065b92ae840644d94d804a22662b1a +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Materials/SonicWhite.mat b/Assets/Materials/SonicWhite.mat new file mode 100644 index 0000000..7be194d --- /dev/null +++ b/Assets/Materials/SonicWhite.mat @@ -0,0 +1,154 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-5197238629235070474 +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 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: SonicWhite + 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} + - _SampleTexture2D_28240d37a9594d38a65c01189dacc49a_Texture_1_Texture2D: + m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, 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 + - _Highlight_Mid_Threshold: 0.008 + - _MAIN_LIGHT_SHADOWS_CASCADE: 1 + - _Metallic: 0 + - _Mid_Shadow_Threshold: 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 + - _Threshold: 0.486 + - _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} + - _Highlight: {r: 1, g: 1, b: 1, a: 0} + - _Midtone: {r: 0.7830189, g: 0.7830189, b: 0.7830189, a: 0} + - _Shadow: {r: 0.8301887, g: 0.8301887, b: 0.8301887, a: 0} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/Materials/SonicWhite.mat.meta b/Assets/Materials/SonicWhite.mat.meta new file mode 100644 index 0000000..f4b0f6e --- /dev/null +++ b/Assets/Materials/SonicWhite.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 40828e4360f645348ade0a6d8413dbe5 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Materials/Toon test 1.mat b/Assets/Materials/Toon test 1.mat new file mode 100644 index 0000000..77562cc --- /dev/null +++ b/Assets/Materials/Toon test 1.mat @@ -0,0 +1,150 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-5197238629235070474 +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 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Toon test 1 + 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 + - _Highlight_Mid_Threshold: 0.651 + - _MAIN_LIGHT_SHADOWS_CASCADE: 1 + - _Metallic: 0 + - _Mid_Shadow_Threshold: 0.431 + - _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 + - _Threshold: 0.486 + - _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} + - _Highlight: {r: 0.17429686, g: 0.8702023, b: 0.9056604, a: 0} + - _Midtone: {r: 0.09740117, g: 0.491632, b: 0.7169812, a: 0} + - _Shadow: {r: 0.08805622, g: 0.2903746, b: 0.4811321, a: 0} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/Materials/Toon test 1.mat.meta b/Assets/Materials/Toon test 1.mat.meta new file mode 100644 index 0000000..fa49f48 --- /dev/null +++ b/Assets/Materials/Toon test 1.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f6ebcd6692bcea34b9a998997bfe37fc +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Materials/Toon test 2.mat b/Assets/Materials/Toon test 2.mat new file mode 100644 index 0000000..d22bc7b --- /dev/null +++ b/Assets/Materials/Toon test 2.mat @@ -0,0 +1,147 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-5197238629235070474 +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 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Toon test 2 + 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 + - _Threshold: 0.493 + - _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} + - _Highlight: {r: 0.90588236, g: 0.72952175, b: 0.17254901, a: 0} + - _Shadow: {r: 0.94509804, g: 0.515212, b: 0.14509803, a: 0} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/Materials/Toon test 2.mat.meta b/Assets/Materials/Toon test 2.mat.meta new file mode 100644 index 0000000..c5253e0 --- /dev/null +++ b/Assets/Materials/Toon test 2.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a8997adbf5e0d7f4e92c89d46e507187 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/Lab Scene 1.unity b/Assets/Scenes/Lab Scene 1.unity index acae54e..75adede 100644 --- a/Assets/Scenes/Lab Scene 1.unity +++ b/Assets/Scenes/Lab Scene 1.unity @@ -38,7 +38,7 @@ RenderSettings: m_ReflectionIntensity: 1 m_CustomReflection: {fileID: 0} m_Sun: {fileID: 0} - m_IndirectSpecularColor: {r: 0.1802854, g: 0.22571602, b: 0.30692476, a: 1} + m_IndirectSpecularColor: {r: 0.1838515, g: 0.22906557, b: 0.30351973, a: 1} m_UseRadianceAmbientProbe: 0 --- !u!157 &3 LightmapSettings: @@ -277,7 +277,7 @@ Camera: m_GameObject: {fileID: 330585543} m_Enabled: 1 serializedVersion: 2 - m_ClearFlags: 1 + m_ClearFlags: 2 m_BackGroundColor: {r: 0.9333334, g: 0.8352942, b: 0.6313726, a: 0} m_projectionMatrixMode: 1 m_GateFitMode: 2 @@ -327,13 +327,13 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 330585543} serializedVersion: 2 - m_LocalRotation: {x: 0.12718117, y: -0.7039343, z: 0.13040932, w: 0.6865092} - m_LocalPosition: {x: 3.493, y: 2.477, z: 0} + m_LocalRotation: {x: 0.123308316, y: -0.55480343, z: 0.12141403, w: 0.81378543} + m_LocalPosition: {x: 4.28, y: 2.76, z: -2.29} 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} + m_LocalEulerAnglesHint: {x: 19.598, y: -67.93, z: 3.7} --- !u!114 &330585547 MonoBehaviour: m_ObjectHideFlags: 0 @@ -466,13 +466,13 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 410087039} serializedVersion: 2 - m_LocalRotation: {x: 0.2376115, y: 0.7494925, z: -0.34948978, w: 0.50956714} + m_LocalRotation: {x: 0.017079178, y: 0.2768354, z: -0.897284, w: 0.3434415} 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: 49.999, y: 2271.5781, z: 0} + m_LocalEulerAnglesHint: {x: 30.566, y: 2530.675, z: 224.814} --- !u!114 &410087042 MonoBehaviour: m_ObjectHideFlags: 0 @@ -556,7 +556,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: d60db1350aa31bd4080a3bb5e2541934, type: 2} + - {fileID: 2100000, guid: f6ebcd6692bcea34b9a998997bfe37fc, 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: a8997adbf5e0d7f4e92c89d46e507187, 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..2158133 100644 --- a/Assets/Scenes/Lab Scene 2.unity +++ b/Assets/Scenes/Lab Scene 2.unity @@ -159,8 +159,8 @@ Camera: m_GameObject: {fileID: 330585543} m_Enabled: 1 serializedVersion: 2 - m_ClearFlags: 1 - m_BackGroundColor: {r: 1, g: 1, b: 1, a: 0} + m_ClearFlags: 2 + m_BackGroundColor: {r: 1, g: 0.8980393, b: 0.8078432, a: 1} m_projectionMatrixMode: 1 m_GateFitMode: 2 m_FOVAxisMode: 0 @@ -209,13 +209,13 @@ Transform: 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_LocalRotation: {x: -0.050793003, y: 0.7169263, z: -0.05285856, w: -0.69328403} + m_LocalPosition: {x: 4.16, y: 2.27, z: -0.02} 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} + m_LocalEulerAnglesHint: {x: 8.408, y: -91.919, z: 0.027} --- !u!114 &330585547 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: 36026d97c907dd0408dcf55a5a9073d8, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -477,13 +477,13 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1309247978} serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalRotation: {x: -0, y: -0, z: 0.009361658, w: 0.9999562} 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} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 1.073} --- !u!1001 &1599074629 PrefabInstance: m_ObjectHideFlags: 0 @@ -566,47 +566,112 @@ PrefabInstance: type: 3} propertyPath: m_Materials.Array.data[0] value: - objectReference: {fileID: 2100000, guid: d60db1350aa31bd4080a3bb5e2541934, type: 2} + objectReference: {fileID: 2100000, guid: 02065b92ae840644d94d804a22662b1a, type: 2} + - target: {fileID: -8602433362572305629, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 02065b92ae840644d94d804a22662b1a, type: 2} + - target: {fileID: -7407988419630983719, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 40828e4360f645348ade0a6d8413dbe5, type: 2} + - target: {fileID: -5733981035308023022, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 8343d5edc970f964b91ca234747b78b4, 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: 8343d5edc970f964b91ca234747b78b4, type: 2} + - target: {fileID: -5326866014839177254, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 40828e4360f645348ade0a6d8413dbe5, 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: 02065b92ae840644d94d804a22662b1a, type: 2} + - target: {fileID: -2750859397604594270, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 02065b92ae840644d94d804a22662b1a, 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: 40828e4360f645348ade0a6d8413dbe5, 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: 40828e4360f645348ade0a6d8413dbe5, 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: 40828e4360f645348ade0a6d8413dbe5, 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: ae99c9d9505c659479193e096f7e6a87, type: 2} + - target: {fileID: 2035337607983341931, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[1] + value: + objectReference: {fileID: 2100000, guid: 40828e4360f645348ade0a6d8413dbe5, type: 2} + - target: {fileID: 2389692026055523335, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 40828e4360f645348ade0a6d8413dbe5, type: 2} + - target: {fileID: 2413864688904672789, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 8343d5edc970f964b91ca234747b78b4, type: 2} + - target: {fileID: 3253409454975574844, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 02065b92ae840644d94d804a22662b1a, 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: 40828e4360f645348ade0a6d8413dbe5, 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: 8343d5edc970f964b91ca234747b78b4, type: 2} + - target: {fileID: 8259033719123135965, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: ae99c9d9505c659479193e096f7e6a87, type: 2} + - target: {fileID: 8259033719123135965, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[1] + value: + objectReference: {fileID: 2100000, guid: 40828e4360f645348ade0a6d8413dbe5, type: 2} + - target: {fileID: 9074906319803942526, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 02065b92ae840644d94d804a22662b1a, 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..3afc8a3 100644 --- a/Assets/Shaders/(TO-DO) Toon Shader.shadergraph +++ b/Assets/Shaders/(TO-DO) Toon Shader.shadergraph @@ -2,7 +2,23 @@ "m_SGVersion": 3, "m_Type": "UnityEditor.ShaderGraph.GraphData", "m_ObjectId": "d319c495e5d743d78ca9f6a4bfb83e8b", - "m_Properties": [], + "m_Properties": [ + { + "m_Id": "cd0e956866a64f1fb598a35bc8f892d5" + }, + { + "m_Id": "c37490dd8db14a3d939c27200a184eda" + }, + { + "m_Id": "41fcf51124c344e29980743e5c427168" + }, + { + "m_Id": "21f2e0b08c294903a7e79a2e5bfde973" + }, + { + "m_Id": "900fd872620e43fc85d94cffc8da97ce" + } + ], "m_Keywords": [ { "m_Id": "e5a71d711c86416886b209ec634fe2f6" @@ -38,15 +54,401 @@ }, { "m_Id": "48bdfdf3936944fd964058d7ca97fe50" + }, + { + "m_Id": "3b83ca2c5b0048668a2d58579234180b" + }, + { + "m_Id": "8e33a083b1f54bc185a321a566170708" + }, + { + "m_Id": "6b056631fd7440d693a5f368b24aa369" + }, + { + "m_Id": "3af2aa2a55024f71824c75e0616d8c98" + }, + { + "m_Id": "1feedee71a8a4d26bad3eb26d2c32f54" + }, + { + "m_Id": "3c3aaa16459e474eb15900fdd8440e59" + }, + { + "m_Id": "40f0ef5a720d4b7e986f4131c9388525" + }, + { + "m_Id": "3002294edea24a16b07b779392ef8a09" + }, + { + "m_Id": "bfbc5efe6d21498a983563a40de421fd" + }, + { + "m_Id": "05e682e938bb4ab689521cdd8abfa430" + }, + { + "m_Id": "a093ec21cb87435ea07f40ed5c954264" + }, + { + "m_Id": "3e8cba38b28d468b976c680d483eac11" + }, + { + "m_Id": "866ddf8a843f41ce9080add7f253df8a" + }, + { + "m_Id": "e46bc2f428ee42e99a9357379d49c1ee" + }, + { + "m_Id": "28240d37a9594d38a65c01189dacc49a" + }, + { + "m_Id": "31ebefd40b6f4f4aa50890c6678bca83" + }, + { + "m_Id": "ea9591bed2e448e3bc44efb4df116df2" + }, + { + "m_Id": "f33f2f72108641a28d1ef2a87103d64c" + }, + { + "m_Id": "0698f526bfb84b1cb0103f9faaffaa59" + }, + { + "m_Id": "1f438b00d9074be5add1cd65792c55b1" + }, + { + "m_Id": "b7fa031ba5164785a17761128418b5d7" } ], "m_GroupDatas": [], "m_StickyNoteDatas": [], - "m_Edges": [], + "m_Edges": [ + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "05e682e938bb4ab689521cdd8abfa430" + }, + "m_SlotId": 1 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "3e8cba38b28d468b976c680d483eac11" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "0698f526bfb84b1cb0103f9faaffaa59" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "f33f2f72108641a28d1ef2a87103d64c" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "1f438b00d9074be5add1cd65792c55b1" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "f33f2f72108641a28d1ef2a87103d64c" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "1feedee71a8a4d26bad3eb26d2c32f54" + }, + "m_SlotId": 1 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "a093ec21cb87435ea07f40ed5c954264" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "1feedee71a8a4d26bad3eb26d2c32f54" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "3002294edea24a16b07b779392ef8a09" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "1feedee71a8a4d26bad3eb26d2c32f54" + }, + "m_SlotId": 3 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "40f0ef5a720d4b7e986f4131c9388525" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "1feedee71a8a4d26bad3eb26d2c32f54" + }, + "m_SlotId": 4 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "40f0ef5a720d4b7e986f4131c9388525" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "28240d37a9594d38a65c01189dacc49a" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "f33f2f72108641a28d1ef2a87103d64c" + }, + "m_SlotId": 2 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "3002294edea24a16b07b779392ef8a09" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "05e682e938bb4ab689521cdd8abfa430" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "31ebefd40b6f4f4aa50890c6678bca83" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "ea9591bed2e448e3bc44efb4df116df2" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "3af2aa2a55024f71824c75e0616d8c98" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "6b056631fd7440d693a5f368b24aa369" + }, + "m_SlotId": 3 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "3b83ca2c5b0048668a2d58579234180b" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "6b056631fd7440d693a5f368b24aa369" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "3c3aaa16459e474eb15900fdd8440e59" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "1feedee71a8a4d26bad3eb26d2c32f54" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "3e8cba38b28d468b976c680d483eac11" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "6b056631fd7440d693a5f368b24aa369" + }, + "m_SlotId": 2 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "40f0ef5a720d4b7e986f4131c9388525" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "3e8cba38b28d468b976c680d483eac11" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "6b056631fd7440d693a5f368b24aa369" + }, + "m_SlotId": 4 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "a093ec21cb87435ea07f40ed5c954264" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "8e33a083b1f54bc185a321a566170708" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "6b056631fd7440d693a5f368b24aa369" + }, + "m_SlotId": 5 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "a093ec21cb87435ea07f40ed5c954264" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "48bdfdf3936944fd964058d7ca97fe50" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "b7fa031ba5164785a17761128418b5d7" + }, + "m_SlotId": 3 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "28240d37a9594d38a65c01189dacc49a" + }, + "m_SlotId": 2 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "bfbc5efe6d21498a983563a40de421fd" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "3002294edea24a16b07b779392ef8a09" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "e46bc2f428ee42e99a9357379d49c1ee" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "6b056631fd7440d693a5f368b24aa369" + }, + "m_SlotId": 6 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "ea9591bed2e448e3bc44efb4df116df2" + }, + "m_SlotId": 3 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "b7fa031ba5164785a17761128418b5d7" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "f33f2f72108641a28d1ef2a87103d64c" + }, + "m_SlotId": 3 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "6b056631fd7440d693a5f368b24aa369" + }, + "m_SlotId": 1 + } + } + ], "m_VertexContext": { "m_Position": { - "x": 124.66666412353516, - "y": 25.333330154418947 + "x": 1823.1998291015625, + "y": -729.5999755859375 }, "m_Blocks": [ { @@ -62,8 +464,8 @@ }, "m_FragmentContext": { "m_Position": { - "x": 125.33332824707031, - "y": 260.0 + "x": 1807.199951171875, + "y": -419.2000427246094 }, "m_Blocks": [ { @@ -92,113 +494,112 @@ } { - "m_SGVersion": 1, - "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword", - "m_ObjectId": "0eef9d116d3b4975b9bd81200bf0bbb4", - "m_Guid": { - "m_GuidSerialized": "9e19c791-edf1-4c4b-b630-fadc4acae967" + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", + "m_ObjectId": "01c8cb9707f84c6f8191ccd773e3ce84", + "m_Id": 0, + "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_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_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 }, - "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_Labels": [] } { - "m_SGVersion": 2, - "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget", - "m_ObjectId": "26157d021b81491c86e9452f8159ac27" + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "0585c55cad40403a93ac0638072dd7b6", + "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_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_Type": "UnityEditor.ShaderGraph.SaturateNode", + "m_ObjectId": "05e682e938bb4ab689521cdd8abfa430", "m_Group": { "m_Id": "" }, - "m_Name": "SurfaceDescription.BaseColor", + "m_Name": "Saturate", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", - "x": 0.0, - "y": 0.0, - "width": 0.0, - "height": 0.0 + "x": 236.79994201660157, + "y": -747.2000122070313, + "width": 207.99998474121095, + "height": 277.60003662109377 } }, "m_Slots": [ { - "m_Id": "c56b870e7d5a4cb183c1d0dc063d2203" + "m_Id": "ff0ae63ba359471e8d8699d775cffbf6" + }, + { + "m_Id": "c5fc75482d2e495b9f785bd3c490fe15" } ], - "synonyms": [], + "synonyms": [ + "clamp" + ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] - }, - "m_SerializedDescriptor": "SurfaceDescription.BaseColor" + } } { "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.BlockNode", - "m_ObjectId": "67074c7db931474f93a92686f1e963f0", + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "0698f526bfb84b1cb0103f9faaffaa59", "m_Group": { "m_Id": "" }, - "m_Name": "VertexDescription.Normal", + "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", - "x": 0.0, - "y": 0.0, - "width": 0.0, - "height": 0.0 + "x": 1060.800048828125, + "y": -695.2000122070313, + "width": 123.1998291015625, + "height": 33.60003662109375 } }, "m_Slots": [ { - "m_Id": "b9ea3672569d404fa365dcd82b6e26bd" + "m_Id": "0585c55cad40403a93ac0638072dd7b6" } ], "synonyms": [], @@ -209,30 +610,209 @@ "m_CustomColors": { "m_SerializableColors": [] }, - "m_SerializedDescriptor": "VertexDescription.Normal" + "m_Property": { + "m_Id": "cd0e956866a64f1fb598a35bc8f892d5" + } } { "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.BlockNode", - "m_ObjectId": "7934d389d74d40da8657cd6d83d38935", - "m_Group": { - "m_Id": "" + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "0ad2e93b3f3247ddab093065a5468219", + "m_Id": 2, + "m_DisplayName": "T", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "T", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 }, - "m_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_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "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.Texture2DInputMaterialSlot", + "m_ObjectId": "105d64344f7a4ca492f324fc606fd562", + "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\":\"966f2baf5f8eaa745a5bcdc4c8127425\",\"type\":3}}", + "m_Guid": "" + }, + "m_DefaultType": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "13ea9acafde84494ae4a40aaa8ba8fac", + "m_Id": 6, + "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": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "152b8f610de7412299176c2fc0f5b7f2", + "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": 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.DynamicValueMaterialSlot", + "m_ObjectId": "1c72996c8f204464ae612c244575e4bd", + "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.PropertyNode", + "m_ObjectId": "1f438b00d9074be5add1cd65792c55b1", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 1040.0, + "y": -639.2000122070313, + "width": 120.0, + "height": 33.60003662109375 } }, "m_Slots": [ { - "m_Id": "f7799d2969664bafb5b2bb91b8ca17cc" + "m_Id": "152b8f610de7412299176c2fc0f5b7f2" } ], "synonyms": [], @@ -243,33 +823,169 @@ "m_CustomColors": { "m_SerializableColors": [] }, - "m_SerializedDescriptor": "VertexDescription.Position" + "m_Property": { + "m_Id": "c37490dd8db14a3d939c27200a184eda" + } +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode", + "m_ObjectId": "1feedee71a8a4d26bad3eb26d2c32f54", + "m_Group": { + "m_Id": "" + }, + "m_Name": "GetMainLight (Custom Function)", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -408.0, + "y": -426.3999938964844, + "width": 231.99993896484376, + "height": 349.60003662109377 + } + }, + "m_Slots": [ + { + "m_Id": "c4750d8b4e2b4bde97dea4c15ae4bb96" + }, + { + "m_Id": "56a17763d8f643098024c44c17064152" + }, + { + "m_Id": "ef9ef1faeb9f44c3ada6d996913df2d5" + }, + { + "m_Id": "d3c99424613347fe82032496a0a1f1a4" + }, + { + "m_Id": "9f392b09c33a423da6051203e5479017" + } + ], + "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": 3, + "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty", + "m_ObjectId": "21f2e0b08c294903a7e79a2e5bfde973", + "m_Guid": { + "m_GuidSerialized": "095f88c0-5f33-4c70-83ae-b4bf224b90b1" + }, + "m_Name": "Midtone", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "Midtone", + "m_DefaultReferenceName": "_Midtone", + "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.23809181153774262, + "g": 0.5149601697921753, + "b": 0.8301886916160584, + "a": 0.0 + }, + "isMainColor": false, + "m_ColorMode": 0 +} + +{ + "m_SGVersion": 2, + "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget", + "m_ObjectId": "26157d021b81491c86e9452f8159ac27" } { "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.BlockNode", - "m_ObjectId": "9d590a060a6245988f804fe7abc93a7b", + "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", + "m_ObjectId": "277f5d4c671a44a0bde28997632a97fd", + "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.SampleTexture2DNode", + "m_ObjectId": "28240d37a9594d38a65c01189dacc49a", "m_Group": { "m_Id": "" }, - "m_Name": "VertexDescription.Tangent", + "m_Name": "Sample Texture 2D", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", - "x": 0.0, - "y": 0.0, - "width": 0.0, - "height": 0.0 + "x": 1075.199951171875, + "y": -1195.199951171875, + "width": 208.0, + "height": 431.99993896484377 } }, "m_Slots": [ { - "m_Id": "9dabadec240d422faed42460e368e458" + "m_Id": "9055a2dbe37240a7b3f70ae8e2cc0420" + }, + { + "m_Id": "c47bddbb3e474ffc8f78f79564e1d6f0" + }, + { + "m_Id": "f5ca075757a8494f9bedf303451f6530" + }, + { + "m_Id": "736fa28d66dd409cb0396850d5d3540f" + }, + { + "m_Id": "9b5600c9ef2546e096af0805a99498b7" + }, + { + "m_Id": "105d64344f7a4ca492f324fc606fd562" + }, + { + "m_Id": "64551e06f7b14a308aa2e0178e4a1a40" + }, + { + "m_Id": "2bb782dfeba947bfa9b4da2a35f8a24a" } ], - "synonyms": [], + "synonyms": [ + "tex2d" + ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, @@ -277,70 +993,1988 @@ "m_CustomColors": { "m_SerializableColors": [] }, - "m_SerializedDescriptor": "VertexDescription.Tangent" + "m_TextureType": 0, + "m_NormalMapSpace": 0, + "m_EnableGlobalMipBias": true, + "m_MipSamplingMode": 0 } { "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot", - "m_ObjectId": "9dabadec240d422faed42460e368e458", + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "2af4ad1f2b82447e8f8ad830b9d34016", + "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.SamplerStateMaterialSlot", + "m_ObjectId": "2bb782dfeba947bfa9b4da2a35f8a24a", + "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.Vector3MaterialSlot", + "m_ObjectId": "2c800d9853554375a24a147d8682445f", + "m_Id": 5, + "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": 0, + "m_Type": "UnityEditor.ShaderGraph.DotProductNode", + "m_ObjectId": "3002294edea24a16b07b779392ef8a09", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Dot Product", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -67.2000503540039, + "y": -754.3999633789063, + "width": 208.0, + "height": 301.6000061035156 + } + }, + "m_Slots": [ + { + "m_Id": "4b7bcf1c79b7485eb218e572d50a7699" + }, + { + "m_Id": "62d18d9f446a404e9dd90928656cc1d5" + }, + { + "m_Id": "80f79a9ac3544d6385c322b926f5ed0f" + } + ], + "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.ScreenPositionNode", + "m_ObjectId": "31ebefd40b6f4f4aa50890c6678bca83", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Screen Position", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 163.1999969482422, + "y": -1223.199951171875, + "width": 208.0000457763672, + "height": 311.19989013671877 + } + }, + "m_Slots": [ + { + "m_Id": "d904b425a29f436ea06618f37c365e8e" + } + ], + "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.UVMaterialSlot", + "m_ObjectId": "38ca0ff4ff0c4a3c8fd5b6e97b139e4e", + "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.PropertyNode", + "m_ObjectId": "3af2aa2a55024f71824c75e0616d8c98", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 856.0, + "y": -130.39999389648438, + "width": 200.800048828125, + "height": 33.60002136230469 + } + }, + "m_Slots": [ + { + "m_Id": "ed8cc86ff30e4742a9bd399d0a1e11a2" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "41fcf51124c344e29980743e5c427168" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "3b83ca2c5b0048668a2d58579234180b", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 940.0000610351563, + "y": -324.0000305175781, + "width": 123.99993896484375, + "height": 33.600006103515628 + } + }, + "m_Slots": [ + { + "m_Id": "6b94ff41b4604789aa4ce68da23627b1" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "cd0e956866a64f1fb598a35bc8f892d5" + } +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.PositionNode", + "m_ObjectId": "3c3aaa16459e474eb15900fdd8440e59", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Position", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -740.0, + "y": -430.3999938964844, + "width": 208.0, + "height": 312.79998779296877 + } + }, + "m_Slots": [ + { + "m_Id": "277f5d4c671a44a0bde28997632a97fd" + } + ], + "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.MultiplyNode", + "m_ObjectId": "3e8cba38b28d468b976c680d483eac11", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Multiply", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 620.0, + "y": -240.79998779296876, + "width": 208.0, + "height": 301.6000671386719 + } + }, + "m_Slots": [ + { + "m_Id": "c3785beaa98e4f2dbefa3d9ddc95168e" + }, + { + "m_Id": "cc50c4440abf444caabc9a0bd0e6826d" + }, + { + "m_Id": "ebf55afc8f34439aac53cb995d88a466" + } + ], + "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": "3efa4869af904beb92a99381e89cf7c1", + "m_Id": 2, + "m_DisplayName": "Rotation", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Rotation", + "m_StageCapability": 3, + "m_Value": -1.3799999952316285, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", + "m_ObjectId": "3fe6a332fbe24f1587a287dcb7268178", + "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.MultiplyNode", + "m_ObjectId": "40f0ef5a720d4b7e986f4131c9388525", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Multiply", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -45.59999465942383, + "y": -107.19999694824219, + "width": 208.00001525878907, + "height": 301.5999755859375 + } + }, + "m_Slots": [ + { + "m_Id": "5a57f333cccd4595b8782c09dd4baa7d" + }, + { + "m_Id": "cdeb9b37e7bc47c98024683b1dabb841" + }, + { + "m_Id": "b77c0e87bdaf4786bbdea320624bf0e4" + } + ], + "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": "41fcf51124c344e29980743e5c427168", + "m_Guid": { + "m_GuidSerialized": "d333a3bb-891b-4cc1-8f11-3415291951af" + }, + "m_Name": "Highlight/Mid Threshold", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "Highlight/Mid Threshold", + "m_DefaultReferenceName": "_Highlight_Mid_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.6700000166893005, + "m_FloatType": 1, + "m_RangeValues": { + "x": 0.0, + "y": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "4379e54867f94f3d90adb302064c94a3", + "m_Id": 0, + "m_DisplayName": "Mid/Shadow 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.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": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "4b7bcf1c79b7485eb218e572d50a7699", + "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.Vector3MaterialSlot", + "m_ObjectId": "56a17763d8f643098024c44c17064152", + "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.DynamicValueMaterialSlot", + "m_ObjectId": "5a57f333cccd4595b8782c09dd4baa7d", + "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.Vector2MaterialSlot", + "m_ObjectId": "625878890de446e18eee0e89217905e0", + "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.DynamicVectorMaterialSlot", + "m_ObjectId": "62d18d9f446a404e9dd90928656cc1d5", + "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.Vector1MaterialSlot", + "m_ObjectId": "634fbde78b6e4e2192ab5146bae62e7b", + "m_Id": 2, + "m_DisplayName": "Diffuse", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Diffuse", + "m_StageCapability": 3, + "m_Value": 0.38999998569488528, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot", + "m_ObjectId": "64551e06f7b14a308aa2e0178e4a1a40", + "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.CustomFunctionNode", + "m_ObjectId": "6b056631fd7440d693a5f368b24aa369", + "m_Group": { + "m_Id": "" + }, + "m_Name": "ChooseColor (Custom Function)", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 1150.4000244140625, + "y": -261.60003662109377, + "width": 229.5999755859375, + "height": 349.60003662109377 + } + }, + "m_Slots": [ + { + "m_Id": "01c8cb9707f84c6f8191ccd773e3ce84" + }, + { + "m_Id": "f146be61476b4d4aa79c7abd2fca8f7f" + }, + { + "m_Id": "2c800d9853554375a24a147d8682445f" + }, + { + "m_Id": "634fbde78b6e4e2192ab5146bae62e7b" + }, + { + "m_Id": "2af4ad1f2b82447e8f8ad830b9d34016" + }, + { + "m_Id": "13ea9acafde84494ae4a40aaa8ba8fac" + }, + { + "m_Id": "cc68c029417f40a0b289aec0d342e389" + } + ], + "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.Vector4MaterialSlot", + "m_ObjectId": "6b94ff41b4604789aa4ce68da23627b1", + "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_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": "736fa28d66dd409cb0396850d5d3540f", + "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.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": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "7b6d1ca03c244982bc4178d6fb89dab6", + "m_Id": 0, + "m_DisplayName": "Midtone", + "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": "7dc68ce936404a74ae0fa1471a5a9cf1", + "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": "80f79a9ac3544d6385c322b926f5ed0f", + "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.PropertyNode", + "m_ObjectId": "866ddf8a843f41ce9080add7f253df8a", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 938.4000244140625, + "y": -268.8000183105469, + "width": 120.0, + "height": 33.600006103515628 + } + }, + "m_Slots": [ + { + "m_Id": "7b6d1ca03c244982bc4178d6fb89dab6" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "21f2e0b08c294903a7e79a2e5bfde973" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "8e33a083b1f54bc185a321a566170708", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 937.5999755859375, + "y": -228.00003051757813, + "width": 119.2000732421875, + "height": 33.600006103515628 + } + }, + "m_Slots": [ + { + "m_Id": "7dc68ce936404a74ae0fa1471a5a9cf1" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "c37490dd8db14a3d939c27200a184eda" + } +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", + "m_ObjectId": "900fd872620e43fc85d94cffc8da97ce", + "m_Guid": { + "m_GuidSerialized": "c91bcfb5-45d6-423b-8870-4d1b1163585c" + }, + "m_Name": "Mid/Shadow Threshold", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "Mid/Shadow Threshold", + "m_DefaultReferenceName": "_Mid_Shadow_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.5, + "m_FloatType": 1, + "m_RangeValues": { + "x": 0.0, + "y": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "9055a2dbe37240a7b3f70ae8e2cc0420", + "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": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "9b5600c9ef2546e096af0805a99498b7", + "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.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": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "9e70689978284244a22a1be4f1ec010a", + "m_Id": 1, + "m_DisplayName": "B", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "B", + "m_StageCapability": 3, + "m_Value": { + "x": 1.0, + "y": 1.0, + "z": 1.0, + "w": 1.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "9f392b09c33a423da6051203e5479017", + "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": "a093ec21cb87435ea07f40ed5c954264", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Multiply", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 1504.0, + "y": -423.1999816894531, + "width": 208.0, + "height": 301.5999450683594 + } + }, + "m_Slots": [ + { + "m_Id": "ebe8efbcc6a14b13915bba2934bc65c8" + }, + { + "m_Id": "c8e1241a25ae4aab81f3ea70a5cbf27e" + }, + { + "m_Id": "1c72996c8f204464ae612c244575e4bd" + } + ], + "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.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.DynamicVectorMaterialSlot", + "m_ObjectId": "a489e88e7658422f873314d34132a278", + "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": 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.Vector2MaterialSlot", + "m_ObjectId": "ab56fe35eb0f4da18250032d43cfaa5c", + "m_Id": 3, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.CategoryData", + "m_ObjectId": "add220b505e74a1ea06ac805858fa8fe", + "m_Name": "", + "m_ChildObjectList": [ + { + "m_Id": "b809fdc1f7e34de0b139821499ca0e23" + }, + { + "m_Id": "e5a71d711c86416886b209ec634fe2f6" + }, + { + "m_Id": "a9c5436a87be4b06afd14e618024c004" + }, + { + "m_Id": "0eef9d116d3b4975b9bd81200bf0bbb4" + }, + { + "m_Id": "a1669d731be94e2c83f4ee08f8a9f669" + }, + { + "m_Id": "cd0e956866a64f1fb598a35bc8f892d5" + }, + { + "m_Id": "c37490dd8db14a3d939c27200a184eda" + }, + { + "m_Id": "41fcf51124c344e29980743e5c427168" + }, + { + "m_Id": "21f2e0b08c294903a7e79a2e5bfde973" + }, + { + "m_Id": "900fd872620e43fc85d94cffc8da97ce" + } + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", + "m_ObjectId": "b6211a85b31d40cfb2ad20b7c43c2520", + "m_Id": 1, + "m_DisplayName": "Tiling", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Tiling", + "m_StageCapability": 3, + "m_Value": { + "x": 20.0, + "y": 5.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "b77c0e87bdaf4786bbdea320624bf0e4", + "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.RotateNode", + "m_ObjectId": "b7fa031ba5164785a17761128418b5d7", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Rotate", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 796.0000610351563, + "y": -1215.199951171875, + "width": 208.0, + "height": 359.19989013671877 + } + }, + "m_Slots": [ + { + "m_Id": "38ca0ff4ff0c4a3c8fd5b6e97b139e4e" + }, + { + "m_Id": "625878890de446e18eee0e89217905e0" + }, + { + "m_Id": "3efa4869af904beb92a99381e89cf7c1" + }, + { + "m_Id": "fa892c4c8562415e85ca7047316870f8" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Unit": 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.NormalVectorNode", + "m_ObjectId": "bfbc5efe6d21498a983563a40de421fd", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Normal Vector", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -425.6000061035156, + "y": -803.2000122070313, + "width": 208.00001525878907, + "height": 312.8000183105469 + } + }, + "m_Slots": [ + { + "m_Id": "f46e49fd0c884943b7118b3ab3d72d89" + } + ], + "synonyms": [ + "surface direction" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 2, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Space": 2 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot", + "m_ObjectId": "c10d716101a04c8d963376c3212e0cd4", + "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": 3, + "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty", + "m_ObjectId": "c37490dd8db14a3d939c27200a184eda", + "m_Guid": { + "m_GuidSerialized": "242faa92-b9ad-4b46-bfa2-8d43e6cfce12" + }, + "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.0022071474231779577, + "g": 0.30212536454200747, + "b": 0.5849056243896484, + "a": 0.0 + }, + "isMainColor": false, + "m_ColorMode": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "c3785beaa98e4f2dbefa3d9ddc95168e", + "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.Vector3MaterialSlot", + "m_ObjectId": "c4750d8b4e2b4bde97dea4c15ae4bb96", + "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.Vector1MaterialSlot", + "m_ObjectId": "c47bddbb3e474ffc8f78f79564e1d6f0", + "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.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.DynamicVectorMaterialSlot", + "m_ObjectId": "c5fc75482d2e495b9f785bd3c490fe15", + "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": "c8e1241a25ae4aab81f3ea70a5cbf27e", + "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.DynamicValueMaterialSlot", + "m_ObjectId": "cc50c4440abf444caabc9a0bd0e6826d", + "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.Vector3MaterialSlot", + "m_ObjectId": "cc68c029417f40a0b289aec0d342e389", + "m_Id": 4, + "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": 3, + "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty", + "m_ObjectId": "cd0e956866a64f1fb598a35bc8f892d5", + "m_Guid": { + "m_GuidSerialized": "f819edd6-3762-4736-82d4-d5d5f0cf76fb" + }, + "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.17429687082767487, + "g": 0.8702023029327393, + "b": 0.9056603908538818, + "a": 0.0 + }, + "isMainColor": false, + "m_ColorMode": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "cdeb9b37e7bc47c98024683b1dabb841", + "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": "d1c6119cd6164f1389cd6db1c24ed551", + "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.Vector1MaterialSlot", + "m_ObjectId": "d3c99424613347fe82032496a0a1f1a4", + "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.Vector4MaterialSlot", + "m_ObjectId": "d904b425a29f436ea06618f37c365e8e", "m_Id": 0, - "m_DisplayName": "Tangent", - "m_SlotType": 0, + "m_DisplayName": "Out", + "m_SlotType": 1, "m_Hidden": false, - "m_ShaderOutputName": "Tangent", - "m_StageCapability": 1, + "m_ShaderOutputName": "Out", + "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 + "z": 0.0, + "w": 0.0 }, - "m_Labels": [], - "m_Space": 0 + "m_Labels": [] } { - "m_SGVersion": 1, - "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword", - "m_ObjectId": "a1669d731be94e2c83f4ee08f8a9f669", - "m_Guid": { - "m_GuidSerialized": "e476794b-ba20-4ab6-8038-e8bda11c9d8c" + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "e46bc2f428ee42e99a9357379d49c1ee", + "m_Group": { + "m_Id": "" }, - "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_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 892.0, + "y": -95.99998474121094, + "width": 196.800048828125, + "height": 33.59996795654297 + } + }, + "m_Slots": [ + { + "m_Id": "4379e54867f94f3d90adb302064c94a3" + } + ], + "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": "900fd872620e43fc85d94cffc8da97ce" + } } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword", - "m_ObjectId": "a9c5436a87be4b06afd14e618024c004", + "m_ObjectId": "e5a71d711c86416886b209ec634fe2f6", "m_Guid": { - "m_GuidSerialized": "e5370f12-55bb-4028-835d-23abb44cf31f" + "m_GuidSerialized": "2d4a7eb1-5095-4e3c-a08a-ec0e0b786285" }, - "m_Name": "Additional Lights", + "m_Name": "Additional Shadows", "m_DefaultRefNameVersion": 1, - "m_RefNameGeneratedByDisplayName": "Additional Lights", - "m_DefaultReferenceName": "_ADDITIONAL_LIGHTS", - "m_OverrideReferenceName": "", + "m_RefNameGeneratedByDisplayName": "Additional Shadows", + "m_DefaultReferenceName": "_ADDITIONAL_SHADOWS", + "m_OverrideReferenceName": "ADDITIONAL_LIGHT_CALCULATE_SHADOWS", "m_GeneratePropertyBlock": true, "m_UseCustomSlotLabel": false, "m_CustomSlotLabel": "", @@ -356,63 +2990,170 @@ { "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.CategoryData", - "m_ObjectId": "add220b505e74a1ea06ac805858fa8fe", - "m_Name": "", - "m_ChildObjectList": [ - { - "m_Id": "b809fdc1f7e34de0b139821499ca0e23" - }, + "m_Type": "UnityEditor.ShaderGraph.TilingAndOffsetNode", + "m_ObjectId": "ea9591bed2e448e3bc44efb4df116df2", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Tiling And Offset", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 476.8000183105469, + "y": -1232.800048828125, + "width": 207.99996948242188, + "height": 325.60003662109377 + } + }, + "m_Slots": [ { - "m_Id": "e5a71d711c86416886b209ec634fe2f6" + "m_Id": "c10d716101a04c8d963376c3212e0cd4" }, { - "m_Id": "a9c5436a87be4b06afd14e618024c004" + "m_Id": "b6211a85b31d40cfb2ad20b7c43c2520" }, { - "m_Id": "0eef9d116d3b4975b9bd81200bf0bbb4" + "m_Id": "3fe6a332fbe24f1587a287dcb7268178" }, { - "m_Id": "a1669d731be94e2c83f4ee08f8a9f669" + "m_Id": "ab56fe35eb0f4da18250032d43cfaa5c" } - ] + ], + "synonyms": [ + "pan", + "scale" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } } { - "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": "ebe8efbcc6a14b13915bba2934bc65c8", + "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_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.DynamicValueMaterialSlot", + "m_ObjectId": "ebf55afc8f34439aac53cb995d88a466", + "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": "ed8cc86ff30e4742a9bd399d0a1e11a2", "m_Id": 0, - "m_DisplayName": "Normal", - "m_SlotType": 0, + "m_DisplayName": "Highlight/Mid Threshold", + "m_SlotType": 1, "m_Hidden": false, - "m_ShaderOutputName": "Normal", - "m_StageCapability": 1, + "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": "ef9ef1faeb9f44c3ada6d996913df2d5", + "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, @@ -423,63 +3164,114 @@ "y": 0.0, "z": 0.0 }, - "m_Labels": [], - "m_Space": 0 + "m_Labels": [] } { "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", - "m_ObjectId": "c56b870e7d5a4cb183c1d0dc063d2203", - "m_Id": 0, - "m_DisplayName": "Base Color", + "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", + "m_ObjectId": "f146be61476b4d4aa79c7abd2fca8f7f", + "m_Id": 1, + "m_DisplayName": "Midtone", "m_SlotType": 0, "m_Hidden": false, - "m_ShaderOutputName": "BaseColor", - "m_StageCapability": 2, + "m_ShaderOutputName": "Midtone", + "m_StageCapability": 3, "m_Value": { - "x": 0.5, - "y": 0.5, - "z": 0.5 + "x": 0.0, + "y": 0.0, + "z": 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 - } + "m_Labels": [] } { - "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.LerpNode", + "m_ObjectId": "f33f2f72108641a28d1ef2a87103d64c", + "m_Group": { + "m_Id": "" }, - "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_Name": "Lerp", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 1428.800048828125, + "y": -790.3999633789063, + "width": 208.0, + "height": 325.5999755859375 + } + }, + "m_Slots": [ + { + "m_Id": "a489e88e7658422f873314d34132a278" + }, + { + "m_Id": "9e70689978284244a22a1be4f1ec010a" + }, + { + "m_Id": "0ad2e93b3f3247ddab093065a5468219" + }, + { + "m_Id": "d1c6119cd6164f1389cd6db1c24ed551" + } + ], + "synonyms": [ + "mix", + "blend", + "linear interpolate" + ], + "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_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", + "m_ObjectId": "f46e49fd0c884943b7118b3ab3d72d89", + "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.Vector1MaterialSlot", + "m_ObjectId": "f5ca075757a8494f9bedf303451f6530", + "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": [] } { @@ -506,3 +3298,48 @@ "m_Space": 0 } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", + "m_ObjectId": "fa892c4c8562415e85ca7047316870f8", + "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.DynamicVectorMaterialSlot", + "m_ObjectId": "ff0ae63ba359471e8d8699d775cffbf6", + "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 + } +} + diff --git a/Assets/Shaders/Includes/LightingHelp.hlsl b/Assets/Shaders/Includes/LightingHelp.hlsl index d828ee9..0192c5a 100644 --- a/Assets/Shaders/Includes/LightingHelp.hlsl +++ b/Assets/Shaders/Includes/LightingHelp.hlsl @@ -20,12 +20,16 @@ void GetMainLight_float(float3 WorldPos, out float3 Color, out float3 Direction, #endif } -void ChooseColor_float(float3 Highlight, float3 Shadow, float Diffuse, float Threshold, out float3 OUT) +void ChooseColor_float(float3 Highlight, float3 Midtone, float3 Shadow, float Diffuse, float Threshold1, float Threshold2, out float3 OUT) { - if (Diffuse < Threshold) + if (Diffuse < Threshold2) { OUT = Shadow; } + else if (Diffuse < Threshold1) + { + OUT = Midtone; + } else { OUT = Highlight; diff --git a/README.md b/README.md index b51f9a7..640b16d 100644 --- a/README.md +++ b/README.md @@ -1,42 +1,14 @@ -# Lab 05 - Stylization! -Let's practice adding stylization to a 3D scene using Unity's shader graph! +# Lab 05 - Stylization - Saksham Nagpal & Kyra Clark +Practicing 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. +### 1. Simple two-tone toon shading -## 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. +![](images/part1.png) -[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. +### 2. Toon shading with 3 tones -### 1. Puzzle 1: Simple two-tone toon shading +![](images/part2.png) -277997527-f27aec24-0d04-4b73-95d3-b55e2da13603 +### 3. Stylized Shadow - * 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 - -277998209-12d0a844-b6a8-4054-86f9-ee13b5533bf2 - - * 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 - -277998492-be35de1e-1157-4a6e-b4ea-ba015f2750c9 - - * 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 +![](images/part3.png) diff --git a/images/part1.png b/images/part1.png new file mode 100644 index 0000000..92e43bc Binary files /dev/null and b/images/part1.png differ diff --git a/images/part2.png b/images/part2.png new file mode 100644 index 0000000..0c147a8 Binary files /dev/null and b/images/part2.png differ diff --git a/images/part3.png b/images/part3.png new file mode 100644 index 0000000..372f84f Binary files /dev/null and b/images/part3.png differ