diff --git a/1.png b/1.png new file mode 100644 index 0000000..2255760 Binary files /dev/null and b/1.png differ diff --git a/2.png b/2.png new file mode 100644 index 0000000..6f0efb5 Binary files /dev/null and b/2.png differ diff --git a/3.png b/3.png new file mode 100644 index 0000000..54ef4af Binary files /dev/null and b/3.png differ diff --git a/Assets/Materials/Black.mat b/Assets/Materials/Black.mat new file mode 100644 index 0000000..42e626d --- /dev/null +++ b/Assets/Materials/Black.mat @@ -0,0 +1,153 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Black + 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_b1913764164e490da5121b555603a12f_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 + - _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 + - _Threshold1: 0 + - _Threshold2: 0.984 + - _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} + - _Hightlight: {r: 1, g: 1, b: 1, a: 0} + - _MidTone: {r: 0, g: 0, b: 0, 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: [] +--- !u!114 &8039428279617143296 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 7 diff --git a/Assets/Materials/Default.mat.meta b/Assets/Materials/Black.mat.meta similarity index 79% rename from Assets/Materials/Default.mat.meta rename to Assets/Materials/Black.mat.meta index 932737f..c6f4132 100644 --- a/Assets/Materials/Default.mat.meta +++ b/Assets/Materials/Black.mat.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: d60db1350aa31bd4080a3bb5e2541934 +guid: 90d544c85101fa843bb04bba8590a18b NativeFormatImporter: externalObjects: {} mainObjectFileID: 2100000 diff --git a/Assets/Materials/Blue.mat b/Assets/Materials/Blue.mat new file mode 100644 index 0000000..5bea0d0 --- /dev/null +++ b/Assets/Materials/Blue.mat @@ -0,0 +1,153 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-273185655069299158 +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: Blue + 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_b1913764164e490da5121b555603a12f_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 + - _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 + - _Threshold1: 0.32 + - _Threshold2: 0.195 + - _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} + - _Hightlight: {r: 0.45098042, g: 0.7137255, b: 0.9960785, a: 0} + - _MidTone: {r: 0.35506406, g: 0.6453088, b: 0.9528302, a: 0} + - _Shadow: {r: 0.23529413, g: 0.5647059, b: 0.91372555, a: 0} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/Materials/Blue.mat.meta b/Assets/Materials/Blue.mat.meta new file mode 100644 index 0000000..dbe6dac --- /dev/null +++ b/Assets/Materials/Blue.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3dda7b4bfbdb3b84bac7ed855fa93723 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Materials/Default.mat b/Assets/Materials/CustomMaterial.mat similarity index 73% rename from Assets/Materials/Default.mat rename to Assets/Materials/CustomMaterial.mat index 7a2cb38..4386ab7 100644 --- a/Assets/Materials/Default.mat +++ b/Assets/Materials/CustomMaterial.mat @@ -1,36 +1,29 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: ---- !u!114 &-8081582795363580827 -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: 7 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_Name: Default - m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} + m_Name: CustomMaterial + m_Shader: {fileID: -6465566751694194690, guid: c6aa7fe2d57109446a7e1f7bb3d4ad11, + type: 3} m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 - m_ShaderKeywords: + 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: 2000 - stringTagMap: - RenderType: Opaque + m_CustomRenderQueue: -1 + stringTagMap: {} disabledShaderPasses: [] m_LockedProperties: m_SavedProperties: @@ -44,14 +37,6 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - - _ClearCoatMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _Cube: - 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} @@ -76,10 +61,6 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - - _MetallicSpecGlossMap: - 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} @@ -106,12 +87,14 @@ Material: 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 - - _ClearCoat: 0 - _ClearCoatMask: 0 - _ClearCoatSmoothness: 0 - _Cull: 2 @@ -121,31 +104,47 @@ Material: - _DstBlend: 0 - _DstBlendAlpha: 0 - _EnvironmentReflections: 1 - - _GlossMapScale: 1 - - _Glossiness: 0.5 - - _GlossinessSource: 0 - - _GlossyReflections: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _MAIN_LIGHT_SHADOWS_CASCADE: 1 - _Metallic: 0 - - _Mode: 0 - _OcclusionStrength: 1 - - _Parallax: 0.02 + - _Parallax: 0.005 + - _QueueControl: 0 - _QueueOffset: 0 - _ReceiveShadows: 1 - - _ReflectionSource: 0 - - _Shininess: 1 + - _SHADOWS_SOFT: 1 - _Smoothness: 0.5 - _SmoothnessTextureChannel: 0 - - _SpecSource: 0 - _SpecularHighlights: 1 - _SrcBlend: 1 - _SrcBlendAlpha: 1 - _Surface: 0 - - _UVSec: 0 + - _Threshold: 0.92 - _WorkflowMode: 1 - _ZWrite: 1 m_Colors: - - _BaseColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} - - _Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} + - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _Color1: {r: 1, g: 0, b: 0, a: 0} + - _Color2: {r: 0, g: 1, b: 0, a: 0} - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} - - _SpecColor: {r: 1, g: 1, b: 1, a: 1} + - _Hightlight: {r: 0, g: 1, b: 0.6199827, a: 0} + - _LightDir: {r: 0, g: 1, b: 0, a: 0} + - _Shadow: {r: 0, g: 0.49056602, b: 0.3191255, a: 0} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} m_BuildTextureStacks: [] +--- !u!114 &4842175794648012562 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 7 diff --git a/Assets/Materials/CustomMaterial.mat.meta b/Assets/Materials/CustomMaterial.mat.meta new file mode 100644 index 0000000..992fbc1 --- /dev/null +++ b/Assets/Materials/CustomMaterial.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0809eb2693e49894cbfb5dca496eb3e7 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Materials/Floor.mat b/Assets/Materials/Floor.mat new file mode 100644 index 0000000..2d46b80 --- /dev/null +++ b/Assets/Materials/Floor.mat @@ -0,0 +1,155 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-7043551464711201551 +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: Floor + 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_b1913764164e490da5121b555603a12f_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 + - _MAIN_LIGHT_SHADOWS_CASCADE: 1 + - _Metallic: 0 + - _Mode: 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 + - _Threshold1: 0.202 + - _Threshold2: 0.526 + - _UVSec: 0 + - _WorkflowMode: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _Hightlight: {r: 0.9960785, g: 0.9960785, b: 0.9960785, a: 0} + - _MidTone: {r: 0.5660378, g: 0.5660378, b: 0.5660378, 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/Floor.mat.meta b/Assets/Materials/Floor.mat.meta new file mode 100644 index 0000000..3600f9c --- /dev/null +++ b/Assets/Materials/Floor.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3ec71ce5bb278a94d9473bf0ae8bc87a +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Materials/Red.mat b/Assets/Materials/Red.mat new file mode 100644 index 0000000..904bab6 --- /dev/null +++ b/Assets/Materials/Red.mat @@ -0,0 +1,153 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Red + 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_b1913764164e490da5121b555603a12f_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 + - _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 + - _Threshold1: 0.225 + - _Threshold2: 0.668 + - _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} + - _Hightlight: {r: 0.7176471, g: 0.14901961, b: 0.08627451, a: 0} + - _MidTone: {r: 0.6037736, g: 0.1314003, b: 0.0768957, a: 0} + - _Shadow: {r: 0.4901961, g: 0.08235294, b: 0.03529412, a: 0} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] +--- !u!114 &3585406742933408099 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 7 diff --git a/Assets/Materials/Red.mat.meta b/Assets/Materials/Red.mat.meta new file mode 100644 index 0000000..2e7e0d5 --- /dev/null +++ b/Assets/Materials/Red.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d49b9225f0b6b3b47b0cd7a1fabe4cf4 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Materials/White.mat b/Assets/Materials/White.mat new file mode 100644 index 0000000..7178eec --- /dev/null +++ b/Assets/Materials/White.mat @@ -0,0 +1,153 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: White + 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_b1913764164e490da5121b555603a12f_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 + - _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 + - _Threshold1: 0.252 + - _Threshold2: 0.637 + - _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} + - _Hightlight: {r: 0.9960785, g: 0.9960785, b: 0.9960785, a: 0} + - _MidTone: {r: 0.82382524, g: 0.8651266, b: 0.9339623, a: 0} + - _Shadow: {r: 0.67058825, g: 0.7411765, b: 0.8588236, a: 0} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] +--- !u!114 &5366004635770932674 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 7 diff --git a/Assets/Materials/White.mat.meta b/Assets/Materials/White.mat.meta new file mode 100644 index 0000000..ae1a409 --- /dev/null +++ b/Assets/Materials/White.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: aaad0f31df620fc4780e074207ca8f45 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Materials/White_Face.mat b/Assets/Materials/White_Face.mat new file mode 100644 index 0000000..21a1308 --- /dev/null +++ b/Assets/Materials/White_Face.mat @@ -0,0 +1,153 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: White_Face + 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_b1913764164e490da5121b555603a12f_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 + - _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 + - _Threshold1: 0 + - _Threshold2: 0 + - _WorkflowMode: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _Hightlight: {r: 1, g: 1, b: 1, a: 0} + - _MidTone: {r: 1, g: 1, b: 1, a: 0} + - _Shadow: {r: 1, g: 1, b: 1, a: 0} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] +--- !u!114 &8896397199768360332 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 7 diff --git a/Assets/Materials/White_Face.mat.meta b/Assets/Materials/White_Face.mat.meta new file mode 100644 index 0000000..a75383e --- /dev/null +++ b/Assets/Materials/White_Face.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c428fe425003d0b41a03210d0b2091b6 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Materials/Yellow.mat b/Assets/Materials/Yellow.mat new file mode 100644 index 0000000..8404e66 --- /dev/null +++ b/Assets/Materials/Yellow.mat @@ -0,0 +1,153 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-3265990940151057243 +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: Yellow + 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_b1913764164e490da5121b555603a12f_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 + - _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 + - _Threshold1: 0.153 + - _Threshold2: 0.557 + - _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} + - _Hightlight: {r: 1, g: 0.9395161, b: 0.75, a: 0} + - _MidTone: {r: 0.9622642, g: 0.87551105, b: 0.6036846, a: 0} + - _Shadow: {r: 0.9333334, g: 0.81568635, b: 0.44705886, a: 0} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/Materials/Yellow.mat.meta b/Assets/Materials/Yellow.mat.meta new file mode 100644 index 0000000..46907f4 --- /dev/null +++ b/Assets/Materials/Yellow.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e953eeadd5307404e83f5612998c1b61 +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..6a6b664 100644 --- a/Assets/Scenes/Lab Scene 1.unity +++ b/Assets/Scenes/Lab Scene 1.unity @@ -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.28322455, y: 0.30946764, z: -0.09711326, w: 0.90254235} + m_LocalPosition: {x: -1.902, y: 2.778, z: -1.86} 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: 34.845, y: 37.852, z: 0} --- !u!114 &330585547 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: 0809eb2693e49894cbfb5dca496eb3e7, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -595,7 +595,7 @@ Transform: m_GameObject: {fileID: 510549499} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 1.43, z: 0} + m_LocalPosition: {x: 0, y: 1.43, z: 0.124} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] diff --git a/Assets/Scenes/Lab Scene 2.unity b/Assets/Scenes/Lab Scene 2.unity index fae77c0..d990e35 100644 --- a/Assets/Scenes/Lab Scene 2.unity +++ b/Assets/Scenes/Lab Scene 2.unity @@ -38,7 +38,7 @@ RenderSettings: m_ReflectionIntensity: 1 m_CustomReflection: {fileID: 0} m_Sun: {fileID: 0} - m_IndirectSpecularColor: {r: 0.18028378, g: 0.22571412, b: 0.30692285, a: 1} + m_IndirectSpecularColor: {r: 0.1798554, g: 0.22519408, b: 0.30664414, a: 1} m_UseRadianceAmbientProbe: 0 --- !u!157 &3 LightmapSettings: @@ -333,8 +333,8 @@ Light: m_LightShadowCasterMode: 0 m_AreaSize: {x: 1, y: 1} m_BounceIntensity: 1 - m_ColorTemperature: 5000 - m_UseColorTemperature: 1 + m_ColorTemperature: 6887 + m_UseColorTemperature: 0 m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} m_UseBoundingSphereOverride: 0 m_UseViewFrustumForShadowCasterCull: 1 @@ -348,13 +348,13 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 410087039} serializedVersion: 2 - m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} - m_LocalPosition: {x: 0, y: 3, z: -2.61} + m_LocalRotation: {x: 0.4867664, y: 0.24027818, z: 0.06512922, w: 0.8373071} + m_LocalPosition: {x: -0.64, y: 1.87, z: -1.88} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} + m_LocalEulerAnglesHint: {x: 51.614, y: 48.599, z: 33.529} --- !u!114 &410087042 MonoBehaviour: m_ObjectHideFlags: 0 @@ -439,7 +439,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: d60db1350aa31bd4080a3bb5e2541934, type: 2} + - {fileID: 2100000, guid: 3ec71ce5bb278a94d9473bf0ae8bc87a, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -566,47 +566,142 @@ PrefabInstance: type: 3} propertyPath: m_Materials.Array.data[0] value: - objectReference: {fileID: 2100000, guid: d60db1350aa31bd4080a3bb5e2541934, type: 2} + objectReference: {fileID: 2100000, guid: e953eeadd5307404e83f5612998c1b61, type: 2} + - target: {fileID: -8602433362572305629, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: e953eeadd5307404e83f5612998c1b61, type: 2} + - target: {fileID: -7407988419630983719, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: aaad0f31df620fc4780e074207ca8f45, type: 2} + - target: {fileID: -5733981035308023022, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 3dda7b4bfbdb3b84bac7ed855fa93723, 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: 3dda7b4bfbdb3b84bac7ed855fa93723, type: 2} + - target: {fileID: -5326866014839177254, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: aaad0f31df620fc4780e074207ca8f45, 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: e953eeadd5307404e83f5612998c1b61, type: 2} + - target: {fileID: -2750859397604594270, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: e953eeadd5307404e83f5612998c1b61, 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: c428fe425003d0b41a03210d0b2091b6, type: 2} + - target: {fileID: -742350899316325245, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: e953eeadd5307404e83f5612998c1b61, 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: aaad0f31df620fc4780e074207ca8f45, 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: aaad0f31df620fc4780e074207ca8f45, type: 2} - target: {fileID: 919132149155446097, guid: 221abe15e8e581b43bb1d0dc4e10c784, type: 3} propertyPath: m_Name value: Sonic Model objectReference: {fileID: 0} + - target: {fileID: 1443583819320638466, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 90d544c85101fa843bb04bba8590a18b, type: 2} + - target: {fileID: 2035337607983341931, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: d49b9225f0b6b3b47b0cd7a1fabe4cf4, type: 2} + - target: {fileID: 2035337607983341931, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[1] + value: + objectReference: {fileID: 2100000, guid: aaad0f31df620fc4780e074207ca8f45, type: 2} + - target: {fileID: 2389692026055523335, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: aaad0f31df620fc4780e074207ca8f45, type: 2} + - target: {fileID: 2413864688904672789, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 3dda7b4bfbdb3b84bac7ed855fa93723, type: 2} + - target: {fileID: 2945044530011656084, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 90d544c85101fa843bb04bba8590a18b, type: 2} + - target: {fileID: 3253409454975574844, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: e953eeadd5307404e83f5612998c1b61, type: 2} + - target: {fileID: 3791342574719154946, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 90d544c85101fa843bb04bba8590a18b, 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: aaad0f31df620fc4780e074207ca8f45, 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: 3dda7b4bfbdb3b84bac7ed855fa93723, type: 2} + - target: {fileID: 5955265388225236956, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: e953eeadd5307404e83f5612998c1b61, type: 2} + - target: {fileID: 7416735682081386682, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 90d544c85101fa843bb04bba8590a18b, type: 2} + - target: {fileID: 8259033719123135965, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: d49b9225f0b6b3b47b0cd7a1fabe4cf4, type: 2} + - target: {fileID: 8259033719123135965, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[1] + value: + objectReference: {fileID: 2100000, guid: aaad0f31df620fc4780e074207ca8f45, type: 2} + - target: {fileID: 9074906319803942526, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: e953eeadd5307404e83f5612998c1b61, 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..3cdda42 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": "edc1c47676864812b8a42436cca7e72d" + }, + { + "m_Id": "3158da98cf9d42cfb19d58d472c09a26" + }, + { + "m_Id": "a72395743f804c53a20c42880adbc181" + }, + { + "m_Id": "e9811c7c87f5451e90e2270e185ebb36" + }, + { + "m_Id": "03fac70801d1487cb61ca40a588428fe" + } + ], "m_Keywords": [ { "m_Id": "e5a71d711c86416886b209ec634fe2f6" @@ -38,15 +54,432 @@ }, { "m_Id": "48bdfdf3936944fd964058d7ca97fe50" + }, + { + "m_Id": "cc92f18a0d6646f4856f05e6fbd71aef" + }, + { + "m_Id": "d0916406bf504724b92d0acb3f8c0a06" + }, + { + "m_Id": "47b8e043fd8049fc931c79b082c6a4eb" + }, + { + "m_Id": "89875970280748608af5b56938cb68bc" + }, + { + "m_Id": "fb7a68b700bd487da4305b0d4626e395" + }, + { + "m_Id": "ecbaf4214da246e48e74e433f91ad222" + }, + { + "m_Id": "39300bcc420d460bb9d6c5129faeadbe" + }, + { + "m_Id": "a50d05cb3b8d45ba8f6ca4b86f5118f9" + }, + { + "m_Id": "e2035bed25574124bd64e545a91f23f4" + }, + { + "m_Id": "a8b7e11dd6854eab90e2a04892bbe7aa" + }, + { + "m_Id": "d90b5489752b494794a6ef6cc3c9827f" + }, + { + "m_Id": "99248af1c7184961acc38f08191c3402" + }, + { + "m_Id": "3b85e5b04c81473f9c104148028232e7" + }, + { + "m_Id": "eeeb49d73fc74982a939fc08f9efbe93" + }, + { + "m_Id": "b1913764164e490da5121b555603a12f" + }, + { + "m_Id": "24f9919b91d74071b5cf9f29432de555" + }, + { + "m_Id": "66e55a73f9fe4d92aa89c115619950ad" + }, + { + "m_Id": "e551c219e3b64836abc4251f16de3c19" + }, + { + "m_Id": "f37335dc30a0437f9c5f490e7e171e83" + }, + { + "m_Id": "079ab797ec3e4bd5862112f203950f86" + }, + { + "m_Id": "b89860024dbf4deebf64f0db986292e2" + }, + { + "m_Id": "0a4d04440c064a4aa97d6a26f0a233d3" } ], "m_GroupDatas": [], "m_StickyNoteDatas": [], - "m_Edges": [], + "m_Edges": [ + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "079ab797ec3e4bd5862112f203950f86" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "39300bcc420d460bb9d6c5129faeadbe" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "24f9919b91d74071b5cf9f29432de555" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "b1913764164e490da5121b555603a12f" + }, + "m_SlotId": 3 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "39300bcc420d460bb9d6c5129faeadbe" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "e2035bed25574124bd64e545a91f23f4" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "3b85e5b04c81473f9c104148028232e7" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "cc92f18a0d6646f4856f05e6fbd71aef" + }, + "m_SlotId": 5 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "47b8e043fd8049fc931c79b082c6a4eb" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "89875970280748608af5b56938cb68bc" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "66e55a73f9fe4d92aa89c115619950ad" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "0a4d04440c064a4aa97d6a26f0a233d3" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "66e55a73f9fe4d92aa89c115619950ad" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "e551c219e3b64836abc4251f16de3c19" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "89875970280748608af5b56938cb68bc" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "a50d05cb3b8d45ba8f6ca4b86f5118f9" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "99248af1c7184961acc38f08191c3402" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "cc92f18a0d6646f4856f05e6fbd71aef" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "a50d05cb3b8d45ba8f6ca4b86f5118f9" + }, + "m_SlotId": 1 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "e2035bed25574124bd64e545a91f23f4" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "a8b7e11dd6854eab90e2a04892bbe7aa" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "48bdfdf3936944fd964058d7ca97fe50" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "b1913764164e490da5121b555603a12f" + }, + "m_SlotId": 4 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "079ab797ec3e4bd5862112f203950f86" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "b89860024dbf4deebf64f0db986292e2" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "0a4d04440c064a4aa97d6a26f0a233d3" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "cc92f18a0d6646f4856f05e6fbd71aef" + }, + "m_SlotId": 4 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "a8b7e11dd6854eab90e2a04892bbe7aa" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "d0916406bf504724b92d0acb3f8c0a06" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "cc92f18a0d6646f4856f05e6fbd71aef" + }, + "m_SlotId": 3 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "d90b5489752b494794a6ef6cc3c9827f" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "cc92f18a0d6646f4856f05e6fbd71aef" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "e2035bed25574124bd64e545a91f23f4" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "cc92f18a0d6646f4856f05e6fbd71aef" + }, + "m_SlotId": 2 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "e551c219e3b64836abc4251f16de3c19" + }, + "m_SlotId": 3 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "f37335dc30a0437f9c5f490e7e171e83" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "ecbaf4214da246e48e74e433f91ad222" + }, + "m_SlotId": 1 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "a8b7e11dd6854eab90e2a04892bbe7aa" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "ecbaf4214da246e48e74e433f91ad222" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "89875970280748608af5b56938cb68bc" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "ecbaf4214da246e48e74e433f91ad222" + }, + "m_SlotId": 3 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "39300bcc420d460bb9d6c5129faeadbe" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "ecbaf4214da246e48e74e433f91ad222" + }, + "m_SlotId": 4 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "079ab797ec3e4bd5862112f203950f86" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "eeeb49d73fc74982a939fc08f9efbe93" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "cc92f18a0d6646f4856f05e6fbd71aef" + }, + "m_SlotId": 6 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "f37335dc30a0437f9c5f490e7e171e83" + }, + "m_SlotId": 3 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "b1913764164e490da5121b555603a12f" + }, + "m_SlotId": 2 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "fb7a68b700bd487da4305b0d4626e395" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "ecbaf4214da246e48e74e433f91ad222" + }, + "m_SlotId": 0 + } + } + ], "m_VertexContext": { "m_Position": { - "x": 124.66666412353516, - "y": 25.333330154418947 + "x": 1455.0, + "y": 326.9999694824219 }, "m_Blocks": [ { @@ -62,8 +495,8 @@ }, "m_FragmentContext": { "m_Position": { - "x": 125.33332824707031, - "y": 260.0 + "x": 1455.0, + "y": 617.0 }, "m_Blocks": [ { @@ -92,79 +525,125 @@ } { - "m_SGVersion": 1, - "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword", - "m_ObjectId": "0eef9d116d3b4975b9bd81200bf0bbb4", + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "011bae9e916843948851dd746aee9cb2", + "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": 3, + "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty", + "m_ObjectId": "03fac70801d1487cb61ca40a588428fe", "m_Guid": { - "m_GuidSerialized": "9e19c791-edf1-4c4b-b630-fadc4acae967" + "m_GuidSerialized": "482ffa5e-c881-42db-b3f6-54163d960fb0" }, - "m_Name": "Shadows Cascade", + "m_Name": "MidTone", "m_DefaultRefNameVersion": 1, - "m_RefNameGeneratedByDisplayName": "Shadows Cascade", - "m_DefaultReferenceName": "_SHADOWS_CASCADE", - "m_OverrideReferenceName": "_MAIN_LIGHT_SHADOWS_CASCADE", + "m_RefNameGeneratedByDisplayName": "MidTone", + "m_DefaultReferenceName": "_MidTone", + "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": 1, - "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget", - "m_ObjectId": "16b9825dba0b4b20b1621dba1e0a0534", - "m_Datas": [], - "m_ActiveSubTarget": { - "m_Id": "26157d021b81491c86e9452f8159ac27" + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 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 + "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.DynamicValueMaterialSlot", + "m_ObjectId": "062264ce751c4e7195b72f10597abe4e", + "m_Id": 1, + "m_DisplayName": "B", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "B", + "m_StageCapability": 3, + "m_Value": { + "e00": 2.0, + "e01": 2.0, + "e02": 2.0, + "e03": 2.0, + "e10": 2.0, + "e11": 2.0, + "e12": 2.0, + "e13": 2.0, + "e20": 2.0, + "e21": 2.0, + "e22": 2.0, + "e23": 2.0, + "e30": 2.0, + "e31": 2.0, + "e32": 2.0, + "e33": 2.0 + }, + "m_DefaultValue": { + "e00": 1.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 1.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 1.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 1.0 + } } { "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.BlockNode", - "m_ObjectId": "48bdfdf3936944fd964058d7ca97fe50", + "m_Type": "UnityEditor.ShaderGraph.MaximumNode", + "m_ObjectId": "079ab797ec3e4bd5862112f203950f86", "m_Group": { "m_Id": "" }, - "m_Name": "SurfaceDescription.BaseColor", + "m_Name": "Maximum", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", - "x": 0.0, - "y": 0.0, - "width": 0.0, - "height": 0.0 + "x": -406.9999694824219, + "y": 568.0, + "width": 208.00001525878907, + "height": 302.00006103515627 } }, "m_Slots": [ { - "m_Id": "c56b870e7d5a4cb183c1d0dc063d2203" + "m_Id": "ee293c3e2cae45d09d71fc430c6f253b" + }, + { + "m_Id": "9b87a3371c814bdb813fd493e20ac829" + }, + { + "m_Id": "f6dd0bf5206946eeb7a8524e1d4a2835" } ], "synonyms": [], @@ -174,65 +653,180 @@ "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.DivideNode", + "m_ObjectId": "0a4d04440c064a4aa97d6a26f0a233d3", "m_Group": { "m_Id": "" }, - "m_Name": "VertexDescription.Normal", + "m_Name": "Divide", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", - "x": 0.0, - "y": 0.0, - "width": 0.0, - "height": 0.0 + "x": -1535.0, + "y": 1292.0, + "width": 208.0, + "height": 302.0 } }, "m_Slots": [ { - "m_Id": "b9ea3672569d404fa365dcd82b6e26bd" + "m_Id": "e1d0dd97a2004edfbc8db0d3e7492bd5" + }, + { + "m_Id": "b20d886f7b714902b9ff543daa2f6d68" + }, + { + "m_Id": "3824385478874836a3ce6a5f9a1c8dbf" } ], - "synonyms": [], + "synonyms": [ + "division", + "divided by" + ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] - }, - "m_SerializedDescriptor": "VertexDescription.Normal" + } } { "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.BlockNode", - "m_ObjectId": "7934d389d74d40da8657cd6d83d38935", - "m_Group": { - "m_Id": "" + "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", + "m_ObjectId": "0b11631ce43249f688eb51ebfdd2d0b5", + "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_Name": "VertexDescription.Position", - "m_DrawState": { - "m_Expanded": true, - "m_Position": { + "m_DefaultValue": { + "x": 0.0, + "y": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword", + "m_ObjectId": "0eef9d116d3b4975b9bd81200bf0bbb4", + "m_Guid": { + "m_GuidSerialized": "9e19c791-edf1-4c4b-b630-fadc4acae967" + }, + "m_Name": "Shadows Cascade", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "Shadows Cascade", + "m_DefaultReferenceName": "_SHADOWS_CASCADE", + "m_OverrideReferenceName": "_MAIN_LIGHT_SHADOWS_CASCADE", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_KeywordType": 0, + "m_KeywordDefinition": 1, + "m_KeywordScope": 0, + "m_KeywordStages": 63, + "m_Entries": [], + "m_Value": 1, + "m_IsEditable": true +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "130a1b5be57e4450aea0a48de24ba79a", + "m_Id": 2, + "m_DisplayName": "Rotation", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Rotation", + "m_StageCapability": 3, + "m_Value": 1.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "15e9413f93834915963172097f4d5af6", + "m_Id": 0, + "m_DisplayName": "Hightlight", + "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.SamplerStateNode", + "m_ObjectId": "24f9919b91d74071b5cf9f29432de555", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Sampler State", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { "serializedVersion": "2", - "x": 0.0, - "y": 0.0, - "width": 0.0, - "height": 0.0 + "x": -939.0000610351563, + "y": 834.0, + "width": 145.00006103515626, + "height": 138.0 } }, "m_Slots": [ { - "m_Id": "f7799d2969664bafb5b2bb91b8ca17cc" + "m_Id": "ecc8e45f1ce542359f291e2ad4d48782" } ], "synonyms": [], @@ -243,30 +837,299 @@ "m_CustomColors": { "m_SerializableColors": [] }, - "m_SerializedDescriptor": "VertexDescription.Position" + "m_filter": 0, + "m_wrap": 0, + "m_aniso": 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": "2794ab427ef34a27a7b119ce1796e6b1", + "m_Id": 2, + "m_DisplayName": "Direction", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Direction", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "2a570dcf14b149098995fce55b055251", + "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": "30c5604e1b984d7abfb129f5f07e76a5", + "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": 3, + "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty", + "m_ObjectId": "3158da98cf9d42cfb19d58d472c09a26", + "m_Guid": { + "m_GuidSerialized": "1bd010bd-0728-4951-8081-9dd35bde3dea" + }, + "m_Name": "Hightlight", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "Hightlight", + "m_DefaultReferenceName": "_Hightlight", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + }, + "isMainColor": false, + "m_ColorMode": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "319ab87722d44cc4bea265cff2b2d8b2", + "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.DynamicValueMaterialSlot", + "m_ObjectId": "321d5758ed4349688bc1ee651755c3a6", + "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": "3824385478874836a3ce6a5f9a1c8dbf", + "m_Id": 2, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.MultiplyNode", + "m_ObjectId": "39300bcc420d460bb9d6c5129faeadbe", "m_Group": { "m_Id": "" }, - "m_Name": "VertexDescription.Tangent", + "m_Name": "Multiply", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", - "x": 0.0, - "y": 0.0, - "width": 0.0, - "height": 0.0 + "x": -151.99993896484376, + "y": 423.00006103515627, + "width": 207.99996948242188, + "height": 301.99993896484377 } }, "m_Slots": [ { - "m_Id": "9dabadec240d422faed42460e368e458" + "m_Id": "b6c03819680346638ac7c02792d8f8ff" + }, + { + "m_Id": "321d5758ed4349688bc1ee651755c3a6" + }, + { + "m_Id": "a3a0aa072e30450e87477857d52e6f1b" + } + ], + "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": "3a76fcb6ab82403a9bf6a8728d5d1d8c", + "m_Id": 0, + "m_DisplayName": "Width", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Width", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "3b85e5b04c81473f9c104148028232e7", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 397.0000305175781, + "y": 334.0000305175781, + "width": 122.99996948242188, + "height": 34.0 + } + }, + "m_Slots": [ + { + "m_Id": "c5579065f57e4a8f84918e2493523580" } ], "synonyms": [], @@ -277,19 +1140,1339 @@ "m_CustomColors": { "m_SerializableColors": [] }, - "m_SerializedDescriptor": "VertexDescription.Tangent" + "m_Property": { + "m_Id": "03fac70801d1487cb61ca40a588428fe" + } } { "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot", - "m_ObjectId": "9dabadec240d422faed42460e368e458", + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "3d31c79a2d344a4c9f950bf40a66e712", "m_Id": 0, - "m_DisplayName": "Tangent", + "m_DisplayName": "In", "m_SlotType": 0, "m_Hidden": false, - "m_ShaderOutputName": "Tangent", - "m_StageCapability": 1, + "m_ShaderOutputName": "In", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot", + "m_ObjectId": "3d4f03a8515f4c7ca5e785bc81b22ed3", + "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.Vector3MaterialSlot", + "m_ObjectId": "3f5b92ff716f4f30916a4fd51ddab2d7", + "m_Id": 1, + "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.UVMaterialSlot", + "m_ObjectId": "41319073c4e5446bb8589688d4930ed1", + "m_Id": 0, + "m_DisplayName": "UV", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "UV", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0 + }, + "m_Labels": [], + "m_Channel": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "43db9848e13a454aa18f42c3bb6c360b", + "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.NormalVectorNode", + "m_ObjectId": "47b8e043fd8049fc931c79b082c6a4eb", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Normal Vector", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -945.0000610351563, + "y": -162.99998474121095, + "width": 208.00006103515626, + "height": 315.0 + } + }, + "m_Slots": [ + { + "m_Id": "6e8156e7c86b44afa13a17955f0241b3" + } + ], + "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.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.Vector1MaterialSlot", + "m_ObjectId": "4917d0915ae94f8fac47b806ee1242e4", + "m_Id": 2, + "m_DisplayName": "Diffuse", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Diffuse", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "4a3011b49dca464397630b7256b39760", + "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": "5e73af3fa9364c7b893139ecfa1b98a8", + "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.UVMaterialSlot", + "m_ObjectId": "5fe29383076143479dd2ad1d04585db3", + "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.DynamicVectorMaterialSlot", + "m_ObjectId": "60130f70870848f58ec96b3a33bf5a1c", + "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": "65ae5a596a234738aacd4f4f16ad0888", + "m_Id": 1, + "m_DisplayName": "Color", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Color", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "669bdd1dab8b43fe82e728d299f72b41", + "m_Id": 3, + "m_DisplayName": "Threshold1", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Threshold1", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.ScreenPositionNode", + "m_ObjectId": "66e55a73f9fe4d92aa89c115619950ad", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Screen Position", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -1830.0, + "y": 1169.0, + "width": 208.0, + "height": 313.0 + } + }, + "m_Slots": [ + { + "m_Id": "f086e5118f2044caa868774fc5e2e456" + } + ], + "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.BlockNode", + "m_ObjectId": "67074c7db931474f93a92686f1e963f0", + "m_Group": { + "m_Id": "" + }, + "m_Name": "VertexDescription.Normal", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "b9ea3672569d404fa365dcd82b6e26bd" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Normal" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "676048d97fb84e639eaff7016da63482", + "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.SamplerStateMaterialSlot", + "m_ObjectId": "687eced666474e81af5080ea8e7ae4ef", + "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": "6e8156e7c86b44afa13a17955f0241b3", + "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": "76cf5b34112346d9a43b4ac272ea8256", + "m_Id": 1, + "m_DisplayName": "Height", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Height", + "m_StageCapability": 3, + "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.Vector1MaterialSlot", + "m_ObjectId": "7c670c8aad6f44a399dbc6bd08d198a9", + "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.Vector3MaterialSlot", + "m_ObjectId": "878b578df9e14fe9b586bc98228a58a6", + "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.DotProductNode", + "m_ObjectId": "89875970280748608af5b56938cb68bc", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Dot Product", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -587.0, + "y": -0.9999931454658508, + "width": 208.0, + "height": 302.0000305175781 + } + }, + "m_Slots": [ + { + "m_Id": "60130f70870848f58ec96b3a33bf5a1c" + }, + { + "m_Id": "e49690aaeb3f49ab8969fc280c594d36" + }, + { + "m_Id": "30c5604e1b984d7abfb129f5f07e76a5" + } + ], + "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.Vector2MaterialSlot", + "m_ObjectId": "89fe2c8d9c644951a9438a403d5ffb32", + "m_Id": 1, + "m_DisplayName": "Tiling", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Tiling", + "m_StageCapability": 3, + "m_Value": { + "x": 10.0, + "y": 10.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "99248af1c7184961acc38f08191c3402", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 443.0, + "y": 211.0, + "width": 120.0, + "height": 34.0 + } + }, + "m_Slots": [ + { + "m_Id": "676048d97fb84e639eaff7016da63482" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "a72395743f804c53a20c42880adbc181" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "99dfa1a1e5f3483480c51191c24d32ef", + "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.DynamicVectorMaterialSlot", + "m_ObjectId": "9b87a3371c814bdb813fd493e20ac829", + "m_Id": 1, + "m_DisplayName": "B", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "B", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "9d590a060a6245988f804fe7abc93a7b", + "m_Group": { + "m_Id": "" + }, + "m_Name": "VertexDescription.Tangent", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "9dabadec240d422faed42460e368e458" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Tangent" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot", + "m_ObjectId": "9dabadec240d422faed42460e368e458", + "m_Id": 0, + "m_DisplayName": "Tangent", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Tangent", + "m_StageCapability": 1, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 0 +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword", + "m_ObjectId": "a1669d731be94e2c83f4ee08f8a9f669", + "m_Guid": { + "m_GuidSerialized": "e476794b-ba20-4ab6-8038-e8bda11c9d8c" + }, + "m_Name": "Shadows", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "Shadows", + "m_DefaultReferenceName": "_SHADOWS", + "m_OverrideReferenceName": "MAIN_LIGHT_CALCULATE_SHADOWS", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_KeywordType": 0, + "m_KeywordDefinition": 1, + "m_KeywordScope": 0, + "m_KeywordStages": 63, + "m_Entries": [], + "m_Value": 1, + "m_IsEditable": true +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "a3a0aa072e30450e87477857d52e6f1b", + "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.SaturateNode", + "m_ObjectId": "a50d05cb3b8d45ba8f6ca4b86f5118f9", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Saturate", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -220.99998474121095, + "y": -148.0, + "width": 208.00001525878907, + "height": 278.0000305175781 + } + }, + "m_Slots": [ + { + "m_Id": "3d31c79a2d344a4c9f950bf40a66e712" + }, + { + "m_Id": "4a3011b49dca464397630b7256b39760" + } + ], + "synonyms": [ + "clamp" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 3, + "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty", + "m_ObjectId": "a72395743f804c53a20c42880adbc181", + "m_Guid": { + "m_GuidSerialized": "b37355d6-6e64-494e-8f47-8e03ed45e42e" + }, + "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.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + }, + "isMainColor": false, + "m_ColorMode": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", + "m_ObjectId": "a7e0a36602e144379375cc110a4757ec", + "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.MultiplyNode", + "m_ObjectId": "a8b7e11dd6854eab90e2a04892bbe7aa", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Multiply", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 1079.0, + "y": 592.0000610351563, + "width": 208.0, + "height": 301.99993896484377 + } + }, + "m_Slots": [ + { + "m_Id": "aa510a3d11cd4a1e9ea2375b79495f1d" + }, + { + "m_Id": "062264ce751c4e7195b72f10597abe4e" + }, + { + "m_Id": "d86b65aa4a9a46f5bfbbc35cec23cdb9" + } + ], + "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": "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.DynamicValueMaterialSlot", + "m_ObjectId": "aa510a3d11cd4a1e9ea2375b79495f1d", + "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.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": "edc1c47676864812b8a42436cca7e72d" + }, + { + "m_Id": "e9811c7c87f5451e90e2270e185ebb36" + }, + { + "m_Id": "3158da98cf9d42cfb19d58d472c09a26" + }, + { + "m_Id": "a72395743f804c53a20c42880adbc181" + }, + { + "m_Id": "03fac70801d1487cb61ca40a588428fe" + } + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.SampleTexture2DNode", + "m_ObjectId": "b1913764164e490da5121b555603a12f", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Sample Texture 2D", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -654.0000610351563, + "y": 786.0, + "width": 208.00003051757813, + "height": 435.0 + } + }, + "m_Slots": [ + { + "m_Id": "b1e9c946ae8f411dba35665273e7d720" + }, + { + "m_Id": "319ab87722d44cc4bea265cff2b2d8b2" + }, + { + "m_Id": "d1960eabf63f4f82b4041fa1a873f297" + }, + { + "m_Id": "99dfa1a1e5f3483480c51191c24d32ef" + }, + { + "m_Id": "43db9848e13a454aa18f42c3bb6c360b" + }, + { + "m_Id": "f84ab593c3ec422ea2388500c3b36bfb" + }, + { + "m_Id": "3d4f03a8515f4c7ca5e785bc81b22ed3" + }, + { + "m_Id": "687eced666474e81af5080ea8e7ae4ef" + } + ], + "synonyms": [ + "tex2d" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_TextureType": 0, + "m_NormalMapSpace": 0, + "m_EnableGlobalMipBias": true, + "m_MipSamplingMode": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "b1e9c946ae8f411dba35665273e7d720", + "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.DynamicVectorMaterialSlot", + "m_ObjectId": "b20d886f7b714902b9ff543daa2f6d68", + "m_Id": 1, + "m_DisplayName": "B", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "B", + "m_StageCapability": 3, + "m_Value": { + "x": 2.0, + "y": 2.0, + "z": 2.0, + "w": 2.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", + "m_ObjectId": "b228215dd69b49f7bc54dafe2ab9fe5c", + "m_Id": 0, + "m_DisplayName": "Hightlight", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Hightlight", + "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": "b6c03819680346638ac7c02792d8f8ff", + "m_Id": 0, + "m_DisplayName": "A", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "A", + "m_StageCapability": 3, + "m_Value": { + "e00": 0.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 0.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 0.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 0.0 + }, + "m_DefaultValue": { + "e00": 1.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 1.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 1.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 1.0 + } +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword", + "m_ObjectId": "b809fdc1f7e34de0b139821499ca0e23", + "m_Guid": { + "m_GuidSerialized": "e1fc1bfe-6ef3-45c9-9d42-9ece7e3d91e3" + }, + "m_Name": "Soft Shadows", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "Soft Shadows", + "m_DefaultReferenceName": "_SOFT_SHADOWS", + "m_OverrideReferenceName": "_SHADOWS_SOFT", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_KeywordType": 0, + "m_KeywordDefinition": 1, + "m_KeywordScope": 0, + "m_KeywordStages": 63, + "m_Entries": [], + "m_Value": 1, + "m_IsEditable": true +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.ScreenNode", + "m_ObjectId": "b89860024dbf4deebf64f0db986292e2", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Screen", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -1655.0, + "y": 1518.0, + "width": 88.0, + "height": 101.0 + } + }, + "m_Slots": [ + { + "m_Id": "3a76fcb6ab82403a9bf6a8728d5d1d8c" + }, + { + "m_Id": "76cf5b34112346d9a43b4ac272ea8256" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", + "m_ObjectId": "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, @@ -304,18 +2487,574 @@ "m_Space": 0 } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", + "m_ObjectId": "ba7434e5a11e4bc8801ddd6fe97ee074", + "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.Vector3MaterialSlot", + "m_ObjectId": "bd97d7bb2c7348eca899870d9f2d585d", + "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": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "c5579065f57e4a8f84918e2493523580", + "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.ColorRGBMaterialSlot", + "m_ObjectId": "c56b870e7d5a4cb183c1d0dc063d2203", + "m_Id": 0, + "m_DisplayName": "Base Color", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "BaseColor", + "m_StageCapability": 2, + "m_Value": { + "x": 0.5, + "y": 0.5, + "z": 0.5 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_ColorMode": 0, + "m_DefaultColor": { + "r": 0.5, + "g": 0.5, + "b": 0.5, + "a": 1.0 + } +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode", + "m_ObjectId": "cc92f18a0d6646f4856f05e6fbd71aef", + "m_Group": { + "m_Id": "" + }, + "m_Name": "ChooseColor (Custom Function)", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 784.0000610351563, + "y": 209.00001525878907, + "width": 228.99993896484376, + "height": 398.0 + } + }, + "m_Slots": [ + { + "m_Id": "b228215dd69b49f7bc54dafe2ab9fe5c" + }, + { + "m_Id": "3f5b92ff716f4f30916a4fd51ddab2d7" + }, + { + "m_Id": "d018783b5dc8482e9910a7c6a580c4a2" + }, + { + "m_Id": "4917d0915ae94f8fac47b806ee1242e4" + }, + { + "m_Id": "669bdd1dab8b43fe82e728d299f72b41" + }, + { + "m_Id": "011bae9e916843948851dd746aee9cb2" + }, + { + "m_Id": "bd97d7bb2c7348eca899870d9f2d585d" + } + ], + "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.Vector2MaterialSlot", + "m_ObjectId": "cde19d9caaaa444993d7c2d752ef0912", + "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.Vector3MaterialSlot", + "m_ObjectId": "d018783b5dc8482e9910a7c6a580c4a2", + "m_Id": 5, + "m_DisplayName": "MidTone", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "MidTone", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "d0916406bf504724b92d0acb3f8c0a06", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 400.0000305175781, + "y": 378.0, + "width": 132.99996948242188, + "height": 34.000030517578128 + } + }, + "m_Slots": [ + { + "m_Id": "f465b54039994314ae8403b356cc98f9" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "edc1c47676864812b8a42436cca7e72d" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "d1960eabf63f4f82b4041fa1a873f297", + "m_Id": 5, + "m_DisplayName": "G", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "G", + "m_StageCapability": 2, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "d1e3d41f23d84efc8a22e6b5ffaa7a83", + "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.DynamicValueMaterialSlot", + "m_ObjectId": "d86b65aa4a9a46f5bfbbc35cec23cdb9", + "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": "d90b5489752b494794a6ef6cc3c9827f", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 396.0, + "y": 272.0, + "width": 128.0, + "height": 34.000030517578128 + } + }, + "m_Slots": [ + { + "m_Id": "15e9413f93834915963172097f4d5af6" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "3158da98cf9d42cfb19d58d472c09a26" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", + "m_ObjectId": "df48a311483b41f6b79f0da66aa34a1c", + "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.DynamicValueMaterialSlot", + "m_ObjectId": "dfd31126f69440fe9c68a08fb1dd2fc9", + "m_Id": 0, + "m_DisplayName": "A", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "A", + "m_StageCapability": 3, + "m_Value": { + "e00": 0.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 0.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 0.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 0.0 + }, + "m_DefaultValue": { + "e00": 1.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 1.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 1.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "e1d0dd97a2004edfbc8db0d3e7492bd5", + "m_Id": 0, + "m_DisplayName": "A", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "A", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.MultiplyNode", + "m_ObjectId": "e2035bed25574124bd64e545a91f23f4", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Multiply", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 145.0, + "y": 329.0, + "width": 208.0, + "height": 302.0 + } + }, + "m_Slots": [ + { + "m_Id": "dfd31126f69440fe9c68a08fb1dd2fc9" + }, + { + "m_Id": "5e73af3fa9364c7b893139ecfa1b98a8" + }, + { + "m_Id": "2a570dcf14b149098995fce55b055251" + } + ], + "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.DynamicVectorMaterialSlot", + "m_ObjectId": "e49690aaeb3f49ab8969fc280c594d36", + "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.TilingAndOffsetNode", + "m_ObjectId": "e551c219e3b64836abc4251f16de3c19", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Tiling And Offset", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -1246.0, + "y": 1042.0, + "width": 208.0, + "height": 326.0 + } + }, + "m_Slots": [ + { + "m_Id": "5fe29383076143479dd2ad1d04585db3" + }, + { + "m_Id": "89fe2c8d9c644951a9438a403d5ffb32" + }, + { + "m_Id": "df48a311483b41f6b79f0da66aa34a1c" + }, + { + "m_Id": "cde19d9caaaa444993d7c2d752ef0912" + } + ], + "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": "a1669d731be94e2c83f4ee08f8a9f669", + "m_ObjectId": "e5a71d711c86416886b209ec634fe2f6", "m_Guid": { - "m_GuidSerialized": "e476794b-ba20-4ab6-8038-e8bda11c9d8c" + "m_GuidSerialized": "2d4a7eb1-5095-4e3c-a08a-ec0e0b786285" }, - "m_Name": "Shadows", + "m_Name": "Additional Shadows", "m_DefaultRefNameVersion": 1, - "m_RefNameGeneratedByDisplayName": "Shadows", - "m_DefaultReferenceName": "_SHADOWS", - "m_OverrideReferenceName": "MAIN_LIGHT_CALCULATE_SHADOWS", + "m_RefNameGeneratedByDisplayName": "Additional Shadows", + "m_DefaultReferenceName": "_ADDITIONAL_SHADOWS", + "m_OverrideReferenceName": "ADDITIONAL_LIGHT_CALCULATE_SHADOWS", "m_GeneratePropertyBlock": true, "m_UseCustomSlotLabel": false, "m_CustomSlotLabel": "", @@ -331,155 +3070,305 @@ { "m_SGVersion": 1, - "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword", - "m_ObjectId": "a9c5436a87be4b06afd14e618024c004", + "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", + "m_ObjectId": "e9811c7c87f5451e90e2270e185ebb36", "m_Guid": { - "m_GuidSerialized": "e5370f12-55bb-4028-835d-23abb44cf31f" + "m_GuidSerialized": "fd59e844-d894-45aa-89d5-7016108da5b6" }, - "m_Name": "Additional Lights", + "m_Name": "Threshold2", "m_DefaultRefNameVersion": 1, - "m_RefNameGeneratedByDisplayName": "Additional Lights", - "m_DefaultReferenceName": "_ADDITIONAL_LIGHTS", + "m_RefNameGeneratedByDisplayName": "Threshold2", + "m_DefaultReferenceName": "_Threshold2", "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_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": 0.0, + "m_FloatType": 1, + "m_RangeValues": { + "x": 0.0, + "y": 1.0 + } } { - "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.CategoryData", - "m_ObjectId": "add220b505e74a1ea06ac805858fa8fe", - "m_Name": "", - "m_ChildObjectList": [ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode", + "m_ObjectId": "ecbaf4214da246e48e74e433f91ad222", + "m_Group": { + "m_Id": "" + }, + "m_Name": "GetMainLight (Custom Function)", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -847.0000610351563, + "y": 296.0000305175781, + "width": 231.0, + "height": 350.0000305175781 + } + }, + "m_Slots": [ { - "m_Id": "b809fdc1f7e34de0b139821499ca0e23" + "m_Id": "a7e0a36602e144379375cc110a4757ec" }, { - "m_Id": "e5a71d711c86416886b209ec634fe2f6" + "m_Id": "65ae5a596a234738aacd4f4f16ad0888" }, { - "m_Id": "a9c5436a87be4b06afd14e618024c004" + "m_Id": "2794ab427ef34a27a7b119ce1796e6b1" }, { - "m_Id": "0eef9d116d3b4975b9bd81200bf0bbb4" + "m_Id": "7c670c8aad6f44a399dbc6bd08d198a9" }, { - "m_Id": "a1669d731be94e2c83f4ee08f8a9f669" + "m_Id": "d1e3d41f23d84efc8a22e6b5ffaa7a83" } - ] + ], + "synonyms": [ + "code", + "HLSL" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SourceType": 0, + "m_FunctionName": "GetMainLight", + "m_FunctionSource": "9c2401c89f3acce4fbc7d5b66a67225b", + "m_FunctionBody": "Enter function body here..." +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot", + "m_ObjectId": "ecc8e45f1ce542359f291e2ad4d48782", + "m_Id": 0, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_BareResource": false } { "m_SGVersion": 1, - "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword", - "m_ObjectId": "b809fdc1f7e34de0b139821499ca0e23", + "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", + "m_ObjectId": "edc1c47676864812b8a42436cca7e72d", "m_Guid": { - "m_GuidSerialized": "e1fc1bfe-6ef3-45c9-9d42-9ece7e3d91e3" + "m_GuidSerialized": "5effafa2-44d5-4f17-9293-c075b1876193" }, - "m_Name": "Soft Shadows", + "m_Name": "Threshold1", "m_DefaultRefNameVersion": 1, - "m_RefNameGeneratedByDisplayName": "Soft Shadows", - "m_DefaultReferenceName": "_SOFT_SHADOWS", - "m_OverrideReferenceName": "_SHADOWS_SOFT", + "m_RefNameGeneratedByDisplayName": "Threshold1", + "m_DefaultReferenceName": "_Threshold1", + "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_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": 0.0, + "m_FloatType": 1, + "m_RangeValues": { + "x": 0.0, + "y": 1.0 + } } { "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", - "m_ObjectId": "b9ea3672569d404fa365dcd82b6e26bd", + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "ee293c3e2cae45d09d71fc430c6f253b", "m_Id": 0, - "m_DisplayName": "Normal", + "m_DisplayName": "A", "m_SlotType": 0, "m_Hidden": false, - "m_ShaderOutputName": "Normal", - "m_StageCapability": 1, + "m_ShaderOutputName": "A", + "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_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "eeeb49d73fc74982a939fc08f9efbe93", + "m_Group": { + "m_Id": "" }, - "m_Labels": [], - "m_Space": 0 + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 460.0000305175781, + "y": 407.10003662109377, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "f08283457a1444d39df9a015a1d15f96" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "e9811c7c87f5451e90e2270e185ebb36" + } } { "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", - "m_ObjectId": "c56b870e7d5a4cb183c1d0dc063d2203", + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "f08283457a1444d39df9a015a1d15f96", "m_Id": 0, - "m_DisplayName": "Base Color", - "m_SlotType": 0, + "m_DisplayName": "Threshold2", + "m_SlotType": 1, "m_Hidden": false, - "m_ShaderOutputName": "BaseColor", - "m_StageCapability": 2, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "f086e5118f2044caa868774fc5e2e456", + "m_Id": 0, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, "m_Value": { - "x": 0.5, - "y": 0.5, - "z": 0.5 + "x": 0.0, + "y": 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_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.RotateNode", + "m_ObjectId": "f37335dc30a0437f9c5f490e7e171e83", + "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": "Rotate", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -983.0001220703125, + "y": 1115.0, + "width": 208.00006103515626, + "height": 361.0 + } + }, + "m_Slots": [ + { + "m_Id": "41319073c4e5446bb8589688d4930ed1" + }, + { + "m_Id": "ba7434e5a11e4bc8801ddd6fe97ee074" + }, + { + "m_Id": "130a1b5be57e4450aea0a48de24ba79a" + }, + { + "m_Id": "0b11631ce43249f688eb51ebfdd2d0b5" + } + ], + "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_Unit": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "f465b54039994314ae8403b356cc98f9", + "m_Id": 0, + "m_DisplayName": "Threshold1", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "f6dd0bf5206946eeb7a8524e1d4a2835", + "m_Id": 2, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } } { @@ -506,3 +3395,58 @@ "m_Space": 0 } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot", + "m_ObjectId": "f84ab593c3ec422ea2388500c3b36bfb", + "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": 1, + "m_Type": "UnityEditor.ShaderGraph.PositionNode", + "m_ObjectId": "fb7a68b700bd487da4305b0d4626e395", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Position", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -1290.0, + "y": 390.0, + "width": 208.0, + "height": 315.0 + } + }, + "m_Slots": [ + { + "m_Id": "878b578df9e14fe9b586bc98228a58a6" + } + ], + "synonyms": [ + "location" + ], + "m_Precision": 1, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 2, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Space": 2, + "m_PositionSource": 0 +} + diff --git a/Assets/Shaders/Includes/LightingHelp.hlsl b/Assets/Shaders/Includes/LightingHelp.hlsl index d828ee9..ac476d6 100644 --- a/Assets/Shaders/Includes/LightingHelp.hlsl +++ b/Assets/Shaders/Includes/LightingHelp.hlsl @@ -20,14 +20,18 @@ 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 Shadow, float3 MidTone, float Diffuse, float Threshold1, float Threshold2, out float3 OUT) { - if (Diffuse < Threshold) + if(Diffuse>Threshold2){ + OUT = Highlight; + } + else if(Diffuse