├── .gitattributes ├── .gitignore ├── .idea └── .idea.URP_PlanarReflections │ ├── .idea │ ├── .gitignore │ ├── encodings.xml │ ├── indexLayout.xml │ ├── misc.xml │ └── vcs.xml │ └── riderModule.iml ├── Assets ├── PlanarReflections.meta ├── PlanarReflections │ ├── Example.meta │ ├── Example │ │ ├── Materials.meta │ │ ├── Materials │ │ │ ├── MAT_PlanarReflectionsEXAMPLE_AA_01.mat │ │ │ ├── MAT_PlanarReflectionsEXAMPLE_AA_01.mat.meta │ │ │ ├── MAT_PlanarReflectionsEXAMPLE_AA_02.mat │ │ │ ├── MAT_PlanarReflectionsEXAMPLE_AA_02.mat.meta │ │ │ ├── MAT_PlanarReflectionsEXAMPLE_AA_03.mat │ │ │ ├── MAT_PlanarReflectionsEXAMPLE_AA_03.mat.meta │ │ │ ├── MAT_PlanarReflectionsEXAMPLE_AA_04.mat │ │ │ ├── MAT_PlanarReflectionsEXAMPLE_AA_04.mat.meta │ │ │ ├── MAT_TestEmission_AA_01.mat │ │ │ └── MAT_TestEmission_AA_01.mat.meta │ │ ├── MinSettings_PlanarExampleScene.unity │ │ ├── MinSettings_PlanarExampleScene.unity.meta │ │ ├── RecursiveMaxSettings_PlanarExampleScene.unity │ │ ├── RecursiveMaxSettings_PlanarExampleScene.unity.meta │ │ ├── SampleSceneProfile.asset │ │ ├── SampleSceneProfile.asset.meta │ │ ├── SimpleCamExampleSceneCopy.cs │ │ ├── SimpleCamExampleSceneCopy.cs.meta │ │ ├── Textures.meta │ │ └── Textures │ │ │ ├── MAT_SkyMaterial_AA_01.mat │ │ │ ├── MAT_SkyMaterial_AA_01.mat.meta │ │ │ ├── TEX_AlbedoTransparency_AA_01.png │ │ │ ├── TEX_AlbedoTransparency_AA_01.png.meta │ │ │ ├── TEX_MetallicSmoothness_AA_01.png │ │ │ ├── TEX_MetallicSmoothness_AA_01.png.meta │ │ │ ├── TEX_Normal_AA_01.png │ │ │ ├── TEX_Normal_AA_01.png.meta │ │ │ ├── TEX_Occlusion_AA_01.png │ │ │ ├── TEX_Occlusion_AA_01.png.meta │ │ │ ├── TEX_Sky_AA_01.hdr │ │ │ └── TEX_Sky_AA_01.hdr.meta │ ├── Scripts.meta │ ├── Scripts │ │ ├── Editor.meta │ │ ├── Editor │ │ │ ├── PlanarReflectionEditor.cs │ │ │ └── PlanarReflectionEditor.cs.meta │ │ ├── PlanarReflectionScript.cs │ │ ├── PlanarReflectionScript.cs.meta │ │ ├── RecursiveReflectionControl.cs │ │ ├── RecursiveReflectionControl.cs.meta │ │ ├── Resources.meta │ │ └── Resources │ │ │ ├── Thumbnails.meta │ │ │ └── Thumbnails │ │ │ ├── cubeback.png │ │ │ ├── cubeback.png.meta │ │ │ ├── cubebottom.png │ │ │ ├── cubebottom.png.meta │ │ │ ├── cubeforward.png │ │ │ ├── cubeforward.png.meta │ │ │ ├── cubeleft.png │ │ │ ├── cubeleft.png.meta │ │ │ ├── cuberight.png │ │ │ ├── cuberight.png.meta │ │ │ ├── cubetop.png │ │ │ └── cubetop.png.meta │ ├── Shaders.meta │ └── Shaders │ │ ├── PlanarShaderBack.shadergraph │ │ ├── PlanarShaderBack.shadergraph.meta │ │ ├── PlanarShaderCeiling.shadergraph │ │ ├── PlanarShaderCeiling.shadergraph.meta │ │ ├── PlanarShaderForward.shadergraph │ │ ├── PlanarShaderForward.shadergraph.meta │ │ ├── PlanarShaderGround.shadergraph │ │ ├── PlanarShaderGround.shadergraph.meta │ │ ├── PlanarShaderLeft.shadergraph │ │ ├── PlanarShaderLeft.shadergraph.meta │ │ ├── PlanarShaderRight.shadergraph │ │ └── PlanarShaderRight.shadergraph.meta ├── Presets.meta ├── Presets │ ├── AudioCompressedInMemory.preset │ ├── AudioCompressedInMemory.preset.meta │ ├── AudioStreaming.preset │ ├── AudioStreaming.preset.meta │ ├── Defaults.meta │ ├── Defaults │ │ ├── AlbedoTexture_Default.preset │ │ ├── AlbedoTexture_Default.preset.meta │ │ ├── AudioDecompressOnLoad.preset │ │ ├── AudioDecompressOnLoad.preset.meta │ │ ├── DirectionalLight_Default.preset │ │ └── DirectionalLight_Default.preset.meta │ ├── NormalTexture.preset │ ├── NormalTexture.preset.meta │ ├── UtilityTexture.preset │ └── UtilityTexture.preset.meta ├── Settings.meta └── Settings │ ├── ForwardRenderer.asset │ ├── ForwardRenderer.asset.meta │ ├── UniversalRP-HighQuality.asset │ ├── UniversalRP-HighQuality.asset.meta │ ├── UniversalRP-LowQuality.asset │ ├── UniversalRP-LowQuality.asset.meta │ ├── UniversalRP-MediumQuality.asset │ └── UniversalRP-MediumQuality.asset.meta ├── LICENSE ├── Packages ├── manifest.json └── packages-lock.json ├── ProjectSettings ├── AudioManager.asset ├── BurstAotSettings_StandaloneWindows.json ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── URPProjectSettings.asset ├── UnityConnectSettings.asset ├── VFXManager.asset └── XRSettings.asset └── README.md /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # This .gitignore file should be placed at the root of your Unity project directory 2 | # 3 | # Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore 4 | # 5 | /[Ll]ibrary/ 6 | /[Tt]emp/ 7 | /[Oo]bj/ 8 | /[Bb]uild/ 9 | /[Bb]uilds/ 10 | /[Ll]ogs/ 11 | /[Mm]emoryCaptures/ 12 | 13 | # Never ignore Asset meta data 14 | !/[Aa]ssets/**/*.meta 15 | 16 | # Uncomment this line if you wish to ignore the asset store tools plugin 17 | # /[Aa]ssets/AssetStoreTools* 18 | 19 | # Autogenerated Jetbrains Rider plugin 20 | [Aa]ssets/Plugins/Editor/JetBrains* 21 | 22 | # Visual Studio cache directory 23 | .vs/ 24 | 25 | # Gradle cache directory 26 | .gradle/ 27 | 28 | # Autogenerated VS/MD/Consulo solution and project files 29 | ExportedObj/ 30 | .consulo/ 31 | *.csproj 32 | *.unityproj 33 | *.sln 34 | *.suo 35 | *.tmp 36 | *.user 37 | *.userprefs 38 | *.pidb 39 | *.booproj 40 | *.svd 41 | *.pdb 42 | *.mdb 43 | *.opendb 44 | *.VC.db 45 | 46 | # Unity3D generated meta files 47 | *.pidb.meta 48 | *.pdb.meta 49 | *.mdb.meta 50 | 51 | # Unity3D generated file on crash reports 52 | sysinfo.txt 53 | 54 | # Builds 55 | *.apk 56 | *.unitypackage 57 | 58 | # Crashlytics generated file 59 | crashlytics-build.properties 60 | 61 | -------------------------------------------------------------------------------- /.idea/.idea.URP_PlanarReflections/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Rider ignored files 5 | /modules.xml 6 | /projectSettingsUpdater.xml 7 | /.idea.URP_PlanarReflections.iml 8 | /contentModel.xml 9 | # Datasource local storage ignored files 10 | /dataSources/ 11 | /dataSources.local.xml 12 | # Editor-based HTTP Client requests 13 | /httpRequests/ 14 | -------------------------------------------------------------------------------- /.idea/.idea.URP_PlanarReflections/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /.idea/.idea.URP_PlanarReflections/.idea/indexLayout.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Library/PackageCache/com.unity.burst@1.3.2 7 | Library/PackageCache/com.unity.collab-proxy@1.2.16 8 | Library/PackageCache/com.unity.collections@0.9.0-preview.6 9 | Library/PackageCache/com.unity.entities@0.11.1-preview.4 10 | Library/PackageCache/com.unity.ext.nunit@1.0.0 11 | Library/PackageCache/com.unity.ide.rider@2.0.5 12 | Library/PackageCache/com.unity.ide.vscode@1.2.1 13 | Library/PackageCache/com.unity.jobs@0.2.10-preview.12 14 | Library/PackageCache/com.unity.mathematics@1.1.0 15 | Library/PackageCache/com.unity.nuget.newtonsoft-json@2.0.0-preview 16 | Library/PackageCache/com.unity.platforms@0.3.0-preview.4 17 | Library/PackageCache/com.unity.properties.ui@1.1.1-preview 18 | Library/PackageCache/com.unity.properties@1.2.0-preview 19 | Library/PackageCache/com.unity.render-pipelines.core@7.4.1 20 | Library/PackageCache/com.unity.render-pipelines.universal@7.4.1 21 | Library/PackageCache/com.unity.scriptablebuildpipeline@1.6.4-preview 22 | Library/PackageCache/com.unity.searcher@4.0.9 23 | Library/PackageCache/com.unity.serialization@1.2.0-preview 24 | Library/PackageCache/com.unity.shadergraph@7.4.1 25 | Library/PackageCache/com.unity.test-framework.performance@2.0.8-preview 26 | Library/PackageCache/com.unity.test-framework@1.1.14 27 | Library/PackageCache/com.unity.textmeshpro@2.0.1 28 | Library/PackageCache/com.unity.timeline@1.2.14 29 | Library/PackageCache/nuget.mono-cecil@0.1.5-preview 30 | Packages 31 | ProjectSettings 32 | 33 | 34 | .git 35 | .idea 36 | Library 37 | Temp 38 | jobbuild 39 | monobuild 40 | obj 41 | 42 | 43 | -------------------------------------------------------------------------------- /.idea/.idea.URP_PlanarReflections/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /.idea/.idea.URP_PlanarReflections/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/.idea.URP_PlanarReflections/riderModule.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Assets/PlanarReflections.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5cc6c806217c1db4fb5d86f93c39b464 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2873aa26e1d6e8b45b00c8734878f7d2 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 310a95e3e3c6b344ea17492a084f2be4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Materials/MAT_PlanarReflectionsEXAMPLE_AA_01.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &-1359625709359639421 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 11 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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} 13 | m_Name: 14 | m_EditorClassIdentifier: 15 | version: 2 16 | --- !u!21 &2100000 17 | Material: 18 | serializedVersion: 6 19 | m_ObjectHideFlags: 0 20 | m_CorrespondingSourceObject: {fileID: 0} 21 | m_PrefabInstance: {fileID: 0} 22 | m_PrefabAsset: {fileID: 0} 23 | m_Name: MAT_PlanarReflectionsEXAMPLE_AA_01 24 | m_Shader: {fileID: -6465566751694194690, guid: 02b6e573bbbba364fbb1aeebdd8d07c7, 25 | type: 3} 26 | m_ShaderKeywords: _GLOSSYREFLECTIONS_OFF _METALLICSPECGLOSSMAP _NORMALMAP _OCCLUSIONMAP 27 | m_LightmapFlags: 2 28 | m_EnableInstancingVariants: 1 29 | m_DoubleSidedGI: 1 30 | m_CustomRenderQueue: -1 31 | stringTagMap: {} 32 | disabledShaderPasses: [] 33 | m_SavedProperties: 34 | serializedVersion: 3 35 | m_TexEnvs: 36 | - Albedo: 37 | m_Texture: {fileID: 2800000, guid: 3e11968c372730442aae3b4f7c909931, type: 3} 38 | m_Scale: {x: 1, y: 1} 39 | m_Offset: {x: 0, y: 0} 40 | - Texture2D_3CF0EAC: 41 | m_Texture: {fileID: 0} 42 | m_Scale: {x: 1, y: 1} 43 | m_Offset: {x: 0, y: 0} 44 | - Texture2D_76180868: 45 | m_Texture: {fileID: 0} 46 | m_Scale: {x: 1, y: 1} 47 | m_Offset: {x: 0, y: 0} 48 | - Texture2D_A2ACDADE: 49 | m_Texture: {fileID: 2800000, guid: b049bcfdc63c359498d2fcc2cea723a2, type: 3} 50 | m_Scale: {x: 1, y: 1} 51 | m_Offset: {x: 0, y: 0} 52 | - _BaseColor: 53 | m_Texture: {fileID: 2800000, guid: 95a0bc7d2feaf914d805554c4949e837, type: 3} 54 | m_Scale: {x: 1, y: 1} 55 | m_Offset: {x: 0, y: 0} 56 | - _BaseMap: 57 | m_Texture: {fileID: 2800000, guid: c92ba267b63141443a6656cf856c3dcc, type: 3} 58 | m_Scale: {x: 1, y: 1} 59 | m_Offset: {x: 0, y: 0} 60 | - _BumpMap: 61 | m_Texture: {fileID: 2800000, guid: 59ee2dba8682cd241bfed5bcb571ecb3, type: 3} 62 | m_Scale: {x: 1, y: 1} 63 | m_Offset: {x: 0, y: 0} 64 | - _DetailAlbedoMap: 65 | m_Texture: {fileID: 0} 66 | m_Scale: {x: 1, y: 1} 67 | m_Offset: {x: 0, y: 0} 68 | - _DetailMask: 69 | m_Texture: {fileID: 0} 70 | m_Scale: {x: 1, y: 1} 71 | m_Offset: {x: 0, y: 0} 72 | - _DetailNormalMap: 73 | m_Texture: {fileID: 0} 74 | m_Scale: {x: 1, y: 1} 75 | m_Offset: {x: 0, y: 0} 76 | - _EmissionMap: 77 | m_Texture: {fileID: 0} 78 | m_Scale: {x: 1, y: 1} 79 | m_Offset: {x: 0, y: 0} 80 | - _MainTex: 81 | m_Texture: {fileID: 2800000, guid: c92ba267b63141443a6656cf856c3dcc, type: 3} 82 | m_Scale: {x: 1, y: 1} 83 | m_Offset: {x: 0, y: 0} 84 | - _Metallic: 85 | m_Texture: {fileID: 0} 86 | m_Scale: {x: 1, y: 1} 87 | m_Offset: {x: 0, y: 0} 88 | - _MetallicGlossMap: 89 | m_Texture: {fileID: 2800000, guid: d64cf11b7320e5746bbf5d9e357df4c1, type: 3} 90 | m_Scale: {x: 1, y: 1} 91 | m_Offset: {x: 0, y: 0} 92 | - _MetallicGlossMap2: 93 | m_Texture: {fileID: 0} 94 | m_Scale: {x: 1, y: 1} 95 | m_Offset: {x: 0, y: 0} 96 | - _OcclusionMap: 97 | m_Texture: {fileID: 2800000, guid: 85ea32a6364437047a182bd037609631, type: 3} 98 | m_Scale: {x: 1, y: 1} 99 | m_Offset: {x: 0, y: 0} 100 | - _ParallaxMap: 101 | m_Texture: {fileID: 0} 102 | m_Scale: {x: 1, y: 1} 103 | m_Offset: {x: 0, y: 0} 104 | - _SampleTexture2D_1F602450_Texture_1: 105 | m_Texture: {fileID: 0} 106 | m_Scale: {x: 1, y: 1} 107 | m_Offset: {x: 0, y: 0} 108 | - _Smoothness: 109 | m_Texture: {fileID: 0} 110 | m_Scale: {x: 1, y: 1} 111 | m_Offset: {x: 0, y: 0} 112 | - _Smoothness2: 113 | m_Texture: {fileID: 0} 114 | m_Scale: {x: 1, y: 1} 115 | m_Offset: {x: 0, y: 0} 116 | - _SpecGlossMap: 117 | m_Texture: {fileID: 0} 118 | m_Scale: {x: 1, y: 1} 119 | m_Offset: {x: 0, y: 0} 120 | - _Triplanar_D0D75644_Texture_1: 121 | m_Texture: {fileID: 0} 122 | m_Scale: {x: 1, y: 1} 123 | m_Offset: {x: 0, y: 0} 124 | m_Floats: 125 | - BOOLEAN_4DD5F3F4: 0 126 | - Boolean_12607D04: 0 127 | - Boolean_573DD5B4: 1 128 | - Boolean_6DFC0931: 1 129 | - Boolean_90788C52: 1 130 | - Boolean_AB4557F6: 0 131 | - Boolean_AD0C7272: 1 132 | - Boolean_B686556: 0 133 | - Boolean_CF6D6698: 0 134 | - Boolean_E351BE6B: 1 135 | - Vector1_1A2A1802: 0.54 136 | - Vector1_254ABF38: 1 137 | - Vector1_35C1A926: 0.29 138 | - Vector1_48B0E531: 1 139 | - Vector1_652325F2: 1 140 | - Vector1_A29FDC8A: 0 141 | - Vector1_AC4E61F0: 1 142 | - Vector1_B5F8027B: 1 143 | - Vector1_C0BDDD0C: 1 144 | - Vector1_C67EDD4B: 1 145 | - Vector1_DCA33BEA: 0 146 | - _AlphaClip: 0 147 | - _Blend: 0 148 | - _BumpScale: 1 149 | - _Cull: 2 150 | - _Cutoff: 0.5 151 | - _DetailNormalMapScale: 1 152 | - _DstBlend: 0 153 | - _EMISSION: 1 154 | - _EnvironmentReflections: 1 155 | - _GlossMapScale: 0 156 | - _Glossiness: 0 157 | - _GlossyReflections: 0 158 | - _METALLIC: 1 159 | - _METALLICSPECGLOSSMAP: 0 160 | - _Metallic: 0 161 | - _Mode: 0 162 | - _NORMALMAP: 0 163 | - _OCCLUSIONMAP: 0 164 | - _OcclusionStrength: 1 165 | - _Parallax: 0.02 166 | - _QueueOffset: 0 167 | - _ReceiveShadows: 1 168 | - _SMOOTHNESS: 1 169 | - _Smoothness: 0.5 170 | - _SmoothnessTextureChannel: 0 171 | - _SpecularHighlights: 1 172 | - _SrcBlend: 1 173 | - _Surface: 0 174 | - _UVSec: 0 175 | - _UseAoMap: 0 176 | - _UseColorMap: 0 177 | - _UseEmissiveMap: 0 178 | - _UseMetallicMap: 0 179 | - _UseNormalMap: 0 180 | - _UseRoughnessMap: 0 181 | - _WorkflowMode: 1 182 | - _ZWrite: 1 183 | m_Colors: 184 | - _BaseColor: {r: 1, g: 1, b: 1, a: 1} 185 | - _Color: {r: 1, g: 1, b: 1, a: 1} 186 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 187 | - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} 188 | - _UvOffset: {r: 0, g: 0, b: 0, a: 0} 189 | - _UvTiling: {r: 1, g: 1, b: 0, a: 0} 190 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Materials/MAT_PlanarReflectionsEXAMPLE_AA_01.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6b370c429b4b65b46b562414198f6104 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Materials/MAT_PlanarReflectionsEXAMPLE_AA_02.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &-1359625709359639421 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 11 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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} 13 | m_Name: 14 | m_EditorClassIdentifier: 15 | version: 1 16 | --- !u!21 &2100000 17 | Material: 18 | serializedVersion: 6 19 | m_ObjectHideFlags: 0 20 | m_CorrespondingSourceObject: {fileID: 0} 21 | m_PrefabInstance: {fileID: 0} 22 | m_PrefabAsset: {fileID: 0} 23 | m_Name: MAT_PlanarReflectionsEXAMPLE_AA_02 24 | m_Shader: {fileID: -6465566751694194690, guid: e02881a9026d6fe49b70f3a389b5a62f, 25 | type: 3} 26 | m_ShaderKeywords: _EMISSION_ON _GLOSSYREFLECTIONS_OFF _METALLIC_ON _SMOOTHNESS_ON 27 | m_LightmapFlags: 2 28 | m_EnableInstancingVariants: 1 29 | m_DoubleSidedGI: 1 30 | m_CustomRenderQueue: -1 31 | stringTagMap: {} 32 | disabledShaderPasses: [] 33 | m_SavedProperties: 34 | serializedVersion: 3 35 | m_TexEnvs: 36 | - Albedo: 37 | m_Texture: {fileID: 2800000, guid: 3e11968c372730442aae3b4f7c909931, type: 3} 38 | m_Scale: {x: 1, y: 1} 39 | m_Offset: {x: 0, y: 0} 40 | - Texture2D_3CF0EAC: 41 | m_Texture: {fileID: 0} 42 | m_Scale: {x: 1, y: 1} 43 | m_Offset: {x: 0, y: 0} 44 | - Texture2D_76180868: 45 | m_Texture: {fileID: 0} 46 | m_Scale: {x: 1, y: 1} 47 | m_Offset: {x: 0, y: 0} 48 | - Texture2D_A2ACDADE: 49 | m_Texture: {fileID: 2800000, guid: b049bcfdc63c359498d2fcc2cea723a2, type: 3} 50 | m_Scale: {x: 1, y: 1} 51 | m_Offset: {x: 0, y: 0} 52 | - _BaseColor: 53 | m_Texture: {fileID: 2800000, guid: 95a0bc7d2feaf914d805554c4949e837, type: 3} 54 | m_Scale: {x: 1, y: 1} 55 | m_Offset: {x: 0, y: 0} 56 | - _BaseMap: 57 | m_Texture: {fileID: 2800000, guid: c92ba267b63141443a6656cf856c3dcc, type: 3} 58 | m_Scale: {x: 1, y: 1} 59 | m_Offset: {x: 0, y: 0} 60 | - _BumpMap: 61 | m_Texture: {fileID: 2800000, guid: 59ee2dba8682cd241bfed5bcb571ecb3, type: 3} 62 | m_Scale: {x: 1, y: 1} 63 | m_Offset: {x: 0, y: 0} 64 | - _DetailAlbedoMap: 65 | m_Texture: {fileID: 0} 66 | m_Scale: {x: 1, y: 1} 67 | m_Offset: {x: 0, y: 0} 68 | - _DetailMask: 69 | m_Texture: {fileID: 0} 70 | m_Scale: {x: 1, y: 1} 71 | m_Offset: {x: 0, y: 0} 72 | - _DetailNormalMap: 73 | m_Texture: {fileID: 0} 74 | m_Scale: {x: 1, y: 1} 75 | m_Offset: {x: 0, y: 0} 76 | - _EmissionMap: 77 | m_Texture: {fileID: 0} 78 | m_Scale: {x: 1, y: 1} 79 | m_Offset: {x: 0, y: 0} 80 | - _MainTex: 81 | m_Texture: {fileID: 2800000, guid: 3e11968c372730442aae3b4f7c909931, type: 3} 82 | m_Scale: {x: 1, y: 1} 83 | m_Offset: {x: 0, y: 0} 84 | - _Metallic: 85 | m_Texture: {fileID: 0} 86 | m_Scale: {x: 1, y: 1} 87 | m_Offset: {x: 0, y: 0} 88 | - _MetallicGlossMap: 89 | m_Texture: {fileID: 2800000, guid: d64cf11b7320e5746bbf5d9e357df4c1, type: 3} 90 | m_Scale: {x: 1, y: 1} 91 | m_Offset: {x: 0, y: 0} 92 | - _MetallicGlossMap2: 93 | m_Texture: {fileID: 0} 94 | m_Scale: {x: 1, y: 1} 95 | m_Offset: {x: 0, y: 0} 96 | - _OcclusionMap: 97 | m_Texture: {fileID: 2800000, guid: 85ea32a6364437047a182bd037609631, type: 3} 98 | m_Scale: {x: 1, y: 1} 99 | m_Offset: {x: 0, y: 0} 100 | - _ParallaxMap: 101 | m_Texture: {fileID: 0} 102 | m_Scale: {x: 1, y: 1} 103 | m_Offset: {x: 0, y: 0} 104 | - _SampleTexture2D_1F602450_Texture_1: 105 | m_Texture: {fileID: 0} 106 | m_Scale: {x: 1, y: 1} 107 | m_Offset: {x: 0, y: 0} 108 | - _Smoothness: 109 | m_Texture: {fileID: 0} 110 | m_Scale: {x: 1, y: 1} 111 | m_Offset: {x: 0, y: 0} 112 | - _Smoothness2: 113 | m_Texture: {fileID: 0} 114 | m_Scale: {x: 1, y: 1} 115 | m_Offset: {x: 0, y: 0} 116 | - _SpecGlossMap: 117 | m_Texture: {fileID: 0} 118 | m_Scale: {x: 1, y: 1} 119 | m_Offset: {x: 0, y: 0} 120 | - _Triplanar_D0D75644_Texture_1: 121 | m_Texture: {fileID: 0} 122 | m_Scale: {x: 1, y: 1} 123 | m_Offset: {x: 0, y: 0} 124 | m_Floats: 125 | - BOOLEAN_4DD5F3F4: 0 126 | - Boolean_12607D04: 0 127 | - Boolean_573DD5B4: 1 128 | - Boolean_6DFC0931: 1 129 | - Boolean_90788C52: 1 130 | - Boolean_AB4557F6: 0 131 | - Boolean_AD0C7272: 1 132 | - Boolean_B686556: 0 133 | - Boolean_CF6D6698: 0 134 | - Boolean_E351BE6B: 1 135 | - Vector1_1A2A1802: 0.54 136 | - Vector1_254ABF38: 1 137 | - Vector1_35C1A926: 0.29 138 | - Vector1_48B0E531: 1 139 | - Vector1_652325F2: 1 140 | - Vector1_A29FDC8A: 0 141 | - Vector1_AC4E61F0: 1 142 | - Vector1_B5F8027B: 1 143 | - Vector1_C0BDDD0C: 1 144 | - Vector1_C67EDD4B: 1 145 | - Vector1_DCA33BEA: 0 146 | - _AlphaClip: 0 147 | - _Blend: 0 148 | - _BumpScale: 1 149 | - _Cull: 2 150 | - _Cutoff: 0.5 151 | - _DetailNormalMapScale: 1 152 | - _DstBlend: 0 153 | - _EMISSION: 1 154 | - _EnvironmentReflections: 1 155 | - _GlossMapScale: 0 156 | - _Glossiness: 0 157 | - _GlossyReflections: 0 158 | - _METALLIC: 1 159 | - _METALLICSPECGLOSSMAP: 0 160 | - _Metallic: 0 161 | - _Mode: 0 162 | - _NORMALMAP: 0 163 | - _OCCLUSIONMAP: 0 164 | - _OcclusionStrength: 1 165 | - _Parallax: 0.02 166 | - _QueueOffset: 0 167 | - _ReceiveShadows: 1 168 | - _SMOOTHNESS: 1 169 | - _Smoothness: 0.5 170 | - _SmoothnessTextureChannel: 0 171 | - _SpecularHighlights: 1 172 | - _SrcBlend: 1 173 | - _Surface: 0 174 | - _UVSec: 0 175 | - _UseAoMap: 0 176 | - _UseColorMap: 0 177 | - _UseEmissiveMap: 0 178 | - _UseMetallicMap: 0 179 | - _UseNormalMap: 0 180 | - _UseRoughnessMap: 0 181 | - _WorkflowMode: 1 182 | - _ZWrite: 1 183 | m_Colors: 184 | - _BaseColor: {r: 1, g: 1, b: 1, a: 1} 185 | - _Color: {r: 1, g: 1, b: 1, a: 1} 186 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 187 | - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} 188 | - _UvOffset: {r: 0, g: 0, b: 0, a: 0} 189 | - _UvTiling: {r: 1, g: 1, b: 0, a: 0} 190 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Materials/MAT_PlanarReflectionsEXAMPLE_AA_02.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7f1e63f916e374b4b920aef62d9f9f8f 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Materials/MAT_PlanarReflectionsEXAMPLE_AA_03.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &-1359625709359639421 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 11 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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} 13 | m_Name: 14 | m_EditorClassIdentifier: 15 | version: 1 16 | --- !u!21 &2100000 17 | Material: 18 | serializedVersion: 6 19 | m_ObjectHideFlags: 0 20 | m_CorrespondingSourceObject: {fileID: 0} 21 | m_PrefabInstance: {fileID: 0} 22 | m_PrefabAsset: {fileID: 0} 23 | m_Name: MAT_PlanarReflectionsEXAMPLE_AA_03 24 | m_Shader: {fileID: -6465566751694194690, guid: c2309916a3b9c8c4599d6bb9c5b43f92, 25 | type: 3} 26 | m_ShaderKeywords: _EMISSION_ON _GLOSSYREFLECTIONS_OFF _METALLIC_ON _SMOOTHNESS_ON 27 | m_LightmapFlags: 2 28 | m_EnableInstancingVariants: 1 29 | m_DoubleSidedGI: 1 30 | m_CustomRenderQueue: -1 31 | stringTagMap: {} 32 | disabledShaderPasses: [] 33 | m_SavedProperties: 34 | serializedVersion: 3 35 | m_TexEnvs: 36 | - Albedo: 37 | m_Texture: {fileID: 2800000, guid: 3e11968c372730442aae3b4f7c909931, type: 3} 38 | m_Scale: {x: 1, y: 1} 39 | m_Offset: {x: 0, y: 0} 40 | - Texture2D_3CF0EAC: 41 | m_Texture: {fileID: 0} 42 | m_Scale: {x: 1, y: 1} 43 | m_Offset: {x: 0, y: 0} 44 | - Texture2D_76180868: 45 | m_Texture: {fileID: 0} 46 | m_Scale: {x: 1, y: 1} 47 | m_Offset: {x: 0, y: 0} 48 | - Texture2D_A2ACDADE: 49 | m_Texture: {fileID: 2800000, guid: b049bcfdc63c359498d2fcc2cea723a2, type: 3} 50 | m_Scale: {x: 1, y: 1} 51 | m_Offset: {x: 0, y: 0} 52 | - _BaseColor: 53 | m_Texture: {fileID: 2800000, guid: 95a0bc7d2feaf914d805554c4949e837, type: 3} 54 | m_Scale: {x: 1, y: 1} 55 | m_Offset: {x: 0, y: 0} 56 | - _BaseMap: 57 | m_Texture: {fileID: 2800000, guid: c92ba267b63141443a6656cf856c3dcc, type: 3} 58 | m_Scale: {x: 1, y: 1} 59 | m_Offset: {x: 0, y: 0} 60 | - _BumpMap: 61 | m_Texture: {fileID: 2800000, guid: 59ee2dba8682cd241bfed5bcb571ecb3, type: 3} 62 | m_Scale: {x: 1, y: 1} 63 | m_Offset: {x: 0, y: 0} 64 | - _DetailAlbedoMap: 65 | m_Texture: {fileID: 0} 66 | m_Scale: {x: 1, y: 1} 67 | m_Offset: {x: 0, y: 0} 68 | - _DetailMask: 69 | m_Texture: {fileID: 0} 70 | m_Scale: {x: 1, y: 1} 71 | m_Offset: {x: 0, y: 0} 72 | - _DetailNormalMap: 73 | m_Texture: {fileID: 0} 74 | m_Scale: {x: 1, y: 1} 75 | m_Offset: {x: 0, y: 0} 76 | - _EmissionMap: 77 | m_Texture: {fileID: 0} 78 | m_Scale: {x: 1, y: 1} 79 | m_Offset: {x: 0, y: 0} 80 | - _MainTex: 81 | m_Texture: {fileID: 2800000, guid: 3e11968c372730442aae3b4f7c909931, type: 3} 82 | m_Scale: {x: 1, y: 1} 83 | m_Offset: {x: 0, y: 0} 84 | - _Metallic: 85 | m_Texture: {fileID: 0} 86 | m_Scale: {x: 1, y: 1} 87 | m_Offset: {x: 0, y: 0} 88 | - _MetallicGlossMap: 89 | m_Texture: {fileID: 2800000, guid: d64cf11b7320e5746bbf5d9e357df4c1, type: 3} 90 | m_Scale: {x: 1, y: 1} 91 | m_Offset: {x: 0, y: 0} 92 | - _MetallicGlossMap2: 93 | m_Texture: {fileID: 0} 94 | m_Scale: {x: 1, y: 1} 95 | m_Offset: {x: 0, y: 0} 96 | - _OcclusionMap: 97 | m_Texture: {fileID: 2800000, guid: 85ea32a6364437047a182bd037609631, type: 3} 98 | m_Scale: {x: 1, y: 1} 99 | m_Offset: {x: 0, y: 0} 100 | - _ParallaxMap: 101 | m_Texture: {fileID: 0} 102 | m_Scale: {x: 1, y: 1} 103 | m_Offset: {x: 0, y: 0} 104 | - _SampleTexture2D_1F602450_Texture_1: 105 | m_Texture: {fileID: 0} 106 | m_Scale: {x: 1, y: 1} 107 | m_Offset: {x: 0, y: 0} 108 | - _Smoothness: 109 | m_Texture: {fileID: 0} 110 | m_Scale: {x: 1, y: 1} 111 | m_Offset: {x: 0, y: 0} 112 | - _Smoothness2: 113 | m_Texture: {fileID: 0} 114 | m_Scale: {x: 1, y: 1} 115 | m_Offset: {x: 0, y: 0} 116 | - _SpecGlossMap: 117 | m_Texture: {fileID: 0} 118 | m_Scale: {x: 1, y: 1} 119 | m_Offset: {x: 0, y: 0} 120 | - _Triplanar_D0D75644_Texture_1: 121 | m_Texture: {fileID: 0} 122 | m_Scale: {x: 1, y: 1} 123 | m_Offset: {x: 0, y: 0} 124 | m_Floats: 125 | - BOOLEAN_4DD5F3F4: 0 126 | - Boolean_12607D04: 0 127 | - Boolean_573DD5B4: 1 128 | - Boolean_6DFC0931: 1 129 | - Boolean_90788C52: 1 130 | - Boolean_AB4557F6: 0 131 | - Boolean_AD0C7272: 1 132 | - Boolean_B686556: 0 133 | - Boolean_CF6D6698: 0 134 | - Boolean_E351BE6B: 1 135 | - Vector1_1A2A1802: 0.54 136 | - Vector1_254ABF38: 1 137 | - Vector1_35C1A926: 0.29 138 | - Vector1_48B0E531: 1 139 | - Vector1_652325F2: 1 140 | - Vector1_A29FDC8A: 0 141 | - Vector1_AC4E61F0: 1 142 | - Vector1_B5F8027B: 1 143 | - Vector1_C0BDDD0C: 1 144 | - Vector1_C67EDD4B: 1 145 | - Vector1_DCA33BEA: 0 146 | - _AlphaClip: 0 147 | - _Blend: 0 148 | - _BumpScale: 1 149 | - _Cull: 2 150 | - _Cutoff: 0.5 151 | - _DetailNormalMapScale: 1 152 | - _DstBlend: 0 153 | - _EMISSION: 1 154 | - _EnvironmentReflections: 1 155 | - _GlossMapScale: 0 156 | - _Glossiness: 0 157 | - _GlossyReflections: 0 158 | - _METALLIC: 1 159 | - _METALLICSPECGLOSSMAP: 0 160 | - _Metallic: 0 161 | - _Mode: 0 162 | - _NORMALMAP: 0 163 | - _OCCLUSIONMAP: 0 164 | - _OcclusionStrength: 1 165 | - _Parallax: 0.02 166 | - _QueueOffset: 0 167 | - _ReceiveShadows: 1 168 | - _SMOOTHNESS: 1 169 | - _Smoothness: 0.5 170 | - _SmoothnessTextureChannel: 0 171 | - _SpecularHighlights: 1 172 | - _SrcBlend: 1 173 | - _Surface: 0 174 | - _UVSec: 0 175 | - _UseAoMap: 0 176 | - _UseColorMap: 0 177 | - _UseEmissiveMap: 0 178 | - _UseMetallicMap: 0 179 | - _UseNormalMap: 0 180 | - _UseRoughnessMap: 0 181 | - _WorkflowMode: 1 182 | - _ZWrite: 1 183 | m_Colors: 184 | - _BaseColor: {r: 1, g: 1, b: 1, a: 1} 185 | - _Color: {r: 1, g: 1, b: 1, a: 1} 186 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 187 | - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} 188 | - _UvOffset: {r: 0, g: 0, b: 0, a: 0} 189 | - _UvTiling: {r: 1, g: 1, b: 0, a: 0} 190 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Materials/MAT_PlanarReflectionsEXAMPLE_AA_03.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c72e808d6ca843c4ab346d89540e9cea 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Materials/MAT_PlanarReflectionsEXAMPLE_AA_04.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &-1359625709359639421 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 11 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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} 13 | m_Name: 14 | m_EditorClassIdentifier: 15 | version: 1 16 | --- !u!21 &2100000 17 | Material: 18 | serializedVersion: 6 19 | m_ObjectHideFlags: 0 20 | m_CorrespondingSourceObject: {fileID: 0} 21 | m_PrefabInstance: {fileID: 0} 22 | m_PrefabAsset: {fileID: 0} 23 | m_Name: MAT_PlanarReflectionsEXAMPLE_AA_04 24 | m_Shader: {fileID: -6465566751694194690, guid: be369ebc64d8f6f41878308dd46b9f8f, 25 | type: 3} 26 | m_ShaderKeywords: _EMISSION_ON _GLOSSYREFLECTIONS_OFF _METALLIC_ON _SMOOTHNESS_ON 27 | m_LightmapFlags: 2 28 | m_EnableInstancingVariants: 1 29 | m_DoubleSidedGI: 1 30 | m_CustomRenderQueue: -1 31 | stringTagMap: {} 32 | disabledShaderPasses: [] 33 | m_SavedProperties: 34 | serializedVersion: 3 35 | m_TexEnvs: 36 | - Albedo: 37 | m_Texture: {fileID: 2800000, guid: 3e11968c372730442aae3b4f7c909931, type: 3} 38 | m_Scale: {x: 1, y: 1} 39 | m_Offset: {x: 0, y: 0} 40 | - Texture2D_3CF0EAC: 41 | m_Texture: {fileID: 0} 42 | m_Scale: {x: 1, y: 1} 43 | m_Offset: {x: 0, y: 0} 44 | - Texture2D_76180868: 45 | m_Texture: {fileID: 0} 46 | m_Scale: {x: 1, y: 1} 47 | m_Offset: {x: 0, y: 0} 48 | - Texture2D_A2ACDADE: 49 | m_Texture: {fileID: 2800000, guid: b049bcfdc63c359498d2fcc2cea723a2, type: 3} 50 | m_Scale: {x: 1, y: 1} 51 | m_Offset: {x: 0, y: 0} 52 | - _BaseColor: 53 | m_Texture: {fileID: 2800000, guid: 95a0bc7d2feaf914d805554c4949e837, type: 3} 54 | m_Scale: {x: 1, y: 1} 55 | m_Offset: {x: 0, y: 0} 56 | - _BaseMap: 57 | m_Texture: {fileID: 2800000, guid: c92ba267b63141443a6656cf856c3dcc, type: 3} 58 | m_Scale: {x: 1, y: 1} 59 | m_Offset: {x: 0, y: 0} 60 | - _BumpMap: 61 | m_Texture: {fileID: 2800000, guid: 59ee2dba8682cd241bfed5bcb571ecb3, type: 3} 62 | m_Scale: {x: 1, y: 1} 63 | m_Offset: {x: 0, y: 0} 64 | - _DetailAlbedoMap: 65 | m_Texture: {fileID: 0} 66 | m_Scale: {x: 1, y: 1} 67 | m_Offset: {x: 0, y: 0} 68 | - _DetailMask: 69 | m_Texture: {fileID: 0} 70 | m_Scale: {x: 1, y: 1} 71 | m_Offset: {x: 0, y: 0} 72 | - _DetailNormalMap: 73 | m_Texture: {fileID: 0} 74 | m_Scale: {x: 1, y: 1} 75 | m_Offset: {x: 0, y: 0} 76 | - _EmissionMap: 77 | m_Texture: {fileID: 0} 78 | m_Scale: {x: 1, y: 1} 79 | m_Offset: {x: 0, y: 0} 80 | - _MainTex: 81 | m_Texture: {fileID: 2800000, guid: 3e11968c372730442aae3b4f7c909931, type: 3} 82 | m_Scale: {x: 1, y: 1} 83 | m_Offset: {x: 0, y: 0} 84 | - _Metallic: 85 | m_Texture: {fileID: 0} 86 | m_Scale: {x: 1, y: 1} 87 | m_Offset: {x: 0, y: 0} 88 | - _MetallicGlossMap: 89 | m_Texture: {fileID: 2800000, guid: d64cf11b7320e5746bbf5d9e357df4c1, type: 3} 90 | m_Scale: {x: 1, y: 1} 91 | m_Offset: {x: 0, y: 0} 92 | - _MetallicGlossMap2: 93 | m_Texture: {fileID: 0} 94 | m_Scale: {x: 1, y: 1} 95 | m_Offset: {x: 0, y: 0} 96 | - _OcclusionMap: 97 | m_Texture: {fileID: 2800000, guid: 85ea32a6364437047a182bd037609631, type: 3} 98 | m_Scale: {x: 1, y: 1} 99 | m_Offset: {x: 0, y: 0} 100 | - _ParallaxMap: 101 | m_Texture: {fileID: 0} 102 | m_Scale: {x: 1, y: 1} 103 | m_Offset: {x: 0, y: 0} 104 | - _SampleTexture2D_1F602450_Texture_1: 105 | m_Texture: {fileID: 0} 106 | m_Scale: {x: 1, y: 1} 107 | m_Offset: {x: 0, y: 0} 108 | - _Smoothness: 109 | m_Texture: {fileID: 0} 110 | m_Scale: {x: 1, y: 1} 111 | m_Offset: {x: 0, y: 0} 112 | - _Smoothness2: 113 | m_Texture: {fileID: 0} 114 | m_Scale: {x: 1, y: 1} 115 | m_Offset: {x: 0, y: 0} 116 | - _SpecGlossMap: 117 | m_Texture: {fileID: 0} 118 | m_Scale: {x: 1, y: 1} 119 | m_Offset: {x: 0, y: 0} 120 | - _Triplanar_D0D75644_Texture_1: 121 | m_Texture: {fileID: 0} 122 | m_Scale: {x: 1, y: 1} 123 | m_Offset: {x: 0, y: 0} 124 | m_Floats: 125 | - BOOLEAN_4DD5F3F4: 0 126 | - Boolean_12607D04: 0 127 | - Boolean_573DD5B4: 1 128 | - Boolean_6DFC0931: 1 129 | - Boolean_90788C52: 1 130 | - Boolean_AB4557F6: 0 131 | - Boolean_AD0C7272: 1 132 | - Boolean_B686556: 0 133 | - Boolean_CF6D6698: 0 134 | - Boolean_E351BE6B: 1 135 | - Vector1_1A2A1802: 0.54 136 | - Vector1_254ABF38: 1 137 | - Vector1_35C1A926: 0.29 138 | - Vector1_48B0E531: 1 139 | - Vector1_652325F2: 1 140 | - Vector1_A29FDC8A: 0 141 | - Vector1_AC4E61F0: 1 142 | - Vector1_B5F8027B: 1 143 | - Vector1_C0BDDD0C: 1 144 | - Vector1_C67EDD4B: 1 145 | - Vector1_DCA33BEA: 0 146 | - _AlphaClip: 0 147 | - _Blend: 0 148 | - _BumpScale: 1 149 | - _Cull: 2 150 | - _Cutoff: 0.5 151 | - _DetailNormalMapScale: 1 152 | - _DstBlend: 0 153 | - _EMISSION: 1 154 | - _EnvironmentReflections: 1 155 | - _GlossMapScale: 0 156 | - _Glossiness: 0 157 | - _GlossyReflections: 0 158 | - _METALLIC: 1 159 | - _METALLICSPECGLOSSMAP: 0 160 | - _Metallic: 0 161 | - _Mode: 0 162 | - _NORMALMAP: 0 163 | - _OCCLUSIONMAP: 0 164 | - _OcclusionStrength: 1 165 | - _Parallax: 0.02 166 | - _QueueOffset: 0 167 | - _ReceiveShadows: 1 168 | - _SMOOTHNESS: 1 169 | - _Smoothness: 0.5 170 | - _SmoothnessTextureChannel: 0 171 | - _SpecularHighlights: 1 172 | - _SrcBlend: 1 173 | - _Surface: 0 174 | - _UVSec: 0 175 | - _UseAoMap: 0 176 | - _UseColorMap: 0 177 | - _UseEmissiveMap: 0 178 | - _UseMetallicMap: 0 179 | - _UseNormalMap: 0 180 | - _UseRoughnessMap: 0 181 | - _WorkflowMode: 1 182 | - _ZWrite: 1 183 | m_Colors: 184 | - _BaseColor: {r: 1, g: 1, b: 1, a: 1} 185 | - _Color: {r: 1, g: 1, b: 1, a: 1} 186 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 187 | - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} 188 | - _UvOffset: {r: 0, g: 0, b: 0, a: 0} 189 | - _UvTiling: {r: 1, g: 1, b: 0, a: 0} 190 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Materials/MAT_PlanarReflectionsEXAMPLE_AA_04.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85132fee1cbb07b4da310f7e3dffd392 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Materials/MAT_TestEmission_AA_01.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: MAT_TestEmission_AA_01 11 | m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} 12 | m_ShaderKeywords: _EMISSION 13 | m_LightmapFlags: 2 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: 2000 17 | stringTagMap: 18 | RenderType: Opaque 19 | disabledShaderPasses: [] 20 | m_SavedProperties: 21 | serializedVersion: 3 22 | m_TexEnvs: 23 | - _BaseMap: 24 | m_Texture: {fileID: 0} 25 | m_Scale: {x: 1, y: 1} 26 | m_Offset: {x: 0, y: 0} 27 | - _BumpMap: 28 | m_Texture: {fileID: 0} 29 | m_Scale: {x: 1, y: 1} 30 | m_Offset: {x: 0, y: 0} 31 | - _EmissionMap: 32 | m_Texture: {fileID: 0} 33 | m_Scale: {x: 1, y: 1} 34 | m_Offset: {x: 0, y: 0} 35 | - _MainTex: 36 | m_Texture: {fileID: 0} 37 | m_Scale: {x: 1, y: 1} 38 | m_Offset: {x: 0, y: 0} 39 | - _MetallicGlossMap: 40 | m_Texture: {fileID: 0} 41 | m_Scale: {x: 1, y: 1} 42 | m_Offset: {x: 0, y: 0} 43 | - _OcclusionMap: 44 | m_Texture: {fileID: 0} 45 | m_Scale: {x: 1, y: 1} 46 | m_Offset: {x: 0, y: 0} 47 | - _SpecGlossMap: 48 | m_Texture: {fileID: 0} 49 | m_Scale: {x: 1, y: 1} 50 | m_Offset: {x: 0, y: 0} 51 | m_Floats: 52 | - _AlphaClip: 0 53 | - _Blend: 0 54 | - _BumpScale: 1 55 | - _Cull: 2 56 | - _Cutoff: 0.5 57 | - _DstBlend: 0 58 | - _EnvironmentReflections: 1 59 | - _GlossMapScale: 0 60 | - _Glossiness: 0 61 | - _GlossyReflections: 0 62 | - _Metallic: 0 63 | - _OcclusionStrength: 1 64 | - _QueueOffset: 0 65 | - _ReceiveShadows: 1 66 | - _Smoothness: 0.5 67 | - _SmoothnessTextureChannel: 0 68 | - _SpecularHighlights: 1 69 | - _SrcBlend: 1 70 | - _Surface: 0 71 | - _WorkflowMode: 1 72 | - _ZWrite: 1 73 | m_Colors: 74 | - _BaseColor: {r: 1, g: 1, b: 1, a: 1} 75 | - _Color: {r: 1, g: 1, b: 1, a: 1} 76 | - _EmissionColor: {r: 4.594794, g: 0, b: 0, a: 1} 77 | - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} 78 | --- !u!114 &6228851050944767600 79 | MonoBehaviour: 80 | m_ObjectHideFlags: 11 81 | m_CorrespondingSourceObject: {fileID: 0} 82 | m_PrefabInstance: {fileID: 0} 83 | m_PrefabAsset: {fileID: 0} 84 | m_GameObject: {fileID: 0} 85 | m_Enabled: 1 86 | m_EditorHideFlags: 0 87 | m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} 88 | m_Name: 89 | m_EditorClassIdentifier: 90 | version: 2 91 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Materials/MAT_TestEmission_AA_01.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 61d68a6fe788ab04898d3848e4ca1113 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/MinSettings_PlanarExampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a9a12efcaee849545a46201fe322f2f4 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/RecursiveMaxSettings_PlanarExampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1810ac84de7b94a45a51abb01888158c 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/SampleSceneProfile.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &-7893295128165547882 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 3 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: 0b2db86121404754db890f4c8dfe81b2, type: 3} 13 | m_Name: Bloom 14 | m_EditorClassIdentifier: 15 | active: 1 16 | m_AdvancedMode: 0 17 | threshold: 18 | m_OverrideState: 1 19 | m_Value: 1 20 | min: 0 21 | intensity: 22 | m_OverrideState: 1 23 | m_Value: 1 24 | min: 0 25 | scatter: 26 | m_OverrideState: 0 27 | m_Value: 0.7 28 | min: 0 29 | max: 1 30 | clamp: 31 | m_OverrideState: 0 32 | m_Value: 65472 33 | min: 0 34 | tint: 35 | m_OverrideState: 0 36 | m_Value: {r: 1, g: 1, b: 1, a: 1} 37 | hdr: 0 38 | showAlpha: 0 39 | showEyeDropper: 1 40 | highQualityFiltering: 41 | m_OverrideState: 0 42 | m_Value: 0 43 | dirtTexture: 44 | m_OverrideState: 0 45 | m_Value: {fileID: 0} 46 | dirtIntensity: 47 | m_OverrideState: 0 48 | m_Value: 0 49 | min: 0 50 | --- !u!114 &-7011558710299706105 51 | MonoBehaviour: 52 | m_ObjectHideFlags: 3 53 | m_CorrespondingSourceObject: {fileID: 0} 54 | m_PrefabInstance: {fileID: 0} 55 | m_PrefabAsset: {fileID: 0} 56 | m_GameObject: {fileID: 0} 57 | m_Enabled: 1 58 | m_EditorHideFlags: 0 59 | m_Script: {fileID: 11500000, guid: 899c54efeace73346a0a16faa3afe726, type: 3} 60 | m_Name: Vignette 61 | m_EditorClassIdentifier: 62 | active: 1 63 | m_AdvancedMode: 0 64 | color: 65 | m_OverrideState: 0 66 | m_Value: {r: 0, g: 0, b: 0, a: 1} 67 | hdr: 0 68 | showAlpha: 0 69 | showEyeDropper: 1 70 | center: 71 | m_OverrideState: 0 72 | m_Value: {x: 0.5, y: 0.5} 73 | intensity: 74 | m_OverrideState: 1 75 | m_Value: 0.25 76 | min: 0 77 | max: 1 78 | smoothness: 79 | m_OverrideState: 1 80 | m_Value: 0.4 81 | min: 0.01 82 | max: 1 83 | rounded: 84 | m_OverrideState: 0 85 | m_Value: 0 86 | --- !u!114 &11400000 87 | MonoBehaviour: 88 | m_ObjectHideFlags: 0 89 | m_CorrespondingSourceObject: {fileID: 0} 90 | m_PrefabInstance: {fileID: 0} 91 | m_PrefabAsset: {fileID: 0} 92 | m_GameObject: {fileID: 0} 93 | m_Enabled: 1 94 | m_EditorHideFlags: 0 95 | m_Script: {fileID: 11500000, guid: d7fd9488000d3734a9e00ee676215985, type: 3} 96 | m_Name: SampleSceneProfile 97 | m_EditorClassIdentifier: 98 | components: 99 | - {fileID: 849379129802519247} 100 | - {fileID: -7893295128165547882} 101 | - {fileID: -7011558710299706105} 102 | --- !u!114 &849379129802519247 103 | MonoBehaviour: 104 | m_ObjectHideFlags: 3 105 | m_CorrespondingSourceObject: {fileID: 0} 106 | m_PrefabInstance: {fileID: 0} 107 | m_PrefabAsset: {fileID: 0} 108 | m_GameObject: {fileID: 0} 109 | m_Enabled: 1 110 | m_EditorHideFlags: 0 111 | m_Script: {fileID: 11500000, guid: 97c23e3b12dc18c42a140437e53d3951, type: 3} 112 | m_Name: Tonemapping 113 | m_EditorClassIdentifier: 114 | active: 1 115 | m_AdvancedMode: 0 116 | mode: 117 | m_OverrideState: 1 118 | m_Value: 2 119 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/SampleSceneProfile.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 10fc4df2da32a41aaa32d77bc913491c 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/SimpleCamExampleSceneCopy.cs: -------------------------------------------------------------------------------- 1 | #if ENABLE_INPUT_SYSTEM && ENABLE_INPUT_SYSTEM_PACKAGE 2 | #define USE_INPUT_SYSTEM 3 | using UnityEngine.InputSystem; 4 | using UnityEngine.InputSystem.Controls; 5 | #endif 6 | 7 | using UnityEditor; 8 | using UnityEngine; 9 | 10 | namespace UnityTemplateProjects 11 | { 12 | public class SimpleCamExampleSceneCopy : MonoBehaviour 13 | { 14 | [Header("Movement Settings")] [Tooltip("Exponential boost factor on translation, controllable by mouse wheel.")] 15 | public float boost = 3.5f; 16 | 17 | [Tooltip("Whether or not to invert our Y axis for mouse input to rotation.")] 18 | public bool invertY; 19 | 20 | private readonly CameraState m_InterpolatingCameraState = new CameraState(); 21 | 22 | private readonly CameraState m_TargetCameraState = new CameraState(); 23 | 24 | [Header("Rotation Settings")] 25 | [Tooltip("X = Change in mouse position.\nY = Multiplicative factor for camera rotation.")] 26 | public AnimationCurve mouseSensitivityCurve = 27 | new AnimationCurve(new Keyframe(0f, 0.5f, 0f, 5f), new Keyframe(1f, 2.5f, 0f, 0f)); 28 | 29 | [Tooltip("Time it takes to interpolate camera position 99% of the way to the target.")] [Range(0.001f, 1f)] 30 | public float positionLerpTime = 0.2f; 31 | 32 | [Tooltip("Time it takes to interpolate camera rotation 99% of the way to the target.")] [Range(0.001f, 1f)] 33 | public float rotationLerpTime = 0.01f; 34 | 35 | private void OnEnable() 36 | { 37 | m_TargetCameraState.SetFromTransform(transform); 38 | m_InterpolatingCameraState.SetFromTransform(transform); 39 | } 40 | 41 | private Vector3 GetInputTranslationDirection() 42 | { 43 | var direction = new Vector3(); 44 | if (Input.GetKey(KeyCode.W)) direction += Vector3.forward; 45 | if (Input.GetKey(KeyCode.S)) direction += Vector3.back; 46 | if (Input.GetKey(KeyCode.A)) direction += Vector3.left; 47 | if (Input.GetKey(KeyCode.D)) direction += Vector3.right; 48 | if (Input.GetKey(KeyCode.Q)) direction += Vector3.down; 49 | if (Input.GetKey(KeyCode.E)) direction += Vector3.up; 50 | return direction; 51 | } 52 | 53 | private void Update() 54 | { 55 | var translation = Vector3.zero; 56 | 57 | #if ENABLE_LEGACY_INPUT_MANAGER 58 | 59 | // Exit Sample 60 | if (Input.GetKey(KeyCode.Escape)) 61 | { 62 | Application.Quit(); 63 | #if UNITY_EDITOR 64 | EditorApplication.isPlaying = false; 65 | #endif 66 | } 67 | 68 | // Hide and lock cursor when right mouse button pressed 69 | if (Input.GetMouseButtonDown(1)) Cursor.lockState = CursorLockMode.Locked; 70 | 71 | // Unlock and show cursor when right mouse button released 72 | if (Input.GetMouseButtonUp(1)) 73 | { 74 | Cursor.visible = true; 75 | Cursor.lockState = CursorLockMode.None; 76 | } 77 | 78 | // Rotation 79 | if (Input.GetMouseButton(1)) 80 | { 81 | var mouseMovement = 82 | new Vector2(Input.GetAxis("Mouse X"), Input.GetAxis("Mouse Y") * (invertY ? 1 : -1)); 83 | 84 | var mouseSensitivityFactor = mouseSensitivityCurve.Evaluate(mouseMovement.magnitude); 85 | 86 | m_TargetCameraState.yaw += mouseMovement.x * mouseSensitivityFactor; 87 | m_TargetCameraState.pitch += mouseMovement.y * mouseSensitivityFactor; 88 | } 89 | 90 | // Translation 91 | translation = GetInputTranslationDirection() * Time.deltaTime; 92 | 93 | // Speed up movement when shift key held 94 | if (Input.GetKey(KeyCode.LeftShift)) translation *= 10.0f; 95 | 96 | // Modify movement by a boost factor (defined in Inspector and modified in play mode through the mouse scroll wheel) 97 | boost += Input.mouseScrollDelta.y * 0.2f; 98 | translation *= Mathf.Pow(2.0f, boost); 99 | 100 | #elif USE_INPUT_SYSTEM 101 | // TODO: make the new input system work 102 | #endif 103 | 104 | m_TargetCameraState.Translate(translation); 105 | 106 | // Framerate-independent interpolation 107 | // Calculate the lerp amount, such that we get 99% of the way to our target in the specified time 108 | var positionLerpPct = 1f - Mathf.Exp(Mathf.Log(1f - 0.99f) / positionLerpTime * Time.deltaTime); 109 | var rotationLerpPct = 1f - Mathf.Exp(Mathf.Log(1f - 0.99f) / rotationLerpTime * Time.deltaTime); 110 | m_InterpolatingCameraState.LerpTowards(m_TargetCameraState, positionLerpPct, rotationLerpPct); 111 | 112 | m_InterpolatingCameraState.UpdateTransform(transform); 113 | } 114 | 115 | private class CameraState 116 | { 117 | public float pitch; 118 | public float roll; 119 | public float x; 120 | public float y; 121 | public float yaw; 122 | public float z; 123 | 124 | public void SetFromTransform(Transform t) 125 | { 126 | pitch = t.eulerAngles.x; 127 | yaw = t.eulerAngles.y; 128 | roll = t.eulerAngles.z; 129 | x = t.position.x; 130 | y = t.position.y; 131 | z = t.position.z; 132 | } 133 | 134 | public void Translate(Vector3 translation) 135 | { 136 | var rotatedTranslation = Quaternion.Euler(pitch, yaw, roll) * translation; 137 | 138 | x += rotatedTranslation.x; 139 | y += rotatedTranslation.y; 140 | z += rotatedTranslation.z; 141 | } 142 | 143 | public void LerpTowards(CameraState target, float positionLerpPct, float rotationLerpPct) 144 | { 145 | yaw = Mathf.Lerp(yaw, target.yaw, rotationLerpPct); 146 | pitch = Mathf.Lerp(pitch, target.pitch, rotationLerpPct); 147 | roll = Mathf.Lerp(roll, target.roll, rotationLerpPct); 148 | 149 | x = Mathf.Lerp(x, target.x, positionLerpPct); 150 | y = Mathf.Lerp(y, target.y, positionLerpPct); 151 | z = Mathf.Lerp(z, target.z, positionLerpPct); 152 | } 153 | 154 | public void UpdateTransform(Transform t) 155 | { 156 | t.eulerAngles = new Vector3(pitch, yaw, roll); 157 | t.position = new Vector3(x, y, z); 158 | } 159 | } 160 | } 161 | } -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/SimpleCamExampleSceneCopy.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: be76e5f14cfee674cb30b491fb72b09b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0f6ec0c7646e36848ab192b6c7d3629d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Textures/MAT_SkyMaterial_AA_01.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &-888086926114662914 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 11 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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} 13 | m_Name: 14 | m_EditorClassIdentifier: 15 | version: 1 16 | --- !u!21 &2100000 17 | Material: 18 | serializedVersion: 6 19 | m_ObjectHideFlags: 0 20 | m_CorrespondingSourceObject: {fileID: 0} 21 | m_PrefabInstance: {fileID: 0} 22 | m_PrefabAsset: {fileID: 0} 23 | m_Name: MAT_SkyMaterial_AA_01 24 | m_Shader: {fileID: 108, guid: 0000000000000000f000000000000000, type: 0} 25 | m_ShaderKeywords: _MAPPING_LATITUDE_LONGITUDE_LAYOUT 26 | m_LightmapFlags: 4 27 | m_EnableInstancingVariants: 0 28 | m_DoubleSidedGI: 0 29 | m_CustomRenderQueue: -1 30 | stringTagMap: {} 31 | disabledShaderPasses: [] 32 | m_SavedProperties: 33 | serializedVersion: 3 34 | m_TexEnvs: 35 | - _BaseMap: 36 | m_Texture: {fileID: 0} 37 | m_Scale: {x: 1, y: 1} 38 | m_Offset: {x: 0, y: 0} 39 | - _BumpMap: 40 | m_Texture: {fileID: 0} 41 | m_Scale: {x: 1, y: 1} 42 | m_Offset: {x: 0, y: 0} 43 | - _EmissionMap: 44 | m_Texture: {fileID: 0} 45 | m_Scale: {x: 1, y: 1} 46 | m_Offset: {x: 0, y: 0} 47 | - _MainTex: 48 | m_Texture: {fileID: 2800000, guid: efaa57a726cb3cb4c810ffedab97064e, type: 3} 49 | m_Scale: {x: 1, y: 1} 50 | m_Offset: {x: 0, y: 0} 51 | - _MetallicGlossMap: 52 | m_Texture: {fileID: 0} 53 | m_Scale: {x: 1, y: 1} 54 | m_Offset: {x: 0, y: 0} 55 | - _OcclusionMap: 56 | m_Texture: {fileID: 0} 57 | m_Scale: {x: 1, y: 1} 58 | m_Offset: {x: 0, y: 0} 59 | - _SpecGlossMap: 60 | m_Texture: {fileID: 0} 61 | m_Scale: {x: 1, y: 1} 62 | m_Offset: {x: 0, y: 0} 63 | m_Floats: 64 | - _AlphaClip: 0 65 | - _Blend: 0 66 | - _BumpScale: 1 67 | - _Cull: 2 68 | - _Cutoff: 0.5 69 | - _DstBlend: 0 70 | - _EnvironmentReflections: 1 71 | - _Exposure: 1 72 | - _GlossMapScale: 0 73 | - _Glossiness: 0 74 | - _GlossyReflections: 0 75 | - _ImageType: 0 76 | - _Layout: 0 77 | - _Mapping: 1 78 | - _Metallic: 0 79 | - _MirrorOnBack: 0 80 | - _OcclusionStrength: 1 81 | - _QueueOffset: 0 82 | - _ReceiveShadows: 1 83 | - _Rotation: 0 84 | - _Smoothness: 0.5 85 | - _SmoothnessTextureChannel: 0 86 | - _SpecularHighlights: 1 87 | - _SrcBlend: 1 88 | - _Surface: 0 89 | - _WorkflowMode: 1 90 | - _ZWrite: 1 91 | m_Colors: 92 | - _BaseColor: {r: 1, g: 1, b: 1, a: 1} 93 | - _Color: {r: 1, g: 1, b: 1, a: 1} 94 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 95 | - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} 96 | - _Tint: {r: 0.5, g: 0.5, b: 0.5, a: 0.5} 97 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Textures/MAT_SkyMaterial_AA_01.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f361d7e45d6796e439fe1e88fb5e18b2 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Textures/TEX_AlbedoTransparency_AA_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draftPRD/URP_PlanarReflections/2dd35cedd37ea1fdfaa5527b21aeeef4dacfb0cd/Assets/PlanarReflections/Example/Textures/TEX_AlbedoTransparency_AA_01.png -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Textures/TEX_AlbedoTransparency_AA_01.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c92ba267b63141443a6656cf856c3dcc 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 2 36 | mipBias: -100 37 | wrapU: 0 38 | wrapV: 0 39 | wrapW: 0 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | applyGammaDecoding: 0 61 | platformSettings: 62 | - serializedVersion: 3 63 | buildTarget: DefaultTexturePlatform 64 | maxTextureSize: 2048 65 | resizeAlgorithm: 0 66 | textureFormat: -1 67 | textureCompression: 1 68 | compressionQuality: 50 69 | crunchedCompression: 0 70 | allowsAlphaSplitting: 0 71 | overridden: 0 72 | androidETC2FallbackOverride: 0 73 | forceMaximumCompressionQuality_BC6H_BC7: 0 74 | - serializedVersion: 3 75 | buildTarget: Standalone 76 | maxTextureSize: 2048 77 | resizeAlgorithm: 0 78 | textureFormat: -1 79 | textureCompression: 1 80 | compressionQuality: 50 81 | crunchedCompression: 0 82 | allowsAlphaSplitting: 0 83 | overridden: 0 84 | androidETC2FallbackOverride: 0 85 | forceMaximumCompressionQuality_BC6H_BC7: 0 86 | - serializedVersion: 3 87 | buildTarget: iPhone 88 | maxTextureSize: 8192 89 | resizeAlgorithm: 0 90 | textureFormat: -1 91 | textureCompression: 1 92 | compressionQuality: 50 93 | crunchedCompression: 0 94 | allowsAlphaSplitting: 0 95 | overridden: 0 96 | androidETC2FallbackOverride: 0 97 | forceMaximumCompressionQuality_BC6H_BC7: 0 98 | - serializedVersion: 3 99 | buildTarget: Android 100 | maxTextureSize: 8192 101 | resizeAlgorithm: 0 102 | textureFormat: -1 103 | textureCompression: 1 104 | compressionQuality: 50 105 | crunchedCompression: 0 106 | allowsAlphaSplitting: 0 107 | overridden: 0 108 | androidETC2FallbackOverride: 0 109 | forceMaximumCompressionQuality_BC6H_BC7: 0 110 | - serializedVersion: 3 111 | buildTarget: Windows Store Apps 112 | maxTextureSize: 8192 113 | resizeAlgorithm: 0 114 | textureFormat: -1 115 | textureCompression: 1 116 | compressionQuality: 50 117 | crunchedCompression: 0 118 | allowsAlphaSplitting: 0 119 | overridden: 0 120 | androidETC2FallbackOverride: 0 121 | forceMaximumCompressionQuality_BC6H_BC7: 0 122 | spriteSheet: 123 | serializedVersion: 2 124 | sprites: [] 125 | outline: [] 126 | physicsShape: [] 127 | bones: [] 128 | spriteID: 129 | internalID: 0 130 | vertices: [] 131 | indices: 132 | edges: [] 133 | weights: [] 134 | secondaryTextures: [] 135 | spritePackingTag: 136 | pSDRemoveMatte: 0 137 | pSDShowRemoveMatteOption: 0 138 | userData: 139 | assetBundleName: 140 | assetBundleVariant: 141 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Textures/TEX_MetallicSmoothness_AA_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draftPRD/URP_PlanarReflections/2dd35cedd37ea1fdfaa5527b21aeeef4dacfb0cd/Assets/PlanarReflections/Example/Textures/TEX_MetallicSmoothness_AA_01.png -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Textures/TEX_MetallicSmoothness_AA_01.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d64cf11b7320e5746bbf5d9e357df4c1 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 2 36 | mipBias: -100 37 | wrapU: 0 38 | wrapV: 0 39 | wrapW: 0 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | applyGammaDecoding: 0 61 | platformSettings: 62 | - serializedVersion: 3 63 | buildTarget: DefaultTexturePlatform 64 | maxTextureSize: 2048 65 | resizeAlgorithm: 0 66 | textureFormat: -1 67 | textureCompression: 1 68 | compressionQuality: 50 69 | crunchedCompression: 0 70 | allowsAlphaSplitting: 0 71 | overridden: 0 72 | androidETC2FallbackOverride: 0 73 | forceMaximumCompressionQuality_BC6H_BC7: 0 74 | - serializedVersion: 3 75 | buildTarget: Standalone 76 | maxTextureSize: 2048 77 | resizeAlgorithm: 0 78 | textureFormat: -1 79 | textureCompression: 1 80 | compressionQuality: 50 81 | crunchedCompression: 0 82 | allowsAlphaSplitting: 0 83 | overridden: 0 84 | androidETC2FallbackOverride: 0 85 | forceMaximumCompressionQuality_BC6H_BC7: 0 86 | - serializedVersion: 3 87 | buildTarget: iPhone 88 | maxTextureSize: 8192 89 | resizeAlgorithm: 0 90 | textureFormat: -1 91 | textureCompression: 1 92 | compressionQuality: 50 93 | crunchedCompression: 0 94 | allowsAlphaSplitting: 0 95 | overridden: 0 96 | androidETC2FallbackOverride: 0 97 | forceMaximumCompressionQuality_BC6H_BC7: 0 98 | - serializedVersion: 3 99 | buildTarget: Android 100 | maxTextureSize: 8192 101 | resizeAlgorithm: 0 102 | textureFormat: -1 103 | textureCompression: 1 104 | compressionQuality: 50 105 | crunchedCompression: 0 106 | allowsAlphaSplitting: 0 107 | overridden: 0 108 | androidETC2FallbackOverride: 0 109 | forceMaximumCompressionQuality_BC6H_BC7: 0 110 | - serializedVersion: 3 111 | buildTarget: Windows Store Apps 112 | maxTextureSize: 8192 113 | resizeAlgorithm: 0 114 | textureFormat: -1 115 | textureCompression: 1 116 | compressionQuality: 50 117 | crunchedCompression: 0 118 | allowsAlphaSplitting: 0 119 | overridden: 0 120 | androidETC2FallbackOverride: 0 121 | forceMaximumCompressionQuality_BC6H_BC7: 0 122 | spriteSheet: 123 | serializedVersion: 2 124 | sprites: [] 125 | outline: [] 126 | physicsShape: [] 127 | bones: [] 128 | spriteID: 129 | internalID: 0 130 | vertices: [] 131 | indices: 132 | edges: [] 133 | weights: [] 134 | secondaryTextures: [] 135 | spritePackingTag: 136 | pSDRemoveMatte: 0 137 | pSDShowRemoveMatteOption: 0 138 | userData: 139 | assetBundleName: 140 | assetBundleVariant: 141 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Textures/TEX_Normal_AA_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draftPRD/URP_PlanarReflections/2dd35cedd37ea1fdfaa5527b21aeeef4dacfb0cd/Assets/PlanarReflections/Example/Textures/TEX_Normal_AA_01.png -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Textures/TEX_Normal_AA_01.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 59ee2dba8682cd241bfed5bcb571ecb3 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 0 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 2 36 | mipBias: -100 37 | wrapU: 0 38 | wrapV: 0 39 | wrapW: 0 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 1 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | applyGammaDecoding: 0 61 | platformSettings: 62 | - serializedVersion: 3 63 | buildTarget: DefaultTexturePlatform 64 | maxTextureSize: 2048 65 | resizeAlgorithm: 0 66 | textureFormat: -1 67 | textureCompression: 1 68 | compressionQuality: 50 69 | crunchedCompression: 0 70 | allowsAlphaSplitting: 0 71 | overridden: 0 72 | androidETC2FallbackOverride: 0 73 | forceMaximumCompressionQuality_BC6H_BC7: 0 74 | - serializedVersion: 3 75 | buildTarget: Standalone 76 | maxTextureSize: 2048 77 | resizeAlgorithm: 0 78 | textureFormat: -1 79 | textureCompression: 1 80 | compressionQuality: 50 81 | crunchedCompression: 0 82 | allowsAlphaSplitting: 0 83 | overridden: 0 84 | androidETC2FallbackOverride: 0 85 | forceMaximumCompressionQuality_BC6H_BC7: 0 86 | - serializedVersion: 3 87 | buildTarget: iPhone 88 | maxTextureSize: 8192 89 | resizeAlgorithm: 0 90 | textureFormat: -1 91 | textureCompression: 1 92 | compressionQuality: 50 93 | crunchedCompression: 0 94 | allowsAlphaSplitting: 0 95 | overridden: 0 96 | androidETC2FallbackOverride: 0 97 | forceMaximumCompressionQuality_BC6H_BC7: 0 98 | - serializedVersion: 3 99 | buildTarget: Android 100 | maxTextureSize: 8192 101 | resizeAlgorithm: 0 102 | textureFormat: -1 103 | textureCompression: 1 104 | compressionQuality: 50 105 | crunchedCompression: 0 106 | allowsAlphaSplitting: 0 107 | overridden: 0 108 | androidETC2FallbackOverride: 0 109 | forceMaximumCompressionQuality_BC6H_BC7: 0 110 | - serializedVersion: 3 111 | buildTarget: Windows Store Apps 112 | maxTextureSize: 8192 113 | resizeAlgorithm: 0 114 | textureFormat: -1 115 | textureCompression: 1 116 | compressionQuality: 50 117 | crunchedCompression: 0 118 | allowsAlphaSplitting: 0 119 | overridden: 0 120 | androidETC2FallbackOverride: 0 121 | forceMaximumCompressionQuality_BC6H_BC7: 0 122 | spriteSheet: 123 | serializedVersion: 2 124 | sprites: [] 125 | outline: [] 126 | physicsShape: [] 127 | bones: [] 128 | spriteID: 129 | internalID: 0 130 | vertices: [] 131 | indices: 132 | edges: [] 133 | weights: [] 134 | secondaryTextures: [] 135 | spritePackingTag: 136 | pSDRemoveMatte: 0 137 | pSDShowRemoveMatteOption: 0 138 | userData: 139 | assetBundleName: 140 | assetBundleVariant: 141 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Textures/TEX_Occlusion_AA_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draftPRD/URP_PlanarReflections/2dd35cedd37ea1fdfaa5527b21aeeef4dacfb0cd/Assets/PlanarReflections/Example/Textures/TEX_Occlusion_AA_01.png -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Textures/TEX_Occlusion_AA_01.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85ea32a6364437047a182bd037609631 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 2 36 | mipBias: -100 37 | wrapU: 0 38 | wrapV: 0 39 | wrapW: 0 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | applyGammaDecoding: 0 61 | platformSettings: 62 | - serializedVersion: 3 63 | buildTarget: DefaultTexturePlatform 64 | maxTextureSize: 2048 65 | resizeAlgorithm: 0 66 | textureFormat: -1 67 | textureCompression: 1 68 | compressionQuality: 50 69 | crunchedCompression: 0 70 | allowsAlphaSplitting: 0 71 | overridden: 0 72 | androidETC2FallbackOverride: 0 73 | forceMaximumCompressionQuality_BC6H_BC7: 0 74 | - serializedVersion: 3 75 | buildTarget: Standalone 76 | maxTextureSize: 2048 77 | resizeAlgorithm: 0 78 | textureFormat: -1 79 | textureCompression: 1 80 | compressionQuality: 50 81 | crunchedCompression: 0 82 | allowsAlphaSplitting: 0 83 | overridden: 0 84 | androidETC2FallbackOverride: 0 85 | forceMaximumCompressionQuality_BC6H_BC7: 0 86 | - serializedVersion: 3 87 | buildTarget: iPhone 88 | maxTextureSize: 8192 89 | resizeAlgorithm: 0 90 | textureFormat: -1 91 | textureCompression: 1 92 | compressionQuality: 50 93 | crunchedCompression: 0 94 | allowsAlphaSplitting: 0 95 | overridden: 0 96 | androidETC2FallbackOverride: 0 97 | forceMaximumCompressionQuality_BC6H_BC7: 0 98 | - serializedVersion: 3 99 | buildTarget: Android 100 | maxTextureSize: 8192 101 | resizeAlgorithm: 0 102 | textureFormat: -1 103 | textureCompression: 1 104 | compressionQuality: 50 105 | crunchedCompression: 0 106 | allowsAlphaSplitting: 0 107 | overridden: 0 108 | androidETC2FallbackOverride: 0 109 | forceMaximumCompressionQuality_BC6H_BC7: 0 110 | - serializedVersion: 3 111 | buildTarget: Windows Store Apps 112 | maxTextureSize: 8192 113 | resizeAlgorithm: 0 114 | textureFormat: -1 115 | textureCompression: 1 116 | compressionQuality: 50 117 | crunchedCompression: 0 118 | allowsAlphaSplitting: 0 119 | overridden: 0 120 | androidETC2FallbackOverride: 0 121 | forceMaximumCompressionQuality_BC6H_BC7: 0 122 | spriteSheet: 123 | serializedVersion: 2 124 | sprites: [] 125 | outline: [] 126 | physicsShape: [] 127 | bones: [] 128 | spriteID: 129 | internalID: 0 130 | vertices: [] 131 | indices: 132 | edges: [] 133 | weights: [] 134 | secondaryTextures: [] 135 | spritePackingTag: 136 | pSDRemoveMatte: 0 137 | pSDShowRemoveMatteOption: 0 138 | userData: 139 | assetBundleName: 140 | assetBundleVariant: 141 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Textures/TEX_Sky_AA_01.hdr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draftPRD/URP_PlanarReflections/2dd35cedd37ea1fdfaa5527b21aeeef4dacfb0cd/Assets/PlanarReflections/Example/Textures/TEX_Sky_AA_01.hdr -------------------------------------------------------------------------------- /Assets/PlanarReflections/Example/Textures/TEX_Sky_AA_01.hdr.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: efaa57a726cb3cb4c810ffedab97064e 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 2 36 | mipBias: -100 37 | wrapU: 0 38 | wrapV: 0 39 | wrapW: 0 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | applyGammaDecoding: 0 61 | platformSettings: 62 | - serializedVersion: 3 63 | buildTarget: DefaultTexturePlatform 64 | maxTextureSize: 8192 65 | resizeAlgorithm: 0 66 | textureFormat: -1 67 | textureCompression: 1 68 | compressionQuality: 50 69 | crunchedCompression: 0 70 | allowsAlphaSplitting: 0 71 | overridden: 0 72 | androidETC2FallbackOverride: 0 73 | forceMaximumCompressionQuality_BC6H_BC7: 0 74 | - serializedVersion: 3 75 | buildTarget: Standalone 76 | maxTextureSize: 8192 77 | resizeAlgorithm: 0 78 | textureFormat: -1 79 | textureCompression: 1 80 | compressionQuality: 50 81 | crunchedCompression: 0 82 | allowsAlphaSplitting: 0 83 | overridden: 0 84 | androidETC2FallbackOverride: 0 85 | forceMaximumCompressionQuality_BC6H_BC7: 0 86 | - serializedVersion: 3 87 | buildTarget: iPhone 88 | maxTextureSize: 8192 89 | resizeAlgorithm: 0 90 | textureFormat: -1 91 | textureCompression: 1 92 | compressionQuality: 50 93 | crunchedCompression: 0 94 | allowsAlphaSplitting: 0 95 | overridden: 0 96 | androidETC2FallbackOverride: 0 97 | forceMaximumCompressionQuality_BC6H_BC7: 0 98 | - serializedVersion: 3 99 | buildTarget: Android 100 | maxTextureSize: 8192 101 | resizeAlgorithm: 0 102 | textureFormat: -1 103 | textureCompression: 1 104 | compressionQuality: 50 105 | crunchedCompression: 0 106 | allowsAlphaSplitting: 0 107 | overridden: 0 108 | androidETC2FallbackOverride: 0 109 | forceMaximumCompressionQuality_BC6H_BC7: 0 110 | - serializedVersion: 3 111 | buildTarget: Windows Store Apps 112 | maxTextureSize: 8192 113 | resizeAlgorithm: 0 114 | textureFormat: -1 115 | textureCompression: 1 116 | compressionQuality: 50 117 | crunchedCompression: 0 118 | allowsAlphaSplitting: 0 119 | overridden: 0 120 | androidETC2FallbackOverride: 0 121 | forceMaximumCompressionQuality_BC6H_BC7: 0 122 | spriteSheet: 123 | serializedVersion: 2 124 | sprites: [] 125 | outline: [] 126 | physicsShape: [] 127 | bones: [] 128 | spriteID: 129 | internalID: 0 130 | vertices: [] 131 | indices: 132 | edges: [] 133 | weights: [] 134 | secondaryTextures: [] 135 | spritePackingTag: 136 | pSDRemoveMatte: 0 137 | pSDShowRemoveMatteOption: 0 138 | userData: 139 | assetBundleName: 140 | assetBundleVariant: 141 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fafc0beb4b7040944b7fe658ab38083a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Scripts/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6d460fb64d7018a49b12e25593cefbeb 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Scripts/Editor/PlanarReflectionEditor.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Unity.Mathematics; 3 | using UnityEditor; 4 | using UnityEngine; 5 | 6 | // Declare type of Custom Editor 7 | [CustomEditor(typeof(RecursiveReflectionControl))] //1 8 | public class PlanarReflectionEditor : Editor 9 | { 10 | float thumbnailWidth = 70; 11 | float thumbnailHeight = 70; 12 | public bool boolToogleButton_Ground; 13 | public bool boolToogleButton_Ceiling; 14 | public bool boolToogleButton_Left; 15 | public bool boolToogleButton_Right; 16 | public bool boolToogleButton_Forward; 17 | public bool boolToogleButton_Back; 18 | [SerializeField] 19 | private RecursiveReflectionControl rrc; 20 | SerializedObject GetTarget; 21 | private List prs = 22 | new List(); 23 | private void OnEnable() 24 | { 25 | rrc = ( RecursiveReflectionControl)target; 26 | GetTarget = new SerializedObject(rrc); 27 | } 28 | public void Settingsbuild(RecursiveReflectionControl.PlanarReflectionSettings PlanarLayer) 29 | { 30 | PlanarLayer.recursiveReflection = rrc.recursiveReflectionGroups; 31 | PlanarLayer.recursiveGroup = rrc.recursiveGroup; 32 | PlanarLayer.frameSkip = rrc.frameSkip; 33 | PlanarLayer.addBlackColour = rrc.addBlackColour; 34 | PlanarLayer.enableHdr = rrc.hdr; 35 | PlanarLayer.clipPlaneOffset = rrc.reflectionOffset; 36 | PlanarLayer.enableMsaa = rrc.msaa; 37 | PlanarLayer.occlusion = rrc.occlusion; 38 | PlanarLayer.shadows = rrc.shadows; 39 | PlanarLayer.enableLights = rrc.additionalLights; 40 | PlanarLayer.resolutionMultiplier = rrc.resolutionMultiplier; 41 | PlanarLayer.reflectLayers = rrc.reflectLayers; 42 | prs.Add(PlanarLayer); 43 | } 44 | public override void OnInspectorGUI() //2 45 | { 46 | base.OnInspectorGUI(); 47 | GetTarget.Update(); 48 | boolToogleButton_Ground = rrc.boolToogleButton_Ground; 49 | boolToogleButton_Ceiling = rrc.boolToogleButton_Ceiling; 50 | boolToogleButton_Left = rrc.boolToogleButton_Left; 51 | boolToogleButton_Right = rrc.boolToogleButton_Right; 52 | boolToogleButton_Back = rrc.boolToogleButton_Back; 53 | boolToogleButton_Forward = rrc.boolToogleButton_Forward; 54 | prs = rrc.prs; 55 | GUILayout.Space(20f); 56 | GUILayout.Label("STEP #4 - Complete setup by choosing planar direction"); 57 | GUILayout.BeginHorizontal(); 58 | var PlanarLayer = new RecursiveReflectionControl.PlanarReflectionSettings(); 59 | if (boolToogleButton_Ground == false) 60 | { 61 | if (GUILayout.Button(Resources.Load("Thumbnails/cubebottom"), 62 | GUILayout.Width(thumbnailWidth), GUILayout.Height(thumbnailHeight))) 63 | { 64 | boolToogleButton_Ground = true; 65 | PlanarLayer.direction = new float3(0, 1, 0); 66 | PlanarLayer.shaderName = "_PlanarGround"; 67 | Settingsbuild(PlanarLayer); 68 | rrc.boolToogleButton_Ground = true; 69 | GetTarget.ApplyModifiedProperties(); 70 | } 71 | } 72 | else 73 | { 74 | if (GUILayout.Button(Resources.Load("Thumbnails/cubebottom"), 75 | GUILayout.Width(thumbnailWidth), GUILayout.Height(thumbnailHeight))) 76 | { 77 | boolToogleButton_Ground = rrc.boolToogleButton_Ground; 78 | int removalint = 999; 79 | for (int i =0; i < prs.Count; i++) 80 | { 81 | if (prs[i].shaderName == "_PlanarGround") 82 | { 83 | removalint = i; 84 | break; 85 | } 86 | } 87 | if (removalint != 999) 88 | { 89 | boolToogleButton_Ground = false; 90 | prs.RemoveRange(removalint, 1); 91 | rrc.boolToogleButton_Ground = false; 92 | GetTarget.ApplyModifiedProperties(); 93 | } 94 | }} 95 | if (boolToogleButton_Ceiling == false) 96 | { 97 | if (GUILayout.Button(Resources.Load("Thumbnails/cubetop"), 98 | GUILayout.Width(thumbnailWidth), GUILayout.Height(thumbnailHeight))) 99 | { 100 | boolToogleButton_Ceiling = true; 101 | PlanarLayer.direction = new float3(0, -1, 0); 102 | PlanarLayer.shaderName = "_PlanarCeiling"; 103 | Settingsbuild(PlanarLayer); 104 | rrc.boolToogleButton_Ceiling = true; 105 | GetTarget.ApplyModifiedProperties(); 106 | } 107 | } 108 | else 109 | { 110 | if (GUILayout.Button(Resources.Load("Thumbnails/cubetop"), 111 | GUILayout.Width(thumbnailWidth), GUILayout.Height(thumbnailHeight))) 112 | { 113 | int removalint = 999; 114 | for (int i = 0; i < prs.Count; i++) 115 | { 116 | if (prs[i].shaderName == "_PlanarCeiling") 117 | { 118 | removalint = i; 119 | break; 120 | } 121 | } 122 | if (removalint != 999) 123 | { 124 | prs.RemoveRange(removalint, 1); 125 | boolToogleButton_Ceiling = false; 126 | rrc.boolToogleButton_Ceiling = false; 127 | GetTarget.ApplyModifiedProperties(); 128 | } 129 | } 130 | } 131 | if (boolToogleButton_Right == false) 132 | { 133 | if (GUILayout.Button(Resources.Load("Thumbnails/cuberight"), 134 | GUILayout.Width(thumbnailWidth), GUILayout.Height(thumbnailHeight))) 135 | { 136 | boolToogleButton_Right = true; 137 | PlanarLayer.direction = new float3(1, 0, 0); 138 | PlanarLayer.shaderName = "_PlanarRight"; 139 | Settingsbuild(PlanarLayer); 140 | rrc.boolToogleButton_Right = true; 141 | GetTarget.ApplyModifiedProperties(); 142 | } 143 | } 144 | else 145 | { 146 | if (GUILayout.Button(Resources.Load("Thumbnails/cuberight"), 147 | GUILayout.Width(thumbnailWidth), GUILayout.Height(thumbnailHeight))) 148 | { 149 | 150 | int removalint = 999; 151 | for (int i = 0; i < prs.Count; i++) 152 | { 153 | if (prs[i].shaderName == "_PlanarRight") 154 | { 155 | removalint = i; 156 | break; 157 | } 158 | } 159 | if (removalint != 999) 160 | {boolToogleButton_Right = false; 161 | prs.RemoveRange(removalint, 1); 162 | rrc.boolToogleButton_Right = false; 163 | GetTarget.ApplyModifiedProperties(); 164 | } 165 | } 166 | } 167 | if (boolToogleButton_Left == false) 168 | { 169 | if (GUILayout.Button(Resources.Load("Thumbnails/cubeleft"), 170 | GUILayout.Width(thumbnailWidth), GUILayout.Height(thumbnailHeight))) 171 | { 172 | boolToogleButton_Left = true; 173 | PlanarLayer.direction = new float3(-1, 0, 0); 174 | PlanarLayer.shaderName = "_PlanarLeft"; 175 | Settingsbuild(PlanarLayer); 176 | rrc.boolToogleButton_Left = true; 177 | GetTarget.ApplyModifiedProperties(); 178 | } 179 | } 180 | else 181 | { 182 | if (GUILayout.Button(Resources.Load("Thumbnails/cubeleft"), 183 | GUILayout.Width(thumbnailWidth), GUILayout.Height(thumbnailHeight))) 184 | { 185 | int removalint = 999; 186 | for (int i = 0; i < prs.Count; i++) 187 | { 188 | if (prs[i].shaderName == "_PlanarLeft") 189 | { 190 | removalint = i; 191 | break; 192 | } 193 | } 194 | if (removalint != 999) 195 | { 196 | prs.RemoveRange(removalint, 1); 197 | rrc.boolToogleButton_Left =false; 198 | boolToogleButton_Left = false; 199 | GetTarget.ApplyModifiedProperties(); 200 | } 201 | } 202 | } 203 | if (boolToogleButton_Forward == false) 204 | { 205 | if (GUILayout.Button(Resources.Load("Thumbnails/cubeforward"), 206 | GUILayout.Width(thumbnailWidth), GUILayout.Height(thumbnailHeight))) 207 | { 208 | boolToogleButton_Forward = true; 209 | PlanarLayer.direction = new float3(0, 0, 1); 210 | PlanarLayer.shaderName = "_PlanarForward"; 211 | Settingsbuild(PlanarLayer); 212 | rrc.boolToogleButton_Forward = true; 213 | GetTarget.ApplyModifiedProperties(); 214 | } 215 | } 216 | else 217 | { 218 | if (GUILayout.Button(Resources.Load("Thumbnails/cubeforward"), 219 | GUILayout.Width(thumbnailWidth), GUILayout.Height(thumbnailHeight))) 220 | { 221 | int removalint = 999; 222 | for (int i = 0; i < prs.Count; i++) 223 | { 224 | if (prs[i].shaderName == "_PlanarForward") 225 | { 226 | removalint = i; 227 | break; 228 | } 229 | } 230 | if (removalint != 999) 231 | { 232 | prs.RemoveRange(removalint, 1); 233 | rrc.boolToogleButton_Forward = false; 234 | boolToogleButton_Forward = false; 235 | GetTarget.ApplyModifiedProperties(); 236 | } 237 | } 238 | } 239 | if (boolToogleButton_Back == false) 240 | { 241 | if (GUILayout.Button(Resources.Load("Thumbnails/cubeback"), 242 | GUILayout.Width(thumbnailWidth), GUILayout.Height(thumbnailHeight))) 243 | { 244 | boolToogleButton_Back = true; 245 | PlanarLayer.direction = new float3(0, 0, -1); 246 | PlanarLayer.shaderName = "_PlanarBack"; 247 | Settingsbuild(PlanarLayer); 248 | rrc.boolToogleButton_Back = true; 249 | GetTarget.ApplyModifiedProperties(); 250 | } 251 | } 252 | else 253 | { 254 | if (GUILayout.Button(Resources.Load("Thumbnails/cubeback"), 255 | GUILayout.Width(thumbnailWidth), GUILayout.Height(thumbnailHeight))) 256 | { 257 | int removalint = 999; 258 | for (int i = 0; i < prs.Count; i++) 259 | { 260 | if (prs[i].shaderName == "_PlanarBack") 261 | { 262 | removalint = i; 263 | break; 264 | } 265 | } 266 | if (removalint != 999) 267 | { 268 | prs.RemoveRange(removalint, 1); 269 | boolToogleButton_Back = false; 270 | rrc.boolToogleButton_Back = false; 271 | GetTarget.ApplyModifiedProperties(); 272 | } 273 | } 274 | } 275 | rrc.planarReflectionLayers = prs.ToArray(); 276 | GetTarget.ApplyModifiedProperties(); 277 | EditorUtility.SetDirty(GetTarget.targetObject); 278 | GUILayout.EndHorizontal(); //4 279 | } 280 | } 281 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Scripts/Editor/PlanarReflectionEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa6637225da879844961aadc0d1ea82c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Scripts/PlanarReflectionScript.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b4d2c3f05b72034aa51483c3ce737d1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Scripts/RecursiveReflectionControl.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Linq; 3 | using UnityEngine; 4 | using Unity.Mathematics; 5 | using UnityEngine.Rendering; 6 | 7 | public class RecursiveReflectionControl : MonoBehaviour 8 | { 9 | [Header("STEP #1 - Planar Reflection Component Settings")] 10 | public float reflectionOffset; 11 | public bool shadows =true; 12 | public bool occlusion =true; 13 | public bool msaa =true; 14 | public bool additionalLights =true; 15 | public bool hdr =true; 16 | public LayerMask reflectLayers = -1; 17 | public ResolutionMultipliers resolutionMultiplier = ResolutionMultipliers.Full; 18 | [Space] [Header("STEP #2 - Additional Setup Options")] 19 | public bool addBlackColour; 20 | [Range(1, 100)] public int frameSkip = 1; 21 | [Range(1, 10)] 22 | public int msaaRecursiveCutoff = 1; 23 | [Range(1, 10)] 24 | public int pixelLightRecursiveCutoff = 1; 25 | [Space] 26 | [Header("EXPERIMENTAL -- STEP #3 - Recursive Planar Reflection Component Setup")] 27 | public bool recursiveReflectionGroups; 28 | public int recursiveGroup = 1; 29 | [Range(1, 5)] 30 | public int levelsOfRecursion = 1; 31 | [Range(1, 10)] 32 | public int levelsOfShadowRecursion = 1; 33 | private IList _planarReflectionScripts = new List(); 34 | private PlanarReflectionScript[,] _planarReflectionScripts_RenderCopy; 35 | private IList[,] _textures; 36 | [SerializeField,Header("Active Reflection Layers")] 37 | public PlanarReflectionSettings[] planarReflectionLayers; 38 | 39 | private Camera CamForList; 40 | public enum ResolutionMultipliers 41 | { 42 | Full, 43 | Half, 44 | Third, 45 | Quarter 46 | } 47 | //////////editoronly////////////////// 48 | [SerializeField, HideInInspector] 49 | public bool boolToogleButton_Ground; 50 | [SerializeField, HideInInspector] 51 | public bool boolToogleButton_Ceiling; 52 | [SerializeField, HideInInspector] 53 | public bool boolToogleButton_Left; 54 | [SerializeField, HideInInspector] 55 | public bool boolToogleButton_Right; 56 | [SerializeField, HideInInspector] 57 | public bool boolToogleButton_Forward; 58 | [SerializeField, HideInInspector] 59 | public bool boolToogleButton_Back; 60 | [SerializeField, HideInInspector] 61 | public List prs = 62 | new List(); 63 | /// 64 | /// /////////////////////////// 65 | /// 66 | void Start() 67 | { 68 | foreach (PlanarReflectionSettings p in planarReflectionLayers) 69 | { 70 | PlanarReflectionScript script = gameObject.AddComponent(); 71 | var pls = script.planarLayerSettings; 72 | script.enabled = false; 73 | pls.direction = p.direction; 74 | pls.shaderPropertyName = p.shaderName; 75 | pls.frameSkip = p.frameSkip == 0 ? frameSkip : p.frameSkip; 76 | pls.shadows = p.shadows; 77 | pls.reflectLayers = p.reflectLayers; 78 | pls.resolutionMultiplier = (PlanarReflectionScript.ResolutionMultipliers)p.resolutionMultiplier; 79 | pls.clipPlaneOffset = p.clipPlaneOffset; 80 | pls.recursiveReflection = p.recursiveReflection; 81 | pls.recursiveGroup = p.recursiveGroup; 82 | pls.occlusion = p.occlusion; 83 | pls.addBlackColour = p.addBlackColour; 84 | pls.enableHdr = p.enableHdr; 85 | pls.enableMSAA = p.enableMsaa; 86 | pls.enableLights = p.enableLights; 87 | script.enabled = true; 88 | } 89 | if (recursiveReflectionGroups) 90 | {InitializeProperties(); 91 | _cameraList = new Camera[_planarReflectionScripts.Count + 1]; 92 | RenderPipelineManager.beginCameraRendering += ExecutePlanarReflections; 93 | } 94 | } 95 | [System.Serializable] 96 | public class PlanarReflectionSettings 97 | { 98 | public bool recursiveReflection; 99 | public int recursiveGroup; 100 | public string shaderName; 101 | public float3 direction; 102 | public float clipPlaneOffset = 0.07f; 103 | public LayerMask reflectLayers = -1; 104 | public ResolutionMultipliers resolutionMultiplier; 105 | public bool shadows; 106 | public int frameSkip = 1; 107 | public bool occlusion; 108 | public bool addBlackColour; 109 | public bool enableHdr; 110 | public bool enableMsaa; 111 | public bool enableLights; 112 | } 113 | int GetNextCamIndex(int camIndex) 114 | { 115 | camIndex += 1; 116 | if (camIndex >= _planarReflectionScripts.Count) 117 | return 0; 118 | return camIndex; 119 | } 120 | Camera[] _cameraList; 121 | private void ExecutePlanarReflections(ScriptableRenderContext arg1, Camera arg2) 122 | { 123 | if (this != null && arg2 == Camera.main) 124 | { 125 | if (_planarReflectionScripts.Count < 3 || levelsOfRecursion == 1) 126 | { 127 | for (int eachCam = 0; eachCam < _planarReflectionScripts.Count; eachCam++) 128 | { 129 | _cameraList = new Camera[levelsOfRecursion]; 130 | var nextCamIndex = eachCam; 131 | _cameraList[0] = null; 132 | for (int eachDepth = 1; eachDepth < levelsOfRecursion; eachDepth++) 133 | { 134 | if (_planarReflectionScripts[nextCamIndex] != null) 135 | _cameraList[eachDepth] = _planarReflectionScripts[nextCamIndex] 136 | .ExecuteRenderSequence(_cameraList[eachDepth - 1], arg1, true, false)[0]; 137 | nextCamIndex = GetNextCamIndex(nextCamIndex); 138 | } 139 | nextCamIndex = eachCam; 140 | if (levelsOfRecursion % 2 == 0) 141 | nextCamIndex = GetNextCamIndex(nextCamIndex); 142 | for (int eachDepth = levelsOfRecursion - 1; eachDepth >= 0; eachDepth--) 143 | { 144 | if (eachDepth == levelsOfRecursion - 1) 145 | { 146 | _planarReflectionScripts_RenderCopy[nextCamIndex, eachDepth].planarLayerSettings 147 | .reflectLayers = -1; 148 | } 149 | if (_planarReflectionScripts_RenderCopy[nextCamIndex, eachDepth] != null) 150 | _planarReflectionScripts_RenderCopy[nextCamIndex, eachDepth] 151 | .ExecuteRenderSequence(_cameraList[eachDepth], arg1, nextCamIndex == eachCam); 152 | nextCamIndex = GetNextCamIndex(nextCamIndex); 153 | } 154 | _textures[eachCam, 0] = _planarReflectionScripts_RenderCopy[eachCam, 0].CopyTextures(); 155 | } 156 | for (int eachCam = 0; eachCam < _planarReflectionScripts.Count; eachCam++) 157 | { 158 | if (_planarReflectionScripts_RenderCopy[eachCam, 0] == null) continue; 159 | _planarReflectionScripts_RenderCopy[eachCam, 0].PasteTextures(_textures[eachCam, 0]); 160 | _planarReflectionScripts_RenderCopy[eachCam, 0].UpdateMaterialProperties(null); 161 | } 162 | } 163 | else 164 | { 165 | for (int eachCam = 0; eachCam < _planarReflectionScripts.Count; eachCam++) 166 | { 167 | 168 | 169 | _cameraList[0] = null; 170 | 171 | _cameraList[1] = 172 | _planarReflectionScripts[eachCam].ExecuteRenderSequence(null, arg1, true, false)[0]; 173 | 174 | var nextCam = eachCam; 175 | for (int toDrawCam = 0; toDrawCam < _planarReflectionScripts.Count; toDrawCam++) 176 | { 177 | if (eachCam == toDrawCam) 178 | { 179 | continue; 180 | } 181 | nextCam = GetNextCamIndex(nextCam); 182 | _planarReflectionScripts_RenderCopy[nextCam, 1] 183 | .ExecuteRenderSequence(_cameraList[1], arg1, false); 184 | _textures[nextCam, 1] = _planarReflectionScripts_RenderCopy[nextCam, 1].CopyTextures(); 185 | } 186 | _planarReflectionScripts_RenderCopy[eachCam, 0].ExecuteRenderSequence(null, arg1); 187 | _textures[eachCam, 0] = _planarReflectionScripts_RenderCopy[eachCam, 0].CopyTextures(); 188 | } 189 | for (int eachCam = 0; eachCam < _planarReflectionScripts.Count; eachCam++) 190 | { 191 | _planarReflectionScripts_RenderCopy[eachCam, 0].PasteTextures(_textures[eachCam, 0]); 192 | _planarReflectionScripts_RenderCopy[eachCam, 0].UpdateMaterialProperties(null); 193 | } 194 | } 195 | } 196 | } 197 | private void InitializeProperties() 198 | { 199 | _planarReflectionScripts = GetComponents(); 200 | _planarReflectionScripts = _planarReflectionScripts 201 | .Where(prsitem => prsitem.planarLayerSettings.recursiveReflection && prsitem.planarLayerSettings.recursiveGroup == recursiveGroup).ToList(); 202 | _planarReflectionScripts_RenderCopy = new PlanarReflectionScript[_planarReflectionScripts.Count, levelsOfRecursion]; 203 | _textures = new IList[_planarReflectionScripts.Count, levelsOfRecursion]; 204 | for (int camIndex = 0; camIndex < _planarReflectionScripts.Count; camIndex++) 205 | { 206 | for (int depth = 0; depth < levelsOfRecursion; depth++) 207 | { 208 | var copy = gameObject.AddComponent(); 209 | copy.planarLayerSettings = _planarReflectionScripts[camIndex].planarLayerSettings; 210 | if (_planarReflectionScripts[camIndex].planarLayerSettings.shadows == false && levelsOfShadowRecursion > depth) 211 | { 212 | copy.planarLayerSettings.shadows = false; 213 | } 214 | else 215 | { 216 | copy.planarLayerSettings.shadows = true; 217 | } 218 | if (_planarReflectionScripts[camIndex].planarLayerSettings.enableMSAA && msaaRecursiveCutoff > depth) 219 | { 220 | copy.planarLayerSettings.enableMSAA = true; 221 | } 222 | else 223 | { 224 | copy.planarLayerSettings.enableMSAA = false; 225 | } 226 | if (_planarReflectionScripts[camIndex].planarLayerSettings.enableLights == false && 227 | pixelLightRecursiveCutoff > depth) 228 | { 229 | copy.planarLayerSettings.enableLights = false; 230 | } 231 | else 232 | { 233 | copy.planarLayerSettings.enableLights = true; 234 | } 235 | _planarReflectionScripts_RenderCopy[camIndex, depth] = copy; 236 | } 237 | } 238 | } 239 | } 240 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Scripts/RecursiveReflectionControl.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2107a14a71cf77441a94da63bfc1874e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Scripts/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1dc0bfd764025c645b39a01c39e80709 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Scripts/Resources/Thumbnails.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d31852478322ff945be3ab04830d9c12 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Scripts/Resources/Thumbnails/cubeback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draftPRD/URP_PlanarReflections/2dd35cedd37ea1fdfaa5527b21aeeef4dacfb0cd/Assets/PlanarReflections/Scripts/Resources/Thumbnails/cubeback.png -------------------------------------------------------------------------------- /Assets/PlanarReflections/Scripts/Resources/Thumbnails/cubeback.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 678ac34e78bbf0d438bad9adfd3847ac 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 2 36 | mipBias: -100 37 | wrapU: 0 38 | wrapV: 0 39 | wrapW: 0 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | applyGammaDecoding: 0 61 | platformSettings: 62 | - serializedVersion: 3 63 | buildTarget: DefaultTexturePlatform 64 | maxTextureSize: 8192 65 | resizeAlgorithm: 0 66 | textureFormat: -1 67 | textureCompression: 1 68 | compressionQuality: 50 69 | crunchedCompression: 0 70 | allowsAlphaSplitting: 0 71 | overridden: 0 72 | androidETC2FallbackOverride: 0 73 | forceMaximumCompressionQuality_BC6H_BC7: 0 74 | - serializedVersion: 3 75 | buildTarget: Standalone 76 | maxTextureSize: 8192 77 | resizeAlgorithm: 0 78 | textureFormat: -1 79 | textureCompression: 1 80 | compressionQuality: 50 81 | crunchedCompression: 0 82 | allowsAlphaSplitting: 0 83 | overridden: 0 84 | androidETC2FallbackOverride: 0 85 | forceMaximumCompressionQuality_BC6H_BC7: 0 86 | - serializedVersion: 3 87 | buildTarget: iPhone 88 | maxTextureSize: 8192 89 | resizeAlgorithm: 0 90 | textureFormat: -1 91 | textureCompression: 1 92 | compressionQuality: 50 93 | crunchedCompression: 0 94 | allowsAlphaSplitting: 0 95 | overridden: 0 96 | androidETC2FallbackOverride: 0 97 | forceMaximumCompressionQuality_BC6H_BC7: 0 98 | - serializedVersion: 3 99 | buildTarget: Android 100 | maxTextureSize: 8192 101 | resizeAlgorithm: 0 102 | textureFormat: -1 103 | textureCompression: 1 104 | compressionQuality: 50 105 | crunchedCompression: 0 106 | allowsAlphaSplitting: 0 107 | overridden: 0 108 | androidETC2FallbackOverride: 0 109 | forceMaximumCompressionQuality_BC6H_BC7: 0 110 | - serializedVersion: 3 111 | buildTarget: Windows Store Apps 112 | maxTextureSize: 8192 113 | resizeAlgorithm: 0 114 | textureFormat: -1 115 | textureCompression: 1 116 | compressionQuality: 50 117 | crunchedCompression: 0 118 | allowsAlphaSplitting: 0 119 | overridden: 0 120 | androidETC2FallbackOverride: 0 121 | forceMaximumCompressionQuality_BC6H_BC7: 0 122 | spriteSheet: 123 | serializedVersion: 2 124 | sprites: [] 125 | outline: [] 126 | physicsShape: [] 127 | bones: [] 128 | spriteID: 129 | internalID: 0 130 | vertices: [] 131 | indices: 132 | edges: [] 133 | weights: [] 134 | secondaryTextures: [] 135 | spritePackingTag: 136 | pSDRemoveMatte: 0 137 | pSDShowRemoveMatteOption: 0 138 | userData: 139 | assetBundleName: 140 | assetBundleVariant: 141 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Scripts/Resources/Thumbnails/cubebottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draftPRD/URP_PlanarReflections/2dd35cedd37ea1fdfaa5527b21aeeef4dacfb0cd/Assets/PlanarReflections/Scripts/Resources/Thumbnails/cubebottom.png -------------------------------------------------------------------------------- /Assets/PlanarReflections/Scripts/Resources/Thumbnails/cubebottom.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a85cb813c1fa08246a1c5c8ea8cec571 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 2 36 | mipBias: -100 37 | wrapU: 0 38 | wrapV: 0 39 | wrapW: 0 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | applyGammaDecoding: 0 61 | platformSettings: 62 | - serializedVersion: 3 63 | buildTarget: DefaultTexturePlatform 64 | maxTextureSize: 8192 65 | resizeAlgorithm: 0 66 | textureFormat: -1 67 | textureCompression: 1 68 | compressionQuality: 50 69 | crunchedCompression: 0 70 | allowsAlphaSplitting: 0 71 | overridden: 0 72 | androidETC2FallbackOverride: 0 73 | forceMaximumCompressionQuality_BC6H_BC7: 0 74 | - serializedVersion: 3 75 | buildTarget: Standalone 76 | maxTextureSize: 8192 77 | resizeAlgorithm: 0 78 | textureFormat: -1 79 | textureCompression: 1 80 | compressionQuality: 50 81 | crunchedCompression: 0 82 | allowsAlphaSplitting: 0 83 | overridden: 0 84 | androidETC2FallbackOverride: 0 85 | forceMaximumCompressionQuality_BC6H_BC7: 0 86 | - serializedVersion: 3 87 | buildTarget: iPhone 88 | maxTextureSize: 8192 89 | resizeAlgorithm: 0 90 | textureFormat: -1 91 | textureCompression: 1 92 | compressionQuality: 50 93 | crunchedCompression: 0 94 | allowsAlphaSplitting: 0 95 | overridden: 0 96 | androidETC2FallbackOverride: 0 97 | forceMaximumCompressionQuality_BC6H_BC7: 0 98 | - serializedVersion: 3 99 | buildTarget: Android 100 | maxTextureSize: 8192 101 | resizeAlgorithm: 0 102 | textureFormat: -1 103 | textureCompression: 1 104 | compressionQuality: 50 105 | crunchedCompression: 0 106 | allowsAlphaSplitting: 0 107 | overridden: 0 108 | androidETC2FallbackOverride: 0 109 | forceMaximumCompressionQuality_BC6H_BC7: 0 110 | - serializedVersion: 3 111 | buildTarget: Windows Store Apps 112 | maxTextureSize: 8192 113 | resizeAlgorithm: 0 114 | textureFormat: -1 115 | textureCompression: 1 116 | compressionQuality: 50 117 | crunchedCompression: 0 118 | allowsAlphaSplitting: 0 119 | overridden: 0 120 | androidETC2FallbackOverride: 0 121 | forceMaximumCompressionQuality_BC6H_BC7: 0 122 | spriteSheet: 123 | serializedVersion: 2 124 | sprites: [] 125 | outline: [] 126 | physicsShape: [] 127 | bones: [] 128 | spriteID: 129 | internalID: 0 130 | vertices: [] 131 | indices: 132 | edges: [] 133 | weights: [] 134 | secondaryTextures: [] 135 | spritePackingTag: 136 | pSDRemoveMatte: 0 137 | pSDShowRemoveMatteOption: 0 138 | userData: 139 | assetBundleName: 140 | assetBundleVariant: 141 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Scripts/Resources/Thumbnails/cubeforward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draftPRD/URP_PlanarReflections/2dd35cedd37ea1fdfaa5527b21aeeef4dacfb0cd/Assets/PlanarReflections/Scripts/Resources/Thumbnails/cubeforward.png -------------------------------------------------------------------------------- /Assets/PlanarReflections/Scripts/Resources/Thumbnails/cubeforward.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d9310e5668aefe44da10980ce7c7df85 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 2 36 | mipBias: -100 37 | wrapU: 0 38 | wrapV: 0 39 | wrapW: 0 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | applyGammaDecoding: 0 61 | platformSettings: 62 | - serializedVersion: 3 63 | buildTarget: DefaultTexturePlatform 64 | maxTextureSize: 8192 65 | resizeAlgorithm: 0 66 | textureFormat: -1 67 | textureCompression: 1 68 | compressionQuality: 50 69 | crunchedCompression: 0 70 | allowsAlphaSplitting: 0 71 | overridden: 0 72 | androidETC2FallbackOverride: 0 73 | forceMaximumCompressionQuality_BC6H_BC7: 0 74 | - serializedVersion: 3 75 | buildTarget: Standalone 76 | maxTextureSize: 8192 77 | resizeAlgorithm: 0 78 | textureFormat: -1 79 | textureCompression: 1 80 | compressionQuality: 50 81 | crunchedCompression: 0 82 | allowsAlphaSplitting: 0 83 | overridden: 0 84 | androidETC2FallbackOverride: 0 85 | forceMaximumCompressionQuality_BC6H_BC7: 0 86 | - serializedVersion: 3 87 | buildTarget: iPhone 88 | maxTextureSize: 8192 89 | resizeAlgorithm: 0 90 | textureFormat: -1 91 | textureCompression: 1 92 | compressionQuality: 50 93 | crunchedCompression: 0 94 | allowsAlphaSplitting: 0 95 | overridden: 0 96 | androidETC2FallbackOverride: 0 97 | forceMaximumCompressionQuality_BC6H_BC7: 0 98 | - serializedVersion: 3 99 | buildTarget: Android 100 | maxTextureSize: 8192 101 | resizeAlgorithm: 0 102 | textureFormat: -1 103 | textureCompression: 1 104 | compressionQuality: 50 105 | crunchedCompression: 0 106 | allowsAlphaSplitting: 0 107 | overridden: 0 108 | androidETC2FallbackOverride: 0 109 | forceMaximumCompressionQuality_BC6H_BC7: 0 110 | - serializedVersion: 3 111 | buildTarget: Windows Store Apps 112 | maxTextureSize: 8192 113 | resizeAlgorithm: 0 114 | textureFormat: -1 115 | textureCompression: 1 116 | compressionQuality: 50 117 | crunchedCompression: 0 118 | allowsAlphaSplitting: 0 119 | overridden: 0 120 | androidETC2FallbackOverride: 0 121 | forceMaximumCompressionQuality_BC6H_BC7: 0 122 | spriteSheet: 123 | serializedVersion: 2 124 | sprites: [] 125 | outline: [] 126 | physicsShape: [] 127 | bones: [] 128 | spriteID: 129 | internalID: 0 130 | vertices: [] 131 | indices: 132 | edges: [] 133 | weights: [] 134 | secondaryTextures: [] 135 | spritePackingTag: 136 | pSDRemoveMatte: 0 137 | pSDShowRemoveMatteOption: 0 138 | userData: 139 | assetBundleName: 140 | assetBundleVariant: 141 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Scripts/Resources/Thumbnails/cubeleft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draftPRD/URP_PlanarReflections/2dd35cedd37ea1fdfaa5527b21aeeef4dacfb0cd/Assets/PlanarReflections/Scripts/Resources/Thumbnails/cubeleft.png -------------------------------------------------------------------------------- /Assets/PlanarReflections/Scripts/Resources/Thumbnails/cubeleft.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb556b407a011044faab00dc5ccdf79c 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 2 36 | mipBias: -100 37 | wrapU: 0 38 | wrapV: 0 39 | wrapW: 0 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | applyGammaDecoding: 0 61 | platformSettings: 62 | - serializedVersion: 3 63 | buildTarget: DefaultTexturePlatform 64 | maxTextureSize: 8192 65 | resizeAlgorithm: 0 66 | textureFormat: -1 67 | textureCompression: 1 68 | compressionQuality: 50 69 | crunchedCompression: 0 70 | allowsAlphaSplitting: 0 71 | overridden: 0 72 | androidETC2FallbackOverride: 0 73 | forceMaximumCompressionQuality_BC6H_BC7: 0 74 | - serializedVersion: 3 75 | buildTarget: Standalone 76 | maxTextureSize: 8192 77 | resizeAlgorithm: 0 78 | textureFormat: -1 79 | textureCompression: 1 80 | compressionQuality: 50 81 | crunchedCompression: 0 82 | allowsAlphaSplitting: 0 83 | overridden: 0 84 | androidETC2FallbackOverride: 0 85 | forceMaximumCompressionQuality_BC6H_BC7: 0 86 | - serializedVersion: 3 87 | buildTarget: iPhone 88 | maxTextureSize: 8192 89 | resizeAlgorithm: 0 90 | textureFormat: -1 91 | textureCompression: 1 92 | compressionQuality: 50 93 | crunchedCompression: 0 94 | allowsAlphaSplitting: 0 95 | overridden: 0 96 | androidETC2FallbackOverride: 0 97 | forceMaximumCompressionQuality_BC6H_BC7: 0 98 | - serializedVersion: 3 99 | buildTarget: Android 100 | maxTextureSize: 8192 101 | resizeAlgorithm: 0 102 | textureFormat: -1 103 | textureCompression: 1 104 | compressionQuality: 50 105 | crunchedCompression: 0 106 | allowsAlphaSplitting: 0 107 | overridden: 0 108 | androidETC2FallbackOverride: 0 109 | forceMaximumCompressionQuality_BC6H_BC7: 0 110 | - serializedVersion: 3 111 | buildTarget: Windows Store Apps 112 | maxTextureSize: 8192 113 | resizeAlgorithm: 0 114 | textureFormat: -1 115 | textureCompression: 1 116 | compressionQuality: 50 117 | crunchedCompression: 0 118 | allowsAlphaSplitting: 0 119 | overridden: 0 120 | androidETC2FallbackOverride: 0 121 | forceMaximumCompressionQuality_BC6H_BC7: 0 122 | spriteSheet: 123 | serializedVersion: 2 124 | sprites: [] 125 | outline: [] 126 | physicsShape: [] 127 | bones: [] 128 | spriteID: 129 | internalID: 0 130 | vertices: [] 131 | indices: 132 | edges: [] 133 | weights: [] 134 | secondaryTextures: [] 135 | spritePackingTag: 136 | pSDRemoveMatte: 0 137 | pSDShowRemoveMatteOption: 0 138 | userData: 139 | assetBundleName: 140 | assetBundleVariant: 141 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Scripts/Resources/Thumbnails/cuberight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draftPRD/URP_PlanarReflections/2dd35cedd37ea1fdfaa5527b21aeeef4dacfb0cd/Assets/PlanarReflections/Scripts/Resources/Thumbnails/cuberight.png -------------------------------------------------------------------------------- /Assets/PlanarReflections/Scripts/Resources/Thumbnails/cuberight.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 785407b813f1c0646aedc392c20ad6e4 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 2 36 | mipBias: -100 37 | wrapU: 0 38 | wrapV: 0 39 | wrapW: 0 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | applyGammaDecoding: 0 61 | platformSettings: 62 | - serializedVersion: 3 63 | buildTarget: DefaultTexturePlatform 64 | maxTextureSize: 8192 65 | resizeAlgorithm: 0 66 | textureFormat: -1 67 | textureCompression: 1 68 | compressionQuality: 50 69 | crunchedCompression: 0 70 | allowsAlphaSplitting: 0 71 | overridden: 0 72 | androidETC2FallbackOverride: 0 73 | forceMaximumCompressionQuality_BC6H_BC7: 0 74 | - serializedVersion: 3 75 | buildTarget: Standalone 76 | maxTextureSize: 8192 77 | resizeAlgorithm: 0 78 | textureFormat: -1 79 | textureCompression: 1 80 | compressionQuality: 50 81 | crunchedCompression: 0 82 | allowsAlphaSplitting: 0 83 | overridden: 0 84 | androidETC2FallbackOverride: 0 85 | forceMaximumCompressionQuality_BC6H_BC7: 0 86 | - serializedVersion: 3 87 | buildTarget: iPhone 88 | maxTextureSize: 8192 89 | resizeAlgorithm: 0 90 | textureFormat: -1 91 | textureCompression: 1 92 | compressionQuality: 50 93 | crunchedCompression: 0 94 | allowsAlphaSplitting: 0 95 | overridden: 0 96 | androidETC2FallbackOverride: 0 97 | forceMaximumCompressionQuality_BC6H_BC7: 0 98 | - serializedVersion: 3 99 | buildTarget: Android 100 | maxTextureSize: 8192 101 | resizeAlgorithm: 0 102 | textureFormat: -1 103 | textureCompression: 1 104 | compressionQuality: 50 105 | crunchedCompression: 0 106 | allowsAlphaSplitting: 0 107 | overridden: 0 108 | androidETC2FallbackOverride: 0 109 | forceMaximumCompressionQuality_BC6H_BC7: 0 110 | - serializedVersion: 3 111 | buildTarget: Windows Store Apps 112 | maxTextureSize: 8192 113 | resizeAlgorithm: 0 114 | textureFormat: -1 115 | textureCompression: 1 116 | compressionQuality: 50 117 | crunchedCompression: 0 118 | allowsAlphaSplitting: 0 119 | overridden: 0 120 | androidETC2FallbackOverride: 0 121 | forceMaximumCompressionQuality_BC6H_BC7: 0 122 | spriteSheet: 123 | serializedVersion: 2 124 | sprites: [] 125 | outline: [] 126 | physicsShape: [] 127 | bones: [] 128 | spriteID: 129 | internalID: 0 130 | vertices: [] 131 | indices: 132 | edges: [] 133 | weights: [] 134 | secondaryTextures: [] 135 | spritePackingTag: 136 | pSDRemoveMatte: 0 137 | pSDShowRemoveMatteOption: 0 138 | userData: 139 | assetBundleName: 140 | assetBundleVariant: 141 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Scripts/Resources/Thumbnails/cubetop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draftPRD/URP_PlanarReflections/2dd35cedd37ea1fdfaa5527b21aeeef4dacfb0cd/Assets/PlanarReflections/Scripts/Resources/Thumbnails/cubetop.png -------------------------------------------------------------------------------- /Assets/PlanarReflections/Scripts/Resources/Thumbnails/cubetop.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d2bae89d18238c64a9ee612b8723565d 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 2 36 | mipBias: -100 37 | wrapU: 0 38 | wrapV: 0 39 | wrapW: 0 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | applyGammaDecoding: 0 61 | platformSettings: 62 | - serializedVersion: 3 63 | buildTarget: DefaultTexturePlatform 64 | maxTextureSize: 8192 65 | resizeAlgorithm: 0 66 | textureFormat: -1 67 | textureCompression: 1 68 | compressionQuality: 50 69 | crunchedCompression: 0 70 | allowsAlphaSplitting: 0 71 | overridden: 0 72 | androidETC2FallbackOverride: 0 73 | forceMaximumCompressionQuality_BC6H_BC7: 0 74 | - serializedVersion: 3 75 | buildTarget: Standalone 76 | maxTextureSize: 8192 77 | resizeAlgorithm: 0 78 | textureFormat: -1 79 | textureCompression: 1 80 | compressionQuality: 50 81 | crunchedCompression: 0 82 | allowsAlphaSplitting: 0 83 | overridden: 0 84 | androidETC2FallbackOverride: 0 85 | forceMaximumCompressionQuality_BC6H_BC7: 0 86 | - serializedVersion: 3 87 | buildTarget: iPhone 88 | maxTextureSize: 8192 89 | resizeAlgorithm: 0 90 | textureFormat: -1 91 | textureCompression: 1 92 | compressionQuality: 50 93 | crunchedCompression: 0 94 | allowsAlphaSplitting: 0 95 | overridden: 0 96 | androidETC2FallbackOverride: 0 97 | forceMaximumCompressionQuality_BC6H_BC7: 0 98 | - serializedVersion: 3 99 | buildTarget: Android 100 | maxTextureSize: 8192 101 | resizeAlgorithm: 0 102 | textureFormat: -1 103 | textureCompression: 1 104 | compressionQuality: 50 105 | crunchedCompression: 0 106 | allowsAlphaSplitting: 0 107 | overridden: 0 108 | androidETC2FallbackOverride: 0 109 | forceMaximumCompressionQuality_BC6H_BC7: 0 110 | - serializedVersion: 3 111 | buildTarget: Windows Store Apps 112 | maxTextureSize: 8192 113 | resizeAlgorithm: 0 114 | textureFormat: -1 115 | textureCompression: 1 116 | compressionQuality: 50 117 | crunchedCompression: 0 118 | allowsAlphaSplitting: 0 119 | overridden: 0 120 | androidETC2FallbackOverride: 0 121 | forceMaximumCompressionQuality_BC6H_BC7: 0 122 | spriteSheet: 123 | serializedVersion: 2 124 | sprites: [] 125 | outline: [] 126 | physicsShape: [] 127 | bones: [] 128 | spriteID: 129 | internalID: 0 130 | vertices: [] 131 | indices: 132 | edges: [] 133 | weights: [] 134 | secondaryTextures: [] 135 | spritePackingTag: 136 | pSDRemoveMatte: 0 137 | pSDShowRemoveMatteOption: 0 138 | userData: 139 | assetBundleName: 140 | assetBundleVariant: 141 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ba81cdf6c3dc02441a301898c0863df5 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Shaders/PlanarShaderBack.shadergraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 03798d9fe93b2514bb2fefef10ba5d4e 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Shaders/PlanarShaderCeiling.shadergraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e02881a9026d6fe49b70f3a389b5a62f 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Shaders/PlanarShaderForward.shadergraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c2309916a3b9c8c4599d6bb9c5b43f92 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Shaders/PlanarShaderGround.shadergraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 02b6e573bbbba364fbb1aeebdd8d07c7 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Shaders/PlanarShaderLeft.shadergraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e7ae0591838c88745be437c8748c5118 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Assets/PlanarReflections/Shaders/PlanarShaderRight.shadergraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: be369ebc64d8f6f41878308dd46b9f8f 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Assets/Presets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 558255460b74ec04fa70b5570e9327bd 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Presets/AudioCompressedInMemory.preset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!181963792 &2655988077585873504 4 | Preset: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: AudioCompressedInMemory 9 | m_TargetType: 10 | m_NativeTypeID: 1020 11 | m_ManagedTypePPtr: {fileID: 0} 12 | m_ManagedTypeFallback: 13 | m_Properties: 14 | - target: {fileID: 0} 15 | propertyPath: m_ExternalObjects.Array.size 16 | value: 0 17 | objectReference: {fileID: 0} 18 | - target: {fileID: 0} 19 | propertyPath: m_DefaultSettings.loadType 20 | value: 1 21 | objectReference: {fileID: 0} 22 | - target: {fileID: 0} 23 | propertyPath: m_DefaultSettings.sampleRateSetting 24 | value: 0 25 | objectReference: {fileID: 0} 26 | - target: {fileID: 0} 27 | propertyPath: m_DefaultSettings.sampleRateOverride 28 | value: 44100 29 | objectReference: {fileID: 0} 30 | - target: {fileID: 0} 31 | propertyPath: m_DefaultSettings.compressionFormat 32 | value: 2 33 | objectReference: {fileID: 0} 34 | - target: {fileID: 0} 35 | propertyPath: m_DefaultSettings.quality 36 | value: 0.7 37 | objectReference: {fileID: 0} 38 | - target: {fileID: 0} 39 | propertyPath: m_DefaultSettings.conversionMode 40 | value: 0 41 | objectReference: {fileID: 0} 42 | - target: {fileID: 0} 43 | propertyPath: m_PlatformSettingOverrides.Array.size 44 | value: 2 45 | objectReference: {fileID: 0} 46 | - target: {fileID: 0} 47 | propertyPath: m_PlatformSettingOverrides.Array.data[0].first 48 | value: 4 49 | objectReference: {fileID: 0} 50 | - target: {fileID: 0} 51 | propertyPath: m_PlatformSettingOverrides.Array.data[0].second.loadType 52 | value: 1 53 | objectReference: {fileID: 0} 54 | - target: {fileID: 0} 55 | propertyPath: m_PlatformSettingOverrides.Array.data[0].second.sampleRateSetting 56 | value: 0 57 | objectReference: {fileID: 0} 58 | - target: {fileID: 0} 59 | propertyPath: m_PlatformSettingOverrides.Array.data[0].second.sampleRateOverride 60 | value: 44100 61 | objectReference: {fileID: 0} 62 | - target: {fileID: 0} 63 | propertyPath: m_PlatformSettingOverrides.Array.data[0].second.compressionFormat 64 | value: 3 65 | objectReference: {fileID: 0} 66 | - target: {fileID: 0} 67 | propertyPath: m_PlatformSettingOverrides.Array.data[0].second.quality 68 | value: 0.7 69 | objectReference: {fileID: 0} 70 | - target: {fileID: 0} 71 | propertyPath: m_PlatformSettingOverrides.Array.data[0].second.conversionMode 72 | value: 0 73 | objectReference: {fileID: 0} 74 | - target: {fileID: 0} 75 | propertyPath: m_PlatformSettingOverrides.Array.data[1].first 76 | value: 7 77 | objectReference: {fileID: 0} 78 | - target: {fileID: 0} 79 | propertyPath: m_PlatformSettingOverrides.Array.data[1].second.loadType 80 | value: 1 81 | objectReference: {fileID: 0} 82 | - target: {fileID: 0} 83 | propertyPath: m_PlatformSettingOverrides.Array.data[1].second.sampleRateSetting 84 | value: 0 85 | objectReference: {fileID: 0} 86 | - target: {fileID: 0} 87 | propertyPath: m_PlatformSettingOverrides.Array.data[1].second.sampleRateOverride 88 | value: 44100 89 | objectReference: {fileID: 0} 90 | - target: {fileID: 0} 91 | propertyPath: m_PlatformSettingOverrides.Array.data[1].second.compressionFormat 92 | value: 1 93 | objectReference: {fileID: 0} 94 | - target: {fileID: 0} 95 | propertyPath: m_PlatformSettingOverrides.Array.data[1].second.quality 96 | value: 0.7 97 | objectReference: {fileID: 0} 98 | - target: {fileID: 0} 99 | propertyPath: m_PlatformSettingOverrides.Array.data[1].second.conversionMode 100 | value: 0 101 | objectReference: {fileID: 0} 102 | - target: {fileID: 0} 103 | propertyPath: m_ForceToMono 104 | value: 0 105 | objectReference: {fileID: 0} 106 | - target: {fileID: 0} 107 | propertyPath: m_Normalize 108 | value: 1 109 | objectReference: {fileID: 0} 110 | - target: {fileID: 0} 111 | propertyPath: m_PreloadAudioData 112 | value: 1 113 | objectReference: {fileID: 0} 114 | - target: {fileID: 0} 115 | propertyPath: m_LoadInBackground 116 | value: 0 117 | objectReference: {fileID: 0} 118 | - target: {fileID: 0} 119 | propertyPath: m_Ambisonic 120 | value: 0 121 | objectReference: {fileID: 0} 122 | - target: {fileID: 0} 123 | propertyPath: m_3D 124 | value: 1 125 | objectReference: {fileID: 0} 126 | - target: {fileID: 0} 127 | propertyPath: m_UserData 128 | value: 129 | objectReference: {fileID: 0} 130 | - target: {fileID: 0} 131 | propertyPath: m_AssetBundleName 132 | value: 133 | objectReference: {fileID: 0} 134 | - target: {fileID: 0} 135 | propertyPath: m_AssetBundleVariant 136 | value: 137 | objectReference: {fileID: 0} 138 | -------------------------------------------------------------------------------- /Assets/Presets/AudioCompressedInMemory.preset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2dd802e4d37c65149922028d3e973832 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Presets/AudioStreaming.preset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!181963792 &2655988077585873504 4 | Preset: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: AudioStreaming 9 | m_TargetType: 10 | m_NativeTypeID: 1020 11 | m_ManagedTypePPtr: {fileID: 0} 12 | m_ManagedTypeFallback: 13 | m_Properties: 14 | - target: {fileID: 0} 15 | propertyPath: m_ExternalObjects.Array.size 16 | value: 0 17 | objectReference: {fileID: 0} 18 | - target: {fileID: 0} 19 | propertyPath: m_DefaultSettings.loadType 20 | value: 2 21 | objectReference: {fileID: 0} 22 | - target: {fileID: 0} 23 | propertyPath: m_DefaultSettings.sampleRateSetting 24 | value: 0 25 | objectReference: {fileID: 0} 26 | - target: {fileID: 0} 27 | propertyPath: m_DefaultSettings.sampleRateOverride 28 | value: 44100 29 | objectReference: {fileID: 0} 30 | - target: {fileID: 0} 31 | propertyPath: m_DefaultSettings.compressionFormat 32 | value: 1 33 | objectReference: {fileID: 0} 34 | - target: {fileID: 0} 35 | propertyPath: m_DefaultSettings.quality 36 | value: 0.7 37 | objectReference: {fileID: 0} 38 | - target: {fileID: 0} 39 | propertyPath: m_DefaultSettings.conversionMode 40 | value: 0 41 | objectReference: {fileID: 0} 42 | - target: {fileID: 0} 43 | propertyPath: m_PlatformSettingOverrides.Array.size 44 | value: 2 45 | objectReference: {fileID: 0} 46 | - target: {fileID: 0} 47 | propertyPath: m_PlatformSettingOverrides.Array.data[0].first 48 | value: 4 49 | objectReference: {fileID: 0} 50 | - target: {fileID: 0} 51 | propertyPath: m_PlatformSettingOverrides.Array.data[0].second.loadType 52 | value: 2 53 | objectReference: {fileID: 0} 54 | - target: {fileID: 0} 55 | propertyPath: m_PlatformSettingOverrides.Array.data[0].second.sampleRateSetting 56 | value: 0 57 | objectReference: {fileID: 0} 58 | - target: {fileID: 0} 59 | propertyPath: m_PlatformSettingOverrides.Array.data[0].second.sampleRateOverride 60 | value: 44100 61 | objectReference: {fileID: 0} 62 | - target: {fileID: 0} 63 | propertyPath: m_PlatformSettingOverrides.Array.data[0].second.compressionFormat 64 | value: 3 65 | objectReference: {fileID: 0} 66 | - target: {fileID: 0} 67 | propertyPath: m_PlatformSettingOverrides.Array.data[0].second.quality 68 | value: 0.7 69 | objectReference: {fileID: 0} 70 | - target: {fileID: 0} 71 | propertyPath: m_PlatformSettingOverrides.Array.data[0].second.conversionMode 72 | value: 0 73 | objectReference: {fileID: 0} 74 | - target: {fileID: 0} 75 | propertyPath: m_PlatformSettingOverrides.Array.data[1].first 76 | value: 7 77 | objectReference: {fileID: 0} 78 | - target: {fileID: 0} 79 | propertyPath: m_PlatformSettingOverrides.Array.data[1].second.loadType 80 | value: 2 81 | objectReference: {fileID: 0} 82 | - target: {fileID: 0} 83 | propertyPath: m_PlatformSettingOverrides.Array.data[1].second.sampleRateSetting 84 | value: 0 85 | objectReference: {fileID: 0} 86 | - target: {fileID: 0} 87 | propertyPath: m_PlatformSettingOverrides.Array.data[1].second.sampleRateOverride 88 | value: 44100 89 | objectReference: {fileID: 0} 90 | - target: {fileID: 0} 91 | propertyPath: m_PlatformSettingOverrides.Array.data[1].second.compressionFormat 92 | value: 1 93 | objectReference: {fileID: 0} 94 | - target: {fileID: 0} 95 | propertyPath: m_PlatformSettingOverrides.Array.data[1].second.quality 96 | value: 0.7 97 | objectReference: {fileID: 0} 98 | - target: {fileID: 0} 99 | propertyPath: m_PlatformSettingOverrides.Array.data[1].second.conversionMode 100 | value: 0 101 | objectReference: {fileID: 0} 102 | - target: {fileID: 0} 103 | propertyPath: m_ForceToMono 104 | value: 0 105 | objectReference: {fileID: 0} 106 | - target: {fileID: 0} 107 | propertyPath: m_Normalize 108 | value: 1 109 | objectReference: {fileID: 0} 110 | - target: {fileID: 0} 111 | propertyPath: m_PreloadAudioData 112 | value: 1 113 | objectReference: {fileID: 0} 114 | - target: {fileID: 0} 115 | propertyPath: m_LoadInBackground 116 | value: 0 117 | objectReference: {fileID: 0} 118 | - target: {fileID: 0} 119 | propertyPath: m_Ambisonic 120 | value: 0 121 | objectReference: {fileID: 0} 122 | - target: {fileID: 0} 123 | propertyPath: m_3D 124 | value: 1 125 | objectReference: {fileID: 0} 126 | - target: {fileID: 0} 127 | propertyPath: m_UserData 128 | value: 129 | objectReference: {fileID: 0} 130 | - target: {fileID: 0} 131 | propertyPath: m_AssetBundleName 132 | value: 133 | objectReference: {fileID: 0} 134 | - target: {fileID: 0} 135 | propertyPath: m_AssetBundleVariant 136 | value: 137 | objectReference: {fileID: 0} 138 | -------------------------------------------------------------------------------- /Assets/Presets/AudioStreaming.preset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 86bcce7f5575b54408aa0f3a7d321039 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2655988077585873504 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Presets/Defaults.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 71ea82b02df99c2439e0dc8e4e1ebc24 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Presets/Defaults/AlbedoTexture_Default.preset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8537455c6c08bd4e8bf0be3707da685 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2655988077585873504 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Presets/Defaults/AudioDecompressOnLoad.preset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!181963792 &2655988077585873504 4 | Preset: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: AudioDecompressOnLoad 9 | m_TargetType: 10 | m_NativeTypeID: 1020 11 | m_ManagedTypePPtr: {fileID: 0} 12 | m_ManagedTypeFallback: 13 | m_Properties: 14 | - target: {fileID: 0} 15 | propertyPath: m_ExternalObjects.Array.size 16 | value: 0 17 | objectReference: {fileID: 0} 18 | - target: {fileID: 0} 19 | propertyPath: m_DefaultSettings.loadType 20 | value: 0 21 | objectReference: {fileID: 0} 22 | - target: {fileID: 0} 23 | propertyPath: m_DefaultSettings.sampleRateSetting 24 | value: 0 25 | objectReference: {fileID: 0} 26 | - target: {fileID: 0} 27 | propertyPath: m_DefaultSettings.sampleRateOverride 28 | value: 44100 29 | objectReference: {fileID: 0} 30 | - target: {fileID: 0} 31 | propertyPath: m_DefaultSettings.compressionFormat 32 | value: 0 33 | objectReference: {fileID: 0} 34 | - target: {fileID: 0} 35 | propertyPath: m_DefaultSettings.quality 36 | value: 1 37 | objectReference: {fileID: 0} 38 | - target: {fileID: 0} 39 | propertyPath: m_DefaultSettings.conversionMode 40 | value: 0 41 | objectReference: {fileID: 0} 42 | - target: {fileID: 0} 43 | propertyPath: m_PlatformSettingOverrides.Array.size 44 | value: 2 45 | objectReference: {fileID: 0} 46 | - target: {fileID: 0} 47 | propertyPath: m_PlatformSettingOverrides.Array.data[0].first 48 | value: 4 49 | objectReference: {fileID: 0} 50 | - target: {fileID: 0} 51 | propertyPath: m_PlatformSettingOverrides.Array.data[0].second.loadType 52 | value: 0 53 | objectReference: {fileID: 0} 54 | - target: {fileID: 0} 55 | propertyPath: m_PlatformSettingOverrides.Array.data[0].second.sampleRateSetting 56 | value: 0 57 | objectReference: {fileID: 0} 58 | - target: {fileID: 0} 59 | propertyPath: m_PlatformSettingOverrides.Array.data[0].second.sampleRateOverride 60 | value: 44100 61 | objectReference: {fileID: 0} 62 | - target: {fileID: 0} 63 | propertyPath: m_PlatformSettingOverrides.Array.data[0].second.compressionFormat 64 | value: 3 65 | objectReference: {fileID: 0} 66 | - target: {fileID: 0} 67 | propertyPath: m_PlatformSettingOverrides.Array.data[0].second.quality 68 | value: 1 69 | objectReference: {fileID: 0} 70 | - target: {fileID: 0} 71 | propertyPath: m_PlatformSettingOverrides.Array.data[0].second.conversionMode 72 | value: 0 73 | objectReference: {fileID: 0} 74 | - target: {fileID: 0} 75 | propertyPath: m_PlatformSettingOverrides.Array.data[1].first 76 | value: 7 77 | objectReference: {fileID: 0} 78 | - target: {fileID: 0} 79 | propertyPath: m_PlatformSettingOverrides.Array.data[1].second.loadType 80 | value: 0 81 | objectReference: {fileID: 0} 82 | - target: {fileID: 0} 83 | propertyPath: m_PlatformSettingOverrides.Array.data[1].second.sampleRateSetting 84 | value: 0 85 | objectReference: {fileID: 0} 86 | - target: {fileID: 0} 87 | propertyPath: m_PlatformSettingOverrides.Array.data[1].second.sampleRateOverride 88 | value: 44100 89 | objectReference: {fileID: 0} 90 | - target: {fileID: 0} 91 | propertyPath: m_PlatformSettingOverrides.Array.data[1].second.compressionFormat 92 | value: 1 93 | objectReference: {fileID: 0} 94 | - target: {fileID: 0} 95 | propertyPath: m_PlatformSettingOverrides.Array.data[1].second.quality 96 | value: 1 97 | objectReference: {fileID: 0} 98 | - target: {fileID: 0} 99 | propertyPath: m_PlatformSettingOverrides.Array.data[1].second.conversionMode 100 | value: 0 101 | objectReference: {fileID: 0} 102 | - target: {fileID: 0} 103 | propertyPath: m_ForceToMono 104 | value: 0 105 | objectReference: {fileID: 0} 106 | - target: {fileID: 0} 107 | propertyPath: m_Normalize 108 | value: 1 109 | objectReference: {fileID: 0} 110 | - target: {fileID: 0} 111 | propertyPath: m_PreloadAudioData 112 | value: 1 113 | objectReference: {fileID: 0} 114 | - target: {fileID: 0} 115 | propertyPath: m_LoadInBackground 116 | value: 0 117 | objectReference: {fileID: 0} 118 | - target: {fileID: 0} 119 | propertyPath: m_Ambisonic 120 | value: 0 121 | objectReference: {fileID: 0} 122 | - target: {fileID: 0} 123 | propertyPath: m_3D 124 | value: 1 125 | objectReference: {fileID: 0} 126 | - target: {fileID: 0} 127 | propertyPath: m_UserData 128 | value: 129 | objectReference: {fileID: 0} 130 | - target: {fileID: 0} 131 | propertyPath: m_AssetBundleName 132 | value: 133 | objectReference: {fileID: 0} 134 | - target: {fileID: 0} 135 | propertyPath: m_AssetBundleVariant 136 | value: 137 | objectReference: {fileID: 0} 138 | -------------------------------------------------------------------------------- /Assets/Presets/Defaults/AudioDecompressOnLoad.preset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e7689051185d12f4298e1ebb2693a29f 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Presets/Defaults/DirectionalLight_Default.preset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!181963792 &2655988077585873504 4 | Preset: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: DirectionalLight_Default 9 | m_TargetType: 10 | m_NativeTypeID: 108 11 | m_ManagedTypePPtr: {fileID: 0} 12 | m_ManagedTypeFallback: 13 | m_Properties: 14 | - target: {fileID: 0} 15 | propertyPath: m_Enabled 16 | value: 1 17 | objectReference: {fileID: 0} 18 | - target: {fileID: 0} 19 | propertyPath: m_Type 20 | value: 1 21 | objectReference: {fileID: 0} 22 | - target: {fileID: 0} 23 | propertyPath: m_Color.r 24 | value: 1 25 | objectReference: {fileID: 0} 26 | - target: {fileID: 0} 27 | propertyPath: m_Color.g 28 | value: 0.95686275 29 | objectReference: {fileID: 0} 30 | - target: {fileID: 0} 31 | propertyPath: m_Color.b 32 | value: 0.8392157 33 | objectReference: {fileID: 0} 34 | - target: {fileID: 0} 35 | propertyPath: m_Color.a 36 | value: 1 37 | objectReference: {fileID: 0} 38 | - target: {fileID: 0} 39 | propertyPath: m_Intensity 40 | value: 2 41 | objectReference: {fileID: 0} 42 | - target: {fileID: 0} 43 | propertyPath: m_Range 44 | value: 10 45 | objectReference: {fileID: 0} 46 | - target: {fileID: 0} 47 | propertyPath: m_SpotAngle 48 | value: 30 49 | objectReference: {fileID: 0} 50 | - target: {fileID: 0} 51 | propertyPath: m_CookieSize 52 | value: 10 53 | objectReference: {fileID: 0} 54 | - target: {fileID: 0} 55 | propertyPath: m_Shadows.m_Type 56 | value: 2 57 | objectReference: {fileID: 0} 58 | - target: {fileID: 0} 59 | propertyPath: m_Shadows.m_Resolution 60 | value: -1 61 | objectReference: {fileID: 0} 62 | - target: {fileID: 0} 63 | propertyPath: m_Shadows.m_CustomResolution 64 | value: -1 65 | objectReference: {fileID: 0} 66 | - target: {fileID: 0} 67 | propertyPath: m_Shadows.m_Strength 68 | value: 1 69 | objectReference: {fileID: 0} 70 | - target: {fileID: 0} 71 | propertyPath: m_Shadows.m_Bias 72 | value: 0.02 73 | objectReference: {fileID: 0} 74 | - target: {fileID: 0} 75 | propertyPath: m_Shadows.m_NormalBias 76 | value: 0.1 77 | objectReference: {fileID: 0} 78 | - target: {fileID: 0} 79 | propertyPath: m_Shadows.m_NearPlane 80 | value: 0.1 81 | objectReference: {fileID: 0} 82 | - target: {fileID: 0} 83 | propertyPath: m_Cookie 84 | value: 85 | objectReference: {fileID: 0} 86 | - target: {fileID: 0} 87 | propertyPath: m_DrawHalo 88 | value: 0 89 | objectReference: {fileID: 0} 90 | - target: {fileID: 0} 91 | propertyPath: m_Flare 92 | value: 93 | objectReference: {fileID: 0} 94 | - target: {fileID: 0} 95 | propertyPath: m_RenderMode 96 | value: 0 97 | objectReference: {fileID: 0} 98 | - target: {fileID: 0} 99 | propertyPath: m_CullingMask.m_Bits 100 | value: 4294967295 101 | objectReference: {fileID: 0} 102 | - target: {fileID: 0} 103 | propertyPath: m_Lightmapping 104 | value: 4 105 | objectReference: {fileID: 0} 106 | - target: {fileID: 0} 107 | propertyPath: m_LightShadowCasterMode 108 | value: 0 109 | objectReference: {fileID: 0} 110 | - target: {fileID: 0} 111 | propertyPath: m_AreaSize.x 112 | value: 1 113 | objectReference: {fileID: 0} 114 | - target: {fileID: 0} 115 | propertyPath: m_AreaSize.y 116 | value: 1 117 | objectReference: {fileID: 0} 118 | - target: {fileID: 0} 119 | propertyPath: m_BounceIntensity 120 | value: 1 121 | objectReference: {fileID: 0} 122 | - target: {fileID: 0} 123 | propertyPath: m_ColorTemperature 124 | value: 6570 125 | objectReference: {fileID: 0} 126 | - target: {fileID: 0} 127 | propertyPath: m_UseColorTemperature 128 | value: 0 129 | objectReference: {fileID: 0} 130 | - target: {fileID: 0} 131 | propertyPath: m_ShadowRadius 132 | value: 0 133 | objectReference: {fileID: 0} 134 | - target: {fileID: 0} 135 | propertyPath: m_ShadowAngle 136 | value: 0 137 | objectReference: {fileID: 0} 138 | -------------------------------------------------------------------------------- /Assets/Presets/Defaults/DirectionalLight_Default.preset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 463065d4f17d1d94d848aa127b94dd43 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2655988077585873504 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Presets/NormalTexture.preset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 14a57cf3b9fa1c74b884aa7e0dcf1faa 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2655988077585873504 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Presets/UtilityTexture.preset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45f7b2e3c78185248b3adbb14429c2ab 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2655988077585873504 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Settings.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0735c275001a2c84dafdb30deced5d8d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Settings/ForwardRenderer.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: de640fe3d0db1804a85f9fc8f5cadab6, type: 3} 13 | m_Name: ForwardRenderer 14 | m_EditorClassIdentifier: 15 | m_RendererFeatures: [] 16 | postProcessData: {fileID: 11400000, guid: 41439944d30ece34e96484bdb6645b55, type: 2} 17 | shaders: 18 | blitPS: {fileID: 4800000, guid: c17132b1f77d20942aa75f8429c0f8bc, type: 3} 19 | copyDepthPS: {fileID: 4800000, guid: d6dae50ee9e1bfa4db75f19f99355220, type: 3} 20 | screenSpaceShadowPS: {fileID: 4800000, guid: 0f854b35a0cf61a429bd5dcfea30eddd, 21 | type: 3} 22 | samplingPS: {fileID: 4800000, guid: 04c410c9937594faa893a11dceb85f7e, type: 3} 23 | fallbackErrorPS: {fileID: 4800000, guid: e6e9a19c3678ded42a3bc431ebef7dbd, type: 3} 24 | m_OpaqueLayerMask: 25 | serializedVersion: 2 26 | m_Bits: 4294967295 27 | m_TransparentLayerMask: 28 | serializedVersion: 2 29 | m_Bits: 4294967295 30 | m_DefaultStencilState: 31 | overrideStencilState: 0 32 | stencilReference: 0 33 | stencilCompareFunction: 8 34 | passOperation: 0 35 | failOperation: 0 36 | zFailOperation: 0 37 | -------------------------------------------------------------------------------- /Assets/Settings/ForwardRenderer.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4a8e21d5c33334b11b34a596161b9360 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Settings/UniversalRP-HighQuality.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: UniversalRP-HighQuality 14 | m_EditorClassIdentifier: 15 | k_AssetVersion: 5 16 | k_AssetPreviousVersion: 5 17 | m_RendererType: 1 18 | m_RendererData: {fileID: 0} 19 | m_RendererDataList: 20 | - {fileID: 11400000, guid: 4a8e21d5c33334b11b34a596161b9360, type: 2} 21 | m_DefaultRendererIndex: 0 22 | m_RequireDepthTexture: 1 23 | m_RequireOpaqueTexture: 1 24 | m_OpaqueDownsampling: 3 25 | m_SupportsTerrainHoles: 0 26 | m_SupportsHDR: 1 27 | m_MSAA: 8 28 | m_RenderScale: 1 29 | m_MainLightRenderingMode: 1 30 | m_MainLightShadowsSupported: 1 31 | m_MainLightShadowmapResolution: 4096 32 | m_AdditionalLightsRenderingMode: 1 33 | m_AdditionalLightsPerObjectLimit: 4 34 | m_AdditionalLightShadowsSupported: 1 35 | m_AdditionalLightsShadowmapResolution: 4096 36 | m_ShadowDistance: 50 37 | m_ShadowCascades: 1 38 | m_Cascade2Split: 0.25 39 | m_Cascade4Split: {x: 0.067, y: 0.2, z: 0.467} 40 | m_ShadowDepthBias: 1 41 | m_ShadowNormalBias: 1 42 | m_SoftShadowsSupported: 1 43 | m_UseSRPBatcher: 1 44 | m_SupportsDynamicBatching: 1 45 | m_MixedLightingSupported: 1 46 | m_DebugLevel: 0 47 | m_PostProcessingFeatureSet: 0 48 | m_ColorGradingMode: 1 49 | m_ColorGradingLutSize: 32 50 | m_ShadowType: 1 51 | m_LocalShadowsSupported: 0 52 | m_LocalShadowsAtlasResolution: 256 53 | m_MaxPixelLights: 0 54 | m_ShadowAtlasResolution: 256 55 | m_ShaderVariantLogLevel: 0 56 | -------------------------------------------------------------------------------- /Assets/Settings/UniversalRP-HighQuality.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 19ba41d7c0026c3459d37c2fe90c55a0 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Settings/UniversalRP-LowQuality.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: UniversalRP-LowQuality 14 | m_EditorClassIdentifier: 15 | k_AssetVersion: 5 16 | k_AssetPreviousVersion: 5 17 | m_RendererType: 1 18 | m_RendererData: {fileID: 0} 19 | m_RendererDataList: 20 | - {fileID: 11400000, guid: 4a8e21d5c33334b11b34a596161b9360, type: 2} 21 | m_DefaultRendererIndex: 0 22 | m_RequireDepthTexture: 0 23 | m_RequireOpaqueTexture: 0 24 | m_OpaqueDownsampling: 1 25 | m_SupportsHDR: 0 26 | m_MSAA: 1 27 | m_RenderScale: 1 28 | m_MainLightRenderingMode: 1 29 | m_MainLightShadowsSupported: 0 30 | m_MainLightShadowmapResolution: 2048 31 | m_AdditionalLightsRenderingMode: 0 32 | m_AdditionalLightsPerObjectLimit: 4 33 | m_AdditionalLightShadowsSupported: 0 34 | m_AdditionalLightsShadowmapResolution: 512 35 | m_ShadowDistance: 50 36 | m_ShadowCascades: 0 37 | m_Cascade2Split: 0.25 38 | m_Cascade4Split: {x: 0.067, y: 0.2, z: 0.467} 39 | m_ShadowDepthBias: 1 40 | m_ShadowNormalBias: 1 41 | m_SoftShadowsSupported: 0 42 | m_UseSRPBatcher: 1 43 | m_SupportsDynamicBatching: 0 44 | m_MixedLightingSupported: 1 45 | m_DebugLevel: 0 46 | m_ColorGradingMode: 0 47 | m_ColorGradingLutSize: 16 48 | m_ShadowType: 1 49 | m_LocalShadowsSupported: 0 50 | m_LocalShadowsAtlasResolution: 256 51 | m_MaxPixelLights: 0 52 | m_ShadowAtlasResolution: 256 53 | m_ShaderVariantLogLevel: 0 54 | -------------------------------------------------------------------------------- /Assets/Settings/UniversalRP-LowQuality.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a31e9f9f9c9d4b9429ed0d1234e22103 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Settings/UniversalRP-MediumQuality.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: UniversalRP-MediumQuality 14 | m_EditorClassIdentifier: 15 | k_AssetVersion: 5 16 | k_AssetPreviousVersion: 5 17 | m_RendererType: 1 18 | m_RendererData: {fileID: 0} 19 | m_RendererDataList: 20 | - {fileID: 11400000, guid: 4a8e21d5c33334b11b34a596161b9360, type: 2} 21 | m_DefaultRendererIndex: 0 22 | m_RequireDepthTexture: 0 23 | m_RequireOpaqueTexture: 0 24 | m_OpaqueDownsampling: 1 25 | m_SupportsHDR: 0 26 | m_MSAA: 1 27 | m_RenderScale: 1 28 | m_MainLightRenderingMode: 1 29 | m_MainLightShadowsSupported: 1 30 | m_MainLightShadowmapResolution: 2048 31 | m_AdditionalLightsRenderingMode: 1 32 | m_AdditionalLightsPerObjectLimit: 4 33 | m_AdditionalLightShadowsSupported: 0 34 | m_AdditionalLightsShadowmapResolution: 512 35 | m_ShadowDistance: 50 36 | m_ShadowCascades: 0 37 | m_Cascade2Split: 0.25 38 | m_Cascade4Split: {x: 0.067, y: 0.2, z: 0.467} 39 | m_ShadowDepthBias: 1 40 | m_ShadowNormalBias: 1 41 | m_SoftShadowsSupported: 0 42 | m_UseSRPBatcher: 1 43 | m_SupportsDynamicBatching: 0 44 | m_MixedLightingSupported: 1 45 | m_DebugLevel: 0 46 | m_ColorGradingMode: 0 47 | m_ColorGradingLutSize: 32 48 | m_ShadowType: 1 49 | m_LocalShadowsSupported: 0 50 | m_LocalShadowsAtlasResolution: 256 51 | m_MaxPixelLights: 0 52 | m_ShadowAtlasResolution: 256 53 | m_ShaderVariantLogLevel: 0 54 | -------------------------------------------------------------------------------- /Assets/Settings/UniversalRP-MediumQuality.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d847b876476d3d6468f5dfcd34266f96 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 William MacLeod 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.burst": "1.3.2", 4 | "com.unity.entities": "0.11.1-preview.4", 5 | "com.unity.ide.rider": "2.0.5", 6 | "com.unity.ide.vscode": "1.2.1", 7 | "com.unity.render-pipelines.universal": "7.4.1", 8 | "com.unity.test-framework": "1.1.14", 9 | "com.unity.ugui": "1.0.0", 10 | "com.unity.modules.ai": "1.0.0", 11 | "com.unity.modules.androidjni": "1.0.0", 12 | "com.unity.modules.animation": "1.0.0", 13 | "com.unity.modules.assetbundle": "1.0.0", 14 | "com.unity.modules.audio": "1.0.0", 15 | "com.unity.modules.cloth": "1.0.0", 16 | "com.unity.modules.director": "1.0.0", 17 | "com.unity.modules.imageconversion": "1.0.0", 18 | "com.unity.modules.imgui": "1.0.0", 19 | "com.unity.modules.jsonserialize": "1.0.0", 20 | "com.unity.modules.particlesystem": "1.0.0", 21 | "com.unity.modules.physics": "1.0.0", 22 | "com.unity.modules.physics2d": "1.0.0", 23 | "com.unity.modules.screencapture": "1.0.0", 24 | "com.unity.modules.terrain": "1.0.0", 25 | "com.unity.modules.terrainphysics": "1.0.0", 26 | "com.unity.modules.tilemap": "1.0.0", 27 | "com.unity.modules.ui": "1.0.0", 28 | "com.unity.modules.uielements": "1.0.0", 29 | "com.unity.modules.umbra": "1.0.0", 30 | "com.unity.modules.unityanalytics": "1.0.0", 31 | "com.unity.modules.unitywebrequest": "1.0.0", 32 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 33 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 34 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 35 | "com.unity.modules.unitywebrequestwww": "1.0.0", 36 | "com.unity.modules.vehicles": "1.0.0", 37 | "com.unity.modules.video": "1.0.0", 38 | "com.unity.modules.vr": "1.0.0", 39 | "com.unity.modules.wind": "1.0.0", 40 | "com.unity.modules.xr": "1.0.0" 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /Packages/packages-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.burst": { 4 | "version": "1.3.2", 5 | "depth": 0, 6 | "source": "registry", 7 | "dependencies": { 8 | "com.unity.mathematics": "1.1.0" 9 | }, 10 | "url": "https://packages.unity.com" 11 | }, 12 | "com.unity.collections": { 13 | "version": "0.9.0-preview.6", 14 | "depth": 1, 15 | "source": "registry", 16 | "dependencies": { 17 | "com.unity.test-framework.performance": "2.0.8-preview", 18 | "com.unity.burst": "1.3.0-preview.12" 19 | }, 20 | "url": "https://packages.unity.com" 21 | }, 22 | "com.unity.entities": { 23 | "version": "0.11.1-preview.4", 24 | "depth": 0, 25 | "source": "registry", 26 | "dependencies": { 27 | "com.unity.burst": "1.3.0-preview.12", 28 | "com.unity.collections": "0.9.0-preview.6", 29 | "com.unity.properties": "1.2.0-preview", 30 | "com.unity.mathematics": "1.1.0", 31 | "com.unity.test-framework.performance": "2.0.8-preview", 32 | "com.unity.serialization": "1.2.0-preview", 33 | "nuget.mono-cecil": "0.1.5-preview", 34 | "com.unity.jobs": "0.2.10-preview.12", 35 | "com.unity.scriptablebuildpipeline": "1.6.4-preview", 36 | "com.unity.platforms": "0.3.0-preview.4" 37 | }, 38 | "url": "https://packages.unity.com" 39 | }, 40 | "com.unity.ext.nunit": { 41 | "version": "1.0.0", 42 | "depth": 1, 43 | "source": "registry", 44 | "dependencies": {}, 45 | "url": "https://packages.unity.com" 46 | }, 47 | "com.unity.ide.rider": { 48 | "version": "2.0.5", 49 | "depth": 0, 50 | "source": "registry", 51 | "dependencies": { 52 | "com.unity.test-framework": "1.1.1" 53 | }, 54 | "url": "https://packages.unity.com" 55 | }, 56 | "com.unity.ide.vscode": { 57 | "version": "1.2.1", 58 | "depth": 0, 59 | "source": "registry", 60 | "dependencies": {}, 61 | "url": "https://packages.unity.com" 62 | }, 63 | "com.unity.jobs": { 64 | "version": "0.2.10-preview.12", 65 | "depth": 1, 66 | "source": "registry", 67 | "dependencies": { 68 | "com.unity.collections": "0.9.0-preview.6", 69 | "com.unity.mathematics": "1.1.0" 70 | }, 71 | "url": "https://packages.unity.com" 72 | }, 73 | "com.unity.mathematics": { 74 | "version": "1.1.0", 75 | "depth": 1, 76 | "source": "registry", 77 | "dependencies": {}, 78 | "url": "https://packages.unity.com" 79 | }, 80 | "com.unity.nuget.newtonsoft-json": { 81 | "version": "2.0.0-preview", 82 | "depth": 2, 83 | "source": "registry", 84 | "dependencies": {}, 85 | "url": "https://packages.unity.com" 86 | }, 87 | "com.unity.platforms": { 88 | "version": "0.3.0-preview.4", 89 | "depth": 1, 90 | "source": "registry", 91 | "dependencies": { 92 | "com.unity.properties": "1.1.1-preview", 93 | "com.unity.properties.ui": "1.1.1-preview", 94 | "com.unity.searcher": "4.0.9", 95 | "com.unity.serialization": "1.1.1-preview" 96 | }, 97 | "url": "https://packages.unity.com" 98 | }, 99 | "com.unity.properties": { 100 | "version": "1.2.0-preview", 101 | "depth": 1, 102 | "source": "registry", 103 | "dependencies": { 104 | "nuget.mono-cecil": "0.1.5-preview", 105 | "com.unity.test-framework.performance": "1.3.3-preview" 106 | }, 107 | "url": "https://packages.unity.com" 108 | }, 109 | "com.unity.properties.ui": { 110 | "version": "1.1.1-preview", 111 | "depth": 2, 112 | "source": "registry", 113 | "dependencies": { 114 | "com.unity.properties": "1.1.1-preview", 115 | "com.unity.serialization": "1.1.1-preview" 116 | }, 117 | "url": "https://packages.unity.com" 118 | }, 119 | "com.unity.render-pipelines.core": { 120 | "version": "7.4.1", 121 | "depth": 1, 122 | "source": "registry", 123 | "dependencies": { 124 | "com.unity.ugui": "1.0.0" 125 | }, 126 | "url": "https://packages.unity.com" 127 | }, 128 | "com.unity.render-pipelines.universal": { 129 | "version": "7.4.1", 130 | "depth": 0, 131 | "source": "registry", 132 | "dependencies": { 133 | "com.unity.render-pipelines.core": "7.4.1", 134 | "com.unity.shadergraph": "7.4.1" 135 | }, 136 | "url": "https://packages.unity.com" 137 | }, 138 | "com.unity.scriptablebuildpipeline": { 139 | "version": "1.6.4-preview", 140 | "depth": 1, 141 | "source": "registry", 142 | "dependencies": {}, 143 | "url": "https://packages.unity.com" 144 | }, 145 | "com.unity.searcher": { 146 | "version": "4.0.9", 147 | "depth": 2, 148 | "source": "registry", 149 | "dependencies": {}, 150 | "url": "https://packages.unity.com" 151 | }, 152 | "com.unity.serialization": { 153 | "version": "1.2.0-preview", 154 | "depth": 1, 155 | "source": "registry", 156 | "dependencies": { 157 | "com.unity.collections": "0.7.0-preview.2", 158 | "com.unity.burst": "1.3.0-preview.5", 159 | "com.unity.jobs": "0.2.7-preview.11", 160 | "com.unity.properties": "1.2.0-preview", 161 | "com.unity.test-framework.performance": "1.3.3-preview" 162 | }, 163 | "url": "https://packages.unity.com" 164 | }, 165 | "com.unity.shadergraph": { 166 | "version": "7.4.1", 167 | "depth": 1, 168 | "source": "registry", 169 | "dependencies": { 170 | "com.unity.render-pipelines.core": "7.4.1" 171 | }, 172 | "url": "https://packages.unity.com" 173 | }, 174 | "com.unity.test-framework": { 175 | "version": "1.1.14", 176 | "depth": 0, 177 | "source": "registry", 178 | "dependencies": { 179 | "com.unity.ext.nunit": "1.0.0", 180 | "com.unity.modules.imgui": "1.0.0", 181 | "com.unity.modules.jsonserialize": "1.0.0" 182 | }, 183 | "url": "https://packages.unity.com" 184 | }, 185 | "com.unity.test-framework.performance": { 186 | "version": "2.0.8-preview", 187 | "depth": 1, 188 | "source": "registry", 189 | "dependencies": { 190 | "com.unity.test-framework": "1.1.0", 191 | "com.unity.nuget.newtonsoft-json": "2.0.0-preview" 192 | }, 193 | "url": "https://packages.unity.com" 194 | }, 195 | "com.unity.ugui": { 196 | "version": "1.0.0", 197 | "depth": 0, 198 | "source": "builtin", 199 | "dependencies": { 200 | "com.unity.modules.ui": "1.0.0" 201 | } 202 | }, 203 | "nuget.mono-cecil": { 204 | "version": "0.1.5-preview", 205 | "depth": 1, 206 | "source": "registry", 207 | "dependencies": {}, 208 | "url": "https://packages.unity.com" 209 | }, 210 | "com.unity.modules.ai": { 211 | "version": "1.0.0", 212 | "depth": 0, 213 | "source": "builtin", 214 | "dependencies": {} 215 | }, 216 | "com.unity.modules.androidjni": { 217 | "version": "1.0.0", 218 | "depth": 0, 219 | "source": "builtin", 220 | "dependencies": {} 221 | }, 222 | "com.unity.modules.animation": { 223 | "version": "1.0.0", 224 | "depth": 0, 225 | "source": "builtin", 226 | "dependencies": {} 227 | }, 228 | "com.unity.modules.assetbundle": { 229 | "version": "1.0.0", 230 | "depth": 0, 231 | "source": "builtin", 232 | "dependencies": {} 233 | }, 234 | "com.unity.modules.audio": { 235 | "version": "1.0.0", 236 | "depth": 0, 237 | "source": "builtin", 238 | "dependencies": {} 239 | }, 240 | "com.unity.modules.cloth": { 241 | "version": "1.0.0", 242 | "depth": 0, 243 | "source": "builtin", 244 | "dependencies": { 245 | "com.unity.modules.physics": "1.0.0" 246 | } 247 | }, 248 | "com.unity.modules.director": { 249 | "version": "1.0.0", 250 | "depth": 0, 251 | "source": "builtin", 252 | "dependencies": { 253 | "com.unity.modules.audio": "1.0.0", 254 | "com.unity.modules.animation": "1.0.0" 255 | } 256 | }, 257 | "com.unity.modules.imageconversion": { 258 | "version": "1.0.0", 259 | "depth": 0, 260 | "source": "builtin", 261 | "dependencies": {} 262 | }, 263 | "com.unity.modules.imgui": { 264 | "version": "1.0.0", 265 | "depth": 0, 266 | "source": "builtin", 267 | "dependencies": {} 268 | }, 269 | "com.unity.modules.jsonserialize": { 270 | "version": "1.0.0", 271 | "depth": 0, 272 | "source": "builtin", 273 | "dependencies": {} 274 | }, 275 | "com.unity.modules.particlesystem": { 276 | "version": "1.0.0", 277 | "depth": 0, 278 | "source": "builtin", 279 | "dependencies": {} 280 | }, 281 | "com.unity.modules.physics": { 282 | "version": "1.0.0", 283 | "depth": 0, 284 | "source": "builtin", 285 | "dependencies": {} 286 | }, 287 | "com.unity.modules.physics2d": { 288 | "version": "1.0.0", 289 | "depth": 0, 290 | "source": "builtin", 291 | "dependencies": {} 292 | }, 293 | "com.unity.modules.screencapture": { 294 | "version": "1.0.0", 295 | "depth": 0, 296 | "source": "builtin", 297 | "dependencies": { 298 | "com.unity.modules.imageconversion": "1.0.0" 299 | } 300 | }, 301 | "com.unity.modules.subsystems": { 302 | "version": "1.0.0", 303 | "depth": 1, 304 | "source": "builtin", 305 | "dependencies": { 306 | "com.unity.modules.jsonserialize": "1.0.0" 307 | } 308 | }, 309 | "com.unity.modules.terrain": { 310 | "version": "1.0.0", 311 | "depth": 0, 312 | "source": "builtin", 313 | "dependencies": {} 314 | }, 315 | "com.unity.modules.terrainphysics": { 316 | "version": "1.0.0", 317 | "depth": 0, 318 | "source": "builtin", 319 | "dependencies": { 320 | "com.unity.modules.physics": "1.0.0", 321 | "com.unity.modules.terrain": "1.0.0" 322 | } 323 | }, 324 | "com.unity.modules.tilemap": { 325 | "version": "1.0.0", 326 | "depth": 0, 327 | "source": "builtin", 328 | "dependencies": { 329 | "com.unity.modules.physics2d": "1.0.0" 330 | } 331 | }, 332 | "com.unity.modules.ui": { 333 | "version": "1.0.0", 334 | "depth": 0, 335 | "source": "builtin", 336 | "dependencies": {} 337 | }, 338 | "com.unity.modules.uielements": { 339 | "version": "1.0.0", 340 | "depth": 0, 341 | "source": "builtin", 342 | "dependencies": { 343 | "com.unity.modules.imgui": "1.0.0", 344 | "com.unity.modules.jsonserialize": "1.0.0" 345 | } 346 | }, 347 | "com.unity.modules.umbra": { 348 | "version": "1.0.0", 349 | "depth": 0, 350 | "source": "builtin", 351 | "dependencies": {} 352 | }, 353 | "com.unity.modules.unityanalytics": { 354 | "version": "1.0.0", 355 | "depth": 0, 356 | "source": "builtin", 357 | "dependencies": { 358 | "com.unity.modules.unitywebrequest": "1.0.0", 359 | "com.unity.modules.jsonserialize": "1.0.0" 360 | } 361 | }, 362 | "com.unity.modules.unitywebrequest": { 363 | "version": "1.0.0", 364 | "depth": 0, 365 | "source": "builtin", 366 | "dependencies": {} 367 | }, 368 | "com.unity.modules.unitywebrequestassetbundle": { 369 | "version": "1.0.0", 370 | "depth": 0, 371 | "source": "builtin", 372 | "dependencies": { 373 | "com.unity.modules.assetbundle": "1.0.0", 374 | "com.unity.modules.unitywebrequest": "1.0.0" 375 | } 376 | }, 377 | "com.unity.modules.unitywebrequestaudio": { 378 | "version": "1.0.0", 379 | "depth": 0, 380 | "source": "builtin", 381 | "dependencies": { 382 | "com.unity.modules.unitywebrequest": "1.0.0", 383 | "com.unity.modules.audio": "1.0.0" 384 | } 385 | }, 386 | "com.unity.modules.unitywebrequesttexture": { 387 | "version": "1.0.0", 388 | "depth": 0, 389 | "source": "builtin", 390 | "dependencies": { 391 | "com.unity.modules.unitywebrequest": "1.0.0", 392 | "com.unity.modules.imageconversion": "1.0.0" 393 | } 394 | }, 395 | "com.unity.modules.unitywebrequestwww": { 396 | "version": "1.0.0", 397 | "depth": 0, 398 | "source": "builtin", 399 | "dependencies": { 400 | "com.unity.modules.unitywebrequest": "1.0.0", 401 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 402 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 403 | "com.unity.modules.audio": "1.0.0", 404 | "com.unity.modules.assetbundle": "1.0.0", 405 | "com.unity.modules.imageconversion": "1.0.0" 406 | } 407 | }, 408 | "com.unity.modules.vehicles": { 409 | "version": "1.0.0", 410 | "depth": 0, 411 | "source": "builtin", 412 | "dependencies": { 413 | "com.unity.modules.physics": "1.0.0" 414 | } 415 | }, 416 | "com.unity.modules.video": { 417 | "version": "1.0.0", 418 | "depth": 0, 419 | "source": "builtin", 420 | "dependencies": { 421 | "com.unity.modules.audio": "1.0.0", 422 | "com.unity.modules.ui": "1.0.0", 423 | "com.unity.modules.unitywebrequest": "1.0.0" 424 | } 425 | }, 426 | "com.unity.modules.vr": { 427 | "version": "1.0.0", 428 | "depth": 0, 429 | "source": "builtin", 430 | "dependencies": { 431 | "com.unity.modules.jsonserialize": "1.0.0", 432 | "com.unity.modules.physics": "1.0.0", 433 | "com.unity.modules.xr": "1.0.0" 434 | } 435 | }, 436 | "com.unity.modules.wind": { 437 | "version": "1.0.0", 438 | "depth": 0, 439 | "source": "builtin", 440 | "dependencies": {} 441 | }, 442 | "com.unity.modules.xr": { 443 | "version": "1.0.0", 444 | "depth": 0, 445 | "source": "builtin", 446 | "dependencies": { 447 | "com.unity.modules.physics": "1.0.0", 448 | "com.unity.modules.jsonserialize": "1.0.0", 449 | "com.unity.modules.subsystems": "1.0.0" 450 | } 451 | } 452 | } 453 | } 454 | -------------------------------------------------------------------------------- /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 | serializedVersion: 2 7 | m_Volume: 1 8 | Rolloff Scale: 1 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_SampleRate: 0 12 | m_DSPBufferSize: 1024 13 | m_VirtualVoiceCount: 512 14 | m_RealVoiceCount: 32 15 | m_SpatializerPlugin: 16 | m_AmbisonicDecoderPlugin: 17 | m_DisableAudio: 0 18 | m_VirtualizeEffects: 1 19 | m_RequestedDSPBufferSize: 0 20 | -------------------------------------------------------------------------------- /ProjectSettings/BurstAotSettings_StandaloneWindows.json: -------------------------------------------------------------------------------- 1 | { 2 | "MonoBehaviour": { 3 | "Version": 3, 4 | "EnableBurstCompilation": true, 5 | "EnableOptimisations": true, 6 | "EnableSafetyChecks": false, 7 | "EnableDebugInAllBuilds": false, 8 | "UsePlatformSDKLinker": false, 9 | "CpuMinTargetX32": 0, 10 | "CpuMaxTargetX32": 0, 11 | "CpuMinTargetX64": 0, 12 | "CpuMaxTargetX64": 0, 13 | "CpuTargetsX32": 6, 14 | "CpuTargetsX64": 72 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /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: 13 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.1 18 | m_ClothInterCollisionStiffness: 0.2 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_ClothGravity: {x: 0, y: -9.81, z: 0} 26 | m_ContactPairsMode: 0 27 | m_BroadphaseType: 0 28 | m_WorldBounds: 29 | m_Center: {x: 0, y: 0, z: 0} 30 | m_Extent: {x: 250, y: 250, z: 250} 31 | m_WorldSubdivisions: 8 32 | m_FrictionType: 0 33 | m_EnableEnhancedDeterminism: 0 34 | m_EnableUnifiedHeightmaps: 1 35 | m_SolverType: 0 36 | m_DefaultMaxAngularSpeed: 7 37 | -------------------------------------------------------------------------------- /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: 1 9 | path: Assets/PlanarReflections/Example/RecursiveMaxSettings_PlanarExampleScene.unity 10 | guid: 1810ac84de7b94a45a51abb01888158c 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: 9 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 0 10 | m_DefaultBehaviorMode: 0 11 | m_PrefabRegularEnvironment: {fileID: 0} 12 | m_PrefabUIEnvironment: {fileID: 0} 13 | m_SpritePackerMode: 0 14 | m_SpritePackerPaddingPower: 1 15 | m_EtcTextureCompressorBehavior: 1 16 | m_EtcTextureFastCompressor: 1 17 | m_EtcTextureNormalCompressor: 2 18 | m_EtcTextureBestCompressor: 4 19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;asmref;rsp 20 | m_ProjectGenerationRootNamespace: 21 | m_CollabEditorSettings: 22 | inProgressEnabled: 1 23 | m_EnableTextureStreamingInEditMode: 1 24 | m_EnableTextureStreamingInPlayMode: 1 25 | m_AsyncShaderCompilation: 1 26 | m_EnterPlayModeOptionsEnabled: 0 27 | m_EnterPlayModeOptions: 3 28 | m_ShowLightmapResolutionOverlay: 1 29 | m_UseLegacyProbeSampleCount: 0 30 | m_AssetPipelineMode: 1 31 | m_CacheServerMode: 0 32 | m_CacheServerEndpoint: 33 | m_CacheServerNamespacePrefix: default 34 | m_CacheServerEnableDownload: 1 35 | m_CacheServerEnableUpload: 1 36 | -------------------------------------------------------------------------------- /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: 13 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 | - {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0} 40 | - {fileID: 16001, guid: 0000000000000000f000000000000000, type: 0} 41 | - {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0} 42 | m_PreloadedShaders: [] 43 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 44 | type: 0} 45 | m_CustomRenderPipeline: {fileID: 11400000, guid: 19ba41d7c0026c3459d37c2fe90c55a0, 46 | type: 2} 47 | m_TransparencySortMode: 0 48 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 49 | m_DefaultRenderingPath: 1 50 | m_DefaultMobileRenderingPath: 1 51 | m_TierSettings: [] 52 | m_LightmapStripping: 0 53 | m_FogStripping: 0 54 | m_InstancingStripping: 0 55 | m_LightmapKeepPlain: 1 56 | m_LightmapKeepDirCombined: 1 57 | m_LightmapKeepDynamicPlain: 1 58 | m_LightmapKeepDynamicDirCombined: 1 59 | m_LightmapKeepShadowMask: 1 60 | m_LightmapKeepSubtractive: 1 61 | m_FogKeepLinear: 1 62 | m_FogKeepExp: 1 63 | m_FogKeepExp2: 1 64 | m_AlbedoSwatchInfos: [] 65 | m_LightsUseLinearIntensity: 1 66 | m_LightsUseColorTemperature: 0 67 | m_LogWhenShaderIsCompiled: 0 68 | m_AllowEnlightenSupportForUpgradedProject: 1 69 | -------------------------------------------------------------------------------- /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 | - serializedVersion: 3 297 | m_Name: Enable Debug Button 1 298 | descriptiveName: 299 | descriptiveNegativeName: 300 | negativeButton: 301 | positiveButton: left ctrl 302 | altNegativeButton: 303 | altPositiveButton: joystick button 8 304 | gravity: 0 305 | dead: 0 306 | sensitivity: 0 307 | snap: 0 308 | invert: 0 309 | type: 0 310 | axis: 0 311 | joyNum: 0 312 | - serializedVersion: 3 313 | m_Name: Enable Debug Button 2 314 | descriptiveName: 315 | descriptiveNegativeName: 316 | negativeButton: 317 | positiveButton: backspace 318 | altNegativeButton: 319 | altPositiveButton: joystick button 9 320 | gravity: 0 321 | dead: 0 322 | sensitivity: 0 323 | snap: 0 324 | invert: 0 325 | type: 0 326 | axis: 0 327 | joyNum: 0 328 | - serializedVersion: 3 329 | m_Name: Debug Reset 330 | descriptiveName: 331 | descriptiveNegativeName: 332 | negativeButton: 333 | positiveButton: left alt 334 | altNegativeButton: 335 | altPositiveButton: joystick button 1 336 | gravity: 0 337 | dead: 0 338 | sensitivity: 0 339 | snap: 0 340 | invert: 0 341 | type: 0 342 | axis: 0 343 | joyNum: 0 344 | - serializedVersion: 3 345 | m_Name: Debug Next 346 | descriptiveName: 347 | descriptiveNegativeName: 348 | negativeButton: 349 | positiveButton: page down 350 | altNegativeButton: 351 | altPositiveButton: joystick button 5 352 | gravity: 0 353 | dead: 0 354 | sensitivity: 0 355 | snap: 0 356 | invert: 0 357 | type: 0 358 | axis: 0 359 | joyNum: 0 360 | - serializedVersion: 3 361 | m_Name: Debug Previous 362 | descriptiveName: 363 | descriptiveNegativeName: 364 | negativeButton: 365 | positiveButton: page up 366 | altNegativeButton: 367 | altPositiveButton: joystick button 4 368 | gravity: 0 369 | dead: 0 370 | sensitivity: 0 371 | snap: 0 372 | invert: 0 373 | type: 0 374 | axis: 0 375 | joyNum: 0 376 | - serializedVersion: 3 377 | m_Name: Debug Validate 378 | descriptiveName: 379 | descriptiveNegativeName: 380 | negativeButton: 381 | positiveButton: return 382 | altNegativeButton: 383 | altPositiveButton: joystick button 0 384 | gravity: 0 385 | dead: 0 386 | sensitivity: 0 387 | snap: 0 388 | invert: 0 389 | type: 0 390 | axis: 0 391 | joyNum: 0 392 | - serializedVersion: 3 393 | m_Name: Debug Persistent 394 | descriptiveName: 395 | descriptiveNegativeName: 396 | negativeButton: 397 | positiveButton: right shift 398 | altNegativeButton: 399 | altPositiveButton: joystick button 2 400 | gravity: 0 401 | dead: 0 402 | sensitivity: 0 403 | snap: 0 404 | invert: 0 405 | type: 0 406 | axis: 0 407 | joyNum: 0 408 | - serializedVersion: 3 409 | m_Name: Debug Multiplier 410 | descriptiveName: 411 | descriptiveNegativeName: 412 | negativeButton: 413 | positiveButton: left shift 414 | altNegativeButton: 415 | altPositiveButton: joystick button 3 416 | gravity: 0 417 | dead: 0 418 | sensitivity: 0 419 | snap: 0 420 | invert: 0 421 | type: 0 422 | axis: 0 423 | joyNum: 0 424 | - serializedVersion: 3 425 | m_Name: Debug Horizontal 426 | descriptiveName: 427 | descriptiveNegativeName: 428 | negativeButton: left 429 | positiveButton: right 430 | altNegativeButton: 431 | altPositiveButton: 432 | gravity: 1000 433 | dead: 0.001 434 | sensitivity: 1000 435 | snap: 0 436 | invert: 0 437 | type: 0 438 | axis: 0 439 | joyNum: 0 440 | - serializedVersion: 3 441 | m_Name: Debug Vertical 442 | descriptiveName: 443 | descriptiveNegativeName: 444 | negativeButton: down 445 | positiveButton: up 446 | altNegativeButton: 447 | altPositiveButton: 448 | gravity: 1000 449 | dead: 0.001 450 | sensitivity: 1000 451 | snap: 0 452 | invert: 0 453 | type: 0 454 | axis: 0 455 | joyNum: 0 456 | - serializedVersion: 3 457 | m_Name: Debug Vertical 458 | descriptiveName: 459 | descriptiveNegativeName: 460 | negativeButton: down 461 | positiveButton: up 462 | altNegativeButton: 463 | altPositiveButton: 464 | gravity: 1000 465 | dead: 0.001 466 | sensitivity: 1000 467 | snap: 0 468 | invert: 0 469 | type: 2 470 | axis: 6 471 | joyNum: 0 472 | - serializedVersion: 3 473 | m_Name: Debug Horizontal 474 | descriptiveName: 475 | descriptiveNegativeName: 476 | negativeButton: left 477 | positiveButton: right 478 | altNegativeButton: 479 | altPositiveButton: 480 | gravity: 1000 481 | dead: 0.001 482 | sensitivity: 1000 483 | snap: 0 484 | invert: 0 485 | type: 2 486 | axis: 5 487 | joyNum: 0 488 | -------------------------------------------------------------------------------- /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/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_JobOptions: 23 | serializedVersion: 2 24 | useMultithreading: 0 25 | useConsistencySorting: 0 26 | m_InterpolationPosesPerJob: 100 27 | m_NewContactsPerJob: 30 28 | m_CollideContactsPerJob: 100 29 | m_ClearFlagsPerJob: 200 30 | m_ClearBodyForcesPerJob: 200 31 | m_SyncDiscreteFixturesPerJob: 50 32 | m_SyncContinuousFixturesPerJob: 50 33 | m_FindNearestContactsPerJob: 100 34 | m_UpdateTriggerContactsPerJob: 100 35 | m_IslandSolverCostThreshold: 100 36 | m_IslandSolverBodyCostScale: 1 37 | m_IslandSolverContactCostScale: 10 38 | m_IslandSolverJointCostScale: 10 39 | m_IslandSolverBodiesPerJob: 50 40 | m_IslandSolverContactsPerJob: 50 41 | m_AutoSimulation: 1 42 | m_QueriesHitTriggers: 1 43 | m_QueriesStartInColliders: 1 44 | m_CallbacksOnDisable: 1 45 | m_ReuseCollisionCallbacks: 1 46 | m_AutoSyncTransforms: 0 47 | m_AlwaysShowColliders: 0 48 | m_ShowColliderSleep: 1 49 | m_ShowColliderContacts: 0 50 | m_ShowColliderAABB: 0 51 | m_ContactArrowScale: 0.2 52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 57 | -------------------------------------------------------------------------------- /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: 463065d4f17d1d94d848aa127b94dd43, 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: e7689051185d12f4298e1ebb2693a29f, 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: e8537455c6c08bd4e8bf0be3707da685, 27 | type: 2} 28 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2019.4.1f1 2 | m_EditorVersionWithRevision: 2019.4.1f1 (e6c045e14e4e) 3 | -------------------------------------------------------------------------------- /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: 2 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Low 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 20 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | skinWeights: 2 22 | textureQuality: 0 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.4 31 | maximumLODLevel: 0 32 | streamingMipmapsActive: 0 33 | streamingMipmapsAddAllCameras: 1 34 | streamingMipmapsMemoryBudget: 512 35 | streamingMipmapsRenderersPerFrame: 512 36 | streamingMipmapsMaxLevelReduction: 2 37 | streamingMipmapsMaxFileIORequests: 1024 38 | particleRaycastBudget: 16 39 | asyncUploadTimeSlice: 2 40 | asyncUploadBufferSize: 16 41 | asyncUploadPersistentBuffer: 1 42 | resolutionScalingFixedDPIFactor: 1 43 | customRenderPipeline: {fileID: 11400000, guid: a31e9f9f9c9d4b9429ed0d1234e22103, 44 | type: 2} 45 | excludedTargetPlatforms: [] 46 | - serializedVersion: 2 47 | name: Medium 48 | pixelLightCount: 1 49 | shadows: 1 50 | shadowResolution: 0 51 | shadowProjection: 1 52 | shadowCascades: 1 53 | shadowDistance: 20 54 | shadowNearPlaneOffset: 3 55 | shadowCascade2Split: 0.33333334 56 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 57 | shadowmaskMode: 0 58 | skinWeights: 2 59 | textureQuality: 0 60 | anisotropicTextures: 1 61 | antiAliasing: 0 62 | softParticles: 0 63 | softVegetation: 0 64 | realtimeReflectionProbes: 0 65 | billboardsFaceCameraPosition: 0 66 | vSyncCount: 1 67 | lodBias: 0.7 68 | maximumLODLevel: 0 69 | streamingMipmapsActive: 0 70 | streamingMipmapsAddAllCameras: 1 71 | streamingMipmapsMemoryBudget: 512 72 | streamingMipmapsRenderersPerFrame: 512 73 | streamingMipmapsMaxLevelReduction: 2 74 | streamingMipmapsMaxFileIORequests: 1024 75 | particleRaycastBudget: 64 76 | asyncUploadTimeSlice: 2 77 | asyncUploadBufferSize: 16 78 | asyncUploadPersistentBuffer: 1 79 | resolutionScalingFixedDPIFactor: 1 80 | customRenderPipeline: {fileID: 11400000, guid: d847b876476d3d6468f5dfcd34266f96, 81 | type: 2} 82 | excludedTargetPlatforms: [] 83 | - serializedVersion: 2 84 | name: High 85 | pixelLightCount: 2 86 | shadows: 2 87 | shadowResolution: 1 88 | shadowProjection: 1 89 | shadowCascades: 2 90 | shadowDistance: 40 91 | shadowNearPlaneOffset: 3 92 | shadowCascade2Split: 0.33333334 93 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 94 | shadowmaskMode: 1 95 | skinWeights: 2 96 | textureQuality: 0 97 | anisotropicTextures: 1 98 | antiAliasing: 8 99 | softParticles: 0 100 | softVegetation: 1 101 | realtimeReflectionProbes: 1 102 | billboardsFaceCameraPosition: 1 103 | vSyncCount: 1 104 | lodBias: 1 105 | maximumLODLevel: 0 106 | streamingMipmapsActive: 0 107 | streamingMipmapsAddAllCameras: 1 108 | streamingMipmapsMemoryBudget: 512 109 | streamingMipmapsRenderersPerFrame: 512 110 | streamingMipmapsMaxLevelReduction: 2 111 | streamingMipmapsMaxFileIORequests: 1024 112 | particleRaycastBudget: 256 113 | asyncUploadTimeSlice: 2 114 | asyncUploadBufferSize: 16 115 | asyncUploadPersistentBuffer: 1 116 | resolutionScalingFixedDPIFactor: 1 117 | customRenderPipeline: {fileID: 11400000, guid: 19ba41d7c0026c3459d37c2fe90c55a0, 118 | type: 2} 119 | excludedTargetPlatforms: [] 120 | m_PerPlatformDefaultQuality: 121 | Android: 1 122 | Lumin: 2 123 | Nintendo Switch: 2 124 | PS4: 2 125 | Stadia: 2 126 | Standalone: 2 127 | WebGL: 1 128 | Windows Store Apps: 2 129 | XboxOne: 2 130 | iPhone: 1 131 | tvOS: 1 132 | -------------------------------------------------------------------------------- /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 | - Ceiling 17 | - Ground 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/URPProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &1 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 61 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: 247994e1f5a72c2419c26a37e9334c01, type: 3} 13 | m_Name: 14 | m_EditorClassIdentifier: 15 | m_LastMaterialVersion: 2 16 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /ProjectSettings/XRSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_SettingKeys": [ 3 | "VR Device Disabled", 4 | "VR Device User Alert" 5 | ], 6 | "m_SettingValues": [ 7 | "False", 8 | "False" 9 | ] 10 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 | [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT) 4 | 5 | ## Planar Reflections in Unity's URP 6 | 7 | Full .unitypackage here: https://github.com/Macleodsolutions/URP_PlanarReflections/releases/download/v0.2/URP_PlanarReflections.unitypackage 8 |
9 |
10 | Requires Entities Package. 11 |
12 |
13 | FAST, easy to use planar reflections for Unity's Universal Render Pipeline. 14 | Example scenes provided demonstrate ShaderGraph setup and Min/Max settings. 15 | Using DOTS, optimized for the URP. Experimental support for recursive reflections. 16 | Based on the Boat Attack Demo located here: https://github.com/Verasl/BoatAttack 17 | 18 |

