├── .gitattributes ├── .gitignore ├── Assets ├── Samples.meta └── Samples │ ├── Materials.meta │ ├── Materials │ ├── Edge.mat │ ├── Edge.mat.meta │ ├── Edge.shadergraph │ └── Edge.shadergraph.meta │ ├── SRP.meta │ ├── SRP │ ├── LightweightRenderPipelineAsset.asset │ └── LightweightRenderPipelineAsset.asset.meta │ ├── Scenes.meta │ └── Scenes │ ├── SimpleEdgeDetection.unity │ └── SimpleEdgeDetection.unity.meta ├── BUILD_UPM.md ├── Packages ├── com.github.edwin0cheng.nodesigma │ ├── Editor.meta │ ├── Editor │ │ ├── NodeSigma.Editor.asmdef │ │ ├── NodeSigma.Editor.asmdef.meta │ │ ├── Nodes.meta │ │ ├── Nodes │ │ │ ├── CustomTextureNode.cs │ │ │ ├── CustomTextureNode.cs.meta │ │ │ ├── DepthNormalsTextureNode.cs │ │ │ ├── DepthNormalsTextureNode.cs.meta │ │ │ ├── EdgeDetection.cs │ │ │ └── EdgeDetection.cs.meta │ │ ├── RenderPass.meta │ │ ├── RenderPass │ │ │ ├── DepthNormalsRenderPassEditor.cs │ │ │ └── DepthNormalsRenderPassEditor.cs.meta │ │ ├── Resources.meta │ │ └── Resources │ │ │ ├── Styles.meta │ │ │ └── Styles │ │ │ ├── Controls.meta │ │ │ └── Controls │ │ │ ├── DepthNormalsTextureControlView.uss │ │ │ └── DepthNormalsTextureControlView.uss.meta │ ├── Runtime.meta │ ├── Runtime │ │ ├── NodeSigma.Runtime.asmdef │ │ ├── NodeSigma.Runtime.asmdef.meta │ │ ├── RenderPass.meta │ │ └── RenderPass │ │ │ ├── DepthNormalsRenderPass.cs │ │ │ └── DepthNormalsRenderPass.cs.meta │ ├── package.json │ └── package.json.meta └── manifest.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset └── VFXManager.asset └── README.md /.gitattributes: -------------------------------------------------------------------------------- 1 | ## Unity ## 2 | 3 | *.cs diff=csharp text 4 | *.cginc text 5 | *.shader text 6 | 7 | *.mat eol=lf 8 | *.anim eol=lf 9 | *.unity eol=lf 10 | *.prefab eol=lf 11 | *.physicsMaterial2D eol=lf 12 | *.physicsMaterial eol=lf 13 | *.asset eol=lf 14 | *.meta eol=lf 15 | *.controller eol=lf -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | [Ll]ibrary/ 2 | [Tt]emp/ 3 | [Oo]bj/ 4 | [Bb]uild/ 5 | [Bb]uilds/ 6 | [Ll]ogs/ 7 | Assets/AssetStoreTools* 8 | 9 | # Visual Studio cache directory 10 | .vs/ 11 | 12 | # VSCode setting 13 | .vscode/ 14 | 15 | # Autogenerated VS/MD/Consulo solution and project files 16 | ExportedObj/ 17 | .consulo/ 18 | *.csproj 19 | *.unityproj 20 | *.sln 21 | *.suo 22 | *.tmp 23 | *.user 24 | *.userprefs 25 | *.pidb 26 | *.booproj 27 | *.svd 28 | *.pdb 29 | *.opendb 30 | 31 | # Unity3D generated meta files 32 | *.pidb.meta 33 | *.pdb.meta 34 | 35 | # Unity3D Generated File On Crash Reports 36 | sysinfo.txt 37 | 38 | # Builds 39 | *.apk 40 | *.unitypackage 41 | .idea 42 | Assets/Plugins/Editor/JetBrains 43 | JetBrains.meta 44 | 45 | -------------------------------------------------------------------------------- /Assets/Samples.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3b358e8b23d9b6d45ae21461449fa7ea 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Samples/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8e9d95f0699c714fbbd2fd8cb51e82b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Samples/Materials/Edge.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Edge 11 | m_Shader: {fileID: 4800000, guid: 4fcd73dd8c64a5345a192c1cb527c0bb, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _EdgeRT: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _EdgeRTDepth: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _EmissionMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _MainTex: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MetallicGlossMap: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _OcclusionMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _SpecGlossMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | m_Floats: 55 | - Vector1_38A591F0: 47 56 | - Vector1_915C48D2: 3.93 57 | - Vector1_AABC5A9E: 0.848 58 | - Vector1_D187CBA: 1.5 59 | - _AlphaClip: 0 60 | - _Blend: 0 61 | - _BumpScale: 1 62 | - _Cull: 2 63 | - _Cutoff: 0.5 64 | - _DstBlend: 0 65 | - _GlossMapScale: 1 66 | - _Glossiness: 0.5 67 | - _GlossyReflections: 1 68 | - _Metallic: 0 69 | - _OcclusionStrength: 1 70 | - _ReceiveShadows: 1 71 | - _SmoothnessTextureChannel: 0 72 | - _SpecularHighlights: 1 73 | - _SrcBlend: 1 74 | - _Surface: 0 75 | - _WorkflowMode: 1 76 | - _ZWrite: 1 77 | m_Colors: 78 | - _Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} 79 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 80 | - _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} 81 | -------------------------------------------------------------------------------- /Assets/Samples/Materials/Edge.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ca6f36ae30911b548baafefb7e4dec24 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Samples/Materials/Edge.shadergraph: -------------------------------------------------------------------------------- 1 | { 2 | "m_SerializedProperties": [ 3 | { 4 | "typeInfo": { 5 | "fullName": "UnityEditor.ShaderGraph.Vector1ShaderProperty" 6 | }, 7 | "JSONnodeData": "{\n \"m_Value\": 2.0,\n \"m_Name\": \"SampleDistance\",\n \"m_GeneratePropertyBlock\": true,\n \"m_Guid\": {\n \"m_GuidSerialized\": \"00fb204c-7455-4a70-a25e-cea9eb95cc53\"\n },\n \"m_OverrideReferenceName\": \"\",\n \"m_FloatType\": 0,\n \"m_RangeValues\": {\n \"x\": 0.0,\n \"y\": 1.0\n }\n}" 8 | }, 9 | { 10 | "typeInfo": { 11 | "fullName": "UnityEditor.ShaderGraph.Vector1ShaderProperty" 12 | }, 13 | "JSONnodeData": "{\n \"m_Value\": 1.0,\n \"m_Name\": \"Falloff\",\n \"m_GeneratePropertyBlock\": true,\n \"m_Guid\": {\n \"m_GuidSerialized\": \"0fe76de8-4af8-44e2-92e1-f994993d8113\"\n },\n \"m_OverrideReferenceName\": \"\",\n \"m_FloatType\": 1,\n \"m_RangeValues\": {\n \"x\": 0.0,\n \"y\": 1000.0\n }\n}" 14 | }, 15 | { 16 | "typeInfo": { 17 | "fullName": "UnityEditor.ShaderGraph.Vector1ShaderProperty" 18 | }, 19 | "JSONnodeData": "{\n \"m_Value\": 0.8199999928474426,\n \"m_Name\": \"Sensitivity Normals\",\n \"m_GeneratePropertyBlock\": true,\n \"m_Guid\": {\n \"m_GuidSerialized\": \"c34d67c6-6c2a-439f-bf99-7951b79bc5fe\"\n },\n \"m_OverrideReferenceName\": \"\",\n \"m_FloatType\": 1,\n \"m_RangeValues\": {\n \"x\": 0.0,\n \"y\": 1.0\n }\n}" 20 | }, 21 | { 22 | "typeInfo": { 23 | "fullName": "UnityEditor.ShaderGraph.Vector1ShaderProperty" 24 | }, 25 | "JSONnodeData": "{\n \"m_Value\": 1.0,\n \"m_Name\": \"Sensitivity Depth\",\n \"m_GeneratePropertyBlock\": true,\n \"m_Guid\": {\n \"m_GuidSerialized\": \"101b7847-a2fd-4692-8059-6a391c713467\"\n },\n \"m_OverrideReferenceName\": \"\",\n \"m_FloatType\": 1,\n \"m_RangeValues\": {\n \"x\": 0.0,\n \"y\": 10.0\n }\n}" 26 | } 27 | ], 28 | "m_GUID": { 29 | "m_GuidSerialized": "6996f18a-2594-41d5-8d17-b37b52a240fd" 30 | }, 31 | "m_SerializableNodes": [ 32 | { 33 | "typeInfo": { 34 | "fullName": "UnityEditor.ShaderGraph.PBRMasterNode" 35 | }, 36 | "JSONnodeData": "{\n \"m_GuidSerialized\": \"38a8f5ce-b776-4b33-855b-0e7f20fcaed0\",\n \"m_Name\": \"PBR Master\",\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -97.23997497558594,\n \"y\": 128.38751220703126,\n \"width\": 208.0,\n \"height\": 470.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.PositionMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 9,\\n \\\"m_DisplayName\\\": \\\"Position\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Position\\\",\\n \\\"m_StageCapability\\\": 1,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0\\n },\\n \\\"m_Labels\\\": [\\n \\\"X\\\",\\n \\\"Y\\\",\\n \\\"Z\\\"\\n ],\\n \\\"m_Space\\\": 0\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.ColorRGBMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Albedo\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Albedo\\\",\\n \\\"m_StageCapability\\\": 2,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.5,\\n \\\"y\\\": 0.5,\\n \\\"z\\\": 0.5\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0\\n },\\n \\\"m_Labels\\\": [\\n \\\"X\\\",\\n \\\"Y\\\",\\n \\\"Z\\\"\\n ],\\n \\\"m_ColorMode\\\": 0\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.NormalMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Normal\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Normal\\\",\\n \\\"m_StageCapability\\\": 2,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0\\n },\\n \\\"m_Labels\\\": [\\n \\\"X\\\",\\n \\\"Y\\\",\\n \\\"Z\\\"\\n ],\\n \\\"m_Space\\\": 3\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.ColorRGBMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 4,\\n \\\"m_DisplayName\\\": \\\"Emission\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Emission\\\",\\n \\\"m_StageCapability\\\": 2,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0\\n },\\n \\\"m_Labels\\\": [\\n \\\"X\\\",\\n \\\"Y\\\",\\n \\\"Z\\\"\\n ],\\n \\\"m_ColorMode\\\": 0\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Metallic\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Metallic\\\",\\n \\\"m_StageCapability\\\": 2,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 5,\\n \\\"m_DisplayName\\\": \\\"Smoothness\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Smoothness\\\",\\n \\\"m_StageCapability\\\": 2,\\n \\\"m_Value\\\": 0.5,\\n \\\"m_DefaultValue\\\": 0.5,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 6,\\n \\\"m_DisplayName\\\": \\\"Occlusion\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Occlusion\\\",\\n \\\"m_StageCapability\\\": 2,\\n \\\"m_Value\\\": 1.0,\\n \\\"m_DefaultValue\\\": 1.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 7,\\n \\\"m_DisplayName\\\": \\\"Alpha\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Alpha\\\",\\n \\\"m_StageCapability\\\": 2,\\n \\\"m_Value\\\": 1.0,\\n \\\"m_DefaultValue\\\": 1.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 8,\\n \\\"m_DisplayName\\\": \\\"AlphaClipThreshold\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"AlphaClipThreshold\\\",\\n \\\"m_StageCapability\\\": 2,\\n \\\"m_Value\\\": 0.5,\\n \\\"m_DefaultValue\\\": 0.5,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n }\n ],\n \"m_PreviewExpanded\": true,\n \"m_SerializableSubShaders\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.Experimental.Rendering.LightweightPipeline.LightWeightPBRSubShader\"\n },\n \"JSONnodeData\": \"{}\"\n }\n ],\n \"m_Model\": 1,\n \"m_SurfaceType\": 0,\n \"m_AlphaMode\": 0,\n \"m_TwoSided\": false\n}" 37 | }, 38 | { 39 | "typeInfo": { 40 | "fullName": "NodeSigma.Nodes.Editor.EdgeDetectionNode" 41 | }, 42 | "JSONnodeData": "{\n \"m_GuidSerialized\": \"61633edb-5834-432d-96de-c7b93be1f183\",\n \"m_Name\": \"Edge Detection\",\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -457.0,\n \"y\": 151.0,\n \"width\": 220.0,\n \"height\": 470.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.ScreenPositionMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Screen Pos\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"ScreenPos\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ScreenSpaceType\\\": 0\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.ColorRGBAMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Color\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Color\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.9150943160057068,\\n \\\"y\\\": 0.8330811262130737,\\n \\\"z\\\": 0.8330811262130737,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Texture2DInputMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Depth Texture\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"DepthTexture\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Texture\\\": {\\n \\\"m_SerializedTexture\\\": \\\"\\\",\\n \\\"m_Guid\\\": \\\"\\\"\\n },\\n \\\"m_DefaultType\\\": 0\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.SamplerStateMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 3,\\n \\\"m_DisplayName\\\": \\\"Depth Texture State\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"DepthTextureState\\\",\\n \\\"m_StageCapability\\\": 3\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector2MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 4,\\n \\\"m_DisplayName\\\": \\\"Depth Texture Texel\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"DepthTextureTexel\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0\\n },\\n \\\"m_Labels\\\": [\\n \\\"X\\\",\\n \\\"Y\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 5,\\n \\\"m_DisplayName\\\": \\\"Sample Distance\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"SampleDistance\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 2.0,\\n \\\"m_DefaultValue\\\": 2.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 6,\\n \\\"m_DisplayName\\\": \\\"Falloff\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Falloff\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 10.0,\\n \\\"m_DefaultValue\\\": 10.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 7,\\n \\\"m_DisplayName\\\": \\\"Sensitivity Normals\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"SensitivityNormals\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.8199999928474426,\\n \\\"m_DefaultValue\\\": 0.8199999928474426,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 8,\\n \\\"m_DisplayName\\\": \\\"Sensitivity Depth\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"SensitivityDepth\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 3.75,\\n \\\"m_DefaultValue\\\": 3.75,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector4MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 9,\\n \\\"m_DisplayName\\\": \\\"Out\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n }\n ],\n \"m_PreviewExpanded\": true,\n \"m_GameObject\": {\n \"instanceID\": 0\n }\n}" 43 | }, 44 | { 45 | "typeInfo": { 46 | "fullName": "UnityEditor.ShaderGraph.SamplerStateNode" 47 | }, 48 | "JSONnodeData": "{\n \"m_GuidSerialized\": \"221dadf6-3ca9-461a-a0fe-b1b7f96aa1a8\",\n \"m_Name\": \"Sampler State\",\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -842.6278686523438,\n \"y\": 108.26246643066406,\n \"width\": 206.0,\n \"height\": 134.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.SamplerStateMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Out\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3\\n}\"\n }\n ],\n \"m_PreviewExpanded\": true,\n \"m_filter\": 2,\n \"m_wrap\": 1\n}" 49 | }, 50 | { 51 | "typeInfo": { 52 | "fullName": "UnityEditor.ShaderGraph.Vector2Node" 53 | }, 54 | "JSONnodeData": "{\n \"m_GuidSerialized\": \"d4c1aa72-a510-439d-a45e-df16bffb1b8c\",\n \"m_Name\": \"Vector 2\",\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -999.1927490234375,\n \"y\": 262.83013916015627,\n \"width\": 121.0,\n \"height\": 101.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"X\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"X\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Y\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Y\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"Y\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector2MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Out\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0\\n },\\n \\\"m_Labels\\\": [\\n \\\"X\\\",\\n \\\"Y\\\"\\n ]\\n}\"\n }\n ],\n \"m_PreviewExpanded\": true,\n \"m_Value\": {\n \"x\": 0.0,\n \"y\": 0.0\n }\n}" 55 | }, 56 | { 57 | "typeInfo": { 58 | "fullName": "UnityEditor.ShaderGraph.Texture2DPropertiesNode" 59 | }, 60 | "JSONnodeData": "{\n \"m_GuidSerialized\": \"b514f7b8-6660-459e-ae59-0bd37c0b108f\",\n \"m_Name\": \"Texel Size\",\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -1205.114990234375,\n \"y\": 262.6550598144531,\n \"width\": 173.0,\n \"height\": 101.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Width\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Width\\\",\\n \\\"m_StageCapability\\\": 2,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Height\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Height\\\",\\n \\\"m_StageCapability\\\": 2,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Texture2DInputMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Texture\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Texture\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Texture\\\": {\\n \\\"m_SerializedTexture\\\": \\\"\\\",\\n \\\"m_Guid\\\": \\\"\\\"\\n },\\n \\\"m_DefaultType\\\": 0\\n}\"\n }\n ],\n \"m_PreviewExpanded\": true\n}" 61 | }, 62 | { 63 | "typeInfo": { 64 | "fullName": "UnityEditor.ShaderGraph.ReciprocalNode" 65 | }, 66 | "JSONnodeData": "{\n \"m_GuidSerialized\": \"0a43645c-0e12-4da9-b6c2-c4925000c29f\",\n \"m_Name\": \"Reciprocal\",\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -828.5678100585938,\n \"y\": 259.94757080078127,\n \"width\": 206.0,\n \"height\": 127.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"In\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"In\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 1.0,\\n \\\"y\\\": 1.0,\\n \\\"z\\\": 1.0,\\n \\\"w\\\": 1.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Out\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n }\n ],\n \"m_PreviewExpanded\": false,\n \"m_ReciprocalMethod\": 0\n}" 67 | }, 68 | { 69 | "typeInfo": { 70 | "fullName": "NodeSigma.Nodes.Editor.DepthNormalsTextureNode" 71 | }, 72 | "JSONnodeData": "{\n \"m_GuidSerialized\": \"ca2df633-f12a-463f-a821-367f9c0dcabb\",\n \"m_Name\": \"Depth Normals Texture\",\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -1432.9869384765625,\n \"y\": 272.1578674316406,\n \"width\": 167.0,\n \"height\": 94.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Texture2DMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Out\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3\\n}\"\n }\n ],\n \"m_PreviewExpanded\": true,\n \"previewInputTexture\": \"\"\n}" 73 | }, 74 | { 75 | "typeInfo": { 76 | "fullName": "UnityEditor.ShaderGraph.PropertyNode" 77 | }, 78 | "JSONnodeData": "{\n \"m_GuidSerialized\": \"f742d57c-0568-4f8c-b64d-dfbe3193970d\",\n \"m_Name\": \"Property\",\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -712.669189453125,\n \"y\": 396.94110107421877,\n \"width\": 131.0,\n \"height\": 77.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"SampleDistance\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n }\n ],\n \"m_PreviewExpanded\": true,\n \"m_PropertyGuidSerialized\": \"00fb204c-7455-4a70-a25e-cea9eb95cc53\"\n}" 79 | }, 80 | { 81 | "typeInfo": { 82 | "fullName": "NodeSigma.Nodes.Editor.DepthNormalsTextureNode" 83 | }, 84 | "JSONnodeData": "{\n \"m_GuidSerialized\": \"71bbe248-983d-4e72-b265-9843dd495ca8\",\n \"m_Name\": \"Depth Normals Texture\",\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -806.3482666015625,\n \"y\": -0.12756532430648805,\n \"width\": 167.0,\n \"height\": 77.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Texture2DMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Out\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3\\n}\"\n }\n ],\n \"m_PreviewExpanded\": true,\n \"previewInputTexture\": \"\"\n}" 85 | }, 86 | { 87 | "typeInfo": { 88 | "fullName": "UnityEditor.ShaderGraph.PropertyNode" 89 | }, 90 | "JSONnodeData": "{\n \"m_GuidSerialized\": \"88bf8c80-8257-4842-9c78-8e8effa23025\",\n \"m_Name\": \"Property\",\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -683.1416015625,\n \"y\": 484.5361022949219,\n \"width\": 91.0,\n \"height\": 77.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Falloff\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n }\n ],\n \"m_PreviewExpanded\": true,\n \"m_PropertyGuidSerialized\": \"0fe76de8-4af8-44e2-92e1-f994993d8113\"\n}" 91 | }, 92 | { 93 | "typeInfo": { 94 | "fullName": "UnityEditor.ShaderGraph.PropertyNode" 95 | }, 96 | "JSONnodeData": "{\n \"m_GuidSerialized\": \"0085cc9b-bab3-4628-936e-b691ce522bf6\",\n \"m_Name\": \"Property\",\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -709.7215576171875,\n \"y\": 559.568603515625,\n \"width\": 146.0,\n \"height\": 77.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Sensitivity Normals\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n }\n ],\n \"m_PreviewExpanded\": true,\n \"m_PropertyGuidSerialized\": \"c34d67c6-6c2a-439f-bf99-7951b79bc5fe\"\n}" 97 | }, 98 | { 99 | "typeInfo": { 100 | "fullName": "UnityEditor.ShaderGraph.PropertyNode" 101 | }, 102 | "JSONnodeData": "{\n \"m_GuidSerialized\": \"4e035fdd-e982-49d8-b9bf-6ac606ce835b\",\n \"m_Name\": \"Property\",\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -705.6240234375,\n \"y\": 645.0210571289063,\n \"width\": 135.0,\n \"height\": 77.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Sensitivity Depth\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n }\n ],\n \"m_PreviewExpanded\": true,\n \"m_PropertyGuidSerialized\": \"101b7847-a2fd-4692-8059-6a391c713467\"\n}" 103 | } 104 | ], 105 | "m_SerializableEdges": [ 106 | { 107 | "typeInfo": { 108 | "fullName": "UnityEditor.Graphing.Edge" 109 | }, 110 | "JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 9,\n \"m_NodeGUIDSerialized\": \"61633edb-5834-432d-96de-c7b93be1f183\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"38a8f5ce-b776-4b33-855b-0e7f20fcaed0\"\n }\n}" 111 | }, 112 | { 113 | "typeInfo": { 114 | "fullName": "UnityEditor.Graphing.Edge" 115 | }, 116 | "JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"221dadf6-3ca9-461a-a0fe-b1b7f96aa1a8\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 3,\n \"m_NodeGUIDSerialized\": \"61633edb-5834-432d-96de-c7b93be1f183\"\n }\n}" 117 | }, 118 | { 119 | "typeInfo": { 120 | "fullName": "UnityEditor.Graphing.Edge" 121 | }, 122 | "JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"b514f7b8-6660-459e-ae59-0bd37c0b108f\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"d4c1aa72-a510-439d-a45e-df16bffb1b8c\"\n }\n}" 123 | }, 124 | { 125 | "typeInfo": { 126 | "fullName": "UnityEditor.Graphing.Edge" 127 | }, 128 | "JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 2,\n \"m_NodeGUIDSerialized\": \"b514f7b8-6660-459e-ae59-0bd37c0b108f\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 2,\n \"m_NodeGUIDSerialized\": \"d4c1aa72-a510-439d-a45e-df16bffb1b8c\"\n }\n}" 129 | }, 130 | { 131 | "typeInfo": { 132 | "fullName": "UnityEditor.Graphing.Edge" 133 | }, 134 | "JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"d4c1aa72-a510-439d-a45e-df16bffb1b8c\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"0a43645c-0e12-4da9-b6c2-c4925000c29f\"\n }\n}" 135 | }, 136 | { 137 | "typeInfo": { 138 | "fullName": "UnityEditor.Graphing.Edge" 139 | }, 140 | "JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"ca2df633-f12a-463f-a821-367f9c0dcabb\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"b514f7b8-6660-459e-ae59-0bd37c0b108f\"\n }\n}" 141 | }, 142 | { 143 | "typeInfo": { 144 | "fullName": "UnityEditor.Graphing.Edge" 145 | }, 146 | "JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"f742d57c-0568-4f8c-b64d-dfbe3193970d\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 5,\n \"m_NodeGUIDSerialized\": \"61633edb-5834-432d-96de-c7b93be1f183\"\n }\n}" 147 | }, 148 | { 149 | "typeInfo": { 150 | "fullName": "UnityEditor.Graphing.Edge" 151 | }, 152 | "JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"88bf8c80-8257-4842-9c78-8e8effa23025\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 6,\n \"m_NodeGUIDSerialized\": \"61633edb-5834-432d-96de-c7b93be1f183\"\n }\n}" 153 | }, 154 | { 155 | "typeInfo": { 156 | "fullName": "UnityEditor.Graphing.Edge" 157 | }, 158 | "JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"0085cc9b-bab3-4628-936e-b691ce522bf6\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 7,\n \"m_NodeGUIDSerialized\": \"61633edb-5834-432d-96de-c7b93be1f183\"\n }\n}" 159 | }, 160 | { 161 | "typeInfo": { 162 | "fullName": "UnityEditor.Graphing.Edge" 163 | }, 164 | "JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"4e035fdd-e982-49d8-b9bf-6ac606ce835b\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 8,\n \"m_NodeGUIDSerialized\": \"61633edb-5834-432d-96de-c7b93be1f183\"\n }\n}" 165 | }, 166 | { 167 | "typeInfo": { 168 | "fullName": "UnityEditor.Graphing.Edge" 169 | }, 170 | "JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"71bbe248-983d-4e72-b265-9843dd495ca8\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 2,\n \"m_NodeGUIDSerialized\": \"61633edb-5834-432d-96de-c7b93be1f183\"\n }\n}" 171 | }, 172 | { 173 | "typeInfo": { 174 | "fullName": "UnityEditor.Graphing.Edge" 175 | }, 176 | "JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"0a43645c-0e12-4da9-b6c2-c4925000c29f\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 4,\n \"m_NodeGUIDSerialized\": \"61633edb-5834-432d-96de-c7b93be1f183\"\n }\n}" 177 | } 178 | ], 179 | "m_PreviewData": { 180 | "serializedMesh": { 181 | "m_SerializedMesh": "", 182 | "m_Guid": "" 183 | } 184 | }, 185 | "m_Path": "Shader Graphs" 186 | } -------------------------------------------------------------------------------- /Assets/Samples/Materials/Edge.shadergraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4fcd73dd8c64a5345a192c1cb527c0bb 3 | ScriptedImporter: 4 | fileIDToRecycleName: 5 | 4800000: MainAsset 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Assets/Samples/SRP.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4aefb89c444b3d246965aa0ab0c490c3 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Samples/SRP/LightweightRenderPipelineAsset.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: bf2edee5c58d82540a51f03df9d42094, type: 3} 13 | m_Name: LightweightRenderPipelineAsset 14 | m_EditorClassIdentifier: 15 | k_AssetVersion: 4 16 | m_RequireDepthTexture: 0 17 | m_RequireOpaqueTexture: 0 18 | m_OpaqueDownsampling: 1 19 | m_SupportsHDR: 0 20 | m_MSAA: 4 21 | m_RenderScale: 1 22 | m_MainLightRenderingMode: 1 23 | m_MainLightShadowsSupported: 1 24 | m_MainLightShadowmapResolution: 2048 25 | m_AdditionalLightsRenderingMode: 1 26 | m_AdditionalLightsPerObjectLimit: 4 27 | m_AdditionalLightShadowsSupported: 0 28 | m_AdditionalLightsShadowmapResolution: 512 29 | m_ShadowDistance: 50 30 | m_ShadowCascades: 2 31 | m_Cascade2Split: 0.25 32 | m_Cascade4Split: {x: 0.067, y: 0.2, z: 0.467} 33 | m_ShadowDepthBias: 1 34 | m_ShadowNormalBias: 1 35 | m_SoftShadowsSupported: 0 36 | m_SupportsDynamicBatching: 1 37 | m_MixedLightingSupported: 1 38 | m_ShadowType: 1 39 | m_LocalShadowsSupported: 0 40 | m_LocalShadowsAtlasResolution: 256 41 | m_MaxPixelLights: 0 42 | m_ShadowAtlasResolution: 256 43 | m_ResourcesAsset: {fileID: 11400000, guid: aac5a08c32552a14c89394b703f1978a, type: 2} 44 | m_ShaderVariantLogLevel: 0 45 | -------------------------------------------------------------------------------- /Assets/Samples/SRP/LightweightRenderPipelineAsset.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b0c207f6eb4878a429668007fbc258e3 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Samples/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 04a00976a5a42dc49843160f7052b304 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Samples/Scenes/SimpleEdgeDetection.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 170076734} 41 | m_IndirectSpecularColor: {r: 0.18028334, g: 0.2257134, b: 0.30692226, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 11 47 | m_GIWorkflowMode: 0 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 1 55 | m_EnableRealtimeLightmaps: 0 56 | m_LightmapEditorSettings: 57 | serializedVersion: 10 58 | m_Resolution: 2 59 | m_BakeResolution: 10 60 | m_AtlasSize: 512 61 | m_AO: 0 62 | m_AOMaxDistance: 1 63 | m_CompAOExponent: 1 64 | m_CompAOExponentDirect: 0 65 | m_Padding: 2 66 | m_LightmapParameters: {fileID: 0} 67 | m_LightmapsBakeMode: 1 68 | m_TextureCompression: 1 69 | m_FinalGather: 0 70 | m_FinalGatherFiltering: 1 71 | m_FinalGatherRayCount: 256 72 | m_ReflectionCompression: 2 73 | m_MixedBakeMode: 2 74 | m_BakeBackend: 1 75 | m_PVRSampling: 1 76 | m_PVRDirectSampleCount: 32 77 | m_PVRSampleCount: 256 78 | m_PVRBounces: 2 79 | m_PVRFilterTypeDirect: 0 80 | m_PVRFilterTypeIndirect: 0 81 | m_PVRFilterTypeAO: 0 82 | m_PVRFilteringMode: 1 83 | m_PVRCulling: 1 84 | m_PVRFilteringGaussRadiusDirect: 1 85 | m_PVRFilteringGaussRadiusIndirect: 5 86 | m_PVRFilteringGaussRadiusAO: 2 87 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 88 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 89 | m_PVRFilteringAtrousPositionSigmaAO: 1 90 | m_ShowResolutionOverlay: 1 91 | m_LightingDataAsset: {fileID: 0} 92 | m_UseShadowmask: 1 93 | --- !u!196 &4 94 | NavMeshSettings: 95 | serializedVersion: 2 96 | m_ObjectHideFlags: 0 97 | m_BuildSettings: 98 | serializedVersion: 2 99 | agentTypeID: 0 100 | agentRadius: 0.5 101 | agentHeight: 2 102 | agentSlope: 45 103 | agentClimb: 0.4 104 | ledgeDropHeight: 0 105 | maxJumpAcrossDistance: 0 106 | minRegionArea: 2 107 | manualCellSize: 0 108 | cellSize: 0.16666667 109 | manualTileSize: 0 110 | tileSize: 256 111 | accuratePlacement: 0 112 | debug: 113 | m_Flags: 0 114 | m_NavMeshData: {fileID: 0} 115 | --- !u!1 &170076733 116 | GameObject: 117 | m_ObjectHideFlags: 0 118 | m_CorrespondingSourceObject: {fileID: 0} 119 | m_PrefabInstance: {fileID: 0} 120 | m_PrefabAsset: {fileID: 0} 121 | serializedVersion: 6 122 | m_Component: 123 | - component: {fileID: 170076735} 124 | - component: {fileID: 170076734} 125 | m_Layer: 0 126 | m_Name: Directional Light 127 | m_TagString: Untagged 128 | m_Icon: {fileID: 0} 129 | m_NavMeshLayer: 0 130 | m_StaticEditorFlags: 0 131 | m_IsActive: 1 132 | --- !u!108 &170076734 133 | Light: 134 | m_ObjectHideFlags: 0 135 | m_CorrespondingSourceObject: {fileID: 0} 136 | m_PrefabInstance: {fileID: 0} 137 | m_PrefabAsset: {fileID: 0} 138 | m_GameObject: {fileID: 170076733} 139 | m_Enabled: 1 140 | serializedVersion: 8 141 | m_Type: 1 142 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 143 | m_Intensity: 1 144 | m_Range: 10 145 | m_SpotAngle: 30 146 | m_CookieSize: 10 147 | m_Shadows: 148 | m_Type: 2 149 | m_Resolution: -1 150 | m_CustomResolution: -1 151 | m_Strength: 1 152 | m_Bias: 0.05 153 | m_NormalBias: 0.4 154 | m_NearPlane: 0.2 155 | m_Cookie: {fileID: 0} 156 | m_DrawHalo: 0 157 | m_Flare: {fileID: 0} 158 | m_RenderMode: 0 159 | m_CullingMask: 160 | serializedVersion: 2 161 | m_Bits: 4294967295 162 | m_Lightmapping: 1 163 | m_LightShadowCasterMode: 0 164 | m_AreaSize: {x: 1, y: 1} 165 | m_BounceIntensity: 1 166 | m_ColorTemperature: 6570 167 | m_UseColorTemperature: 0 168 | m_ShadowRadius: 0 169 | m_ShadowAngle: 0 170 | --- !u!4 &170076735 171 | Transform: 172 | m_ObjectHideFlags: 0 173 | m_CorrespondingSourceObject: {fileID: 0} 174 | m_PrefabInstance: {fileID: 0} 175 | m_PrefabAsset: {fileID: 0} 176 | m_GameObject: {fileID: 170076733} 177 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 178 | m_LocalPosition: {x: 0, y: 3, z: 0} 179 | m_LocalScale: {x: 1, y: 1, z: 1} 180 | m_Children: [] 181 | m_Father: {fileID: 0} 182 | m_RootOrder: 1 183 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 184 | --- !u!1 &534669902 185 | GameObject: 186 | m_ObjectHideFlags: 0 187 | m_CorrespondingSourceObject: {fileID: 0} 188 | m_PrefabInstance: {fileID: 0} 189 | m_PrefabAsset: {fileID: 0} 190 | serializedVersion: 6 191 | m_Component: 192 | - component: {fileID: 534669905} 193 | - component: {fileID: 534669904} 194 | - component: {fileID: 534669903} 195 | - component: {fileID: 534669906} 196 | m_Layer: 0 197 | m_Name: Main Camera 198 | m_TagString: MainCamera 199 | m_Icon: {fileID: 0} 200 | m_NavMeshLayer: 0 201 | m_StaticEditorFlags: 0 202 | m_IsActive: 1 203 | --- !u!81 &534669903 204 | AudioListener: 205 | m_ObjectHideFlags: 0 206 | m_CorrespondingSourceObject: {fileID: 0} 207 | m_PrefabInstance: {fileID: 0} 208 | m_PrefabAsset: {fileID: 0} 209 | m_GameObject: {fileID: 534669902} 210 | m_Enabled: 1 211 | --- !u!20 &534669904 212 | Camera: 213 | m_ObjectHideFlags: 0 214 | m_CorrespondingSourceObject: {fileID: 0} 215 | m_PrefabInstance: {fileID: 0} 216 | m_PrefabAsset: {fileID: 0} 217 | m_GameObject: {fileID: 534669902} 218 | m_Enabled: 1 219 | serializedVersion: 2 220 | m_ClearFlags: 1 221 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 222 | m_projectionMatrixMode: 1 223 | m_SensorSize: {x: 36, y: 24} 224 | m_LensShift: {x: 0, y: 0} 225 | m_GateFitMode: 2 226 | m_FocalLength: 50 227 | m_NormalizedViewPortRect: 228 | serializedVersion: 2 229 | x: 0 230 | y: 0 231 | width: 1 232 | height: 1 233 | near clip plane: 0.3 234 | far clip plane: 1000 235 | field of view: 60 236 | orthographic: 0 237 | orthographic size: 5 238 | m_Depth: -1 239 | m_CullingMask: 240 | serializedVersion: 2 241 | m_Bits: 4294967295 242 | m_RenderingPath: -1 243 | m_TargetTexture: {fileID: 0} 244 | m_TargetDisplay: 0 245 | m_TargetEye: 3 246 | m_HDR: 1 247 | m_AllowMSAA: 1 248 | m_AllowDynamicResolution: 0 249 | m_ForceIntoRT: 0 250 | m_OcclusionCulling: 1 251 | m_StereoConvergence: 10 252 | m_StereoSeparation: 0.022 253 | --- !u!4 &534669905 254 | Transform: 255 | m_ObjectHideFlags: 0 256 | m_CorrespondingSourceObject: {fileID: 0} 257 | m_PrefabInstance: {fileID: 0} 258 | m_PrefabAsset: {fileID: 0} 259 | m_GameObject: {fileID: 534669902} 260 | m_LocalRotation: {x: -0.083107196, y: 0.9109702, z: -0.2261276, w: -0.33480257} 261 | m_LocalPosition: {x: 3.1013317, y: 3.153244, z: 0.31386137} 262 | m_LocalScale: {x: 1, y: 1, z: 1} 263 | m_Children: [] 264 | m_Father: {fileID: 0} 265 | m_RootOrder: 0 266 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 267 | --- !u!114 &534669906 268 | MonoBehaviour: 269 | m_ObjectHideFlags: 0 270 | m_CorrespondingSourceObject: {fileID: 0} 271 | m_PrefabInstance: {fileID: 0} 272 | m_PrefabAsset: {fileID: 0} 273 | m_GameObject: {fileID: 534669902} 274 | m_Enabled: 1 275 | m_EditorHideFlags: 0 276 | m_Script: {fileID: 11500000, guid: f38b87a093aa1044e84fab0ddc55be2d, type: 3} 277 | m_Name: 278 | m_EditorClassIdentifier: 279 | renderLayerMask: 280 | serializedVersion: 2 281 | m_Bits: 1 282 | --- !u!1 &1289785573 283 | GameObject: 284 | m_ObjectHideFlags: 0 285 | m_CorrespondingSourceObject: {fileID: 0} 286 | m_PrefabInstance: {fileID: 0} 287 | m_PrefabAsset: {fileID: 0} 288 | serializedVersion: 6 289 | m_Component: 290 | - component: {fileID: 1289785577} 291 | - component: {fileID: 1289785576} 292 | - component: {fileID: 1289785575} 293 | - component: {fileID: 1289785574} 294 | m_Layer: 0 295 | m_Name: Sphere 296 | m_TagString: Untagged 297 | m_Icon: {fileID: 0} 298 | m_NavMeshLayer: 0 299 | m_StaticEditorFlags: 0 300 | m_IsActive: 1 301 | --- !u!135 &1289785574 302 | SphereCollider: 303 | m_ObjectHideFlags: 0 304 | m_CorrespondingSourceObject: {fileID: 0} 305 | m_PrefabInstance: {fileID: 0} 306 | m_PrefabAsset: {fileID: 0} 307 | m_GameObject: {fileID: 1289785573} 308 | m_Material: {fileID: 0} 309 | m_IsTrigger: 0 310 | m_Enabled: 1 311 | serializedVersion: 2 312 | m_Radius: 0.5 313 | m_Center: {x: 0, y: 0, z: 0} 314 | --- !u!23 &1289785575 315 | MeshRenderer: 316 | m_ObjectHideFlags: 0 317 | m_CorrespondingSourceObject: {fileID: 0} 318 | m_PrefabInstance: {fileID: 0} 319 | m_PrefabAsset: {fileID: 0} 320 | m_GameObject: {fileID: 1289785573} 321 | m_Enabled: 1 322 | m_CastShadows: 1 323 | m_ReceiveShadows: 1 324 | m_DynamicOccludee: 1 325 | m_MotionVectors: 1 326 | m_LightProbeUsage: 1 327 | m_ReflectionProbeUsage: 1 328 | m_RenderingLayerMask: 1 329 | m_RendererPriority: 0 330 | m_Materials: 331 | - {fileID: 2100000, guid: ca6f36ae30911b548baafefb7e4dec24, type: 2} 332 | m_StaticBatchInfo: 333 | firstSubMesh: 0 334 | subMeshCount: 0 335 | m_StaticBatchRoot: {fileID: 0} 336 | m_ProbeAnchor: {fileID: 0} 337 | m_LightProbeVolumeOverride: {fileID: 0} 338 | m_ScaleInLightmap: 1 339 | m_PreserveUVs: 0 340 | m_IgnoreNormalsForChartDetection: 0 341 | m_ImportantGI: 0 342 | m_StitchLightmapSeams: 0 343 | m_SelectedEditorRenderState: 3 344 | m_MinimumChartSize: 4 345 | m_AutoUVMaxDistance: 0.5 346 | m_AutoUVMaxAngle: 89 347 | m_LightmapParameters: {fileID: 0} 348 | m_SortingLayerID: 0 349 | m_SortingLayer: 0 350 | m_SortingOrder: 0 351 | --- !u!33 &1289785576 352 | MeshFilter: 353 | m_ObjectHideFlags: 0 354 | m_CorrespondingSourceObject: {fileID: 0} 355 | m_PrefabInstance: {fileID: 0} 356 | m_PrefabAsset: {fileID: 0} 357 | m_GameObject: {fileID: 1289785573} 358 | m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} 359 | --- !u!4 &1289785577 360 | Transform: 361 | m_ObjectHideFlags: 0 362 | m_CorrespondingSourceObject: {fileID: 0} 363 | m_PrefabInstance: {fileID: 0} 364 | m_PrefabAsset: {fileID: 0} 365 | m_GameObject: {fileID: 1289785573} 366 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 367 | m_LocalPosition: {x: 0.8237095, y: 2.086, z: -1.26} 368 | m_LocalScale: {x: 1, y: 1, z: 1} 369 | m_Children: [] 370 | m_Father: {fileID: 0} 371 | m_RootOrder: 3 372 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 373 | --- !u!1 &1602722748 374 | GameObject: 375 | m_ObjectHideFlags: 0 376 | m_CorrespondingSourceObject: {fileID: 0} 377 | m_PrefabInstance: {fileID: 0} 378 | m_PrefabAsset: {fileID: 0} 379 | serializedVersion: 6 380 | m_Component: 381 | - component: {fileID: 1602722752} 382 | - component: {fileID: 1602722751} 383 | - component: {fileID: 1602722750} 384 | - component: {fileID: 1602722749} 385 | m_Layer: 0 386 | m_Name: Cube 387 | m_TagString: Untagged 388 | m_Icon: {fileID: 0} 389 | m_NavMeshLayer: 0 390 | m_StaticEditorFlags: 0 391 | m_IsActive: 1 392 | --- !u!65 &1602722749 393 | BoxCollider: 394 | m_ObjectHideFlags: 0 395 | m_CorrespondingSourceObject: {fileID: 0} 396 | m_PrefabInstance: {fileID: 0} 397 | m_PrefabAsset: {fileID: 0} 398 | m_GameObject: {fileID: 1602722748} 399 | m_Material: {fileID: 0} 400 | m_IsTrigger: 0 401 | m_Enabled: 1 402 | serializedVersion: 2 403 | m_Size: {x: 1, y: 1, z: 1} 404 | m_Center: {x: 0, y: 0, z: 0} 405 | --- !u!23 &1602722750 406 | MeshRenderer: 407 | m_ObjectHideFlags: 0 408 | m_CorrespondingSourceObject: {fileID: 0} 409 | m_PrefabInstance: {fileID: 0} 410 | m_PrefabAsset: {fileID: 0} 411 | m_GameObject: {fileID: 1602722748} 412 | m_Enabled: 1 413 | m_CastShadows: 1 414 | m_ReceiveShadows: 1 415 | m_DynamicOccludee: 1 416 | m_MotionVectors: 1 417 | m_LightProbeUsage: 1 418 | m_ReflectionProbeUsage: 1 419 | m_RenderingLayerMask: 1 420 | m_RendererPriority: 0 421 | m_Materials: 422 | - {fileID: 2100000, guid: ca6f36ae30911b548baafefb7e4dec24, type: 2} 423 | m_StaticBatchInfo: 424 | firstSubMesh: 0 425 | subMeshCount: 0 426 | m_StaticBatchRoot: {fileID: 0} 427 | m_ProbeAnchor: {fileID: 0} 428 | m_LightProbeVolumeOverride: {fileID: 0} 429 | m_ScaleInLightmap: 1 430 | m_PreserveUVs: 0 431 | m_IgnoreNormalsForChartDetection: 0 432 | m_ImportantGI: 0 433 | m_StitchLightmapSeams: 0 434 | m_SelectedEditorRenderState: 3 435 | m_MinimumChartSize: 4 436 | m_AutoUVMaxDistance: 0.5 437 | m_AutoUVMaxAngle: 89 438 | m_LightmapParameters: {fileID: 0} 439 | m_SortingLayerID: 0 440 | m_SortingLayer: 0 441 | m_SortingOrder: 0 442 | --- !u!33 &1602722751 443 | MeshFilter: 444 | m_ObjectHideFlags: 0 445 | m_CorrespondingSourceObject: {fileID: 0} 446 | m_PrefabInstance: {fileID: 0} 447 | m_PrefabAsset: {fileID: 0} 448 | m_GameObject: {fileID: 1602722748} 449 | m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} 450 | --- !u!4 &1602722752 451 | Transform: 452 | m_ObjectHideFlags: 0 453 | m_CorrespondingSourceObject: {fileID: 0} 454 | m_PrefabInstance: {fileID: 0} 455 | m_PrefabAsset: {fileID: 0} 456 | m_GameObject: {fileID: 1602722748} 457 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 458 | m_LocalPosition: {x: -0.21, y: 1.36, z: -3.244318} 459 | m_LocalScale: {x: 1, y: 1, z: 1} 460 | m_Children: [] 461 | m_Father: {fileID: 0} 462 | m_RootOrder: 2 463 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 464 | -------------------------------------------------------------------------------- /Assets/Samples/Scenes/SimpleEdgeDetection.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e6abb90b0a5bbdc4b815614063c362a2 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /BUILD_UPM.md: -------------------------------------------------------------------------------- 1 | 2 | This document describe how to update upm: 3 | 4 | ``` 5 | git subtree split --branch upm --prefix Packages/com.github.edwin0cheng.nodesigma/ 6 | ``` -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8eb85e3e6e0a1f94eb11d8118a70a00b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Editor/NodeSigma.Editor.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "NodeSigma.Editor", 3 | "references": [ 4 | "Unity.ShaderGraph.Editor", 5 | "NodeSigma.Runtime" 6 | ], 7 | "optionalUnityReferences": [], 8 | "includePlatforms": [], 9 | "excludePlatforms": [], 10 | "allowUnsafeCode": false, 11 | "overrideReferences": false, 12 | "precompiledReferences": [], 13 | "autoReferenced": true, 14 | "defineConstraints": [] 15 | } -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Editor/NodeSigma.Editor.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 248a0722bc5db354291d8c63056a69ec 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Editor/Nodes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d2323e3e4acdc754b82b7913112d440d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Editor/Nodes/CustomTextureNode.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEditor.Graphing; 5 | using UnityEditor.ShaderGraph; 6 | 7 | namespace NodeSigma.Nodes.Editor 8 | { 9 | public abstract class CustomTextureNode : AbstractMaterialNode 10 | { 11 | public const int OutputSlotId = 0; 12 | 13 | const string kOutputSlotName = "Out"; 14 | 15 | private string inputTexture; 16 | public string previewInputTexture; 17 | 18 | public CustomTextureNode(string inputTexture, string previewInputTexture = null) 19 | { 20 | this.inputTexture = inputTexture; 21 | this.previewInputTexture = previewInputTexture; 22 | UpdateNodeAfterDeserialization(); 23 | } 24 | 25 | public sealed override void UpdateNodeAfterDeserialization() 26 | { 27 | AddSlot(new Texture2DMaterialSlot(OutputSlotId, kOutputSlotName, kOutputSlotName, SlotType.Output)); 28 | RemoveSlotsNameNotMatching(new[] {OutputSlotId}); 29 | } 30 | 31 | public override string GetVariableNameForSlot(int slotId) 32 | { 33 | if (slotId == OutputSlotId) 34 | return inputTexture; 35 | 36 | return base.GetVariableNameForSlot(slotId); 37 | } 38 | 39 | public override void CollectShaderProperties(PropertyCollector properties, GenerationMode generationMode) 40 | { 41 | base.CollectShaderProperties(properties, generationMode); 42 | properties.AddShaderProperty(new TextureShaderProperty() 43 | { 44 | displayName = "Main Texture", 45 | overrideReferenceName = inputTexture, 46 | generatePropertyBlock = false 47 | }); 48 | 49 | if (generationMode.IsPreview() && !string.IsNullOrEmpty(previewInputTexture)) 50 | { 51 | properties.AddShaderProperty(new TextureShaderProperty() 52 | { 53 | displayName = "Preview Texture", 54 | overrideReferenceName = previewInputTexture, 55 | generatePropertyBlock = false 56 | }); 57 | } 58 | } 59 | 60 | public override void CollectPreviewMaterialProperties(List properties) 61 | { 62 | base.CollectPreviewMaterialProperties(properties); 63 | properties.Add(new PreviewProperty(PropertyType.Texture2D) 64 | { 65 | name = inputTexture, 66 | textureValue = Shader.GetGlobalTexture(previewInputTexture) 67 | }); 68 | } 69 | } 70 | } -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Editor/Nodes/CustomTextureNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 96bef97460fa5ef4d9f9593d59443b62 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Editor/Nodes/DepthNormalsTextureNode.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using UnityEngine; 5 | using UnityEditor.ShaderGraph; 6 | using UnityEditor.ShaderGraph.Drawing.Controls; 7 | using UnityEngine.Experimental.UIElements; 8 | using UnityEngine.Experimental.UIElements.StyleSheets; 9 | using System.Reflection; 10 | 11 | 12 | namespace NodeSigma.Nodes.Editor 13 | { 14 | public class DepthNormalsTextureControlAttribute : Attribute, IControlAttribute 15 | { 16 | public VisualElement InstantiateControl(AbstractMaterialNode node, PropertyInfo propertyInfo) 17 | { 18 | if (!(node is DepthNormalsTextureNode)) 19 | throw new ArgumentException("Node must inherit from DepthNormalsTextureNode.", "node"); 20 | return new DepthNormalsTextureControlView((DepthNormalsTextureNode)node); 21 | } 22 | } 23 | 24 | public class DepthNormalsTextureControlView : VisualElement 25 | { 26 | DepthNormalsTextureNode m_Node; 27 | 28 | void UpdateError(string err) 29 | { 30 | TextElement textEle = this.Children().FirstOrDefault( e => e.name == "ErrorText") as TextElement; 31 | 32 | if(err != null) 33 | { 34 | if(textEle == null) 35 | { 36 | textEle = new TextElement() { name = "ErrorText"}; 37 | Add(textEle); 38 | } 39 | 40 | textEle.text = err; 41 | } 42 | else if(textEle != null) 43 | { 44 | Remove(textEle); 45 | } 46 | } 47 | 48 | public DepthNormalsTextureControlView(DepthNormalsTextureNode node) 49 | { 50 | m_Node = node; 51 | AddStyleSheetPath("Styles/Controls/DepthNormalsTextureControlView"); 52 | 53 | m_Node.OnError = UpdateError; 54 | 55 | // Force Update the Error as Validate() may call before this view creation. 56 | UpdateError(m_Node.errorString); 57 | } 58 | } 59 | 60 | 61 | [Title("NodeSigma", "Input", "Depth Normals Texture")] 62 | public class DepthNormalsTextureNode : CustomTextureNode 63 | { 64 | [DepthNormalsTextureControl] 65 | int controlDummy { get; set; } 66 | 67 | [NonSerialized] 68 | internal Action OnError; 69 | 70 | internal string errorString; 71 | 72 | public DepthNormalsTextureNode() : base("_CameraDepthNormalsTexture") 73 | { 74 | name = "Depth Normals Texture"; 75 | } 76 | 77 | public override void ValidateNode() 78 | { 79 | bool foundTexture = Shader.GetGlobalTexture("_CameraDepthNormalsTexture") != null; 80 | errorString = foundTexture ? null : "Error: No Depth Normals Texture was found!"; 81 | 82 | if(OnError != null) 83 | OnError(errorString); 84 | 85 | base.ValidateNode(); 86 | } 87 | } 88 | } -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Editor/Nodes/DepthNormalsTextureNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 980efc98ec835c44ebd551ff8d65356d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Editor/Nodes/EdgeDetection.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using UnityEngine; 3 | using UnityEditor.ShaderGraph; 4 | using UnityEditor.ShaderGraph.Drawing.Controls; 5 | using UnityEditor.Graphing; 6 | 7 | using NodeSigma.RenderPass.Runtime; 8 | 9 | namespace NodeSigma.Nodes.Editor 10 | { 11 | [Title("NodeSigma", "Effect", "Edge Detection")] 12 | public class EdgeDetectionNode : CodeFunctionNode 13 | { 14 | public EdgeDetectionNode() 15 | { 16 | name = "Edge Detection"; 17 | } 18 | 19 | [SerializeField] 20 | private DepthNormalsRenderPass m_GameObject; 21 | 22 | // public override string documentationURL 23 | // { 24 | // get { return "https://github.com/Unity-Technologies/ShaderGraph/wiki/Gradient-Noise-Node"; } 25 | // } 26 | 27 | protected override MethodInfo GetFunctionToConvert() 28 | { 29 | return GetType().GetMethod("NodeSigma_EdgeDetection", BindingFlags.Static | BindingFlags.NonPublic); 30 | } 31 | 32 | static string NodeSigma_EdgeDetection( 33 | [Slot(0, Binding.ScreenPosition)] Vector4 ScreenPos, 34 | [Slot(1, Binding.None)] ColorRGBA Color, 35 | [Slot(2, Binding.None)] Texture2D DepthTexture, 36 | [Slot(3, Binding.None)] SamplerState DepthTextureState, 37 | [Slot(4, Binding.None)] Vector2 DepthTextureTexel, 38 | [Slot(5, Binding.None, 2.0f, 0, 0, 0)] Vector1 SampleDistance, 39 | [Slot(6, Binding.None, 10.0f, 0, 0, 0)] Vector1 Falloff, 40 | [Slot(7, Binding.None, 0.82f, 0, 0, 0)] Vector1 SensitivityNormals, 41 | [Slot(8, Binding.None, 3.75f, 0, 0, 0)] Vector1 SensitivityDepth, 42 | [Slot(9, Binding.None)] out Vector4 Out) 43 | { 44 | Out = Vector4.zero; 45 | 46 | 47 | return @" 48 | { 49 | Out = {precision}4(nodesigma_edgecolor(ScreenPos, Color, DepthTexture, DepthTextureState, DepthTextureTexel, SampleDistance, Falloff, SensitivityNormals, SensitivityDepth)); 50 | } 51 | "; 52 | } 53 | 54 | public override void GenerateNodeFunction(FunctionRegistry registry, GraphContext graphContext, GenerationMode generationMode) 55 | { 56 | registry.ProvideFunction("ns_DecodeFloatRG", s => s.Append(@" 57 | float ns_DecodeFloatRG( float2 enc ) 58 | { 59 | float2 kDecodeDot = float2(1.0, 1/255.0); 60 | return dot( enc, kDecodeDot ); 61 | } 62 | ")); 63 | 64 | registry.ProvideFunction("nodesigma_CheckSame", s => s.Append(@" 65 | float nodesigma_CheckSame(float2 centerNormal, float centerDepth, float4 theSample, 66 | float sensitivityNormals, float sensitivityDepth) 67 | { 68 | // differene in normals 69 | // do not bother decoding normals - there's no need here 70 | float2 diff = abs(centerNormal - theSample.xy) * sensitivityNormals; 71 | int isSameNormal = (diff.x + diff.y) < 0.1; 72 | 73 | // differenece in depth 74 | float sampleDepth = ns_DecodeFloatRG(theSample.zw); 75 | float zdiff = abs(centerDepth - sampleDepth); 76 | // scale the requireed threshold by the distance 77 | int isSameDepth = zdiff * sensitivityDepth < 0.99 * centerDepth; 78 | 79 | // return: 80 | // 1 - if normals and depth are similar enough 81 | // 0 - otherwise 82 | 83 | return (isSameNormal * isSameDepth) ? 1.0 : 0.0; 84 | 85 | } 86 | ")); 87 | 88 | registry.ProvideFunction("nodesigma_edgecolor", s => s.Append(@" 89 | float4 nodesigma_edgecolor(float4 screenPos, float4 color, Texture2D depthTex, 90 | SamplerState depthTexState, float2 depthTexelSize, 91 | float sampleDistance, float falloff, float sensitivityNormals, float sensitivityDepth) 92 | { 93 | float sampleSizeX = depthTexelSize.x; 94 | float sampleSizeY = depthTexelSize.y; 95 | float2 screenUV = screenPos.xy; 96 | 97 | float2 _uv2 = screenUV + float2(-sampleSizeX, +sampleSizeY) * sampleDistance; 98 | float2 _uv3 = screenUV + float2(+sampleSizeX, -sampleSizeY) * sampleDistance; 99 | float2 _uv4 = screenUV + float2( sampleSizeX, sampleSizeY) * sampleDistance; 100 | float2 _uv5 = screenUV + float2(-sampleSizeX, -sampleSizeY) * sampleDistance; 101 | 102 | float4 center = SAMPLE_TEXTURE2D(depthTex, depthTexState, screenUV); 103 | float4 sample1 = SAMPLE_TEXTURE2D(depthTex, depthTexState, _uv2); 104 | float4 sample2 = SAMPLE_TEXTURE2D(depthTex, depthTexState, _uv3); 105 | float4 sample3 = SAMPLE_TEXTURE2D(depthTex, depthTexState, _uv4); 106 | float4 sample4 = SAMPLE_TEXTURE2D(depthTex, depthTexState, _uv5); 107 | 108 | float edge = 1.0; 109 | 110 | // encode normal 111 | float2 centerNormal = center.xy; 112 | //decode depth 113 | float centerDepth = ns_DecodeFloatRG(center.zw); 114 | 115 | // // calculate how faded the edge is 116 | float d = clamp(centerDepth * falloff - 0.05, 0.0, 1.0); 117 | float4 depthFade = float4(d, d, d, 1.0); 118 | 119 | // is it an edge? 0 if yes, 1 if no 120 | edge *= nodesigma_CheckSame(centerNormal, centerDepth, sample1, sensitivityNormals, sensitivityDepth); 121 | edge *= nodesigma_CheckSame(centerNormal, centerDepth, sample2, sensitivityNormals, sensitivityDepth); 122 | edge *= nodesigma_CheckSame(centerNormal, centerDepth, sample3, sensitivityNormals, sensitivityDepth); 123 | edge *= nodesigma_CheckSame(centerNormal, centerDepth, sample4, sensitivityNormals, sensitivityDepth); 124 | 125 | return edge * color + (1.0 - edge) * (depthFade * color); 126 | } 127 | ")); 128 | 129 | 130 | 131 | base.GenerateNodeFunction(registry, graphContext, generationMode); 132 | } 133 | } 134 | } -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Editor/Nodes/EdgeDetection.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a5da7d6ead4b38840b6e2fb4ac4e184f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Editor/RenderPass.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 071be97ebe2374f4a85f7d621da6f253 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Editor/RenderPass/DepthNormalsRenderPassEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | using UnityEngine; 3 | using UnityEngine.Experimental.Rendering; 4 | 5 | using NodeSigma.RenderPass.Runtime; 6 | 7 | namespace NodeSigma.RenderPass.Editor 8 | { 9 | 10 | [InitializeOnLoad] 11 | [CustomEditor(typeof(DepthNormalsRenderPass))] 12 | public class DephtNormalsRenderPassEditor : UnityEditor.Editor 13 | { 14 | 15 | private static readonly string[] _dontIncludeMe = new string[]{"m_Script"}; 16 | 17 | static DephtNormalsRenderPassEditor() 18 | { 19 | RenderPipeline.beginFrameRendering -= RegisterRenderPass; 20 | RenderPipeline.beginFrameRendering += RegisterRenderPass; 21 | } 22 | 23 | void OnEnable() 24 | { 25 | RenderPipeline.beginFrameRendering -= RegisterRenderPass; 26 | RenderPipeline.beginFrameRendering += RegisterRenderPass; 27 | } 28 | 29 | void OnDisable() 30 | { 31 | RenderPipeline.beginFrameRendering -= RegisterRenderPass; 32 | } 33 | 34 | public override void OnInspectorGUI() 35 | { 36 | serializedObject.Update(); 37 | DrawPropertiesExcluding(serializedObject, _dontIncludeMe); 38 | serializedObject.ApplyModifiedProperties(); 39 | } 40 | static DepthNormalsRenderPass GetMainCameraPass() 41 | { 42 | var go = GameObject.FindGameObjectWithTag("MainCamera"); 43 | 44 | if(go == null) return null; 45 | return go.GetComponent(); 46 | } 47 | 48 | static void UnregisterRenderPass(Camera[] cameras) 49 | { 50 | foreach (var c in cameras) 51 | { 52 | var pass = c.GetComponent(); 53 | if(pass && pass.IsEditorOnly) 54 | { 55 | DestroyImmediate(pass); 56 | } 57 | } 58 | } 59 | 60 | static void RegisterRenderPass(Camera[] cameras) 61 | { 62 | var pass = GetMainCameraPass(); 63 | 64 | if(pass == null || !pass.enabled) 65 | { 66 | UnregisterRenderPass(cameras); 67 | return; 68 | } 69 | 70 | foreach (var c in cameras) 71 | { 72 | var cameraPass = c.GetComponent(); 73 | if(cameraPass == null && cameraPass != pass) 74 | { 75 | // NOTE(edwin): 76 | // There is a bug that Camera.cameraType always returns 77 | // CameraType.Game even it is a SceneView camera 78 | // So we check if the camera is in the same scene as the render pass 79 | // to bypass it 80 | 81 | if( c.gameObject.scene == pass.gameObject.scene) continue; 82 | 83 | var otherPass = c.gameObject.AddComponent(); 84 | otherPass.renderLayerMask = pass.renderLayerMask; 85 | otherPass.IsEditorOnly = true; 86 | } 87 | } 88 | } 89 | } 90 | 91 | 92 | } -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Editor/RenderPass/DepthNormalsRenderPassEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b2bc3106244e2cb43907229b36f53fdf 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Editor/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8526f7a5092617f48a32cf563b6be79d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Editor/Resources/Styles.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 762b274246532da4983bb654a3b8d150 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Editor/Resources/Styles/Controls.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 44095acc16d82fe41bf1a5a350fefedc 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Editor/Resources/Styles/Controls/DepthNormalsTextureControlView.uss: -------------------------------------------------------------------------------- 1 | DepthNormalsTextureControlView { 2 | flex-direction: row; 3 | padding-left: 8; 4 | padding-right: 8; 5 | padding-top: 4; 6 | padding-bottom: 4; 7 | } 8 | 9 | DepthNormalsTextureControlView > #ErrorText { 10 | color: #FF0000; 11 | } 12 | 13 | -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Editor/Resources/Styles/Controls/DepthNormalsTextureControlView.uss.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 44fe6df5762ce2b488d576f5b3a02e13 3 | ScriptedImporter: 4 | fileIDToRecycleName: 5 | 11400000: stylesheet 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0} 11 | -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Runtime.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2f0b915e3cc1b98418e9b06cec411568 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Runtime/NodeSigma.Runtime.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "NodeSigma.Runtime", 3 | "references": [ 4 | "Unity.RenderPipelines.Lightweight.Runtime", 5 | "Unity.RenderPipelines.Core.Runtime" 6 | ], 7 | "optionalUnityReferences": [], 8 | "includePlatforms": [], 9 | "excludePlatforms": [], 10 | "allowUnsafeCode": false, 11 | "overrideReferences": false, 12 | "precompiledReferences": [], 13 | "autoReferenced": true, 14 | "defineConstraints": [] 15 | } -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Runtime/NodeSigma.Runtime.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7fe3941334bdf5c4fab3d50ab712fef0 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Runtime/RenderPass.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0612aea9cc175384eaa4c615adae3f17 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Runtime/RenderPass/DepthNormalsRenderPass.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.Rendering; 5 | using UnityEngine.Experimental.Rendering; 6 | using UnityEngine.Experimental.Rendering.LightweightPipeline; 7 | 8 | 9 | namespace NodeSigma.RenderPass.Runtime 10 | { 11 | // TODO(edwin) 12 | // In theory we should use IBeforeRender because it will works in Preview Camera 13 | // However, i tried a lot of things and it still does not work. 14 | // 15 | // On the other hand, the render pass would not work in ShaderGraph Preview 16 | // because the current implementation of ShaderGraph use `m_SceneResources.camera.Render()` directly. 17 | // (See PreviewManager::RenderPreview in SRP github) 18 | // It is in the Unity C++ side which i don't know any render pass would affect it. 19 | [ExecuteInEditMode] 20 | [AddComponentMenu("NodeSigma/Render Pass/Depth Normals Render Pass")] 21 | public class DepthNormalsRenderPass : MonoBehaviour, IAfterDepthPrePass //IBeforeRender //, 22 | { 23 | public LayerMask renderLayerMask; 24 | private DepthNormalsRenderPassImpl pass; 25 | 26 | [System.NonSerialized] 27 | public bool IsEditorOnly = false; 28 | 29 | // public ScriptableRenderPass GetPassToEnqueue(RenderTextureDescriptor baseDescriptor, RenderTargetHandle colorHandle, RenderTargetHandle depthHandle, ClearFlag clearFlag) 30 | public ScriptableRenderPass GetPassToEnqueue(RenderTextureDescriptor baseDescriptor, RenderTargetHandle depthAttachmentHandle) 31 | { 32 | if (pass == null) pass = new DepthNormalsRenderPassImpl(baseDescriptor, renderLayerMask); 33 | 34 | pass.isEnabled = this.enabled; 35 | 36 | return pass; 37 | } 38 | 39 | void OnValidate() 40 | { 41 | if(pass != null) { 42 | pass.SetLayerMask(renderLayerMask); 43 | } 44 | } 45 | 46 | void Start() 47 | { 48 | 49 | } 50 | } 51 | 52 | public class DepthNormalsRenderPassImpl : ScriptableRenderPass 53 | { 54 | private const string k_DepthNormals = "Depth Normals"; 55 | 56 | private Material m_DepthNormalsMaterial; 57 | 58 | private RenderTextureDescriptor m_baseDescriptor; 59 | private RenderTargetHandle m_PerObjectRenderTextureHandle; 60 | private FilterRenderersSettings m_PerObjectFilterSettings; 61 | 62 | internal bool isEnabled = true; 63 | 64 | public DepthNormalsRenderPassImpl(RenderTextureDescriptor baseDescriptor, LayerMask renderLayerMask) 65 | { 66 | // All shaders with this lightmode will be in this pass 67 | RegisterShaderPassName("LightweightForward"); 68 | 69 | m_baseDescriptor = new RenderTextureDescriptor(baseDescriptor.width, baseDescriptor.height, RenderTextureFormat.ARGB32, 16); 70 | 71 | // This just writes black values for anything that is rendered 72 | m_DepthNormalsMaterial = CoreUtils.CreateEngineMaterial("Hidden/Internal-DepthNormalsTexture"); 73 | 74 | // Setup a target RT handle (it just wraps the int id) 75 | m_PerObjectRenderTextureHandle = new RenderTargetHandle(); 76 | m_PerObjectRenderTextureHandle.Init(k_DepthNormals); 77 | 78 | m_PerObjectFilterSettings = new FilterRenderersSettings(true) 79 | { 80 | // Render all opaque objects 81 | renderQueueRange = RenderQueueRange.opaque, 82 | // Filter further by any renderer tagged 83 | layerMask = renderLayerMask 84 | }; 85 | } 86 | 87 | public void SetLayerMask(LayerMask mask) 88 | { 89 | m_PerObjectFilterSettings.layerMask = mask; 90 | } 91 | 92 | public override void Execute(ScriptableRenderer renderer, ScriptableRenderContext context, ref RenderingData renderingData) 93 | { 94 | if(!isEnabled) return; 95 | 96 | CommandBuffer cmd = CommandBufferPool.Get(k_DepthNormals); 97 | using (new ProfilingSample(cmd, k_DepthNormals)) 98 | { 99 | var desc = m_baseDescriptor; 100 | 101 | cmd.GetTemporaryRT(m_PerObjectRenderTextureHandle.id, desc); 102 | SetRenderTarget( 103 | cmd, 104 | m_PerObjectRenderTextureHandle.Identifier(), 105 | RenderBufferLoadAction.DontCare, 106 | RenderBufferStoreAction.DontCare, 107 | ClearFlag.All, 108 | Color.black, // Clear to white, the stencil writes black values 109 | m_baseDescriptor.dimension // Create a buffer the same size as the color buffer 110 | ); 111 | 112 | context.ExecuteCommandBuffer(cmd); 113 | cmd.Clear(); 114 | 115 | var camera = renderingData.cameraData.camera; 116 | 117 | // We want the same rendering result as the main opaque render 118 | var sortFlags = renderingData.cameraData.defaultOpaqueSortFlags; 119 | 120 | // Setup render data from camera 121 | var drawSettings = CreateDrawRendererSettings(camera, sortFlags, RendererConfiguration.None, 122 | renderingData.supportsDynamicBatching); 123 | 124 | // Everything gets drawn with the stencil shader 125 | drawSettings.SetOverrideMaterial(m_DepthNormalsMaterial, 0); 126 | 127 | context.DrawRenderers(renderingData.cullResults.visibleRenderers, ref drawSettings, m_PerObjectFilterSettings); 128 | 129 | // Set a global texture id so we can access this later on 130 | cmd.SetGlobalTexture("_CameraDepthNormalsTexture", m_PerObjectRenderTextureHandle.id); 131 | } 132 | 133 | context.ExecuteCommandBuffer(cmd); 134 | CommandBufferPool.Release(cmd); 135 | } 136 | 137 | public override void FrameCleanup(CommandBuffer cmd) 138 | { 139 | base.FrameCleanup(cmd); 140 | 141 | // When rendering is done, clean up our temp RT 142 | cmd.ReleaseTemporaryRT(m_PerObjectRenderTextureHandle.id); 143 | } 144 | } 145 | 146 | } -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/Runtime/RenderPass/DepthNormalsRenderPass.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f38b87a093aa1044e84fab0ddc55be2d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "com.github.edwin0cheng.nodesigma", 3 | "displayName": "Node Sigma", 4 | "version": "0.1.0", 5 | "unity": "2018.3", 6 | "description": "https://github.com/edwin0cheng/NodeSigma", 7 | "dependencies": { 8 | "com.unity.shadergraph": "4.9.0-preview", 9 | "com.unity.render-pipelines.lightweight": "4.9.0-preview" 10 | } 11 | } -------------------------------------------------------------------------------- /Packages/com.github.edwin0cheng.nodesigma/package.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6693eef0230a5c846a60d09128dfa278 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.package-manager-ui": "2.0.3", 4 | "com.unity.render-pipelines.core": "4.9.0-preview", 5 | "com.unity.render-pipelines.lightweight": "4.9.0-preview", 6 | "com.unity.shadergraph": "4.9.0-preview", 7 | "com.unity.textmeshpro": "1.3.0", 8 | "com.unity.modules.ai": "1.0.0", 9 | "com.unity.modules.animation": "1.0.0", 10 | "com.unity.modules.assetbundle": "1.0.0", 11 | "com.unity.modules.audio": "1.0.0", 12 | "com.unity.modules.cloth": "1.0.0", 13 | "com.unity.modules.director": "1.0.0", 14 | "com.unity.modules.imageconversion": "1.0.0", 15 | "com.unity.modules.imgui": "1.0.0", 16 | "com.unity.modules.jsonserialize": "1.0.0", 17 | "com.unity.modules.particlesystem": "1.0.0", 18 | "com.unity.modules.physics": "1.0.0", 19 | "com.unity.modules.physics2d": "1.0.0", 20 | "com.unity.modules.screencapture": "1.0.0", 21 | "com.unity.modules.terrain": "1.0.0", 22 | "com.unity.modules.terrainphysics": "1.0.0", 23 | "com.unity.modules.tilemap": "1.0.0", 24 | "com.unity.modules.ui": "1.0.0", 25 | "com.unity.modules.uielements": "1.0.0", 26 | "com.unity.modules.umbra": "1.0.0", 27 | "com.unity.modules.unityanalytics": "1.0.0", 28 | "com.unity.modules.unitywebrequest": "1.0.0", 29 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 30 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 31 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 32 | "com.unity.modules.unitywebrequestwww": "1.0.0", 33 | "com.unity.modules.vehicles": "1.0.0", 34 | "com.unity.modules.video": "1.0.0", 35 | "com.unity.modules.vr": "1.0.0", 36 | "com.unity.modules.wind": "1.0.0", 37 | "com.unity.modules.xr": "1.0.0" 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 1024 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_AmbisonicDecoderPlugin: 16 | m_DisableAudio: 0 17 | m_VirtualizeEffects: 1 18 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 8 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ContactPairsMode: 0 26 | m_BroadphaseType: 0 27 | m_WorldBounds: 28 | m_Center: {x: 0, y: 0, z: 0} 29 | m_Extent: {x: 250, y: 250, z: 250} 30 | m_WorldSubdivisions: 8 31 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: 8 | - enabled: 0 9 | path: 10 | guid: 00000000000000000000000000000000 11 | m_configObjects: {} 12 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 7 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 0 11 | m_SpritePackerMode: 0 12 | m_SpritePackerPaddingPower: 1 13 | m_EtcTextureCompressorBehavior: 1 14 | m_EtcTextureFastCompressor: 1 15 | m_EtcTextureNormalCompressor: 2 16 | m_EtcTextureBestCompressor: 4 17 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd 18 | m_ProjectGenerationRootNamespace: 19 | m_UserGeneratedProjectSuffix: 20 | m_CollabEditorSettings: 21 | inProgressEnabled: 1 22 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 12 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | - {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0} 39 | m_PreloadedShaders: [] 40 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 41 | type: 0} 42 | m_CustomRenderPipeline: {fileID: 11400000, guid: b0c207f6eb4878a429668007fbc258e3, 43 | type: 2} 44 | m_TransparencySortMode: 0 45 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 46 | m_DefaultRenderingPath: 1 47 | m_DefaultMobileRenderingPath: 1 48 | m_TierSettings: [] 49 | m_LightmapStripping: 0 50 | m_FogStripping: 0 51 | m_InstancingStripping: 0 52 | m_LightmapKeepPlain: 1 53 | m_LightmapKeepDirCombined: 1 54 | m_LightmapKeepDynamicPlain: 1 55 | m_LightmapKeepDynamicDirCombined: 1 56 | m_LightmapKeepShadowMask: 1 57 | m_LightmapKeepSubtractive: 1 58 | m_FogKeepLinear: 1 59 | m_FogKeepExp: 1 60 | m_FogKeepExp2: 1 61 | m_AlbedoSwatchInfos: [] 62 | m_LightsUseLinearIntensity: 1 63 | m_LightsUseColorTemperature: 0 64 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 4 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_AutoSimulation: 1 23 | m_QueriesHitTriggers: 1 24 | m_QueriesStartInColliders: 1 25 | m_ChangeStopsCallbacks: 0 26 | m_CallbacksOnDisable: 1 27 | m_ReuseCollisionCallbacks: 1 28 | m_AutoSyncTransforms: 0 29 | m_AlwaysShowColliders: 0 30 | m_ShowColliderSleep: 1 31 | m_ShowColliderContacts: 0 32 | m_ShowColliderAABB: 0 33 | m_ContactArrowScale: 0.2 34 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 35 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 36 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 37 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 38 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 39 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | m_DefaultList: 7 | - type: 8 | m_NativeTypeID: 108 9 | m_ManagedTypePPtr: {fileID: 0} 10 | m_ManagedTypeFallback: 11 | defaultPresets: 12 | - m_Preset: {fileID: 2655988077585873504, guid: c1cf8506f04ef2c4a88b64b6c4202eea, 13 | type: 2} 14 | - type: 15 | m_NativeTypeID: 1020 16 | m_ManagedTypePPtr: {fileID: 0} 17 | m_ManagedTypeFallback: 18 | defaultPresets: 19 | - m_Preset: {fileID: 2655988077585873504, guid: 0cd792cc87e492d43b4e95b205fc5cc6, 20 | type: 2} 21 | - type: 22 | m_NativeTypeID: 1006 23 | m_ManagedTypePPtr: {fileID: 0} 24 | m_ManagedTypeFallback: 25 | defaultPresets: 26 | - m_Preset: {fileID: 2655988077585873504, guid: 7a99f8aa944efe94cb9bd74562b7d5f9, 27 | type: 2} 28 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 15 7 | productGUID: ecb6ee90940cd56498c42c765b300dd6 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | AndroidEnableSustainedPerformanceMode: 0 11 | defaultScreenOrientation: 4 12 | targetDevice: 2 13 | useOnDemandResources: 0 14 | accelerometerFrequency: 60 15 | companyName: DefaultCompany 16 | productName: NodeSigma 17 | defaultCursor: {fileID: 0} 18 | cursorHotspot: {x: 0, y: 0} 19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 20 | m_ShowUnitySplashScreen: 1 21 | m_ShowUnitySplashLogo: 1 22 | m_SplashScreenOverlayOpacity: 1 23 | m_SplashScreenAnimation: 1 24 | m_SplashScreenLogoStyle: 1 25 | m_SplashScreenDrawMode: 0 26 | m_SplashScreenBackgroundAnimationZoom: 1 27 | m_SplashScreenLogoAnimationZoom: 1 28 | m_SplashScreenBackgroundLandscapeAspect: 1 29 | m_SplashScreenBackgroundPortraitAspect: 1 30 | m_SplashScreenBackgroundLandscapeUvs: 31 | serializedVersion: 2 32 | x: 0 33 | y: 0 34 | width: 1 35 | height: 1 36 | m_SplashScreenBackgroundPortraitUvs: 37 | serializedVersion: 2 38 | x: 0 39 | y: 0 40 | width: 1 41 | height: 1 42 | m_SplashScreenLogos: [] 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1024 46 | defaultScreenHeight: 768 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 1 51 | m_MTRendering: 1 52 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 53 | iosShowActivityIndicatorOnLoading: -1 54 | androidShowActivityIndicatorOnLoading: -1 55 | iosAppInBackgroundBehavior: 0 56 | displayResolutionDialog: 1 57 | iosAllowHTTPDownload: 1 58 | allowedAutorotateToPortrait: 1 59 | allowedAutorotateToPortraitUpsideDown: 1 60 | allowedAutorotateToLandscapeRight: 1 61 | allowedAutorotateToLandscapeLeft: 1 62 | useOSAutorotation: 1 63 | use32BitDisplayBuffer: 1 64 | preserveFramebufferAlpha: 0 65 | disableDepthAndStencilBuffers: 0 66 | androidStartInFullscreen: 1 67 | androidRenderOutsideSafeArea: 0 68 | androidBlitType: 0 69 | defaultIsNativeResolution: 1 70 | macRetinaSupport: 1 71 | runInBackground: 1 72 | captureSingleScreen: 0 73 | muteOtherAudioSources: 0 74 | Prepare IOS For Recording: 0 75 | Force IOS Speakers When Recording: 0 76 | deferSystemGesturesMode: 0 77 | hideHomeButton: 0 78 | submitAnalytics: 1 79 | usePlayerLog: 1 80 | bakeCollisionMeshes: 0 81 | forceSingleInstance: 0 82 | resizableWindow: 0 83 | useMacAppStoreValidation: 0 84 | macAppStoreCategory: public.app-category.games 85 | gpuSkinning: 1 86 | graphicsJobs: 0 87 | xboxPIXTextureCapture: 0 88 | xboxEnableAvatar: 0 89 | xboxEnableKinect: 0 90 | xboxEnableKinectAutoTracking: 0 91 | xboxEnableFitness: 0 92 | visibleInBackground: 1 93 | allowFullscreenSwitch: 1 94 | graphicsJobMode: 0 95 | fullscreenMode: 1 96 | xboxSpeechDB: 0 97 | xboxEnableHeadOrientation: 0 98 | xboxEnableGuest: 0 99 | xboxEnablePIXSampling: 0 100 | metalFramebufferOnly: 0 101 | xboxOneResolution: 0 102 | xboxOneSResolution: 0 103 | xboxOneXResolution: 3 104 | xboxOneMonoLoggingLevel: 0 105 | xboxOneLoggingLevel: 1 106 | xboxOneDisableEsram: 0 107 | xboxOnePresentImmediateThreshold: 0 108 | switchQueueCommandMemory: 0 109 | vulkanEnableSetSRGBWrite: 0 110 | m_SupportedAspectRatios: 111 | 4:3: 1 112 | 5:4: 1 113 | 16:10: 1 114 | 16:9: 1 115 | Others: 1 116 | bundleVersion: 0.1 117 | preloadedAssets: [] 118 | metroInputSource: 0 119 | wsaTransparentSwapchain: 0 120 | m_HolographicPauseOnTrackingLoss: 1 121 | xboxOneDisableKinectGpuReservation: 0 122 | xboxOneEnable7thCore: 0 123 | isWsaHolographicRemotingEnabled: 0 124 | vrSettings: 125 | cardboard: 126 | depthFormat: 0 127 | enableTransitionView: 0 128 | daydream: 129 | depthFormat: 0 130 | useSustainedPerformanceMode: 0 131 | enableVideoLayer: 0 132 | useProtectedVideoMemory: 0 133 | minimumSupportedHeadTracking: 0 134 | maximumSupportedHeadTracking: 1 135 | hololens: 136 | depthFormat: 1 137 | depthBufferSharingEnabled: 0 138 | oculus: 139 | sharedDepthBuffer: 1 140 | dashSupport: 1 141 | enable360StereoCapture: 0 142 | protectGraphicsMemory: 0 143 | enableFrameTimingStats: 0 144 | useHDRDisplay: 0 145 | m_ColorGamuts: 00000000 146 | targetPixelDensity: 30 147 | resolutionScalingMode: 0 148 | androidSupportedAspectRatio: 1 149 | androidMaxAspectRatio: 2.1 150 | applicationIdentifier: {} 151 | buildNumber: {} 152 | AndroidBundleVersionCode: 1 153 | AndroidMinSdkVersion: 16 154 | AndroidTargetSdkVersion: 0 155 | AndroidPreferredInstallLocation: 1 156 | aotOptions: 157 | stripEngineCode: 1 158 | iPhoneStrippingLevel: 0 159 | iPhoneScriptCallOptimization: 0 160 | ForceInternetPermission: 0 161 | ForceSDCardPermission: 0 162 | CreateWallpaper: 0 163 | APKExpansionFiles: 0 164 | keepLoadedShadersAlive: 0 165 | StripUnusedMeshComponents: 1 166 | VertexChannelCompressionMask: 4054 167 | iPhoneSdkVersion: 988 168 | iOSTargetOSVersionString: 9.0 169 | tvOSSdkVersion: 0 170 | tvOSRequireExtendedGameController: 0 171 | tvOSTargetOSVersionString: 9.0 172 | uIPrerenderedIcon: 0 173 | uIRequiresPersistentWiFi: 0 174 | uIRequiresFullScreen: 1 175 | uIStatusBarHidden: 1 176 | uIExitOnSuspend: 0 177 | uIStatusBarStyle: 0 178 | iPhoneSplashScreen: {fileID: 0} 179 | iPhoneHighResSplashScreen: {fileID: 0} 180 | iPhoneTallHighResSplashScreen: {fileID: 0} 181 | iPhone47inSplashScreen: {fileID: 0} 182 | iPhone55inPortraitSplashScreen: {fileID: 0} 183 | iPhone55inLandscapeSplashScreen: {fileID: 0} 184 | iPhone58inPortraitSplashScreen: {fileID: 0} 185 | iPhone58inLandscapeSplashScreen: {fileID: 0} 186 | iPadPortraitSplashScreen: {fileID: 0} 187 | iPadHighResPortraitSplashScreen: {fileID: 0} 188 | iPadLandscapeSplashScreen: {fileID: 0} 189 | iPadHighResLandscapeSplashScreen: {fileID: 0} 190 | appleTVSplashScreen: {fileID: 0} 191 | appleTVSplashScreen2x: {fileID: 0} 192 | tvOSSmallIconLayers: [] 193 | tvOSSmallIconLayers2x: [] 194 | tvOSLargeIconLayers: [] 195 | tvOSLargeIconLayers2x: [] 196 | tvOSTopShelfImageLayers: [] 197 | tvOSTopShelfImageLayers2x: [] 198 | tvOSTopShelfImageWideLayers: [] 199 | tvOSTopShelfImageWideLayers2x: [] 200 | iOSLaunchScreenType: 0 201 | iOSLaunchScreenPortrait: {fileID: 0} 202 | iOSLaunchScreenLandscape: {fileID: 0} 203 | iOSLaunchScreenBackgroundColor: 204 | serializedVersion: 2 205 | rgba: 0 206 | iOSLaunchScreenFillPct: 100 207 | iOSLaunchScreenSize: 100 208 | iOSLaunchScreenCustomXibPath: 209 | iOSLaunchScreeniPadType: 0 210 | iOSLaunchScreeniPadImage: {fileID: 0} 211 | iOSLaunchScreeniPadBackgroundColor: 212 | serializedVersion: 2 213 | rgba: 0 214 | iOSLaunchScreeniPadFillPct: 100 215 | iOSLaunchScreeniPadSize: 100 216 | iOSLaunchScreeniPadCustomXibPath: 217 | iOSUseLaunchScreenStoryboard: 0 218 | iOSLaunchScreenCustomStoryboardPath: 219 | iOSDeviceRequirements: [] 220 | iOSURLSchemes: [] 221 | iOSBackgroundModes: 0 222 | iOSMetalForceHardShadows: 0 223 | metalEditorSupport: 1 224 | metalAPIValidation: 1 225 | iOSRenderExtraFrameOnPause: 0 226 | appleDeveloperTeamID: 227 | iOSManualSigningProvisioningProfileID: 228 | tvOSManualSigningProvisioningProfileID: 229 | iOSManualSigningProvisioningProfileType: 0 230 | tvOSManualSigningProvisioningProfileType: 0 231 | appleEnableAutomaticSigning: 0 232 | iOSRequireARKit: 0 233 | appleEnableProMotion: 0 234 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea 235 | templatePackageId: com.unity.template.3d@1.0.4 236 | templateDefaultScene: Assets/Scenes/SampleScene.unity 237 | AndroidTargetArchitectures: 5 238 | AndroidSplashScreenScale: 0 239 | androidSplashScreen: {fileID: 0} 240 | AndroidKeystoreName: 241 | AndroidKeyaliasName: 242 | AndroidBuildApkPerCpuArchitecture: 0 243 | AndroidTVCompatibility: 1 244 | AndroidIsGame: 1 245 | AndroidEnableTango: 0 246 | androidEnableBanner: 1 247 | androidUseLowAccuracyLocation: 0 248 | m_AndroidBanners: 249 | - width: 320 250 | height: 180 251 | banner: {fileID: 0} 252 | androidGamepadSupportLevel: 0 253 | resolutionDialogBanner: {fileID: 0} 254 | m_BuildTargetIcons: [] 255 | m_BuildTargetPlatformIcons: [] 256 | m_BuildTargetBatching: 257 | - m_BuildTarget: Standalone 258 | m_StaticBatching: 1 259 | m_DynamicBatching: 0 260 | - m_BuildTarget: tvOS 261 | m_StaticBatching: 1 262 | m_DynamicBatching: 0 263 | - m_BuildTarget: Android 264 | m_StaticBatching: 1 265 | m_DynamicBatching: 0 266 | - m_BuildTarget: iPhone 267 | m_StaticBatching: 1 268 | m_DynamicBatching: 0 269 | - m_BuildTarget: WebGL 270 | m_StaticBatching: 0 271 | m_DynamicBatching: 0 272 | m_BuildTargetGraphicsAPIs: 273 | - m_BuildTarget: AndroidPlayer 274 | m_APIs: 0b00000008000000 275 | m_Automatic: 1 276 | - m_BuildTarget: iOSSupport 277 | m_APIs: 10000000 278 | m_Automatic: 1 279 | - m_BuildTarget: AppleTVSupport 280 | m_APIs: 10000000 281 | m_Automatic: 0 282 | - m_BuildTarget: WebGLSupport 283 | m_APIs: 0b000000 284 | m_Automatic: 1 285 | m_BuildTargetVRSettings: 286 | - m_BuildTarget: Standalone 287 | m_Enabled: 0 288 | m_Devices: 289 | - Oculus 290 | - OpenVR 291 | m_BuildTargetEnableVuforiaSettings: [] 292 | openGLRequireES31: 0 293 | openGLRequireES31AEP: 0 294 | m_TemplateCustomTags: {} 295 | mobileMTRendering: 296 | Android: 1 297 | iPhone: 1 298 | tvOS: 1 299 | m_BuildTargetGroupLightmapEncodingQuality: [] 300 | m_BuildTargetGroupLightmapSettings: [] 301 | playModeTestRunnerEnabled: 0 302 | runPlayModeTestAsEditModeTest: 0 303 | actionOnDotNetUnhandledException: 1 304 | enableInternalProfiler: 0 305 | logObjCUncaughtExceptions: 1 306 | enableCrashReportAPI: 0 307 | cameraUsageDescription: 308 | locationUsageDescription: 309 | microphoneUsageDescription: 310 | switchNetLibKey: 311 | switchSocketMemoryPoolSize: 6144 312 | switchSocketAllocatorPoolSize: 128 313 | switchSocketConcurrencyLimit: 14 314 | switchScreenResolutionBehavior: 2 315 | switchUseCPUProfiler: 0 316 | switchApplicationID: 0x01004b9000490000 317 | switchNSODependencies: 318 | switchTitleNames_0: 319 | switchTitleNames_1: 320 | switchTitleNames_2: 321 | switchTitleNames_3: 322 | switchTitleNames_4: 323 | switchTitleNames_5: 324 | switchTitleNames_6: 325 | switchTitleNames_7: 326 | switchTitleNames_8: 327 | switchTitleNames_9: 328 | switchTitleNames_10: 329 | switchTitleNames_11: 330 | switchTitleNames_12: 331 | switchTitleNames_13: 332 | switchTitleNames_14: 333 | switchPublisherNames_0: 334 | switchPublisherNames_1: 335 | switchPublisherNames_2: 336 | switchPublisherNames_3: 337 | switchPublisherNames_4: 338 | switchPublisherNames_5: 339 | switchPublisherNames_6: 340 | switchPublisherNames_7: 341 | switchPublisherNames_8: 342 | switchPublisherNames_9: 343 | switchPublisherNames_10: 344 | switchPublisherNames_11: 345 | switchPublisherNames_12: 346 | switchPublisherNames_13: 347 | switchPublisherNames_14: 348 | switchIcons_0: {fileID: 0} 349 | switchIcons_1: {fileID: 0} 350 | switchIcons_2: {fileID: 0} 351 | switchIcons_3: {fileID: 0} 352 | switchIcons_4: {fileID: 0} 353 | switchIcons_5: {fileID: 0} 354 | switchIcons_6: {fileID: 0} 355 | switchIcons_7: {fileID: 0} 356 | switchIcons_8: {fileID: 0} 357 | switchIcons_9: {fileID: 0} 358 | switchIcons_10: {fileID: 0} 359 | switchIcons_11: {fileID: 0} 360 | switchIcons_12: {fileID: 0} 361 | switchIcons_13: {fileID: 0} 362 | switchIcons_14: {fileID: 0} 363 | switchSmallIcons_0: {fileID: 0} 364 | switchSmallIcons_1: {fileID: 0} 365 | switchSmallIcons_2: {fileID: 0} 366 | switchSmallIcons_3: {fileID: 0} 367 | switchSmallIcons_4: {fileID: 0} 368 | switchSmallIcons_5: {fileID: 0} 369 | switchSmallIcons_6: {fileID: 0} 370 | switchSmallIcons_7: {fileID: 0} 371 | switchSmallIcons_8: {fileID: 0} 372 | switchSmallIcons_9: {fileID: 0} 373 | switchSmallIcons_10: {fileID: 0} 374 | switchSmallIcons_11: {fileID: 0} 375 | switchSmallIcons_12: {fileID: 0} 376 | switchSmallIcons_13: {fileID: 0} 377 | switchSmallIcons_14: {fileID: 0} 378 | switchManualHTML: 379 | switchAccessibleURLs: 380 | switchLegalInformation: 381 | switchMainThreadStackSize: 1048576 382 | switchPresenceGroupId: 383 | switchLogoHandling: 0 384 | switchReleaseVersion: 0 385 | switchDisplayVersion: 1.0.0 386 | switchStartupUserAccount: 0 387 | switchTouchScreenUsage: 0 388 | switchSupportedLanguagesMask: 0 389 | switchLogoType: 0 390 | switchApplicationErrorCodeCategory: 391 | switchUserAccountSaveDataSize: 0 392 | switchUserAccountSaveDataJournalSize: 0 393 | switchApplicationAttribute: 0 394 | switchCardSpecSize: -1 395 | switchCardSpecClock: -1 396 | switchRatingsMask: 0 397 | switchRatingsInt_0: 0 398 | switchRatingsInt_1: 0 399 | switchRatingsInt_2: 0 400 | switchRatingsInt_3: 0 401 | switchRatingsInt_4: 0 402 | switchRatingsInt_5: 0 403 | switchRatingsInt_6: 0 404 | switchRatingsInt_7: 0 405 | switchRatingsInt_8: 0 406 | switchRatingsInt_9: 0 407 | switchRatingsInt_10: 0 408 | switchRatingsInt_11: 0 409 | switchLocalCommunicationIds_0: 410 | switchLocalCommunicationIds_1: 411 | switchLocalCommunicationIds_2: 412 | switchLocalCommunicationIds_3: 413 | switchLocalCommunicationIds_4: 414 | switchLocalCommunicationIds_5: 415 | switchLocalCommunicationIds_6: 416 | switchLocalCommunicationIds_7: 417 | switchParentalControl: 0 418 | switchAllowsScreenshot: 1 419 | switchAllowsVideoCapturing: 1 420 | switchAllowsRuntimeAddOnContentInstall: 0 421 | switchDataLossConfirmation: 0 422 | switchUserAccountLockEnabled: 0 423 | switchSupportedNpadStyles: 3 424 | switchNativeFsCacheSize: 32 425 | switchIsHoldTypeHorizontal: 0 426 | switchSupportedNpadCount: 8 427 | switchSocketConfigEnabled: 0 428 | switchTcpInitialSendBufferSize: 32 429 | switchTcpInitialReceiveBufferSize: 64 430 | switchTcpAutoSendBufferSizeMax: 256 431 | switchTcpAutoReceiveBufferSizeMax: 256 432 | switchUdpSendBufferSize: 9 433 | switchUdpReceiveBufferSize: 42 434 | switchSocketBufferEfficiency: 4 435 | switchSocketInitializeEnabled: 1 436 | switchNetworkInterfaceManagerInitializeEnabled: 1 437 | switchPlayerConnectionEnabled: 1 438 | ps4NPAgeRating: 12 439 | ps4NPTitleSecret: 440 | ps4NPTrophyPackPath: 441 | ps4ParentalLevel: 11 442 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 443 | ps4Category: 0 444 | ps4MasterVersion: 01.00 445 | ps4AppVersion: 01.00 446 | ps4AppType: 0 447 | ps4ParamSfxPath: 448 | ps4VideoOutPixelFormat: 0 449 | ps4VideoOutInitialWidth: 1920 450 | ps4VideoOutBaseModeInitialWidth: 1920 451 | ps4VideoOutReprojectionRate: 60 452 | ps4PronunciationXMLPath: 453 | ps4PronunciationSIGPath: 454 | ps4BackgroundImagePath: 455 | ps4StartupImagePath: 456 | ps4StartupImagesFolder: 457 | ps4IconImagesFolder: 458 | ps4SaveDataImagePath: 459 | ps4SdkOverride: 460 | ps4BGMPath: 461 | ps4ShareFilePath: 462 | ps4ShareOverlayImagePath: 463 | ps4PrivacyGuardImagePath: 464 | ps4NPtitleDatPath: 465 | ps4RemotePlayKeyAssignment: -1 466 | ps4RemotePlayKeyMappingDir: 467 | ps4PlayTogetherPlayerCount: 0 468 | ps4EnterButtonAssignment: 1 469 | ps4ApplicationParam1: 0 470 | ps4ApplicationParam2: 0 471 | ps4ApplicationParam3: 0 472 | ps4ApplicationParam4: 0 473 | ps4DownloadDataSize: 0 474 | ps4GarlicHeapSize: 2048 475 | ps4ProGarlicHeapSize: 2560 476 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 477 | ps4pnSessions: 1 478 | ps4pnPresence: 1 479 | ps4pnFriends: 1 480 | ps4pnGameCustomData: 1 481 | playerPrefsSupport: 0 482 | enableApplicationExit: 0 483 | resetTempFolder: 1 484 | restrictedAudioUsageRights: 0 485 | ps4UseResolutionFallback: 0 486 | ps4ReprojectionSupport: 0 487 | ps4UseAudio3dBackend: 0 488 | ps4SocialScreenEnabled: 0 489 | ps4ScriptOptimizationLevel: 0 490 | ps4Audio3dVirtualSpeakerCount: 14 491 | ps4attribCpuUsage: 0 492 | ps4PatchPkgPath: 493 | ps4PatchLatestPkgPath: 494 | ps4PatchChangeinfoPath: 495 | ps4PatchDayOne: 0 496 | ps4attribUserManagement: 0 497 | ps4attribMoveSupport: 0 498 | ps4attrib3DSupport: 0 499 | ps4attribShareSupport: 0 500 | ps4attribExclusiveVR: 0 501 | ps4disableAutoHideSplash: 0 502 | ps4videoRecordingFeaturesUsed: 0 503 | ps4contentSearchFeaturesUsed: 0 504 | ps4attribEyeToEyeDistanceSettingVR: 0 505 | ps4IncludedModules: [] 506 | monoEnv: 507 | splashScreenBackgroundSourceLandscape: {fileID: 0} 508 | splashScreenBackgroundSourcePortrait: {fileID: 0} 509 | spritePackerPolicy: 510 | webGLMemorySize: 256 511 | webGLExceptionSupport: 1 512 | webGLNameFilesAsHashes: 0 513 | webGLDataCaching: 1 514 | webGLDebugSymbols: 0 515 | webGLEmscriptenArgs: 516 | webGLModulesDirectory: 517 | webGLTemplate: APPLICATION:Default 518 | webGLAnalyzeBuildSize: 0 519 | webGLUseEmbeddedResources: 0 520 | webGLCompressionFormat: 1 521 | webGLLinkerTarget: 1 522 | webGLThreadsSupport: 0 523 | scriptingDefineSymbols: 524 | 1: UNITY_POST_PROCESSING_STACK_V2 525 | 7: UNITY_POST_PROCESSING_STACK_V2 526 | 13: UNITY_POST_PROCESSING_STACK_V2 527 | 19: UNITY_POST_PROCESSING_STACK_V2 528 | 21: UNITY_POST_PROCESSING_STACK_V2 529 | 25: UNITY_POST_PROCESSING_STACK_V2 530 | 26: UNITY_POST_PROCESSING_STACK_V2 531 | 27: UNITY_POST_PROCESSING_STACK_V2 532 | 28: UNITY_POST_PROCESSING_STACK_V2 533 | platformArchitecture: {} 534 | scriptingBackend: {} 535 | il2cppCompilerConfiguration: {} 536 | managedStrippingLevel: {} 537 | incrementalIl2cppBuild: {} 538 | allowUnsafeCode: 0 539 | additionalIl2CppArgs: 540 | scriptingRuntimeVersion: 1 541 | apiCompatibilityLevelPerPlatform: {} 542 | m_RenderingPath: 1 543 | m_MobileRenderingPath: 1 544 | metroPackageName: Template_3D 545 | metroPackageVersion: 546 | metroCertificatePath: 547 | metroCertificatePassword: 548 | metroCertificateSubject: 549 | metroCertificateIssuer: 550 | metroCertificateNotAfter: 0000000000000000 551 | metroApplicationDescription: Template_3D 552 | wsaImages: {} 553 | metroTileShortName: 554 | metroTileShowName: 0 555 | metroMediumTileShowName: 0 556 | metroLargeTileShowName: 0 557 | metroWideTileShowName: 0 558 | metroSupportStreamingInstall: 0 559 | metroLastRequiredScene: 0 560 | metroDefaultTileSize: 1 561 | metroTileForegroundText: 2 562 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 563 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, 564 | a: 1} 565 | metroSplashScreenUseBackgroundColor: 0 566 | platformCapabilities: {} 567 | metroTargetDeviceFamilies: {} 568 | metroFTAName: 569 | metroFTAFileTypes: [] 570 | metroProtocolName: 571 | metroCompilationOverrides: 1 572 | XboxOneProductId: 573 | XboxOneUpdateKey: 574 | XboxOneSandboxId: 575 | XboxOneContentId: 576 | XboxOneTitleId: 577 | XboxOneSCId: 578 | XboxOneGameOsOverridePath: 579 | XboxOnePackagingOverridePath: 580 | XboxOneAppManifestOverridePath: 581 | XboxOneVersion: 1.0.0.0 582 | XboxOnePackageEncryption: 0 583 | XboxOnePackageUpdateGranularity: 2 584 | XboxOneDescription: 585 | XboxOneLanguage: 586 | - enus 587 | XboxOneCapability: [] 588 | XboxOneGameRating: {} 589 | XboxOneIsContentPackage: 0 590 | XboxOneEnableGPUVariability: 0 591 | XboxOneSockets: {} 592 | XboxOneSplashScreen: {fileID: 0} 593 | XboxOneAllowedProductIds: [] 594 | XboxOnePersistentLocalStorageSize: 0 595 | XboxOneXTitleMemory: 8 596 | xboxOneScriptCompiler: 0 597 | XboxOneOverrideIdentityName: 598 | vrEditorSettings: 599 | daydream: 600 | daydreamIconForeground: {fileID: 0} 601 | daydreamIconBackground: {fileID: 0} 602 | cloudServicesEnabled: 603 | UNet: 1 604 | luminIcon: 605 | m_Name: 606 | m_ModelFolderPath: 607 | m_PortalFolderPath: 608 | luminCert: 609 | m_CertPath: 610 | m_PrivateKeyPath: 611 | luminIsChannelApp: 0 612 | luminVersion: 613 | m_VersionCode: 1 614 | m_VersionName: 615 | facebookSdkVersion: 7.9.4 616 | facebookAppId: 617 | facebookCookies: 1 618 | facebookLogging: 1 619 | facebookStatus: 1 620 | facebookXfbml: 0 621 | facebookFrictionlessRequests: 1 622 | apiCompatibilityLevel: 6 623 | cloudProjectId: 624 | framebufferDepthMemorylessMode: 0 625 | projectName: 626 | organizationId: 627 | cloudEnabled: 0 628 | enableNativePlatformBackendsForNewInputSystem: 0 629 | disableOldInputManagerSupport: 0 630 | legacyClampBlendShapeWeights: 0 631 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2018.3.4f1 2 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 4 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | blendWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | particleRaycastBudget: 4 33 | asyncUploadTimeSlice: 2 34 | asyncUploadBufferSize: 16 35 | resolutionScalingFixedDPIFactor: 1 36 | excludedTargetPlatforms: [] 37 | - serializedVersion: 2 38 | name: Low 39 | pixelLightCount: 0 40 | shadows: 0 41 | shadowResolution: 0 42 | shadowProjection: 1 43 | shadowCascades: 1 44 | shadowDistance: 20 45 | shadowNearPlaneOffset: 3 46 | shadowCascade2Split: 0.33333334 47 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 48 | shadowmaskMode: 0 49 | blendWeights: 2 50 | textureQuality: 0 51 | anisotropicTextures: 0 52 | antiAliasing: 0 53 | softParticles: 0 54 | softVegetation: 0 55 | realtimeReflectionProbes: 0 56 | billboardsFaceCameraPosition: 0 57 | vSyncCount: 0 58 | lodBias: 0.4 59 | maximumLODLevel: 0 60 | particleRaycastBudget: 16 61 | asyncUploadTimeSlice: 2 62 | asyncUploadBufferSize: 16 63 | resolutionScalingFixedDPIFactor: 1 64 | excludedTargetPlatforms: [] 65 | - serializedVersion: 2 66 | name: Medium 67 | pixelLightCount: 1 68 | shadows: 1 69 | shadowResolution: 0 70 | shadowProjection: 1 71 | shadowCascades: 1 72 | shadowDistance: 20 73 | shadowNearPlaneOffset: 3 74 | shadowCascade2Split: 0.33333334 75 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 76 | shadowmaskMode: 0 77 | blendWeights: 2 78 | textureQuality: 0 79 | anisotropicTextures: 1 80 | antiAliasing: 0 81 | softParticles: 0 82 | softVegetation: 0 83 | realtimeReflectionProbes: 0 84 | billboardsFaceCameraPosition: 0 85 | vSyncCount: 1 86 | lodBias: 0.7 87 | maximumLODLevel: 0 88 | particleRaycastBudget: 64 89 | asyncUploadTimeSlice: 2 90 | asyncUploadBufferSize: 16 91 | resolutionScalingFixedDPIFactor: 1 92 | excludedTargetPlatforms: [] 93 | - serializedVersion: 2 94 | name: High 95 | pixelLightCount: 2 96 | shadows: 2 97 | shadowResolution: 1 98 | shadowProjection: 1 99 | shadowCascades: 2 100 | shadowDistance: 40 101 | shadowNearPlaneOffset: 3 102 | shadowCascade2Split: 0.33333334 103 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 104 | shadowmaskMode: 1 105 | blendWeights: 2 106 | textureQuality: 0 107 | anisotropicTextures: 1 108 | antiAliasing: 2 109 | softParticles: 0 110 | softVegetation: 1 111 | realtimeReflectionProbes: 1 112 | billboardsFaceCameraPosition: 1 113 | vSyncCount: 1 114 | lodBias: 1 115 | maximumLODLevel: 0 116 | particleRaycastBudget: 256 117 | asyncUploadTimeSlice: 2 118 | asyncUploadBufferSize: 16 119 | resolutionScalingFixedDPIFactor: 1 120 | excludedTargetPlatforms: [] 121 | - serializedVersion: 2 122 | name: Very High 123 | pixelLightCount: 3 124 | shadows: 2 125 | shadowResolution: 2 126 | shadowProjection: 1 127 | shadowCascades: 2 128 | shadowDistance: 40 129 | shadowNearPlaneOffset: 3 130 | shadowCascade2Split: 0.33333334 131 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 132 | shadowmaskMode: 1 133 | blendWeights: 4 134 | textureQuality: 0 135 | anisotropicTextures: 1 136 | antiAliasing: 4 137 | softParticles: 1 138 | softVegetation: 1 139 | realtimeReflectionProbes: 1 140 | billboardsFaceCameraPosition: 1 141 | vSyncCount: 1 142 | lodBias: 1.5 143 | maximumLODLevel: 0 144 | particleRaycastBudget: 1024 145 | asyncUploadTimeSlice: 2 146 | asyncUploadBufferSize: 16 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Ultra 151 | pixelLightCount: 4 152 | shadows: 2 153 | shadowResolution: 2 154 | shadowProjection: 1 155 | shadowCascades: 4 156 | shadowDistance: 150 157 | shadowNearPlaneOffset: 3 158 | shadowCascade2Split: 0.33333334 159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 160 | shadowmaskMode: 1 161 | blendWeights: 4 162 | textureQuality: 0 163 | anisotropicTextures: 1 164 | antiAliasing: 4 165 | softParticles: 1 166 | softVegetation: 1 167 | realtimeReflectionProbes: 1 168 | billboardsFaceCameraPosition: 1 169 | vSyncCount: 1 170 | lodBias: 2 171 | maximumLODLevel: 0 172 | particleRaycastBudget: 4096 173 | asyncUploadTimeSlice: 2 174 | asyncUploadBufferSize: 16 175 | resolutionScalingFixedDPIFactor: 1 176 | excludedTargetPlatforms: [] 177 | m_PerPlatformDefaultQuality: 178 | Android: 2 179 | Nintendo 3DS: 5 180 | Nintendo Switch: 5 181 | PS4: 5 182 | PSP2: 2 183 | Standalone: 5 184 | Tizen: 2 185 | WebGL: 3 186 | WiiU: 5 187 | Windows Store Apps: 5 188 | XboxOne: 5 189 | iPhone: 2 190 | tvOS: 2 191 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - PostProcessing 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.1 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_TestInitMode: 0 13 | CrashReportingSettings: 14 | m_EventUrl: https://perf-events.cloud.unity3d.com 15 | m_Enabled: 0 16 | m_LogBufferSize: 10 17 | m_CaptureEditorExceptions: 1 18 | UnityPurchasingSettings: 19 | m_Enabled: 0 20 | m_TestMode: 0 21 | UnityAnalyticsSettings: 22 | m_Enabled: 0 23 | m_TestMode: 0 24 | m_InitializeOnStartup: 1 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_RenderPipeSettingsPath: 10 | m_FixedTimeStep: 0.016666668 11 | m_MaxDeltaTime: 0.05 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # NodeSigma 2 | 3 | A collection of useful nodes and utils for Unity Shader Graph and SRP 4 | 5 | ## Requirement 6 | 7 | * Unity 2018.3 or later 8 | * Scriptable Render Pipeline 9 | * Shader Graph 10 | 11 | ## Installation 12 | 13 | Add the following line to the dependencies section in the package manifest file (Packages/manifest.json). Note that this feature is only available from Unity 2018.3. See the forum thread for further details. 14 | 15 | ``` 16 | "com.github.edwin0cheng.nodesigma": "https://github.com/edwin0cheng/NodeSigma.git#upm", 17 | ``` 18 | 19 | 20 | ## Nodes 21 | 22 | | Name | Node | Note | 23 | :-------------------------:|:-------------------------:|:-------------------------: 24 | Edge Detection | | 25 | Depth Normals Texture | | As LWRP do not support Depth Normals Texture, A `DephtNormalsRenderPass` is required to add in the game object of main camera 26 | --------------------------------------------------------------------------------