diff --git a/Assets/Materials/New Material.mat b/Assets/Materials/New Material.mat new file mode 100644 index 0000000..866aea7 --- /dev/null +++ b/Assets/Materials/New Material.mat @@ -0,0 +1,133 @@ +%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: New Material + m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: [] + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AlphaClip: 0 + - _AlphaToMask: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _DstBlendAlpha: 0 + - _EnvironmentReflections: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.005 + - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _SrcBlendAlpha: 1 + - _Surface: 0 + - _WorkflowMode: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 0.23616053, g: 0.34681338, b: 0.8207547, a: 1} + - _Color: {r: 0.23616049, g: 0.34681335, b: 0.8207547, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] +--- !u!114 &5793604643142214712 +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/New Material.mat.meta b/Assets/Materials/New Material.mat.meta new file mode 100644 index 0000000..61a3e98 --- /dev/null +++ b/Assets/Materials/New Material.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 66dd8ff59b2ac1c44a7cc57010432b70 +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..d059ca2 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.009350674, y: -0.97585005, z: 0.21403682, w: -0.042632177} + m_LocalPosition: {x: 0.38, y: 2.4, z: 3.04} 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: 24.742, y: -185.003, 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: 4a2a99681d51ddc4e9c386ae247890b5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -662,7 +662,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: d60db1350aa31bd4080a3bb5e2541934, type: 2} + - {fileID: 2100000, guid: 73a35de09361f7f459e861385726dd20, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -702,7 +702,7 @@ Transform: serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} + m_LocalScale: {x: 10, y: 10, z: 10} m_ConstrainProportionsScale: 1 m_Children: [] m_Father: {fileID: 0} diff --git a/Assets/Scenes/Lab Scene 2.unity b/Assets/Scenes/Lab Scene 2.unity index fae77c0..c37051a 100644 --- a/Assets/Scenes/Lab Scene 2.unity +++ b/Assets/Scenes/Lab Scene 2.unity @@ -159,8 +159,8 @@ Camera: m_GameObject: {fileID: 330585543} m_Enabled: 1 serializedVersion: 2 - m_ClearFlags: 1 - m_BackGroundColor: {r: 1, g: 1, b: 1, a: 0} + m_ClearFlags: 2 + m_BackGroundColor: {r: 0.07075471, g: 0.78147435, b: 1, a: 0} m_projectionMatrixMode: 1 m_GateFitMode: 2 m_FOVAxisMode: 0 @@ -209,13 +209,13 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 330585543} serializedVersion: 2 - m_LocalRotation: {x: -0.033433102, y: 0.72074836, z: -0.034845546, w: -0.69151276} - m_LocalPosition: {x: 4.8398438, y: 2, z: 0} + m_LocalRotation: {x: 0.007801631, y: 0.7215444, z: 0.008132506, w: -0.69227654} + m_LocalPosition: {x: 4.83, y: 1.68, z: -0.03} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 20.991, y: -91.436, z: -0.515} + m_LocalEulerAnglesHint: {x: -1.291, y: -92.372, z: 0} --- !u!114 &330585547 MonoBehaviour: m_ObjectHideFlags: 0 @@ -333,7 +333,7 @@ Light: m_LightShadowCasterMode: 0 m_AreaSize: {x: 1, y: 1} m_BounceIntensity: 1 - m_ColorTemperature: 5000 + m_ColorTemperature: 6246 m_UseColorTemperature: 1 m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} m_UseBoundingSphereOverride: 0 @@ -439,7 +439,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: d60db1350aa31bd4080a3bb5e2541934, type: 2} + - {fileID: 2100000, guid: 7b523f6b39aaeb648baa5a4350f7d87c, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -479,8 +479,8 @@ Transform: serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 1 + m_LocalScale: {x: 4.5046, y: 4.5046, z: 11.288076} + m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -566,47 +566,122 @@ PrefabInstance: type: 3} propertyPath: m_Materials.Array.data[0] value: - objectReference: {fileID: 2100000, guid: d60db1350aa31bd4080a3bb5e2541934, type: 2} + objectReference: {fileID: 2100000, guid: 02dfa1f95d551c94bb665b6c67b0b875, type: 2} + - target: {fileID: -8602433362572305629, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 02dfa1f95d551c94bb665b6c67b0b875, type: 2} + - target: {fileID: -7407988419630983719, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 1a46ff9fdbfd9ce40af5d3e50007a991, type: 2} + - target: {fileID: -5733981035308023022, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: d6f9b13ae7824ea468fe7d66e0505c18, 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: d6f9b13ae7824ea468fe7d66e0505c18, type: 2} + - target: {fileID: -5326866014839177254, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 1a46ff9fdbfd9ce40af5d3e50007a991, 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: 02dfa1f95d551c94bb665b6c67b0b875, type: 2} + - target: {fileID: -2750859397604594270, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 02dfa1f95d551c94bb665b6c67b0b875, 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: 1a46ff9fdbfd9ce40af5d3e50007a991, type: 2} + - target: {fileID: -742350899316325245, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: d71deb0ffa908474e9d8c69fb74feb50, 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: 1a46ff9fdbfd9ce40af5d3e50007a991, 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: 1a46ff9fdbfd9ce40af5d3e50007a991, type: 2} - target: {fileID: 919132149155446097, guid: 221abe15e8e581b43bb1d0dc4e10c784, type: 3} propertyPath: m_Name value: Sonic Model objectReference: {fileID: 0} + - target: {fileID: 2035337607983341931, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 811f4d7e96b2c864ab1a822113e6fbd4, type: 2} + - target: {fileID: 2035337607983341931, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[1] + value: + objectReference: {fileID: 2100000, guid: 1a46ff9fdbfd9ce40af5d3e50007a991, type: 2} + - target: {fileID: 2389692026055523335, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 1a46ff9fdbfd9ce40af5d3e50007a991, type: 2} + - target: {fileID: 2413864688904672789, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: d6f9b13ae7824ea468fe7d66e0505c18, type: 2} + - target: {fileID: 3253409454975574844, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 02dfa1f95d551c94bb665b6c67b0b875, 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: 1a46ff9fdbfd9ce40af5d3e50007a991, 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: d6f9b13ae7824ea468fe7d66e0505c18, type: 2} + - target: {fileID: 5955265388225236956, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: d71deb0ffa908474e9d8c69fb74feb50, type: 2} + - target: {fileID: 8259033719123135965, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 811f4d7e96b2c864ab1a822113e6fbd4, type: 2} + - target: {fileID: 8259033719123135965, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[1] + value: + objectReference: {fileID: 2100000, guid: 1a46ff9fdbfd9ce40af5d3e50007a991, type: 2} + - target: {fileID: 9074906319803942526, guid: 221abe15e8e581b43bb1d0dc4e10c784, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 02dfa1f95d551c94bb665b6c67b0b875, 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 deleted file mode 100644 index 3bf3605..0000000 --- a/Assets/Shaders/(TO-DO) Toon Shader.shadergraph +++ /dev/null @@ -1,508 +0,0 @@ -{ - "m_SGVersion": 3, - "m_Type": "UnityEditor.ShaderGraph.GraphData", - "m_ObjectId": "d319c495e5d743d78ca9f6a4bfb83e8b", - "m_Properties": [], - "m_Keywords": [ - { - "m_Id": "e5a71d711c86416886b209ec634fe2f6" - }, - { - "m_Id": "a9c5436a87be4b06afd14e618024c004" - }, - { - "m_Id": "0eef9d116d3b4975b9bd81200bf0bbb4" - }, - { - "m_Id": "a1669d731be94e2c83f4ee08f8a9f669" - }, - { - "m_Id": "b809fdc1f7e34de0b139821499ca0e23" - } - ], - "m_Dropdowns": [], - "m_CategoryData": [ - { - "m_Id": "add220b505e74a1ea06ac805858fa8fe" - } - ], - "m_Nodes": [ - { - "m_Id": "7934d389d74d40da8657cd6d83d38935" - }, - { - "m_Id": "67074c7db931474f93a92686f1e963f0" - }, - { - "m_Id": "9d590a060a6245988f804fe7abc93a7b" - }, - { - "m_Id": "48bdfdf3936944fd964058d7ca97fe50" - } - ], - "m_GroupDatas": [], - "m_StickyNoteDatas": [], - "m_Edges": [], - "m_VertexContext": { - "m_Position": { - "x": 124.66666412353516, - "y": 25.333330154418947 - }, - "m_Blocks": [ - { - "m_Id": "7934d389d74d40da8657cd6d83d38935" - }, - { - "m_Id": "67074c7db931474f93a92686f1e963f0" - }, - { - "m_Id": "9d590a060a6245988f804fe7abc93a7b" - } - ] - }, - "m_FragmentContext": { - "m_Position": { - "x": 125.33332824707031, - "y": 260.0 - }, - "m_Blocks": [ - { - "m_Id": "48bdfdf3936944fd964058d7ca97fe50" - } - ] - }, - "m_PreviewData": { - "serializedMesh": { - "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}", - "m_Guid": "" - }, - "preventRotation": false - }, - "m_Path": "Shader Graphs", - "m_GraphPrecision": 1, - "m_PreviewMode": 2, - "m_OutputNode": { - "m_Id": "" - }, - "m_ActiveTargets": [ - { - "m_Id": "16b9825dba0b4b20b1621dba1e0a0534" - } - ] -} - -{ - "m_SGVersion": 1, - "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword", - "m_ObjectId": "0eef9d116d3b4975b9bd81200bf0bbb4", - "m_Guid": { - "m_GuidSerialized": "9e19c791-edf1-4c4b-b630-fadc4acae967" - }, - "m_Name": "Shadows Cascade", - "m_DefaultRefNameVersion": 1, - "m_RefNameGeneratedByDisplayName": "Shadows Cascade", - "m_DefaultReferenceName": "_SHADOWS_CASCADE", - "m_OverrideReferenceName": "_MAIN_LIGHT_SHADOWS_CASCADE", - "m_GeneratePropertyBlock": true, - "m_UseCustomSlotLabel": false, - "m_CustomSlotLabel": "", - "m_DismissedVersion": 0, - "m_KeywordType": 0, - "m_KeywordDefinition": 1, - "m_KeywordScope": 0, - "m_KeywordStages": 63, - "m_Entries": [], - "m_Value": 1, - "m_IsEditable": true -} - -{ - "m_SGVersion": 1, - "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget", - "m_ObjectId": "16b9825dba0b4b20b1621dba1e0a0534", - "m_Datas": [], - "m_ActiveSubTarget": { - "m_Id": "26157d021b81491c86e9452f8159ac27" - }, - "m_AllowMaterialOverride": false, - "m_SurfaceType": 0, - "m_ZTestMode": 4, - "m_ZWriteControl": 0, - "m_AlphaMode": 0, - "m_RenderFace": 2, - "m_AlphaClip": false, - "m_CastShadows": true, - "m_ReceiveShadows": true, - "m_SupportsLODCrossFade": false, - "m_CustomEditorGUI": "", - "m_SupportVFX": false -} - -{ - "m_SGVersion": 2, - "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget", - "m_ObjectId": "26157d021b81491c86e9452f8159ac27" -} - -{ - "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.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.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.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": 1, - "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword", - "m_ObjectId": "a9c5436a87be4b06afd14e618024c004", - "m_Guid": { - "m_GuidSerialized": "e5370f12-55bb-4028-835d-23abb44cf31f" - }, - "m_Name": "Additional Lights", - "m_DefaultRefNameVersion": 1, - "m_RefNameGeneratedByDisplayName": "Additional Lights", - "m_DefaultReferenceName": "_ADDITIONAL_LIGHTS", - "m_OverrideReferenceName": "", - "m_GeneratePropertyBlock": true, - "m_UseCustomSlotLabel": false, - "m_CustomSlotLabel": "", - "m_DismissedVersion": 0, - "m_KeywordType": 0, - "m_KeywordDefinition": 1, - "m_KeywordScope": 0, - "m_KeywordStages": 63, - "m_Entries": [], - "m_Value": 1, - "m_IsEditable": true -} - -{ - "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.CategoryData", - "m_ObjectId": "add220b505e74a1ea06ac805858fa8fe", - "m_Name": "", - "m_ChildObjectList": [ - { - "m_Id": "b809fdc1f7e34de0b139821499ca0e23" - }, - { - "m_Id": "e5a71d711c86416886b209ec634fe2f6" - }, - { - "m_Id": "a9c5436a87be4b06afd14e618024c004" - }, - { - "m_Id": "0eef9d116d3b4975b9bd81200bf0bbb4" - }, - { - "m_Id": "a1669d731be94e2c83f4ee08f8a9f669" - } - ] -} - -{ - "m_SGVersion": 1, - "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword", - "m_ObjectId": "b809fdc1f7e34de0b139821499ca0e23", - "m_Guid": { - "m_GuidSerialized": "e1fc1bfe-6ef3-45c9-9d42-9ece7e3d91e3" - }, - "m_Name": "Soft Shadows", - "m_DefaultRefNameVersion": 1, - "m_RefNameGeneratedByDisplayName": "Soft Shadows", - "m_DefaultReferenceName": "_SOFT_SHADOWS", - "m_OverrideReferenceName": "_SHADOWS_SOFT", - "m_GeneratePropertyBlock": true, - "m_UseCustomSlotLabel": false, - "m_CustomSlotLabel": "", - "m_DismissedVersion": 0, - "m_KeywordType": 0, - "m_KeywordDefinition": 1, - "m_KeywordScope": 0, - "m_KeywordStages": 63, - "m_Entries": [], - "m_Value": 1, - "m_IsEditable": true -} - -{ - "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", - "m_ObjectId": "b9ea3672569d404fa365dcd82b6e26bd", - "m_Id": 0, - "m_DisplayName": "Normal", - "m_SlotType": 0, - "m_Hidden": false, - "m_ShaderOutputName": "Normal", - "m_StageCapability": 1, - "m_Value": { - "x": 0.0, - "y": 0.0, - "z": 0.0 - }, - "m_DefaultValue": { - "x": 0.0, - "y": 0.0, - "z": 0.0 - }, - "m_Labels": [], - "m_Space": 0 -} - -{ - "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.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.ShaderKeyword", - "m_ObjectId": "e5a71d711c86416886b209ec634fe2f6", - "m_Guid": { - "m_GuidSerialized": "2d4a7eb1-5095-4e3c-a08a-ec0e0b786285" - }, - "m_Name": "Additional Shadows", - "m_DefaultRefNameVersion": 1, - "m_RefNameGeneratedByDisplayName": "Additional Shadows", - "m_DefaultReferenceName": "_ADDITIONAL_SHADOWS", - "m_OverrideReferenceName": "ADDITIONAL_LIGHT_CALCULATE_SHADOWS", - "m_GeneratePropertyBlock": true, - "m_UseCustomSlotLabel": false, - "m_CustomSlotLabel": "", - "m_DismissedVersion": 0, - "m_KeywordType": 0, - "m_KeywordDefinition": 1, - "m_KeywordScope": 0, - "m_KeywordStages": 63, - "m_Entries": [], - "m_Value": 1, - "m_IsEditable": true -} - -{ - "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot", - "m_ObjectId": "f7799d2969664bafb5b2bb91b8ca17cc", - "m_Id": 0, - "m_DisplayName": "Position", - "m_SlotType": 0, - "m_Hidden": false, - "m_ShaderOutputName": "Position", - "m_StageCapability": 1, - "m_Value": { - "x": 0.0, - "y": 0.0, - "z": 0.0 - }, - "m_DefaultValue": { - "x": 0.0, - "y": 0.0, - "z": 0.0 - }, - "m_Labels": [], - "m_Space": 0 -} - diff --git a/Assets/Shaders/Ball.mat b/Assets/Shaders/Ball.mat new file mode 100644 index 0000000..473b913 --- /dev/null +++ b/Assets/Shaders/Ball.mat @@ -0,0 +1,70 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-6603195726146557269 +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: Ball + 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: + - 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 + - _MAIN_LIGHT_SHADOWS_CASCADE: 1 + - _QueueControl: 0 + - _QueueOffset: 0 + - _SHADOWS_SOFT: 1 + - _Threshold: 0.7 + m_Colors: + - _Highlight: {r: 0.14622638, g: 1, b: 0.8860335, a: 0} + - _Shadow: {r: 0.23268956, g: 0.7830188, b: 0.7722413, a: 0} + m_BuildTextureStacks: [] diff --git a/Assets/Shaders/Ball.mat.meta b/Assets/Shaders/Ball.mat.meta new file mode 100644 index 0000000..c912ad7 --- /dev/null +++ b/Assets/Shaders/Ball.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4a2a99681d51ddc4e9c386ae247890b5 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Shaders/Ground.mat b/Assets/Shaders/Ground.mat new file mode 100644 index 0000000..4222f9c --- /dev/null +++ b/Assets/Shaders/Ground.mat @@ -0,0 +1,70 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-4256009134084166615 +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: Ground + 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: + - 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 + - _MAIN_LIGHT_SHADOWS_CASCADE: 1 + - _QueueControl: 0 + - _QueueOffset: 0 + - _SHADOWS_SOFT: 1 + - _Threshold: 0.5 + m_Colors: + - _Highlight: {r: 1, g: 0.72739935, b: 0.14509803, a: 0} + - _Shadow: {r: 0.6132076, g: 0.39644754, b: 0.06074226, a: 0} + m_BuildTextureStacks: [] diff --git a/Assets/Shaders/Ground.mat.meta b/Assets/Shaders/Ground.mat.meta new file mode 100644 index 0000000..c530d08 --- /dev/null +++ b/Assets/Shaders/Ground.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 73a35de09361f7f459e861385726dd20 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Shaders/Includes/LightingHelp.hlsl b/Assets/Shaders/Includes/LightingHelp.hlsl index d828ee9..ad32c34 100644 --- a/Assets/Shaders/Includes/LightingHelp.hlsl +++ b/Assets/Shaders/Includes/LightingHelp.hlsl @@ -20,14 +20,33 @@ void GetMainLight_float(float3 WorldPos, out float3 Color, out float3 Direction, #endif } -void ChooseColor_float(float3 Highlight, float3 Shadow, float Diffuse, float Threshold, out float3 OUT) +void ChooseColor_float(float3 Highlight, float3 Midtone, float3 Shadow, float Diffuse, float Threshold1, float Threshold2, float Smoothness, out float3 OUT) { - if (Diffuse < Threshold) + float t2 = smoothstep(Threshold2 - Smoothness, Threshold2 + Smoothness, Diffuse); + + if (Diffuse < (Threshold1 + Threshold2) / 2.0f) + { + float t1 = smoothstep(Threshold1 - Smoothness, Threshold1 + Smoothness, Diffuse); + OUT = lerp(Shadow, Midtone, t1); + } + else + { + float t2 = smoothstep(Threshold2 - Smoothness, Threshold2 + Smoothness, Diffuse); + OUT = lerp(Midtone, Highlight, t2); + } + /* + if (Diffuse < Threshold1) { OUT = Shadow; } + else if (Diffuse < Threshold2) + { + OUT = Midtone; + } else { OUT = Highlight; + } +*/ } \ No newline at end of file diff --git a/Assets/Shaders/Sonic.meta b/Assets/Shaders/Sonic.meta new file mode 100644 index 0000000..7712842 --- /dev/null +++ b/Assets/Shaders/Sonic.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c0dc93a1102a59e428ad41579da9890c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Shaders/Sonic/(TO-DO) Toon Shader.shadergraph b/Assets/Shaders/Sonic/(TO-DO) Toon Shader.shadergraph new file mode 100644 index 0000000..bf990d1 --- /dev/null +++ b/Assets/Shaders/Sonic/(TO-DO) Toon Shader.shadergraph @@ -0,0 +1,3624 @@ +{ + "m_SGVersion": 3, + "m_Type": "UnityEditor.ShaderGraph.GraphData", + "m_ObjectId": "d319c495e5d743d78ca9f6a4bfb83e8b", + "m_Properties": [ + { + "m_Id": "ef98f0ba7dad4ce3aaf3d8f6ce675465" + }, + { + "m_Id": "c3155e4d6f2c4702aad2ad86869cb8e2" + }, + { + "m_Id": "be2dac9dccaa443589d6505e3844bae6" + }, + { + "m_Id": "d5515c6437d04a8998a9bae4240627b6" + }, + { + "m_Id": "c814ce4ed4424f36a1c251ea4d8278da" + }, + { + "m_Id": "108cf90980924b6cb1702c82b43d6ac3" + } + ], + "m_Keywords": [ + { + "m_Id": "e5a71d711c86416886b209ec634fe2f6" + }, + { + "m_Id": "a9c5436a87be4b06afd14e618024c004" + }, + { + "m_Id": "0eef9d116d3b4975b9bd81200bf0bbb4" + }, + { + "m_Id": "a1669d731be94e2c83f4ee08f8a9f669" + }, + { + "m_Id": "b809fdc1f7e34de0b139821499ca0e23" + } + ], + "m_Dropdowns": [], + "m_CategoryData": [ + { + "m_Id": "add220b505e74a1ea06ac805858fa8fe" + } + ], + "m_Nodes": [ + { + "m_Id": "7934d389d74d40da8657cd6d83d38935" + }, + { + "m_Id": "67074c7db931474f93a92686f1e963f0" + }, + { + "m_Id": "9d590a060a6245988f804fe7abc93a7b" + }, + { + "m_Id": "48bdfdf3936944fd964058d7ca97fe50" + }, + { + "m_Id": "2790dd5b3849492cb88d1e5a7b8fc3c8" + }, + { + "m_Id": "b4d3a6c97ac04827a7471fdbd229540c" + }, + { + "m_Id": "b5c835529c1e4db1904181a7f8bbee88" + }, + { + "m_Id": "80141f7c5b0b4adcb1e84c9916a742fc" + }, + { + "m_Id": "4d2b77fb9c9848ab9b991c038cad0e5f" + }, + { + "m_Id": "43cd31644bea4db3bb90974ac8a94408" + }, + { + "m_Id": "f197160cea444970b6e36408d982996a" + }, + { + "m_Id": "138a0a567d4643878d36fcf6b5793a7a" + }, + { + "m_Id": "b4415a8cc6a444dcad85c1e6c4be7169" + }, + { + "m_Id": "0a4f7ed354844e708a5296b65cc9b41d" + }, + { + "m_Id": "8b89f48302ef4422aa870daf098dabe1" + }, + { + "m_Id": "9efa2265f91348ef85b43bd23bf22354" + }, + { + "m_Id": "a396bb8b5b564003bb20a47ab3526c37" + }, + { + "m_Id": "de15eb350a9e48bbb0465b814c91e645" + }, + { + "m_Id": "e5d7d68424684e11b82bb9f797cbb13a" + }, + { + "m_Id": "990c3400395542d9b68c6d10df16bff4" + }, + { + "m_Id": "237b2178da0d490dbd73137b883dd1b4" + }, + { + "m_Id": "2f0001f4175640c3af8ac5fb3168026a" + }, + { + "m_Id": "f2c8d36df732498b95fec6d552ef6163" + }, + { + "m_Id": "8b0ba4dd06a8459b853a833e525628ee" + }, + { + "m_Id": "c3a30387566f4d69b4b90b7a343f4cc4" + }, + { + "m_Id": "b64a8dea0d6b4ce4a45d946e6243d2a3" + } + ], + "m_GroupDatas": [], + "m_StickyNoteDatas": [], + "m_Edges": [ + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "0a4f7ed354844e708a5296b65cc9b41d" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "b4415a8cc6a444dcad85c1e6c4be7169" + }, + "m_SlotId": 4 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "138a0a567d4643878d36fcf6b5793a7a" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "b64a8dea0d6b4ce4a45d946e6243d2a3" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "138a0a567d4643878d36fcf6b5793a7a" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "c3a30387566f4d69b4b90b7a343f4cc4" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "237b2178da0d490dbd73137b883dd1b4" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "f2c8d36df732498b95fec6d552ef6163" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "2790dd5b3849492cb88d1e5a7b8fc3c8" + }, + "m_SlotId": 1 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "138a0a567d4643878d36fcf6b5793a7a" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "2790dd5b3849492cb88d1e5a7b8fc3c8" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "4d2b77fb9c9848ab9b991c038cad0e5f" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "2790dd5b3849492cb88d1e5a7b8fc3c8" + }, + "m_SlotId": 3 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "b5c835529c1e4db1904181a7f8bbee88" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "2790dd5b3849492cb88d1e5a7b8fc3c8" + }, + "m_SlotId": 4 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "8b0ba4dd06a8459b853a833e525628ee" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "2790dd5b3849492cb88d1e5a7b8fc3c8" + }, + "m_SlotId": 4 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "b5c835529c1e4db1904181a7f8bbee88" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "2f0001f4175640c3af8ac5fb3168026a" + }, + "m_SlotId": 3 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "990c3400395542d9b68c6d10df16bff4" + }, + "m_SlotId": 2 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "43cd31644bea4db3bb90974ac8a94408" + }, + "m_SlotId": 1 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "f197160cea444970b6e36408d982996a" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "4d2b77fb9c9848ab9b991c038cad0e5f" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "43cd31644bea4db3bb90974ac8a94408" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "80141f7c5b0b4adcb1e84c9916a742fc" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "4d2b77fb9c9848ab9b991c038cad0e5f" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "8b0ba4dd06a8459b853a833e525628ee" + }, + "m_SlotId": 1 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "b64a8dea0d6b4ce4a45d946e6243d2a3" + }, + "m_SlotId": 2 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "8b89f48302ef4422aa870daf098dabe1" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "b4415a8cc6a444dcad85c1e6c4be7169" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "990c3400395542d9b68c6d10df16bff4" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "c3a30387566f4d69b4b90b7a343f4cc4" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "9efa2265f91348ef85b43bd23bf22354" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "b4415a8cc6a444dcad85c1e6c4be7169" + }, + "m_SlotId": 2 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "a396bb8b5b564003bb20a47ab3526c37" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "b4415a8cc6a444dcad85c1e6c4be7169" + }, + "m_SlotId": 6 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "b4415a8cc6a444dcad85c1e6c4be7169" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "138a0a567d4643878d36fcf6b5793a7a" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "b4d3a6c97ac04827a7471fdbd229540c" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "2790dd5b3849492cb88d1e5a7b8fc3c8" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "b5c835529c1e4db1904181a7f8bbee88" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "f197160cea444970b6e36408d982996a" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "b64a8dea0d6b4ce4a45d946e6243d2a3" + }, + "m_SlotId": 3 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "48bdfdf3936944fd964058d7ca97fe50" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "c3a30387566f4d69b4b90b7a343f4cc4" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "b64a8dea0d6b4ce4a45d946e6243d2a3" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "de15eb350a9e48bbb0465b814c91e645" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "b4415a8cc6a444dcad85c1e6c4be7169" + }, + "m_SlotId": 5 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "e5d7d68424684e11b82bb9f797cbb13a" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "b4415a8cc6a444dcad85c1e6c4be7169" + }, + "m_SlotId": 7 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "f197160cea444970b6e36408d982996a" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "b4415a8cc6a444dcad85c1e6c4be7169" + }, + "m_SlotId": 3 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "f2c8d36df732498b95fec6d552ef6163" + }, + "m_SlotId": 3 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "2f0001f4175640c3af8ac5fb3168026a" + }, + "m_SlotId": 0 + } + } + ], + "m_VertexContext": { + "m_Position": { + "x": 1986.5001220703125, + "y": 198.4999237060547 + }, + "m_Blocks": [ + { + "m_Id": "7934d389d74d40da8657cd6d83d38935" + }, + { + "m_Id": "67074c7db931474f93a92686f1e963f0" + }, + { + "m_Id": "9d590a060a6245988f804fe7abc93a7b" + } + ] + }, + "m_FragmentContext": { + "m_Position": { + "x": 1987.4998779296875, + "y": 433.00006103515627 + }, + "m_Blocks": [ + { + "m_Id": "48bdfdf3936944fd964058d7ca97fe50" + } + ] + }, + "m_PreviewData": { + "serializedMesh": { + "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}", + "m_Guid": "" + }, + "preventRotation": false + }, + "m_Path": "Shader Graphs", + "m_GraphPrecision": 1, + "m_PreviewMode": 2, + "m_OutputNode": { + "m_Id": "" + }, + "m_ActiveTargets": [ + { + "m_Id": "16b9825dba0b4b20b1621dba1e0a0534" + } + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "0a4f7ed354844e708a5296b65cc9b41d", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 543.5, + "y": 120.5000228881836, + "width": 127.5, + "height": 33.999961853027347 + } + }, + "m_Slots": [ + { + "m_Id": "3f8f70a11f1a4df5af88a223ec1b3bd7" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "be2dac9dccaa443589d6505e3844bae6" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "0dbfd3c282f9459e80fb8083920fb8fb", + "m_Id": 0, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", + "m_ObjectId": "0debbc2f19774ae4a93d4dbfd9694867", + "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": 1, + "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword", + "m_ObjectId": "0eef9d116d3b4975b9bd81200bf0bbb4", + "m_Guid": { + "m_GuidSerialized": "9e19c791-edf1-4c4b-b630-fadc4acae967" + }, + "m_Name": "Shadows Cascade", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "Shadows Cascade", + "m_DefaultReferenceName": "_SHADOWS_CASCADE", + "m_OverrideReferenceName": "_MAIN_LIGHT_SHADOWS_CASCADE", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_KeywordType": 0, + "m_KeywordDefinition": 1, + "m_KeywordScope": 0, + "m_KeywordStages": 63, + "m_Entries": [], + "m_Value": 1, + "m_IsEditable": true +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot", + "m_ObjectId": "0f7775c9d41c4933a4b91c830f1788ed", + "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.Internal.Vector1ShaderProperty", + "m_ObjectId": "108cf90980924b6cb1702c82b43d6ac3", + "m_Guid": { + "m_GuidSerialized": "06ecbe7f-b56d-4cb9-bafa-4b3060b19939" + }, + "m_Name": "Smoothness", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "Smoothness", + "m_DefaultReferenceName": "_Smoothness", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": 0.009999999776482582, + "m_FloatType": 1, + "m_RangeValues": { + "x": 0.0, + "y": 0.4000000059604645 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.MultiplyNode", + "m_ObjectId": "138a0a567d4643878d36fcf6b5793a7a", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Multiply", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 960.0, + "y": 245.00001525878907, + "width": 207.9998779296875, + "height": 301.99993896484377 + } + }, + "m_Slots": [ + { + "m_Id": "658ec100b53a4285a7bb678712224ab3" + }, + { + "m_Id": "bb7d869d29f2426bacc925c0dd8bd5e2" + }, + { + "m_Id": "3e89ea5abb5240929f6c5a7cf5ac0691" + } + ], + "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.Rendering.Universal.ShaderGraph.UniversalTarget", + "m_ObjectId": "16b9825dba0b4b20b1621dba1e0a0534", + "m_Datas": [], + "m_ActiveSubTarget": { + "m_Id": "26157d021b81491c86e9452f8159ac27" + }, + "m_AllowMaterialOverride": false, + "m_SurfaceType": 0, + "m_ZTestMode": 4, + "m_ZWriteControl": 0, + "m_AlphaMode": 0, + "m_RenderFace": 2, + "m_AlphaClip": false, + "m_CastShadows": true, + "m_ReceiveShadows": true, + "m_SupportsLODCrossFade": false, + "m_CustomEditorGUI": "", + "m_SupportVFX": false +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "173bea12c4574139b57b2d3aa217a786", + "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.Vector4MaterialSlot", + "m_ObjectId": "20b01c9c19f14dfc92b9051ebeafedf4", + "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.Vector3MaterialSlot", + "m_ObjectId": "23187275ba0e4748b2ba6248799c0764", + "m_Id": 1, + "m_DisplayName": "Highlight", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Highlight", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.ScreenPositionNode", + "m_ObjectId": "237b2178da0d490dbd73137b883dd1b4", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Screen Position", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 81.49999237060547, + "y": 628.5, + "width": 208.00003051757813, + "height": 312.5 + } + }, + "m_Slots": [ + { + "m_Id": "0dbfd3c282f9459e80fb8083920fb8fb" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_ScreenSpaceType": 2 +} + +{ + "m_SGVersion": 2, + "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget", + "m_ObjectId": "26157d021b81491c86e9452f8159ac27" +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode", + "m_ObjectId": "2790dd5b3849492cb88d1e5a7b8fc3c8", + "m_Group": { + "m_Id": "" + }, + "m_Name": "GetMainLight (Custom Function)", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -641.0000610351563, + "y": 26.500032424926759, + "width": 230.49996948242188, + "height": 349.9999694824219 + } + }, + "m_Slots": [ + { + "m_Id": "e67f00b7211942cab5e7e1d5720e5be1" + }, + { + "m_Id": "92f706acab6749a78c208793a94d0f6e" + }, + { + "m_Id": "ed1fac9481fb40ed9ff67fd65b58b081" + }, + { + "m_Id": "ba21bb8e3bce426097d0ceb153a6cfcd" + }, + { + "m_Id": "f5431e2bfeec44fb86ea6aa2209b7bc1" + } + ], + "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.Vector1MaterialSlot", + "m_ObjectId": "284b99114cbc4fe58b0ec85e274fd587", + "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.Vector3MaterialSlot", + "m_ObjectId": "2e7cfd1b075841dfac968221981775a8", + "m_Id": 0, + "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.RotateNode", + "m_ObjectId": "2f0001f4175640c3af8ac5fb3168026a", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Rotate", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 660.4999389648438, + "y": 818.9999389648438, + "width": 208.0, + "height": 360.49993896484377 + } + }, + "m_Slots": [ + { + "m_Id": "6f3cfef4595347f1a21b4ae1aad1f906" + }, + { + "m_Id": "0debbc2f19774ae4a93d4dbfd9694867" + }, + { + "m_Id": "497858c5ea574527bd158dbd957ed1a6" + }, + { + "m_Id": "91fd3d78ae194fefad1a87e27b108fdb" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Unit": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "355c3a85bad2443b8b4526753cf7c98f", + "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.UVMaterialSlot", + "m_ObjectId": "371ce79f476f4eddad2a4435e06c9131", + "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": "3c6e1d6b90f44533bb104d615f69441d", + "m_Id": 7, + "m_DisplayName": "Smoothness", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Smoothness", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "3e89ea5abb5240929f6c5a7cf5ac0691", + "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": "3f8f70a11f1a4df5af88a223ec1b3bd7", + "m_Id": 0, + "m_DisplayName": "Threshold 1", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", + "m_ObjectId": "4141a679f9f54f19b0e85ec1847c725c", + "m_Id": 2, + "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.SaturateNode", + "m_ObjectId": "43cd31644bea4db3bb90974ac8a94408", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Saturate", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 39.00000762939453, + "y": -66.99999237060547, + "width": 207.99996948242188, + "height": 277.9999694824219 + } + }, + "m_Slots": [ + { + "m_Id": "73583cfc61034ddda205e3b76d614858" + }, + { + "m_Id": "aaa8f8c23cb74f64a1f0281fda89577b" + } + ], + "synonyms": [ + "clamp" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "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": "497858c5ea574527bd158dbd957ed1a6", + "m_Id": 2, + "m_DisplayName": "Rotation", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Rotation", + "m_StageCapability": 3, + "m_Value": 70.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DotProductNode", + "m_ObjectId": "4d2b77fb9c9848ab9b991c038cad0e5f", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Dot Product", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -212.5, + "y": -60.0, + "width": 208.00003051757813, + "height": 302.0 + } + }, + "m_Slots": [ + { + "m_Id": "64a9b51d08524864928d72db781572a5" + }, + { + "m_Id": "f69a94efd6064de9b0ae5672fc5e8bc0" + }, + { + "m_Id": "585e216ac74249499a7ca45b60e747dd" + } + ], + "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.DynamicVectorMaterialSlot", + "m_ObjectId": "4ea030cb60624afea0d629ba621c7404", + "m_Id": 0, + "m_DisplayName": "In", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "In", + "m_StageCapability": 3, + "m_Value": { + "x": 1.0, + "y": 1.0, + "z": 1.0, + "w": 1.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "4fcd9f51685841dc9f737d0f672273cd", + "m_Id": 0, + "m_DisplayName": "Threshold 2", + "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.Vector2MaterialSlot", + "m_ObjectId": "56c1935f55074087be0e58c77ca48f17", + "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.Vector1MaterialSlot", + "m_ObjectId": "585e216ac74249499a7ca45b60e747dd", + "m_Id": 2, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "6206762d97c44037af2afe47b9c368c9", + "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": "62303c55f0764ac8aad8ba2c5586bb5c", + "m_Id": 5, + "m_DisplayName": "Threshold_2", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Threshold_2", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "64a9b51d08524864928d72db781572a5", + "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.DynamicValueMaterialSlot", + "m_ObjectId": "658ec100b53a4285a7bb678712224ab3", + "m_Id": 0, + "m_DisplayName": "A", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "A", + "m_StageCapability": 3, + "m_Value": { + "e00": 0.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 0.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 0.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 0.0 + }, + "m_DefaultValue": { + "e00": 1.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 1.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 1.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", + "m_ObjectId": "66fe9a78cfa14aaf98275393c2246e0f", + "m_Id": 1, + "m_DisplayName": "Tiling", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Tiling", + "m_StageCapability": 3, + "m_Value": { + "x": 4.0, + "y": 4.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0 + }, + "m_Labels": [] +} + +{ + "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.DynamicVectorMaterialSlot", + "m_ObjectId": "6a5fc71517fe4ad68df7f9169cc796d6", + "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.UVMaterialSlot", + "m_ObjectId": "6f3cfef4595347f1a21b4ae1aad1f906", + "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": "73583cfc61034ddda205e3b76d614858", + "m_Id": 0, + "m_DisplayName": "In", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "In", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "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": "79f432f893d949bbb3fad4f4b7e10d2c", + "m_Id": 3, + "m_DisplayName": "Opacity", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Opacity", + "m_StageCapability": 3, + "m_Value": 0.5, + "m_DefaultValue": 1.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "7a03f679fea64256aaf18c5a6cdf68c6", + "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": "7a3f83929a754cb5b50c6952cf026dda", + "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.NormalVectorNode", + "m_ObjectId": "80141f7c5b0b4adcb1e84c9916a742fc", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Normal Vector", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -451.5000305175781, + "y": -177.99998474121095, + "width": 206.0, + "height": 130.5 + } + }, + "m_Slots": [ + { + "m_Id": "d49c26e431ef40d0aa3fab65b73ed6d6" + } + ], + "synonyms": [ + "surface direction" + ], + "m_Precision": 0, + "m_PreviewExpanded": false, + "m_DismissedVersion": 0, + "m_PreviewMode": 2, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Space": 2 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "89f49f59415e4c04862cd8037ee47920", + "m_Id": 3, + "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.OneMinusNode", + "m_ObjectId": "8b0ba4dd06a8459b853a833e525628ee", + "m_Group": { + "m_Id": "" + }, + "m_Name": "One Minus", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 593.0, + "y": 485.9999694824219, + "width": 208.0, + "height": 277.9999694824219 + } + }, + "m_Slots": [ + { + "m_Id": "4ea030cb60624afea0d629ba621c7404" + }, + { + "m_Id": "7a03f679fea64256aaf18c5a6cdf68c6" + } + ], + "synonyms": [ + "complement", + "invert", + "opposite" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "8b89f48302ef4422aa870daf098dabe1", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 532.0, + "y": -17.0, + "width": 123.5, + "height": 34.00000762939453 + } + }, + "m_Slots": [ + { + "m_Id": "bf0aab0ef7004af284ddf482702bf796" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "ef98f0ba7dad4ce3aaf3d8f6ce675465" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "8e53fb5ef87d4816b0e45772fed0e129", + "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.SamplerStateMaterialSlot", + "m_ObjectId": "906907e0a5804ef0b8854e32c5629282", + "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.Vector2MaterialSlot", + "m_ObjectId": "91fd3d78ae194fefad1a87e27b108fdb", + "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": "92f706acab6749a78c208793a94d0f6e", + "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.DynamicVectorMaterialSlot", + "m_ObjectId": "97f1af890574462e97f66d14e57c7624", + "m_Id": 2, + "m_DisplayName": "T", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "T", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.SampleTexture2DNode", + "m_ObjectId": "990c3400395542d9b68c6d10df16bff4", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Sample Texture 2D", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 923.5, + "y": 732.5, + "width": 208.0, + "height": 434.0 + } + }, + "m_Slots": [ + { + "m_Id": "c7b411acb2b946e384f48434590c2cba" + }, + { + "m_Id": "b84da7fa3a9249a48c8ac2d47f2023be" + }, + { + "m_Id": "355c3a85bad2443b8b4526753cf7c98f" + }, + { + "m_Id": "284b99114cbc4fe58b0ec85e274fd587" + }, + { + "m_Id": "eb211bda61fd4c53af8fa51eb1081e50" + }, + { + "m_Id": "0f7775c9d41c4933a4b91c830f1788ed" + }, + { + "m_Id": "9a62e96046644d3dbb3ab55b60649679" + }, + { + "m_Id": "906907e0a5804ef0b8854e32c5629282" + } + ], + "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.UVMaterialSlot", + "m_ObjectId": "9a62e96046644d3dbb3ab55b60649679", + "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.DynamicVectorMaterialSlot", + "m_ObjectId": "9c17d36fe76f4f2390af6ab272c95227", + "m_Id": 1, + "m_DisplayName": "B", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "B", + "m_StageCapability": 3, + "m_Value": { + "x": 1.0, + "y": 1.0, + "z": 1.0, + "w": 1.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.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.DynamicVectorMaterialSlot", + "m_ObjectId": "9d98fd9255704a6da76213b8b16ae0fe", + "m_Id": 1, + "m_DisplayName": "Blend", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Blend", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot", + "m_ObjectId": "9dabadec240d422faed42460e368e458", + "m_Id": 0, + "m_DisplayName": "Tangent", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Tangent", + "m_StageCapability": 1, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "9efa2265f91348ef85b43bd23bf22354", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 532.5, + "y": 51.0, + "width": 119.5, + "height": 34.00000762939453 + } + }, + "m_Slots": [ + { + "m_Id": "20b01c9c19f14dfc92b9051ebeafedf4" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "c3155e4d6f2c4702aad2ad86869cb8e2" + } +} + +{ + "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.PropertyNode", + "m_ObjectId": "a396bb8b5b564003bb20a47ab3526c37", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 530.5, + "y": 15.000003814697266, + "width": 120.0, + "height": 34.00000762939453 + } + }, + "m_Slots": [ + { + "m_Id": "e8fcb44c202a4435a2ec719e5d66ff18" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "d5515c6437d04a8998a9bae4240627b6" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "a941ed05e93b4c5f917acfa918973a9a", + "m_Id": 0, + "m_DisplayName": "Base", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Base", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "m_SGVersion": 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.DynamicVectorMaterialSlot", + "m_ObjectId": "aaa8f8c23cb74f64a1f0281fda89577b", + "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.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": "ef98f0ba7dad4ce3aaf3d8f6ce675465" + }, + { + "m_Id": "c3155e4d6f2c4702aad2ad86869cb8e2" + }, + { + "m_Id": "d5515c6437d04a8998a9bae4240627b6" + }, + { + "m_Id": "be2dac9dccaa443589d6505e3844bae6" + }, + { + "m_Id": "c814ce4ed4424f36a1c251ea4d8278da" + }, + { + "m_Id": "108cf90980924b6cb1702c82b43d6ac3" + } + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "b2f2e317b8db4231932845438528ce90", + "m_Id": 1, + "m_DisplayName": "B", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "B", + "m_StageCapability": 3, + "m_Value": { + "e00": 2.0, + "e01": 2.0, + "e02": 2.0, + "e03": 2.0, + "e10": 2.0, + "e11": 2.0, + "e12": 2.0, + "e13": 2.0, + "e20": 2.0, + "e21": 2.0, + "e22": 2.0, + "e23": 2.0, + "e30": 2.0, + "e31": 2.0, + "e32": 2.0, + "e33": 2.0 + }, + "m_DefaultValue": { + "e00": 1.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 1.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 1.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 1.0 + } +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode", + "m_ObjectId": "b4415a8cc6a444dcad85c1e6c4be7169", + "m_Group": { + "m_Id": "" + }, + "m_Name": "ChooseColor (Custom Function)", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 670.5, + "y": -18.500017166137697, + "width": 208.00006103515626, + "height": 245.99998474121095 + } + }, + "m_Slots": [ + { + "m_Id": "23187275ba0e4748b2ba6248799c0764" + }, + { + "m_Id": "e60f704ca88c4c14a42fa5e672f53aad" + }, + { + "m_Id": "4141a679f9f54f19b0e85ec1847c725c" + }, + { + "m_Id": "89f49f59415e4c04862cd8037ee47920" + }, + { + "m_Id": "e54656b95fc141509d532990f3da6685" + }, + { + "m_Id": "62303c55f0764ac8aad8ba2c5586bb5c" + }, + { + "m_Id": "3c6e1d6b90f44533bb104d615f69441d" + }, + { + "m_Id": "2e7cfd1b075841dfac968221981775a8" + } + ], + "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": 1, + "m_Type": "UnityEditor.ShaderGraph.PositionNode", + "m_ObjectId": "b4d3a6c97ac04827a7471fdbd229540c", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Position", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -921.5000610351563, + "y": 14.999983787536621, + "width": 208.00006103515626, + "height": 314.50006103515627 + } + }, + "m_Slots": [ + { + "m_Id": "ed67fcf1836942c38941abf61d89038c" + } + ], + "synonyms": [ + "location" + ], + "m_Precision": 1, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 2, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Space": 2, + "m_PositionSource": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.MultiplyNode", + "m_ObjectId": "b5c835529c1e4db1904181a7f8bbee88", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Multiply", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -342.0000305175781, + "y": 245.50001525878907, + "width": 208.0000457763672, + "height": 302.0 + } + }, + "m_Slots": [ + { + "m_Id": "c92d3c261c624fdeb8c31cf5b5cba676" + }, + { + "m_Id": "b2f2e317b8db4231932845438528ce90" + }, + { + "m_Id": "6206762d97c44037af2afe47b9c368c9" + } + ], + "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.LerpNode", + "m_ObjectId": "b64a8dea0d6b4ce4a45d946e6243d2a3", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Lerp", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 1577.5, + "y": 426.5, + "width": 208.0, + "height": 326.0 + } + }, + "m_Slots": [ + { + "m_Id": "6a5fc71517fe4ad68df7f9169cc796d6" + }, + { + "m_Id": "9c17d36fe76f4f2390af6ab272c95227" + }, + { + "m_Id": "97f1af890574462e97f66d14e57c7624" + }, + { + "m_Id": "bb087b90ed9d4529964b9bfa804d98fd" + } + ], + "synonyms": [ + "mix", + "blend", + "linear interpolate" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword", + "m_ObjectId": "b809fdc1f7e34de0b139821499ca0e23", + "m_Guid": { + "m_GuidSerialized": "e1fc1bfe-6ef3-45c9-9d42-9ece7e3d91e3" + }, + "m_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.Vector1MaterialSlot", + "m_ObjectId": "b84da7fa3a9249a48c8ac2d47f2023be", + "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.NormalMaterialSlot", + "m_ObjectId": "b9ea3672569d404fa365dcd82b6e26bd", + "m_Id": 0, + "m_DisplayName": "Normal", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Normal", + "m_StageCapability": 1, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "ba21bb8e3bce426097d0ceb153a6cfcd", + "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.Vector2MaterialSlot", + "m_ObjectId": "ba598687fa104aeea77be52400851cbb", + "m_Id": 3, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "bb087b90ed9d4529964b9bfa804d98fd", + "m_Id": 3, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "bb7d869d29f2426bacc925c0dd8bd5e2", + "m_Id": 1, + "m_DisplayName": "B", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "B", + "m_StageCapability": 3, + "m_Value": { + "e00": 2.0, + "e01": 2.0, + "e02": 2.0, + "e03": 2.0, + "e10": 2.0, + "e11": 2.0, + "e12": 2.0, + "e13": 2.0, + "e20": 2.0, + "e21": 2.0, + "e22": 2.0, + "e23": 2.0, + "e30": 2.0, + "e31": 2.0, + "e32": 2.0, + "e33": 2.0 + }, + "m_DefaultValue": { + "e00": 1.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 1.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 1.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 1.0 + } +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", + "m_ObjectId": "be2dac9dccaa443589d6505e3844bae6", + "m_Guid": { + "m_GuidSerialized": "ffd78fa5-b226-43e0-8d9c-03fa797bba01" + }, + "m_Name": "Threshold 1", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "Threshold 1", + "m_DefaultReferenceName": "_Threshold_1", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": 0.4000000059604645, + "m_FloatType": 1, + "m_RangeValues": { + "x": 0.0, + "y": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "bf0aab0ef7004af284ddf482702bf796", + "m_Id": 0, + "m_DisplayName": "Highlight", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 3, + "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty", + "m_ObjectId": "c3155e4d6f2c4702aad2ad86869cb8e2", + "m_Guid": { + "m_GuidSerialized": "c893045e-24e4-4ba1-9071-449175b5b10d" + }, + "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.23268957436084748, + "g": 0.7830188870429993, + "b": 0.7722412943840027, + "a": 0.0 + }, + "isMainColor": false, + "m_ColorMode": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlendNode", + "m_ObjectId": "c3a30387566f4d69b4b90b7a343f4cc4", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Blend", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 1216.9998779296875, + "y": 690.9999389648438, + "width": 208.0, + "height": 360.49993896484377 + } + }, + "m_Slots": [ + { + "m_Id": "a941ed05e93b4c5f917acfa918973a9a" + }, + { + "m_Id": "9d98fd9255704a6da76213b8b16ae0fe" + }, + { + "m_Id": "79f432f893d949bbb3fad4f4b7e10d2c" + }, + { + "m_Id": "cae826cfebfb46d1b59f851ef7c8e164" + } + ], + "synonyms": [ + "burn", + "darken", + "difference", + "dodge", + "divide", + "exclusion", + "hard light", + "hard mix", + "linear burn", + "linear dodge", + "linear light", + "multiply", + "negate", + "overlay", + "pin light", + "screen", + "soft light", + "subtract", + "vivid light", + "overwrite" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_BlendMode": 1 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", + "m_ObjectId": "c56b870e7d5a4cb183c1d0dc063d2203", + "m_Id": 0, + "m_DisplayName": "Base Color", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "BaseColor", + "m_StageCapability": 2, + "m_Value": { + "x": 0.5, + "y": 0.5, + "z": 0.5 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_ColorMode": 0, + "m_DefaultColor": { + "r": 0.5, + "g": 0.5, + "b": 0.5, + "a": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "c7b411acb2b946e384f48434590c2cba", + "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": 1, + "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", + "m_ObjectId": "c814ce4ed4424f36a1c251ea4d8278da", + "m_Guid": { + "m_GuidSerialized": "71040e21-d1df-4a78-b767-2d7d004122f0" + }, + "m_Name": "Threshold 2", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "Threshold 2", + "m_DefaultReferenceName": "_Threshold_2", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": 0.800000011920929, + "m_FloatType": 1, + "m_RangeValues": { + "x": 0.0, + "y": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "c92d3c261c624fdeb8c31cf5b5cba676", + "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": "cae826cfebfb46d1b59f851ef7c8e164", + "m_Id": 2, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", + "m_ObjectId": "d49c26e431ef40d0aa3fab65b73ed6d6", + "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": 3, + "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty", + "m_ObjectId": "d5515c6437d04a8998a9bae4240627b6", + "m_Guid": { + "m_GuidSerialized": "998381ea-b88f-4a29-99f2-7ca994b3fa39" + }, + "m_Name": "Midtone", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "Midtone", + "m_DefaultReferenceName": "_Midtone", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": { + "r": 0.23113209009170533, + "g": 0.9337685108184815, + "b": 1.0, + "a": 0.0 + }, + "isMainColor": false, + "m_ColorMode": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "de15eb350a9e48bbb0465b814c91e645", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 521.5, + "y": 160.5, + "width": 137.5, + "height": 34.0 + } + }, + "m_Slots": [ + { + "m_Id": "4fcd9f51685841dc9f737d0f672273cd" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "c814ce4ed4424f36a1c251ea4d8278da" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "e54656b95fc141509d532990f3da6685", + "m_Id": 4, + "m_DisplayName": "Threshold_1", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Threshold_1", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword", + "m_ObjectId": "e5a71d711c86416886b209ec634fe2f6", + "m_Guid": { + "m_GuidSerialized": "2d4a7eb1-5095-4e3c-a08a-ec0e0b786285" + }, + "m_Name": "Additional Shadows", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "Additional Shadows", + "m_DefaultReferenceName": "_ADDITIONAL_SHADOWS", + "m_OverrideReferenceName": "ADDITIONAL_LIGHT_CALCULATE_SHADOWS", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_KeywordType": 0, + "m_KeywordDefinition": 1, + "m_KeywordScope": 0, + "m_KeywordStages": 63, + "m_Entries": [], + "m_Value": 1, + "m_IsEditable": true +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "e5d7d68424684e11b82bb9f797cbb13a", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 519.5, + "y": 212.49998474121095, + "width": 140.0, + "height": 33.99998474121094 + } + }, + "m_Slots": [ + { + "m_Id": "eb354957067c4d26a754d48d8c306f83" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "108cf90980924b6cb1702c82b43d6ac3" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", + "m_ObjectId": "e60f704ca88c4c14a42fa5e672f53aad", + "m_Id": 6, + "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.Vector3MaterialSlot", + "m_ObjectId": "e67f00b7211942cab5e7e1d5720e5be1", + "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.Vector4MaterialSlot", + "m_ObjectId": "e8fcb44c202a4435a2ec719e5d66ff18", + "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.Vector1MaterialSlot", + "m_ObjectId": "eb211bda61fd4c53af8fa51eb1081e50", + "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.Vector1MaterialSlot", + "m_ObjectId": "eb354957067c4d26a754d48d8c306f83", + "m_Id": 0, + "m_DisplayName": "Smoothness", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", + "m_ObjectId": "ed1fac9481fb40ed9ff67fd65b58b081", + "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.Vector3MaterialSlot", + "m_ObjectId": "ed67fcf1836942c38941abf61d89038c", + "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": 3, + "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty", + "m_ObjectId": "ef98f0ba7dad4ce3aaf3d8f6ce675465", + "m_Guid": { + "m_GuidSerialized": "4b5d9d02-f393-4f24-b90a-675faaaf88f9" + }, + "m_Name": "Highlight", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "Highlight", + "m_DefaultReferenceName": "_Highlight", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": { + "r": 0.6556603908538818, + "g": 1.0, + "b": 0.9541933536529541, + "a": 0.0 + }, + "isMainColor": false, + "m_ColorMode": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.MultiplyNode", + "m_ObjectId": "f197160cea444970b6e36408d982996a", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Multiply", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 319.00006103515627, + "y": 75.49995422363281, + "width": 208.00006103515626, + "height": 302.0 + } + }, + "m_Slots": [ + { + "m_Id": "7a3f83929a754cb5b50c6952cf026dda" + }, + { + "m_Id": "173bea12c4574139b57b2d3aa217a786" + }, + { + "m_Id": "8e53fb5ef87d4816b0e45772fed0e129" + } + ], + "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.TilingAndOffsetNode", + "m_ObjectId": "f2c8d36df732498b95fec6d552ef6163", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Tiling And Offset", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 410.5, + "y": 778.5, + "width": 208.0, + "height": 326.0 + } + }, + "m_Slots": [ + { + "m_Id": "371ce79f476f4eddad2a4435e06c9131" + }, + { + "m_Id": "66fe9a78cfa14aaf98275393c2246e0f" + }, + { + "m_Id": "56c1935f55074087be0e58c77ca48f17" + }, + { + "m_Id": "ba598687fa104aeea77be52400851cbb" + } + ], + "synonyms": [ + "pan", + "scale" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "f5431e2bfeec44fb86ea6aa2209b7bc1", + "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.DynamicVectorMaterialSlot", + "m_ObjectId": "f69a94efd6064de9b0ae5672fc5e8bc0", + "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.PositionMaterialSlot", + "m_ObjectId": "f7799d2969664bafb5b2bb91b8ca17cc", + "m_Id": 0, + "m_DisplayName": "Position", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Position", + "m_StageCapability": 1, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 0 +} + diff --git a/Assets/Shaders/(TO-DO) Toon Shader.shadergraph.meta b/Assets/Shaders/Sonic/(TO-DO) Toon Shader.shadergraph.meta similarity index 100% rename from Assets/Shaders/(TO-DO) Toon Shader.shadergraph.meta rename to Assets/Shaders/Sonic/(TO-DO) Toon Shader.shadergraph.meta diff --git a/Assets/Shaders/Sonic/Blue.mat b/Assets/Shaders/Sonic/Blue.mat new file mode 100644 index 0000000..230dfff --- /dev/null +++ b/Assets/Shaders/Sonic/Blue.mat @@ -0,0 +1,77 @@ +%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: 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: + - _SampleTexture2D_990c3400395542d9b68c6d10df16bff4_Texture_1_Texture2D: + m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3} + 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 + - _MAIN_LIGHT_SHADOWS_CASCADE: 1 + - _QueueControl: 0 + - _QueueOffset: 0 + - _SHADOWS_SOFT: 1 + - _Smoothness: 0.13 + - _Threshold_1: 0.4 + - _Threshold_2: 0.8 + m_Colors: + - _Highlight: {r: 0.2062567, g: 0.60221016, b: 0.9716981, a: 0} + - _Midtone: {r: 0.11124954, g: 0.46932483, b: 0.9433962, a: 0} + - _Shadow: {r: 0.2232111, g: 0.32894272, b: 0.8301887, a: 0} + m_BuildTextureStacks: [] +--- !u!114 &617927494678491547 +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/Shaders/Sonic/Blue.mat.meta b/Assets/Shaders/Sonic/Blue.mat.meta new file mode 100644 index 0000000..b9ba102 --- /dev/null +++ b/Assets/Shaders/Sonic/Blue.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d6f9b13ae7824ea468fe7d66e0505c18 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Shaders/Sonic/Dark.mat b/Assets/Shaders/Sonic/Dark.mat new file mode 100644 index 0000000..8d6b13f --- /dev/null +++ b/Assets/Shaders/Sonic/Dark.mat @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-8546050937301816846 +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: Dark + 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: + - _SampleTexture2D_990c3400395542d9b68c6d10df16bff4_Texture_1_Texture2D: + m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3} + 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 + - _MAIN_LIGHT_SHADOWS_CASCADE: 1 + - _QueueControl: 0 + - _QueueOffset: 0 + - _SHADOWS_SOFT: 1 + - _Smoothness: 0.08 + - _Threshold_1: 0.4 + - _Threshold_2: 0.8 + m_Colors: + - _Highlight: {r: 0.6037736, g: 0.6037736, b: 0.6037736, a: 0} + - _Midtone: {r: 0.5471698, g: 0.5471698, b: 0.5471698, a: 0} + - _Shadow: {r: 0.4245283, g: 0.4245283, b: 0.4245283, a: 0} + m_BuildTextureStacks: [] diff --git a/Assets/Shaders/Sonic/Dark.mat.meta b/Assets/Shaders/Sonic/Dark.mat.meta new file mode 100644 index 0000000..b999e51 --- /dev/null +++ b/Assets/Shaders/Sonic/Dark.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7b523f6b39aaeb648baa5a4350f7d87c +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Shaders/Sonic/Gold.mat b/Assets/Shaders/Sonic/Gold.mat new file mode 100644 index 0000000..7dd173a --- /dev/null +++ b/Assets/Shaders/Sonic/Gold.mat @@ -0,0 +1,77 @@ +%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: Gold + 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: + - _SampleTexture2D_990c3400395542d9b68c6d10df16bff4_Texture_1_Texture2D: + m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3} + 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 + - _MAIN_LIGHT_SHADOWS_CASCADE: 1 + - _QueueControl: 0 + - _QueueOffset: 0 + - _SHADOWS_SOFT: 1 + - _Smoothness: 0.01 + - _Threshold_1: 0.4 + - _Threshold_2: 0.8 + m_Colors: + - _Highlight: {r: 1, g: 0.8265537, b: 0.5896226, a: 0} + - _Midtone: {r: 1, g: 0.7446879, b: 0.3160377, a: 0} + - _Shadow: {r: 0.8867924, g: 0.6789655, b: 0.33045566, a: 0} + m_BuildTextureStacks: [] +--- !u!114 &1628509122683620631 +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/Shaders/Sonic/Gold.mat.meta b/Assets/Shaders/Sonic/Gold.mat.meta new file mode 100644 index 0000000..051d160 --- /dev/null +++ b/Assets/Shaders/Sonic/Gold.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d71deb0ffa908474e9d8c69fb74feb50 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Shaders/Sonic/Red.mat b/Assets/Shaders/Sonic/Red.mat new file mode 100644 index 0000000..1b00126 --- /dev/null +++ b/Assets/Shaders/Sonic/Red.mat @@ -0,0 +1,77 @@ +%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: + - _SampleTexture2D_990c3400395542d9b68c6d10df16bff4_Texture_1_Texture2D: + m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3} + 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 + - _MAIN_LIGHT_SHADOWS_CASCADE: 1 + - _QueueControl: 0 + - _QueueOffset: 0 + - _SHADOWS_SOFT: 1 + - _Smoothness: 0.1 + - _Threshold_1: 0.4 + - _Threshold_2: 0.8 + m_Colors: + - _Highlight: {r: 1, g: 0.514151, b: 0.52366567, a: 0} + - _Midtone: {r: 0.9622642, g: 0.4088042, b: 0.34950158, a: 0} + - _Shadow: {r: 1, g: 0.34238058, b: 0.1745283, a: 0} + m_BuildTextureStacks: [] +--- !u!114 &3262469054252679520 +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/Shaders/Sonic/Red.mat.meta b/Assets/Shaders/Sonic/Red.mat.meta new file mode 100644 index 0000000..e95e377 --- /dev/null +++ b/Assets/Shaders/Sonic/Red.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 811f4d7e96b2c864ab1a822113e6fbd4 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Shaders/Sonic/Tan.mat b/Assets/Shaders/Sonic/Tan.mat new file mode 100644 index 0000000..03f8fcd --- /dev/null +++ b/Assets/Shaders/Sonic/Tan.mat @@ -0,0 +1,77 @@ +%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: Tan + 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: + - _SampleTexture2D_990c3400395542d9b68c6d10df16bff4_Texture_1_Texture2D: + m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3} + 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 + - _MAIN_LIGHT_SHADOWS_CASCADE: 1 + - _QueueControl: 0 + - _QueueOffset: 0 + - _SHADOWS_SOFT: 1 + - _Smoothness: 0.13 + - _Threshold_1: 0.4 + - _Threshold_2: 0.8 + m_Colors: + - _Highlight: {r: 1, g: 0.8754717, b: 0.7028302, a: 0} + - _Midtone: {r: 1, g: 0.8414046, b: 0.5801887, a: 0} + - _Shadow: {r: 0.9433962, g: 0.7904157, b: 0.53844786, a: 0} + m_BuildTextureStacks: [] +--- !u!114 &1628509122683620631 +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/Shaders/Sonic/Tan.mat.meta b/Assets/Shaders/Sonic/Tan.mat.meta new file mode 100644 index 0000000..f2709ad --- /dev/null +++ b/Assets/Shaders/Sonic/Tan.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 02dfa1f95d551c94bb665b6c67b0b875 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Shaders/Sonic/White.mat b/Assets/Shaders/Sonic/White.mat new file mode 100644 index 0000000..1cd2d3a --- /dev/null +++ b/Assets/Shaders/Sonic/White.mat @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-3468061934422861711 +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: 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: + - _SampleTexture2D_990c3400395542d9b68c6d10df16bff4_Texture_1_Texture2D: + m_Texture: {fileID: 2800000, guid: 966f2baf5f8eaa745a5bcdc4c8127425, type: 3} + 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 + - _MAIN_LIGHT_SHADOWS_CASCADE: 1 + - _QueueControl: 0 + - _QueueOffset: 0 + - _SHADOWS_SOFT: 1 + - _Smoothness: 0.07 + - _Threshold_1: 0.4 + - _Threshold_2: 0.8 + m_Colors: + - _Highlight: {r: 1, g: 1, b: 1, a: 0} + - _Midtone: {r: 0.9433962, g: 0.9433962, b: 0.9433962, a: 0} + - _Shadow: {r: 0.8679245, g: 0.8679245, b: 0.8679245, a: 0} + m_BuildTextureStacks: [] diff --git a/Assets/Shaders/Sonic/White.mat.meta b/Assets/Shaders/Sonic/White.mat.meta new file mode 100644 index 0000000..70dad86 --- /dev/null +++ b/Assets/Shaders/Sonic/White.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1a46ff9fdbfd9ce40af5d3e50007a991 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/README.md b/README.md index b8551a7..f1a8d00 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,21 @@ # Lab 05 - Stylization! Let's practice adding stylization to a 3D scene using Unity's shader graph! +## Results + +Two Tone +![](sphere.png) + +Three Tone +![](sonic.png) + +Shadow Texture +![](shadow.png) + +Blended Colors +![](blendedColors.png) + + ## Introduction We will be stylizing a "toon" look by creating a shader in Unity that supports shadows and multiple lights in real-time! In the process, you will gain some familiarity with Unity’s shader graph. diff --git a/blendedColors.png b/blendedColors.png new file mode 100644 index 0000000..f37e3c5 Binary files /dev/null and b/blendedColors.png differ diff --git a/shadow.png b/shadow.png new file mode 100644 index 0000000..cd1de61 Binary files /dev/null and b/shadow.png differ diff --git a/sonic.png b/sonic.png new file mode 100644 index 0000000..f1936aa Binary files /dev/null and b/sonic.png differ diff --git a/sphere.png b/sphere.png new file mode 100644 index 0000000..96128d7 Binary files /dev/null and b/sphere.png differ