19 | 20 |
21 | 22 | ## Basic Setup (No Recursion, Best Performance) 23 | 24 | Assuming the user has no use for recursion, setup can be greatly simplified by simply adding individual 25 | reflection scripts to the main camera, one for each direction you intend to have reflections come from. 26 |

27 | The reflection script ultimately outputs to a global shader property, which needs to be caught on any materials you intent to have reflections. 28 | An example set of shaders designed to replicate the standard unity ones can be found for each corrosponding direction, demonstrating how to recieve the reflection 29 | textures within the shadergraph. 30 | 31 | ## Basic Example 32 | 33 | Using the shader property "_PlanarGround", which is already being caught in the Ground Planar Reflection shader variation, we can easily assign all materials catching 34 | "_PlanarGround" to reflect at a normal angle of 0,1,0, or up. 35 | 36 |
37 |

38 |
39 | Resulting in: 40 |
41 |

42 |
43 | Well, the skybox is clearly being reflected, but no objects anywhere in sight. By simply adjusting the "Clip Plane Offset" option, 44 | we can find the optimal reflection offset for your scene. 45 |
46 |
47 |

48 |
49 | Now, we have our objects reflecting! Still, something seems off. We have a number of post processing effects available to more closely match 50 | our original objects: 51 |
52 |
53 |

54 |
55 |
56 | Excellent! Last but not least, lets talk about multiple reflection angles. Simply set up another Reflection Script on the same camera with 57 | the desired reflection angle, and feed it to a material property with a global shader call. Several direction materials are available in the example scene. 58 |
59 |
60 |

61 |
62 |
63 | 64 | ## Advanced Setup (Recursion, Questionable Performance, Experimental) 65 | 66 | If the user does however require recursion, experimental support is provided via the Recursion Control script: 67 |
68 |
69 |

70 |
71 |
72 | In the first inspector diagram above, we see a Recursive Reflection Control script, with no active layers, but with the 73 | same settings filled in as in the previous "_PlanarGround" example. 74 |
75 |
76 | NOTE: At this point it it imperative that "Recursive Reflection" is enabled, and that "Levels Of Recursion" is at least 2. 77 |
78 |
79 | After clicking the first direction icon under step #4 (the direction indicated as the green side of the cube) 80 | we arrive at the second inspector diagram, where the reflection layer is now active. To edit this reflection layer now, you must click the same direction icon again to remove it, 81 | then readd with desired values. This is not optimal behaviour and will be addressed in a future update. 82 |
83 |
84 |

85 |
86 |
87 | Finally, we see the same settings as our previous example, running in a recursive fashion. Even with the advantages that DOTS brings this is still a costly operation. 88 |
89 |
90 | Questions? Feature Requests? PRs? Get it touch! I'm also available at contact@wmacleod.me, and you can check out more of my work at https://www.wmacleod.me 91 | 92 | 93 | --------------------------------------------------------------------------------