├── githubEmbeds └── SkyFog1.png ├── ProjectSettings ├── ProjectVersion.txt ├── ClusterInputManager.asset ├── XRSettings.asset ├── VersionControlSettings.asset ├── TimeManager.asset ├── EditorBuildSettings.asset ├── VFXManager.asset ├── URPProjectSettings.asset ├── AudioManager.asset ├── TagManager.asset ├── PresetManager.asset ├── UnityConnectSettings.asset ├── EditorSettings.asset ├── PackageManagerSettings.asset ├── DynamicsManager.asset ├── NavMeshAreas.asset ├── Physics2DSettings.asset ├── GraphicsSettings.asset ├── QualitySettings.asset ├── InputManager.asset └── ProjectSettings.asset ├── .vsconfig ├── Assets ├── SkyFog.meta └── SkyFog │ ├── Scenes │ ├── FogSceneDemo.unity.meta │ ├── SampleSceneLightingSettings.lighting.meta │ └── SampleSceneLightingSettings.lighting │ ├── FogShader.meta │ ├── Scenes.meta │ ├── Settings.meta │ ├── SceneMaterials.meta │ ├── Skybox_Mat.mat.meta │ ├── SkyFog.mat.meta │ ├── Settings │ ├── ForwardRenderer.asset.meta │ ├── SampleSceneProfile.asset.meta │ ├── UniversalRP-HighQuality.asset.meta │ ├── UniversalRP-HighQuality.asset │ ├── SampleSceneProfile.asset │ └── ForwardRenderer.asset │ ├── SceneMaterials │ ├── CubeMaterial.mat.meta │ ├── FloorMaterial.mat.meta │ ├── CubeMaterial.mat │ └── FloorMaterial.mat │ ├── SimpleCameraController.cs.meta │ ├── SkyboxCubemapExtractor.cs.meta │ ├── FogShader │ ├── skyFog.shadergraph.meta │ └── skyFog.shadergraph │ ├── SkyboxCubemapExtractor.cs │ ├── SkyFog.mat │ ├── Skybox_Mat.mat │ └── SimpleCameraController.cs ├── LICENSE ├── README.md ├── .gitignore └── Packages ├── manifest.json └── packages-lock.json /githubEmbeds/SkyFog1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeaverGames/UnityURPSkyFog/HEAD/githubEmbeds/SkyFog1.png -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2021.1.10f1 2 | m_EditorVersionWithRevision: 2021.1.10f1 (b15f561b2cef) 3 | -------------------------------------------------------------------------------- /.vsconfig: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "components": [ 4 | "Microsoft.VisualStudio.Workload.ManagedGame" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Assets/SkyFog.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 02696deedd368724b9b9169852bb66d3 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SkyFog/Scenes/FogSceneDemo.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d1c3109bdb54ad54c8a2b2838528e640 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/SkyFog/FogShader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1912357c362ef4947b40457e040f59bb 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SkyFog/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 47cda24f5e4a2c145bcba6c4e4bf0ec8 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SkyFog/Settings.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0735c275001a2c84dafdb30deced5d8d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SkyFog/SceneMaterials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6690223dfef607747b5cbbbb6d53e6a8 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /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 | } -------------------------------------------------------------------------------- /Assets/SkyFog/Skybox_Mat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0ffaa0b7117ba8c47a9d05ae701d4b4d 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SkyFog/SkyFog.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 61bd5f94cff9cf349abef371b598d868 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SkyFog/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/SkyFog/Settings/SampleSceneProfile.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 10fc4df2da32a41aaa32d77bc913491c 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /ProjectSettings/VersionControlSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!890905787 &1 4 | VersionControlSettings: 5 | m_ObjectHideFlags: 0 6 | m_Mode: Visible Meta Files 7 | m_CollabEditorSettings: 8 | inProgressEnabled: 1 9 | -------------------------------------------------------------------------------- /Assets/SkyFog/SceneMaterials/CubeMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3b35cddcb625d7428800b4a0a684b09 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SkyFog/SceneMaterials/FloorMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: de42d15f33754434eac62f34093fd0b1 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SkyFog/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/SkyFog/Scenes/SampleSceneLightingSettings.lighting.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 477cc4148fad3449482a3bc3178594e2 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Assets/SkyFog/SimpleCameraController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9086fe137719035408a58c0897f54454 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/SkyFog/SkyboxCubemapExtractor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f2dba024a1f6c84595abf43ebc61a7d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /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/SkyFog/Scenes/FogSceneDemo.unity 10 | guid: d1c3109bdb54ad54c8a2b2838528e640 11 | m_configObjects: {} 12 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Assets/SkyFog/FogShader/skyFog.shadergraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2839b39d95afdf14c81da3859e587325 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/SkyFog/SkyboxCubemapExtractor.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | [RequireComponent(typeof(ReflectionProbe))] 6 | public class SkyboxCubemapExtractor : MonoBehaviour 7 | { 8 | public Material fogMaterial; 9 | ReflectionProbe probe; 10 | 11 | private void Start() 12 | { 13 | probe = GetComponent(); 14 | fogMaterial.SetTexture("skyCubemap", probe.texture); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /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: 4 16 | -------------------------------------------------------------------------------- /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/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 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/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/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_DashboardUrl: https://dashboard.unity3d.com 13 | m_TestInitMode: 0 14 | CrashReportingSettings: 15 | m_EventUrl: https://perf-events.cloud.unity3d.com 16 | m_Enabled: 0 17 | m_LogBufferSize: 10 18 | m_CaptureEditorExceptions: 1 19 | UnityPurchasingSettings: 20 | m_Enabled: 0 21 | m_TestMode: 0 22 | UnityAnalyticsSettings: 23 | m_Enabled: 0 24 | m_TestMode: 0 25 | m_InitializeOnStartup: 1 26 | UnityAdsSettings: 27 | m_Enabled: 0 28 | m_InitializeOnStartup: 1 29 | m_TestMode: 0 30 | m_IosGameId: 31 | m_AndroidGameId: 32 | m_GameIds: {} 33 | m_GameId: 34 | PerformanceReportingSettings: 35 | m_Enabled: 0 36 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 WeaverGames 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 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_AssetPipelineMode: 1 6 | m_ObjectHideFlags: 0 7 | serializedVersion: 10 8 | m_ExternalVersionControlSupport: Visible Meta Files 9 | m_SerializationMode: 2 10 | m_LineEndingsForNewScripts: 0 11 | m_DefaultBehaviorMode: 0 12 | m_PrefabRegularEnvironment: {fileID: 0} 13 | m_PrefabUIEnvironment: {fileID: 0} 14 | m_SpritePackerMode: 0 15 | m_SpritePackerPaddingPower: 1 16 | m_EtcTextureCompressorBehavior: 1 17 | m_EtcTextureFastCompressor: 1 18 | m_EtcTextureNormalCompressor: 2 19 | m_EtcTextureBestCompressor: 4 20 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;asmref;rsp 21 | m_ProjectGenerationRootNamespace: 22 | m_CollabEditorSettings: 23 | inProgressEnabled: 1 24 | m_EnableTextureStreamingInEditMode: 1 25 | m_EnableTextureStreamingInPlayMode: 1 26 | m_AsyncShaderCompilation: 1 27 | m_EnterPlayModeOptionsEnabled: 0 28 | m_EnterPlayModeOptions: 3 29 | m_ShowLightmapResolutionOverlay: 1 30 | m_UseLegacyProbeSampleCount: 0 31 | m_SerializeInlineMappingsOnOneLine: 1 32 | -------------------------------------------------------------------------------- /ProjectSettings/PackageManagerSettings.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: 13964, guid: 0000000000000000e000000000000000, type: 0} 13 | m_Name: 14 | m_EditorClassIdentifier: 15 | m_EnablePreReleasePackages: 0 16 | m_EnablePackageDependencies: 0 17 | m_AdvancedSettingsExpanded: 1 18 | m_ScopedRegistriesSettingsExpanded: 1 19 | m_SeeAllPackageVersions: 0 20 | oneTimeWarningShown: 0 21 | m_Registries: 22 | - m_Id: main 23 | m_Name: 24 | m_Url: https://packages.unity.com 25 | m_Scopes: [] 26 | m_IsDefault: 1 27 | m_Capabilities: 7 28 | m_UserSelectedRegistryName: 29 | m_UserAddingNewScopedRegistry: 0 30 | m_RegistryInfoDraft: 31 | m_ErrorMessage: 32 | m_Original: 33 | m_Id: 34 | m_Name: 35 | m_Url: 36 | m_Scopes: [] 37 | m_IsDefault: 0 38 | m_Capabilities: 0 39 | m_Modified: 0 40 | m_Name: 41 | m_Url: 42 | m_Scopes: 43 | - 44 | m_SelectedScopeIndex: 0 45 | m_LoadAssets: 0 46 | -------------------------------------------------------------------------------- /Assets/SkyFog/SkyFog.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: SkyFog 11 | m_Shader: {fileID: -6465566751694194690, guid: 2839b39d95afdf14c81da3859e587325, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - skyCubemap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - unity_Lightmaps: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - unity_LightmapsInd: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - unity_ShadowMasks: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | m_Ints: [] 39 | m_Floats: 40 | - fogDensity: 4 41 | - fogFadeStartPercent: 0 42 | - fogStartDistancePercent: 0.6 43 | - fogStartPercent: 0.5 44 | m_Colors: [] 45 | m_BuildTextureStacks: [] 46 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Unity URP Sky Fog 2 | A fog implementation for URP that fades to the skybox colour 3 | This particular project is in Unity 2021.1.10f1 and it's important to note it uses the still experimental Render Objects features in the URP Forward Renderer 4 | 5 | ![alt text](https://github.com/WeaverGames/UnityURPSkyFog/blob/main/githubEmbeds/SkyFog1.png?raw=true) 6 | 7 | ## To Load the Demo Scene 8 | Navigate to SkyFog > Scenes > FogSceneDemo 9 | 10 | ## How it Works 11 | It uses the full view depth of the Camera frustum and it linerarly interpolates the fog alpha after an object hits the specified percentage in the fogStartPercent setting in the SkyFog material. 12 | 13 | Eg if your camera has a max view distance of 1000 and SkyFog has fogStartPercent set to 0.5, all objects 0 - 500 units away from the camera will have 0% fog applied to them. At 500+ units they will linearly fade to the sky colour. If you want the fade to happen further back you can increase the fogStartPercent to your needs in relation to your camera view distance. 14 | 15 | ## How to use 16 | The system works just using cubemaps. To capture the procedural skybox there is a reflection probe that captures nothing in the default scene and clears with a skybox. There is a simple script on it called SkyboxCubemapExtractor.cs that will take that cubemap baked in it and set it to the SkyFog material. If you wish to use cubemaps for your skybox instead you can just directly set this property in the SkyFog Material itself. 17 | 18 | #### Disclaimer 19 | This example code is provided as is and I make no guarentees it will work for future or past versions of URP. 20 | -------------------------------------------------------------------------------- /.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 | /[Uu]ser[Ss]ettings/ 12 | 13 | # MemoryCaptures can get excessive in size. 14 | # They also could contain extremely sensitive data 15 | /[Mm]emoryCaptures/ 16 | 17 | # Asset meta data should only be ignored when the corresponding asset is also ignored 18 | !/[Aa]ssets/**/*.meta 19 | 20 | # Uncomment this line if you wish to ignore the asset store tools plugin 21 | # /[Aa]ssets/AssetStoreTools* 22 | 23 | # Autogenerated Jetbrains Rider plugin 24 | /[Aa]ssets/Plugins/Editor/JetBrains* 25 | 26 | # Visual Studio cache directory 27 | .vs/ 28 | 29 | # Gradle cache directory 30 | .gradle/ 31 | 32 | # Autogenerated VS/MD/Consulo solution and project files 33 | ExportedObj/ 34 | .consulo/ 35 | *.csproj 36 | *.unityproj 37 | *.sln 38 | *.suo 39 | *.tmp 40 | *.user 41 | *.userprefs 42 | *.pidb 43 | *.booproj 44 | *.svd 45 | *.pdb 46 | *.mdb 47 | *.opendb 48 | *.VC.db 49 | 50 | # Unity3D generated meta files 51 | *.pidb.meta 52 | *.pdb.meta 53 | *.mdb.meta 54 | 55 | # Unity3D generated file on crash reports 56 | sysinfo.txt 57 | 58 | # Builds 59 | *.apk 60 | *.aab 61 | *.unitypackage 62 | 63 | # Crashlytics generated file 64 | crashlytics-build.properties 65 | 66 | # Packed Addressables 67 | /[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin* 68 | 69 | # Temporary auto-generated Android Assets 70 | /[Aa]ssets/[Ss]treamingAssets/aa.meta 71 | /[Aa]ssets/[Ss]treamingAssets/aa/* -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.collab-proxy": "1.5.7", 4 | "com.unity.ide.rider": "3.0.6", 5 | "com.unity.ide.visualstudio": "2.0.8", 6 | "com.unity.ide.vscode": "1.2.3", 7 | "com.unity.render-pipelines.universal": "11.0.0", 8 | "com.unity.test-framework": "1.1.24", 9 | "com.unity.textmeshpro": "3.0.6", 10 | "com.unity.timeline": "1.5.5", 11 | "com.unity.ugui": "1.0.0", 12 | "com.unity.visualscripting": "1.6.1", 13 | "com.unity.modules.ai": "1.0.0", 14 | "com.unity.modules.androidjni": "1.0.0", 15 | "com.unity.modules.animation": "1.0.0", 16 | "com.unity.modules.assetbundle": "1.0.0", 17 | "com.unity.modules.audio": "1.0.0", 18 | "com.unity.modules.cloth": "1.0.0", 19 | "com.unity.modules.director": "1.0.0", 20 | "com.unity.modules.imageconversion": "1.0.0", 21 | "com.unity.modules.imgui": "1.0.0", 22 | "com.unity.modules.jsonserialize": "1.0.0", 23 | "com.unity.modules.particlesystem": "1.0.0", 24 | "com.unity.modules.physics": "1.0.0", 25 | "com.unity.modules.physics2d": "1.0.0", 26 | "com.unity.modules.screencapture": "1.0.0", 27 | "com.unity.modules.terrain": "1.0.0", 28 | "com.unity.modules.terrainphysics": "1.0.0", 29 | "com.unity.modules.tilemap": "1.0.0", 30 | "com.unity.modules.ui": "1.0.0", 31 | "com.unity.modules.uielements": "1.0.0", 32 | "com.unity.modules.umbra": "1.0.0", 33 | "com.unity.modules.unityanalytics": "1.0.0", 34 | "com.unity.modules.unitywebrequest": "1.0.0", 35 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 36 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 37 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 38 | "com.unity.modules.unitywebrequestwww": "1.0.0", 39 | "com.unity.modules.vehicles": "1.0.0", 40 | "com.unity.modules.video": "1.0.0", 41 | "com.unity.modules.vr": "1.0.0", 42 | "com.unity.modules.wind": "1.0.0", 43 | "com.unity.modules.xr": "1.0.0" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /Assets/SkyFog/Scenes/SampleSceneLightingSettings.lighting: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!850595691 &4890085278179872738 4 | LightingSettings: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_Name: SampleSceneLightingSettings 10 | serializedVersion: 3 11 | m_GIWorkflowMode: 0 12 | m_EnableBakedLightmaps: 0 13 | m_EnableRealtimeLightmaps: 0 14 | m_RealtimeEnvironmentLighting: 0 15 | m_BounceScale: 1 16 | m_AlbedoBoost: 1 17 | m_IndirectOutputScale: 1 18 | m_UsingShadowmask: 0 19 | m_BakeBackend: 2 20 | m_LightmapMaxSize: 512 21 | m_BakeResolution: 32 22 | m_Padding: 2 23 | m_TextureCompression: 1 24 | m_AO: 1 25 | m_AOMaxDistance: 1 26 | m_CompAOExponent: 1 27 | m_CompAOExponentDirect: 0.3 28 | m_ExtractAO: 0 29 | m_MixedBakeMode: 0 30 | m_LightmapsBakeMode: 1 31 | m_FilterMode: 1 32 | m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000, type: 0} 33 | m_ExportTrainingData: 0 34 | m_TrainingDataDestination: TrainingData 35 | m_RealtimeResolution: 2 36 | m_ForceWhiteAlbedo: 0 37 | m_ForceUpdates: 0 38 | m_FinalGather: 0 39 | m_FinalGatherRayCount: 256 40 | m_FinalGatherFiltering: 1 41 | m_PVRCulling: 1 42 | m_PVRSampling: 1 43 | m_PVRDirectSampleCount: 32 44 | m_PVRSampleCount: 256 45 | m_PVREnvironmentSampleCount: 256 46 | m_PVREnvironmentReferencePointCount: 2048 47 | m_LightProbeSampleCountMultiplier: 4 48 | m_PVRBounces: 2 49 | m_PVRMinBounces: 1 50 | m_PVREnvironmentMIS: 0 51 | m_PVRFilteringMode: 1 52 | m_PVRDenoiserTypeDirect: 0 53 | m_PVRDenoiserTypeIndirect: 0 54 | m_PVRDenoiserTypeAO: 0 55 | m_PVRFilterTypeDirect: 0 56 | m_PVRFilterTypeIndirect: 0 57 | m_PVRFilterTypeAO: 0 58 | m_PVRFilteringGaussRadiusDirect: 1 59 | m_PVRFilteringGaussRadiusIndirect: 5 60 | m_PVRFilteringGaussRadiusAO: 2 61 | m_PVRFilteringAtrousPositionSigmaDirect: 0.548 62 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 63 | m_PVRFilteringAtrousPositionSigmaAO: 1 64 | -------------------------------------------------------------------------------- /Assets/SkyFog/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: 9 16 | k_AssetPreviousVersion: 9 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: 0 24 | m_OpaqueDownsampling: 1 25 | m_SupportsTerrainHoles: 1 26 | m_SupportsHDR: 1 27 | m_MSAA: 2 28 | m_RenderScale: 1 29 | m_MainLightRenderingMode: 1 30 | m_MainLightShadowsSupported: 1 31 | m_MainLightShadowmapResolution: 2048 32 | m_AdditionalLightsRenderingMode: 1 33 | m_AdditionalLightsPerObjectLimit: 4 34 | m_AdditionalLightShadowsSupported: 1 35 | m_AdditionalLightsShadowmapResolution: 2048 36 | m_AdditionalLightsShadowResolutionTierLow: 512 37 | m_AdditionalLightsShadowResolutionTierMedium: 1024 38 | m_AdditionalLightsShadowResolutionTierHigh: 2048 39 | m_ShadowDistance: 1000 40 | m_ShadowCascadeCount: 1 41 | m_Cascade2Split: 0.25 42 | m_Cascade3Split: {x: 0.1, y: 0.3} 43 | m_Cascade4Split: {x: 0.067, y: 0.2, z: 0.467} 44 | m_ShadowDepthBias: 1 45 | m_ShadowNormalBias: 1 46 | m_SoftShadowsSupported: 1 47 | m_UseSRPBatcher: 1 48 | m_SupportsDynamicBatching: 0 49 | m_MixedLightingSupported: 1 50 | m_DebugLevel: 0 51 | m_UseAdaptivePerformance: 1 52 | m_ColorGradingMode: 0 53 | m_ColorGradingLutSize: 32 54 | m_UseFastSRGBLinearConversion: 0 55 | m_ShadowType: 1 56 | m_LocalShadowsSupported: 0 57 | m_LocalShadowsAtlasResolution: 256 58 | m_MaxPixelLights: 0 59 | m_ShadowAtlasResolution: 256 60 | m_ShaderVariantLogLevel: 0 61 | m_ShadowCascades: 1 62 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Assets/SkyFog/Settings/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 | skipIterations: 44 | m_OverrideState: 0 45 | m_Value: 1 46 | min: 0 47 | max: 16 48 | dirtTexture: 49 | m_OverrideState: 0 50 | m_Value: {fileID: 0} 51 | dirtIntensity: 52 | m_OverrideState: 0 53 | m_Value: 0 54 | min: 0 55 | --- !u!114 &11400000 56 | MonoBehaviour: 57 | m_ObjectHideFlags: 0 58 | m_CorrespondingSourceObject: {fileID: 0} 59 | m_PrefabInstance: {fileID: 0} 60 | m_PrefabAsset: {fileID: 0} 61 | m_GameObject: {fileID: 0} 62 | m_Enabled: 1 63 | m_EditorHideFlags: 0 64 | m_Script: {fileID: 11500000, guid: d7fd9488000d3734a9e00ee676215985, type: 3} 65 | m_Name: SampleSceneProfile 66 | m_EditorClassIdentifier: 67 | components: 68 | - {fileID: 849379129802519247} 69 | - {fileID: -7893295128165547882} 70 | --- !u!114 &849379129802519247 71 | MonoBehaviour: 72 | m_ObjectHideFlags: 3 73 | m_CorrespondingSourceObject: {fileID: 0} 74 | m_PrefabInstance: {fileID: 0} 75 | m_PrefabAsset: {fileID: 0} 76 | m_GameObject: {fileID: 0} 77 | m_Enabled: 1 78 | m_EditorHideFlags: 0 79 | m_Script: {fileID: 11500000, guid: 97c23e3b12dc18c42a140437e53d3951, type: 3} 80 | m_Name: Tonemapping 81 | m_EditorClassIdentifier: 82 | active: 1 83 | m_AdvancedMode: 0 84 | mode: 85 | m_OverrideState: 1 86 | m_Value: 2 87 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Assets/SkyFog/Skybox_Mat.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: Skybox_Mat 11 | m_Shader: {fileID: 106, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: _METALLIC_SETUP _SUNDISK_HIGH_QUALITY 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | - _SpecGlossMap: 59 | m_Texture: {fileID: 0} 60 | m_Scale: {x: 1, y: 1} 61 | m_Offset: {x: 0, y: 0} 62 | m_Ints: [] 63 | m_Floats: 64 | - _AtmosphereThickness: 0.53 65 | - _BumpScale: 1 66 | - _Cutoff: 0.5 67 | - _DetailNormalMapScale: 1 68 | - _DstBlend: 0 69 | - _Exposure: 1.25 70 | - _GlossMapScale: 1 71 | - _Glossiness: 0.5 72 | - _GlossyReflections: 1 73 | - _Metallic: 0 74 | - _Mode: 0 75 | - _OcclusionStrength: 1 76 | - _Parallax: 0.02 77 | - _SmoothnessTextureChannel: 0 78 | - _SpecularHighlights: 1 79 | - _SrcBlend: 1 80 | - _SunDisk: 2 81 | - _SunSize: 0.04 82 | - _SunSizeConvergence: 5 83 | - _UVSec: 0 84 | - _WorkflowMode: 1 85 | - _ZWrite: 1 86 | m_Colors: 87 | - _Color: {r: 1, g: 1, b: 1, a: 1} 88 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 89 | - _GroundColor: {r: 0, g: 0.023468936, b: 0.3301887, a: 1} 90 | - _SkyTint: {r: 0, g: 0.71954393, b: 1, a: 1} 91 | - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} 92 | m_BuildTextureStacks: [] 93 | -------------------------------------------------------------------------------- /Assets/SkyFog/Settings/ForwardRenderer.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &-1634531367725404680 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: 6b3d386ba5cd94485973aee1479b272e, type: 3} 13 | m_Name: NewRenderObjects 14 | m_EditorClassIdentifier: 15 | m_Active: 1 16 | settings: 17 | passTag: NewRenderObjects 18 | Event: 300 19 | filterSettings: 20 | RenderQueueType: 0 21 | LayerMask: 22 | serializedVersion: 2 23 | m_Bits: 1 24 | PassNames: [] 25 | overrideMaterial: {fileID: 2100000, guid: 61bd5f94cff9cf349abef371b598d868, type: 2} 26 | overrideMaterialPassIndex: 0 27 | overrideDepthState: 0 28 | depthCompareFunction: 0 29 | enableWrite: 0 30 | stencilSettings: 31 | overrideStencilState: 0 32 | stencilReference: 0 33 | stencilCompareFunction: 8 34 | passOperation: 0 35 | failOperation: 0 36 | zFailOperation: 0 37 | cameraSettings: 38 | overrideCamera: 0 39 | restoreCamera: 1 40 | offset: {x: 0, y: 0, z: 0, w: 0} 41 | cameraFieldOfView: 60 42 | --- !u!114 &11400000 43 | MonoBehaviour: 44 | m_ObjectHideFlags: 0 45 | m_CorrespondingSourceObject: {fileID: 0} 46 | m_PrefabInstance: {fileID: 0} 47 | m_PrefabAsset: {fileID: 0} 48 | m_GameObject: {fileID: 0} 49 | m_Enabled: 1 50 | m_EditorHideFlags: 0 51 | m_Script: {fileID: 11500000, guid: de640fe3d0db1804a85f9fc8f5cadab6, type: 3} 52 | m_Name: ForwardRenderer 53 | m_EditorClassIdentifier: 54 | m_RendererFeatures: 55 | - {fileID: -1634531367725404680} 56 | m_RendererFeatureMap: f86d7e9461fa50e9 57 | postProcessData: {fileID: 11400000, guid: 41439944d30ece34e96484bdb6645b55, type: 2} 58 | xrSystemData: {fileID: 11400000, guid: 60e1133243b97e347b653163a8c01b64, type: 2} 59 | shaders: 60 | blitPS: {fileID: 4800000, guid: c17132b1f77d20942aa75f8429c0f8bc, type: 3} 61 | copyDepthPS: {fileID: 4800000, guid: d6dae50ee9e1bfa4db75f19f99355220, type: 3} 62 | screenSpaceShadowPS: {fileID: 4800000, guid: 0f854b35a0cf61a429bd5dcfea30eddd, type: 3} 63 | samplingPS: {fileID: 4800000, guid: 04c410c9937594faa893a11dceb85f7e, type: 3} 64 | stencilDeferredPS: {fileID: 4800000, guid: e9155b26e1bc55942a41e518703fe304, type: 3} 65 | fallbackErrorPS: {fileID: 4800000, guid: e6e9a19c3678ded42a3bc431ebef7dbd, type: 3} 66 | materialErrorPS: {fileID: 4800000, guid: 5fd9a8feb75a4b5894c241777f519d4e, type: 3} 67 | m_OpaqueLayerMask: 68 | serializedVersion: 2 69 | m_Bits: 4294967295 70 | m_TransparentLayerMask: 71 | serializedVersion: 2 72 | m_Bits: 4294967295 73 | m_DefaultStencilState: 74 | overrideStencilState: 0 75 | stencilReference: 0 76 | stencilCompareFunction: 8 77 | passOperation: 0 78 | failOperation: 0 79 | zFailOperation: 0 80 | m_ShadowTransparentReceive: 1 81 | m_RenderingMode: 0 82 | m_AccurateGbufferNormals: 0 83 | -------------------------------------------------------------------------------- /Assets/SkyFog/SceneMaterials/CubeMaterial.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: CubeMaterial 11 | m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 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 | - _DetailAlbedoMap: 32 | m_Texture: {fileID: 0} 33 | m_Scale: {x: 1, y: 1} 34 | m_Offset: {x: 0, y: 0} 35 | - _DetailMask: 36 | m_Texture: {fileID: 0} 37 | m_Scale: {x: 1, y: 1} 38 | m_Offset: {x: 0, y: 0} 39 | - _DetailNormalMap: 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: 0} 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 | - _ParallaxMap: 60 | m_Texture: {fileID: 0} 61 | m_Scale: {x: 1, y: 1} 62 | m_Offset: {x: 0, y: 0} 63 | - _SpecGlossMap: 64 | m_Texture: {fileID: 0} 65 | m_Scale: {x: 1, y: 1} 66 | m_Offset: {x: 0, y: 0} 67 | - unity_Lightmaps: 68 | m_Texture: {fileID: 0} 69 | m_Scale: {x: 1, y: 1} 70 | m_Offset: {x: 0, y: 0} 71 | - unity_LightmapsInd: 72 | m_Texture: {fileID: 0} 73 | m_Scale: {x: 1, y: 1} 74 | m_Offset: {x: 0, y: 0} 75 | - unity_ShadowMasks: 76 | m_Texture: {fileID: 0} 77 | m_Scale: {x: 1, y: 1} 78 | m_Offset: {x: 0, y: 0} 79 | m_Ints: [] 80 | m_Floats: 81 | - _AlphaClip: 0 82 | - _Blend: 0 83 | - _BumpScale: 1 84 | - _ClearCoatMask: 0 85 | - _ClearCoatSmoothness: 0 86 | - _Cull: 2 87 | - _Cutoff: 0.5 88 | - _DetailAlbedoMapScale: 1 89 | - _DetailNormalMapScale: 1 90 | - _DstBlend: 0 91 | - _EnvironmentReflections: 1 92 | - _GlossMapScale: 0 93 | - _Glossiness: 0 94 | - _GlossyReflections: 0 95 | - _Metallic: 1 96 | - _OcclusionStrength: 1 97 | - _Parallax: 0.005 98 | - _QueueOffset: 0 99 | - _ReceiveShadows: 1 100 | - _Smoothness: 0.62 101 | - _SmoothnessTextureChannel: 0 102 | - _SpecularHighlights: 1 103 | - _SrcBlend: 1 104 | - _Surface: 0 105 | - _WorkflowMode: 1 106 | - _ZWrite: 1 107 | m_Colors: 108 | - _BaseColor: {r: 0.7735849, g: 0.7735849, b: 0.7735849, a: 1} 109 | - _Color: {r: 1, g: 1, b: 1, a: 1} 110 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 111 | - _SpecColor: {r: 0.8207547, g: 0.8207547, b: 0.8207547, a: 1} 112 | m_BuildTextureStacks: [] 113 | --- !u!114 &4099461247925114593 114 | MonoBehaviour: 115 | m_ObjectHideFlags: 11 116 | m_CorrespondingSourceObject: {fileID: 0} 117 | m_PrefabInstance: {fileID: 0} 118 | m_PrefabAsset: {fileID: 0} 119 | m_GameObject: {fileID: 0} 120 | m_Enabled: 1 121 | m_EditorHideFlags: 0 122 | m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} 123 | m_Name: 124 | m_EditorClassIdentifier: 125 | version: 4 126 | -------------------------------------------------------------------------------- /Assets/SkyFog/SceneMaterials/FloorMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &-102875924141225861 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: 4 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: FloorMaterial 24 | m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} 25 | m_ShaderKeywords: _SPECULAR_SETUP 26 | m_LightmapFlags: 4 27 | m_EnableInstancingVariants: 0 28 | m_DoubleSidedGI: 0 29 | m_CustomRenderQueue: 2000 30 | stringTagMap: 31 | RenderType: Opaque 32 | disabledShaderPasses: [] 33 | m_SavedProperties: 34 | serializedVersion: 3 35 | m_TexEnvs: 36 | - _BaseMap: 37 | m_Texture: {fileID: 0} 38 | m_Scale: {x: 1, y: 1} 39 | m_Offset: {x: 0, y: 0} 40 | - _BumpMap: 41 | m_Texture: {fileID: 0} 42 | m_Scale: {x: 1, y: 1} 43 | m_Offset: {x: 0, y: 0} 44 | - _DetailAlbedoMap: 45 | m_Texture: {fileID: 0} 46 | m_Scale: {x: 1, y: 1} 47 | m_Offset: {x: 0, y: 0} 48 | - _DetailMask: 49 | m_Texture: {fileID: 0} 50 | m_Scale: {x: 1, y: 1} 51 | m_Offset: {x: 0, y: 0} 52 | - _DetailNormalMap: 53 | m_Texture: {fileID: 0} 54 | m_Scale: {x: 1, y: 1} 55 | m_Offset: {x: 0, y: 0} 56 | - _EmissionMap: 57 | m_Texture: {fileID: 0} 58 | m_Scale: {x: 1, y: 1} 59 | m_Offset: {x: 0, y: 0} 60 | - _MainTex: 61 | m_Texture: {fileID: 0} 62 | m_Scale: {x: 1, y: 1} 63 | m_Offset: {x: 0, y: 0} 64 | - _MetallicGlossMap: 65 | m_Texture: {fileID: 0} 66 | m_Scale: {x: 1, y: 1} 67 | m_Offset: {x: 0, y: 0} 68 | - _OcclusionMap: 69 | m_Texture: {fileID: 0} 70 | m_Scale: {x: 1, y: 1} 71 | m_Offset: {x: 0, y: 0} 72 | - _ParallaxMap: 73 | m_Texture: {fileID: 0} 74 | m_Scale: {x: 1, y: 1} 75 | m_Offset: {x: 0, y: 0} 76 | - _SpecGlossMap: 77 | m_Texture: {fileID: 0} 78 | m_Scale: {x: 1, y: 1} 79 | m_Offset: {x: 0, y: 0} 80 | - unity_Lightmaps: 81 | m_Texture: {fileID: 0} 82 | m_Scale: {x: 1, y: 1} 83 | m_Offset: {x: 0, y: 0} 84 | - unity_LightmapsInd: 85 | m_Texture: {fileID: 0} 86 | m_Scale: {x: 1, y: 1} 87 | m_Offset: {x: 0, y: 0} 88 | - unity_ShadowMasks: 89 | m_Texture: {fileID: 0} 90 | m_Scale: {x: 1, y: 1} 91 | m_Offset: {x: 0, y: 0} 92 | m_Ints: [] 93 | m_Floats: 94 | - _AlphaClip: 0 95 | - _Blend: 0 96 | - _BumpScale: 1 97 | - _ClearCoatMask: 0 98 | - _ClearCoatSmoothness: 0 99 | - _Cull: 2 100 | - _Cutoff: 0.5 101 | - _DetailAlbedoMapScale: 1 102 | - _DetailNormalMapScale: 1 103 | - _DstBlend: 0 104 | - _EnvironmentReflections: 1 105 | - _GlossMapScale: 0 106 | - _Glossiness: 0 107 | - _GlossyReflections: 0 108 | - _Metallic: 0 109 | - _OcclusionStrength: 1 110 | - _Parallax: 0.005 111 | - _QueueOffset: 0 112 | - _ReceiveShadows: 1 113 | - _Smoothness: 0.699 114 | - _SmoothnessTextureChannel: 0 115 | - _SpecularHighlights: 1 116 | - _SrcBlend: 1 117 | - _Surface: 0 118 | - _WorkflowMode: 0 119 | - _ZWrite: 1 120 | m_Colors: 121 | - _BaseColor: {r: 0.5377358, g: 0.5377358, b: 0.5377358, a: 1} 122 | - _Color: {r: 1, g: 1, b: 1, a: 1} 123 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 124 | - _SpecColor: {r: 0.4433962, g: 0.4433962, b: 0.4433962, a: 1} 125 | m_BuildTextureStacks: [] 126 | -------------------------------------------------------------------------------- /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, type: 2} 44 | excludedTargetPlatforms: [] 45 | - serializedVersion: 2 46 | name: Medium 47 | pixelLightCount: 1 48 | shadows: 1 49 | shadowResolution: 0 50 | shadowProjection: 1 51 | shadowCascades: 1 52 | shadowDistance: 20 53 | shadowNearPlaneOffset: 3 54 | shadowCascade2Split: 0.33333334 55 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 56 | shadowmaskMode: 0 57 | skinWeights: 2 58 | textureQuality: 0 59 | anisotropicTextures: 1 60 | antiAliasing: 0 61 | softParticles: 0 62 | softVegetation: 0 63 | realtimeReflectionProbes: 0 64 | billboardsFaceCameraPosition: 0 65 | vSyncCount: 1 66 | lodBias: 0.7 67 | maximumLODLevel: 0 68 | streamingMipmapsActive: 0 69 | streamingMipmapsAddAllCameras: 1 70 | streamingMipmapsMemoryBudget: 512 71 | streamingMipmapsRenderersPerFrame: 512 72 | streamingMipmapsMaxLevelReduction: 2 73 | streamingMipmapsMaxFileIORequests: 1024 74 | particleRaycastBudget: 64 75 | asyncUploadTimeSlice: 2 76 | asyncUploadBufferSize: 16 77 | asyncUploadPersistentBuffer: 1 78 | resolutionScalingFixedDPIFactor: 1 79 | customRenderPipeline: {fileID: 11400000, guid: d847b876476d3d6468f5dfcd34266f96, type: 2} 80 | excludedTargetPlatforms: [] 81 | - serializedVersion: 2 82 | name: High 83 | pixelLightCount: 2 84 | shadows: 2 85 | shadowResolution: 1 86 | shadowProjection: 1 87 | shadowCascades: 2 88 | shadowDistance: 40 89 | shadowNearPlaneOffset: 3 90 | shadowCascade2Split: 0.33333334 91 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 92 | shadowmaskMode: 1 93 | skinWeights: 2 94 | textureQuality: 0 95 | anisotropicTextures: 1 96 | antiAliasing: 2 97 | softParticles: 0 98 | softVegetation: 1 99 | realtimeReflectionProbes: 1 100 | billboardsFaceCameraPosition: 1 101 | vSyncCount: 1 102 | lodBias: 1 103 | maximumLODLevel: 0 104 | streamingMipmapsActive: 0 105 | streamingMipmapsAddAllCameras: 1 106 | streamingMipmapsMemoryBudget: 512 107 | streamingMipmapsRenderersPerFrame: 512 108 | streamingMipmapsMaxLevelReduction: 2 109 | streamingMipmapsMaxFileIORequests: 1024 110 | particleRaycastBudget: 256 111 | asyncUploadTimeSlice: 2 112 | asyncUploadBufferSize: 16 113 | asyncUploadPersistentBuffer: 1 114 | resolutionScalingFixedDPIFactor: 1 115 | customRenderPipeline: {fileID: 11400000, guid: 19ba41d7c0026c3459d37c2fe90c55a0, type: 2} 116 | excludedTargetPlatforms: [] 117 | m_PerPlatformDefaultQuality: 118 | Android: 1 119 | Lumin: 2 120 | Nintendo Switch: 2 121 | PS4: 2 122 | Stadia: 2 123 | Standalone: 2 124 | WebGL: 1 125 | Windows Store Apps: 2 126 | XboxOne: 2 127 | iPhone: 1 128 | tvOS: 1 129 | -------------------------------------------------------------------------------- /Assets/SkyFog/SimpleCameraController.cs: -------------------------------------------------------------------------------- 1 | #if ENABLE_INPUT_SYSTEM 2 | using UnityEngine.InputSystem; 3 | #endif 4 | 5 | using UnityEngine; 6 | 7 | namespace UnityTemplateProjects 8 | { 9 | public class SimpleCameraController : MonoBehaviour 10 | { 11 | class CameraState 12 | { 13 | public float yaw; 14 | public float pitch; 15 | public float roll; 16 | public float x; 17 | public float y; 18 | public float z; 19 | 20 | public void SetFromTransform(Transform t) 21 | { 22 | pitch = t.eulerAngles.x; 23 | yaw = t.eulerAngles.y; 24 | roll = t.eulerAngles.z; 25 | x = t.position.x; 26 | y = t.position.y; 27 | z = t.position.z; 28 | } 29 | 30 | public void Translate(Vector3 translation) 31 | { 32 | Vector3 rotatedTranslation = Quaternion.Euler(pitch, yaw, roll) * translation; 33 | 34 | x += rotatedTranslation.x; 35 | y += rotatedTranslation.y; 36 | z += rotatedTranslation.z; 37 | } 38 | 39 | public void LerpTowards(CameraState target, float positionLerpPct, float rotationLerpPct) 40 | { 41 | yaw = Mathf.Lerp(yaw, target.yaw, rotationLerpPct); 42 | pitch = Mathf.Lerp(pitch, target.pitch, rotationLerpPct); 43 | roll = Mathf.Lerp(roll, target.roll, rotationLerpPct); 44 | 45 | x = Mathf.Lerp(x, target.x, positionLerpPct); 46 | y = Mathf.Lerp(y, target.y, positionLerpPct); 47 | z = Mathf.Lerp(z, target.z, positionLerpPct); 48 | } 49 | 50 | public void UpdateTransform(Transform t) 51 | { 52 | t.eulerAngles = new Vector3(pitch, yaw, roll); 53 | t.position = new Vector3(x, y, z); 54 | } 55 | } 56 | 57 | CameraState m_TargetCameraState = new CameraState(); 58 | CameraState m_InterpolatingCameraState = new CameraState(); 59 | 60 | [Header("Movement Settings")] 61 | [Tooltip("Exponential boost factor on translation, controllable by mouse wheel.")] 62 | public float boost = 3.5f; 63 | 64 | [Tooltip("Time it takes to interpolate camera position 99% of the way to the target."), Range(0.001f, 1f)] 65 | public float positionLerpTime = 0.2f; 66 | 67 | [Header("Rotation Settings")] 68 | [Tooltip("X = Change in mouse position.\nY = Multiplicative factor for camera rotation.")] 69 | public AnimationCurve mouseSensitivityCurve = new AnimationCurve(new Keyframe(0f, 0.5f, 0f, 5f), new Keyframe(1f, 2.5f, 0f, 0f)); 70 | 71 | [Tooltip("A multiplier for the mouse sensitivity since I find the default unusable.")] 72 | public float mouseSensitivityMultiplier = 20f; 73 | 74 | [Tooltip("Time it takes to interpolate camera rotation 99% of the way to the target."), Range(0.001f, 1f)] 75 | public float rotationLerpTime = 0.01f; 76 | 77 | [Tooltip("Whether or not to invert our Y axis for mouse input to rotation.")] 78 | public bool invertY = false; 79 | 80 | #if ENABLE_INPUT_SYSTEM 81 | InputAction movementAction; 82 | InputAction verticalMovementAction; 83 | InputAction lookAction; 84 | InputAction boostFactorAction; 85 | bool mouseRightButtonPressed; 86 | 87 | void Start() 88 | { 89 | var map = new InputActionMap("Simple Camera Controller"); 90 | 91 | lookAction = map.AddAction("look", binding: "/delta"); 92 | movementAction = map.AddAction("move", binding: "/leftStick"); 93 | verticalMovementAction = map.AddAction("Vertical Movement"); 94 | boostFactorAction = map.AddAction("Boost Factor", binding: "/scroll"); 95 | 96 | lookAction.AddBinding("/rightStick").WithProcessor("scaleVector2(x=15, y=15)"); 97 | movementAction.AddCompositeBinding("Dpad") 98 | .With("Up", "/w") 99 | .With("Up", "/upArrow") 100 | .With("Down", "/s") 101 | .With("Down", "/downArrow") 102 | .With("Left", "/a") 103 | .With("Left", "/leftArrow") 104 | .With("Right", "/d") 105 | .With("Right", "/rightArrow"); 106 | verticalMovementAction.AddCompositeBinding("Dpad") 107 | .With("Up", "/pageUp") 108 | .With("Down", "/pageDown") 109 | .With("Up", "/e") 110 | .With("Down", "/q") 111 | .With("Up", "/rightshoulder") 112 | .With("Down", "/leftshoulder"); 113 | boostFactorAction.AddBinding("/Dpad").WithProcessor("scaleVector2(x=1, y=4)"); 114 | 115 | movementAction.Enable(); 116 | lookAction.Enable(); 117 | verticalMovementAction.Enable(); 118 | boostFactorAction.Enable(); 119 | } 120 | 121 | #endif 122 | 123 | void OnEnable() 124 | { 125 | m_TargetCameraState.SetFromTransform(transform); 126 | m_InterpolatingCameraState.SetFromTransform(transform); 127 | } 128 | 129 | Vector3 GetInputTranslationDirection() 130 | { 131 | Vector3 direction = Vector3.zero; 132 | #if ENABLE_INPUT_SYSTEM 133 | var moveDelta = movementAction.ReadValue(); 134 | direction.x = moveDelta.x; 135 | direction.z = moveDelta.y; 136 | direction.y = verticalMovementAction.ReadValue().y; 137 | #else 138 | if (Input.GetKey(KeyCode.W)) 139 | { 140 | direction += Vector3.forward; 141 | } 142 | if (Input.GetKey(KeyCode.S)) 143 | { 144 | direction += Vector3.back; 145 | } 146 | if (Input.GetKey(KeyCode.A)) 147 | { 148 | direction += Vector3.left; 149 | } 150 | if (Input.GetKey(KeyCode.D)) 151 | { 152 | direction += Vector3.right; 153 | } 154 | if (Input.GetKey(KeyCode.Q)) 155 | { 156 | direction += Vector3.down; 157 | } 158 | if (Input.GetKey(KeyCode.E)) 159 | { 160 | direction += Vector3.up; 161 | } 162 | #endif 163 | return direction; 164 | } 165 | 166 | void Update() 167 | { 168 | // Exit Sample 169 | 170 | if (IsEscapePressed()) 171 | { 172 | Application.Quit(); 173 | #if UNITY_EDITOR 174 | UnityEditor.EditorApplication.isPlaying = false; 175 | #endif 176 | } 177 | 178 | // Hide and lock cursor when right mouse button pressed 179 | if (IsRightMouseButtonDown()) 180 | { 181 | Cursor.lockState = CursorLockMode.Locked; 182 | } 183 | 184 | // Unlock and show cursor when right mouse button released 185 | if (IsRightMouseButtonUp()) 186 | { 187 | Cursor.visible = true; 188 | Cursor.lockState = CursorLockMode.None; 189 | } 190 | 191 | // Rotation 192 | if (IsCameraRotationAllowed()) 193 | { 194 | var mouseMovement = GetInputLookRotation() * Time.deltaTime * 5; 195 | if (invertY) 196 | mouseMovement.y = -mouseMovement.y; 197 | 198 | var mouseSensitivityFactor = mouseSensitivityCurve.Evaluate(mouseMovement.magnitude) * mouseSensitivityMultiplier; 199 | 200 | m_TargetCameraState.yaw += mouseMovement.x * mouseSensitivityFactor; 201 | m_TargetCameraState.pitch += mouseMovement.y * mouseSensitivityFactor; 202 | } 203 | 204 | // Translation 205 | var translation = GetInputTranslationDirection() * Time.deltaTime; 206 | 207 | // Speed up movement when shift key held 208 | if (IsBoostPressed()) 209 | { 210 | translation *= 10.0f; 211 | } 212 | 213 | // Modify movement by a boost factor (defined in Inspector and modified in play mode through the mouse scroll wheel) 214 | boost += GetBoostFactor(); 215 | translation *= Mathf.Pow(2.0f, boost); 216 | 217 | m_TargetCameraState.Translate(translation); 218 | 219 | // Framerate-independent interpolation 220 | // Calculate the lerp amount, such that we get 99% of the way to our target in the specified time 221 | var positionLerpPct = 1f - Mathf.Exp((Mathf.Log(1f - 0.99f) / positionLerpTime) * Time.deltaTime); 222 | var rotationLerpPct = 1f - Mathf.Exp((Mathf.Log(1f - 0.99f) / rotationLerpTime) * Time.deltaTime); 223 | m_InterpolatingCameraState.LerpTowards(m_TargetCameraState, positionLerpPct, rotationLerpPct); 224 | 225 | m_InterpolatingCameraState.UpdateTransform(transform); 226 | } 227 | 228 | float GetBoostFactor() 229 | { 230 | #if ENABLE_INPUT_SYSTEM 231 | return boostFactorAction.ReadValue().y * 0.01f; 232 | #else 233 | return Input.mouseScrollDelta.y * 0.2f; 234 | #endif 235 | } 236 | 237 | Vector2 GetInputLookRotation() 238 | { 239 | #if ENABLE_INPUT_SYSTEM 240 | return lookAction.ReadValue(); 241 | #else 242 | return new Vector2(Input.GetAxis("Mouse X"), Input.GetAxis("Mouse Y")) * 10; 243 | #endif 244 | } 245 | 246 | bool IsBoostPressed() 247 | { 248 | #if ENABLE_INPUT_SYSTEM 249 | bool boost = Keyboard.current != null ? Keyboard.current.leftShiftKey.isPressed : false; 250 | boost |= Gamepad.current != null ? Gamepad.current.xButton.isPressed : false; 251 | return boost; 252 | #else 253 | return Input.GetKey(KeyCode.LeftShift); 254 | #endif 255 | } 256 | 257 | bool IsEscapePressed() 258 | { 259 | #if ENABLE_INPUT_SYSTEM 260 | return Keyboard.current != null ? Keyboard.current.escapeKey.isPressed : false; 261 | #else 262 | return Input.GetKey(KeyCode.Escape); 263 | #endif 264 | } 265 | 266 | bool IsCameraRotationAllowed() 267 | { 268 | #if ENABLE_INPUT_SYSTEM 269 | bool canRotate = Mouse.current != null ? Mouse.current.rightButton.isPressed : false; 270 | canRotate |= Gamepad.current != null ? Gamepad.current.rightStick.ReadValue().magnitude > 0 : false; 271 | return canRotate; 272 | #else 273 | return Input.GetMouseButton(1); 274 | #endif 275 | } 276 | 277 | bool IsRightMouseButtonDown() 278 | { 279 | #if ENABLE_INPUT_SYSTEM 280 | return Mouse.current != null ? Mouse.current.rightButton.isPressed : false; 281 | #else 282 | return Input.GetMouseButtonDown(1); 283 | #endif 284 | } 285 | 286 | bool IsRightMouseButtonUp() 287 | { 288 | #if ENABLE_INPUT_SYSTEM 289 | return Mouse.current != null ? !Mouse.current.rightButton.isPressed : false; 290 | #else 291 | return Input.GetMouseButtonUp(1); 292 | #endif 293 | } 294 | } 295 | } 296 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Packages/packages-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.collab-proxy": { 4 | "version": "1.5.7", 5 | "depth": 0, 6 | "source": "registry", 7 | "dependencies": { 8 | "com.unity.nuget.newtonsoft-json": "2.0.0" 9 | }, 10 | "url": "https://packages.unity.com" 11 | }, 12 | "com.unity.ext.nunit": { 13 | "version": "1.0.6", 14 | "depth": 1, 15 | "source": "registry", 16 | "dependencies": {}, 17 | "url": "https://packages.unity.com" 18 | }, 19 | "com.unity.ide.rider": { 20 | "version": "3.0.6", 21 | "depth": 0, 22 | "source": "registry", 23 | "dependencies": { 24 | "com.unity.ext.nunit": "1.0.6" 25 | }, 26 | "url": "https://packages.unity.com" 27 | }, 28 | "com.unity.ide.visualstudio": { 29 | "version": "2.0.8", 30 | "depth": 0, 31 | "source": "registry", 32 | "dependencies": { 33 | "com.unity.test-framework": "1.1.9" 34 | }, 35 | "url": "https://packages.unity.com" 36 | }, 37 | "com.unity.ide.vscode": { 38 | "version": "1.2.3", 39 | "depth": 0, 40 | "source": "registry", 41 | "dependencies": {}, 42 | "url": "https://packages.unity.com" 43 | }, 44 | "com.unity.mathematics": { 45 | "version": "1.2.1", 46 | "depth": 1, 47 | "source": "registry", 48 | "dependencies": {}, 49 | "url": "https://packages.unity.com" 50 | }, 51 | "com.unity.nuget.newtonsoft-json": { 52 | "version": "2.0.0", 53 | "depth": 1, 54 | "source": "registry", 55 | "dependencies": {}, 56 | "url": "https://packages.unity.com" 57 | }, 58 | "com.unity.render-pipelines.core": { 59 | "version": "11.0.0", 60 | "depth": 1, 61 | "source": "builtin", 62 | "dependencies": { 63 | "com.unity.ugui": "1.0.0", 64 | "com.unity.modules.physics": "1.0.0" 65 | } 66 | }, 67 | "com.unity.render-pipelines.universal": { 68 | "version": "11.0.0", 69 | "depth": 0, 70 | "source": "builtin", 71 | "dependencies": { 72 | "com.unity.mathematics": "1.1.0", 73 | "com.unity.render-pipelines.core": "11.0.0", 74 | "com.unity.shadergraph": "11.0.0" 75 | } 76 | }, 77 | "com.unity.searcher": { 78 | "version": "4.3.2", 79 | "depth": 2, 80 | "source": "registry", 81 | "dependencies": {}, 82 | "url": "https://packages.unity.com" 83 | }, 84 | "com.unity.shadergraph": { 85 | "version": "11.0.0", 86 | "depth": 1, 87 | "source": "builtin", 88 | "dependencies": { 89 | "com.unity.render-pipelines.core": "11.0.0", 90 | "com.unity.searcher": "4.3.1" 91 | } 92 | }, 93 | "com.unity.test-framework": { 94 | "version": "1.1.24", 95 | "depth": 0, 96 | "source": "registry", 97 | "dependencies": { 98 | "com.unity.ext.nunit": "1.0.6", 99 | "com.unity.modules.imgui": "1.0.0", 100 | "com.unity.modules.jsonserialize": "1.0.0" 101 | }, 102 | "url": "https://packages.unity.com" 103 | }, 104 | "com.unity.textmeshpro": { 105 | "version": "3.0.6", 106 | "depth": 0, 107 | "source": "registry", 108 | "dependencies": { 109 | "com.unity.ugui": "1.0.0" 110 | }, 111 | "url": "https://packages.unity.com" 112 | }, 113 | "com.unity.timeline": { 114 | "version": "1.5.5", 115 | "depth": 0, 116 | "source": "registry", 117 | "dependencies": { 118 | "com.unity.modules.director": "1.0.0", 119 | "com.unity.modules.animation": "1.0.0", 120 | "com.unity.modules.audio": "1.0.0", 121 | "com.unity.modules.particlesystem": "1.0.0" 122 | }, 123 | "url": "https://packages.unity.com" 124 | }, 125 | "com.unity.ugui": { 126 | "version": "1.0.0", 127 | "depth": 0, 128 | "source": "builtin", 129 | "dependencies": { 130 | "com.unity.modules.ui": "1.0.0", 131 | "com.unity.modules.imgui": "1.0.0" 132 | } 133 | }, 134 | "com.unity.visualscripting": { 135 | "version": "1.6.1", 136 | "depth": 0, 137 | "source": "registry", 138 | "dependencies": { 139 | "com.unity.ugui": "1.0.0", 140 | "com.unity.modules.ai": "1.0.0", 141 | "com.unity.modules.animation": "1.0.0", 142 | "com.unity.modules.jsonserialize": "1.0.0", 143 | "com.unity.modules.particlesystem": "1.0.0", 144 | "com.unity.modules.physics": "1.0.0", 145 | "com.unity.modules.physics2d": "1.0.0" 146 | }, 147 | "url": "https://packages.unity.com" 148 | }, 149 | "com.unity.modules.ai": { 150 | "version": "1.0.0", 151 | "depth": 0, 152 | "source": "builtin", 153 | "dependencies": {} 154 | }, 155 | "com.unity.modules.androidjni": { 156 | "version": "1.0.0", 157 | "depth": 0, 158 | "source": "builtin", 159 | "dependencies": {} 160 | }, 161 | "com.unity.modules.animation": { 162 | "version": "1.0.0", 163 | "depth": 0, 164 | "source": "builtin", 165 | "dependencies": {} 166 | }, 167 | "com.unity.modules.assetbundle": { 168 | "version": "1.0.0", 169 | "depth": 0, 170 | "source": "builtin", 171 | "dependencies": {} 172 | }, 173 | "com.unity.modules.audio": { 174 | "version": "1.0.0", 175 | "depth": 0, 176 | "source": "builtin", 177 | "dependencies": {} 178 | }, 179 | "com.unity.modules.cloth": { 180 | "version": "1.0.0", 181 | "depth": 0, 182 | "source": "builtin", 183 | "dependencies": { 184 | "com.unity.modules.physics": "1.0.0" 185 | } 186 | }, 187 | "com.unity.modules.director": { 188 | "version": "1.0.0", 189 | "depth": 0, 190 | "source": "builtin", 191 | "dependencies": { 192 | "com.unity.modules.audio": "1.0.0", 193 | "com.unity.modules.animation": "1.0.0" 194 | } 195 | }, 196 | "com.unity.modules.imageconversion": { 197 | "version": "1.0.0", 198 | "depth": 0, 199 | "source": "builtin", 200 | "dependencies": {} 201 | }, 202 | "com.unity.modules.imgui": { 203 | "version": "1.0.0", 204 | "depth": 0, 205 | "source": "builtin", 206 | "dependencies": {} 207 | }, 208 | "com.unity.modules.jsonserialize": { 209 | "version": "1.0.0", 210 | "depth": 0, 211 | "source": "builtin", 212 | "dependencies": {} 213 | }, 214 | "com.unity.modules.particlesystem": { 215 | "version": "1.0.0", 216 | "depth": 0, 217 | "source": "builtin", 218 | "dependencies": {} 219 | }, 220 | "com.unity.modules.physics": { 221 | "version": "1.0.0", 222 | "depth": 0, 223 | "source": "builtin", 224 | "dependencies": {} 225 | }, 226 | "com.unity.modules.physics2d": { 227 | "version": "1.0.0", 228 | "depth": 0, 229 | "source": "builtin", 230 | "dependencies": {} 231 | }, 232 | "com.unity.modules.screencapture": { 233 | "version": "1.0.0", 234 | "depth": 0, 235 | "source": "builtin", 236 | "dependencies": { 237 | "com.unity.modules.imageconversion": "1.0.0" 238 | } 239 | }, 240 | "com.unity.modules.subsystems": { 241 | "version": "1.0.0", 242 | "depth": 1, 243 | "source": "builtin", 244 | "dependencies": { 245 | "com.unity.modules.jsonserialize": "1.0.0" 246 | } 247 | }, 248 | "com.unity.modules.terrain": { 249 | "version": "1.0.0", 250 | "depth": 0, 251 | "source": "builtin", 252 | "dependencies": {} 253 | }, 254 | "com.unity.modules.terrainphysics": { 255 | "version": "1.0.0", 256 | "depth": 0, 257 | "source": "builtin", 258 | "dependencies": { 259 | "com.unity.modules.physics": "1.0.0", 260 | "com.unity.modules.terrain": "1.0.0" 261 | } 262 | }, 263 | "com.unity.modules.tilemap": { 264 | "version": "1.0.0", 265 | "depth": 0, 266 | "source": "builtin", 267 | "dependencies": { 268 | "com.unity.modules.physics2d": "1.0.0" 269 | } 270 | }, 271 | "com.unity.modules.ui": { 272 | "version": "1.0.0", 273 | "depth": 0, 274 | "source": "builtin", 275 | "dependencies": {} 276 | }, 277 | "com.unity.modules.uielements": { 278 | "version": "1.0.0", 279 | "depth": 0, 280 | "source": "builtin", 281 | "dependencies": { 282 | "com.unity.modules.ui": "1.0.0", 283 | "com.unity.modules.imgui": "1.0.0", 284 | "com.unity.modules.jsonserialize": "1.0.0", 285 | "com.unity.modules.uielementsnative": "1.0.0" 286 | } 287 | }, 288 | "com.unity.modules.uielementsnative": { 289 | "version": "1.0.0", 290 | "depth": 1, 291 | "source": "builtin", 292 | "dependencies": { 293 | "com.unity.modules.ui": "1.0.0", 294 | "com.unity.modules.imgui": "1.0.0", 295 | "com.unity.modules.jsonserialize": "1.0.0" 296 | } 297 | }, 298 | "com.unity.modules.umbra": { 299 | "version": "1.0.0", 300 | "depth": 0, 301 | "source": "builtin", 302 | "dependencies": {} 303 | }, 304 | "com.unity.modules.unityanalytics": { 305 | "version": "1.0.0", 306 | "depth": 0, 307 | "source": "builtin", 308 | "dependencies": { 309 | "com.unity.modules.unitywebrequest": "1.0.0", 310 | "com.unity.modules.jsonserialize": "1.0.0" 311 | } 312 | }, 313 | "com.unity.modules.unitywebrequest": { 314 | "version": "1.0.0", 315 | "depth": 0, 316 | "source": "builtin", 317 | "dependencies": {} 318 | }, 319 | "com.unity.modules.unitywebrequestassetbundle": { 320 | "version": "1.0.0", 321 | "depth": 0, 322 | "source": "builtin", 323 | "dependencies": { 324 | "com.unity.modules.assetbundle": "1.0.0", 325 | "com.unity.modules.unitywebrequest": "1.0.0" 326 | } 327 | }, 328 | "com.unity.modules.unitywebrequestaudio": { 329 | "version": "1.0.0", 330 | "depth": 0, 331 | "source": "builtin", 332 | "dependencies": { 333 | "com.unity.modules.unitywebrequest": "1.0.0", 334 | "com.unity.modules.audio": "1.0.0" 335 | } 336 | }, 337 | "com.unity.modules.unitywebrequesttexture": { 338 | "version": "1.0.0", 339 | "depth": 0, 340 | "source": "builtin", 341 | "dependencies": { 342 | "com.unity.modules.unitywebrequest": "1.0.0", 343 | "com.unity.modules.imageconversion": "1.0.0" 344 | } 345 | }, 346 | "com.unity.modules.unitywebrequestwww": { 347 | "version": "1.0.0", 348 | "depth": 0, 349 | "source": "builtin", 350 | "dependencies": { 351 | "com.unity.modules.unitywebrequest": "1.0.0", 352 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 353 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 354 | "com.unity.modules.audio": "1.0.0", 355 | "com.unity.modules.assetbundle": "1.0.0", 356 | "com.unity.modules.imageconversion": "1.0.0" 357 | } 358 | }, 359 | "com.unity.modules.vehicles": { 360 | "version": "1.0.0", 361 | "depth": 0, 362 | "source": "builtin", 363 | "dependencies": { 364 | "com.unity.modules.physics": "1.0.0" 365 | } 366 | }, 367 | "com.unity.modules.video": { 368 | "version": "1.0.0", 369 | "depth": 0, 370 | "source": "builtin", 371 | "dependencies": { 372 | "com.unity.modules.audio": "1.0.0", 373 | "com.unity.modules.ui": "1.0.0", 374 | "com.unity.modules.unitywebrequest": "1.0.0" 375 | } 376 | }, 377 | "com.unity.modules.vr": { 378 | "version": "1.0.0", 379 | "depth": 0, 380 | "source": "builtin", 381 | "dependencies": { 382 | "com.unity.modules.jsonserialize": "1.0.0", 383 | "com.unity.modules.physics": "1.0.0", 384 | "com.unity.modules.xr": "1.0.0" 385 | } 386 | }, 387 | "com.unity.modules.wind": { 388 | "version": "1.0.0", 389 | "depth": 0, 390 | "source": "builtin", 391 | "dependencies": {} 392 | }, 393 | "com.unity.modules.xr": { 394 | "version": "1.0.0", 395 | "depth": 0, 396 | "source": "builtin", 397 | "dependencies": { 398 | "com.unity.modules.physics": "1.0.0", 399 | "com.unity.modules.jsonserialize": "1.0.0", 400 | "com.unity.modules.subsystems": "1.0.0" 401 | } 402 | } 403 | } 404 | } 405 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 22 7 | productGUID: ec461a687eb28d645b9af07f5c9215cf 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | AndroidEnableSustainedPerformanceMode: 0 11 | defaultScreenOrientation: 4 12 | targetDevice: 2 13 | useOnDemandResources: 0 14 | accelerometerFrequency: 60 15 | companyName: DefaultCompany 16 | productName: SkyFog 17 | defaultCursor: {fileID: 0} 18 | cursorHotspot: {x: 0, y: 0} 19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 20 | m_ShowUnitySplashScreen: 1 21 | m_ShowUnitySplashLogo: 1 22 | m_SplashScreenOverlayOpacity: 1 23 | m_SplashScreenAnimation: 1 24 | m_SplashScreenLogoStyle: 1 25 | m_SplashScreenDrawMode: 0 26 | m_SplashScreenBackgroundAnimationZoom: 1 27 | m_SplashScreenLogoAnimationZoom: 1 28 | m_SplashScreenBackgroundLandscapeAspect: 1 29 | m_SplashScreenBackgroundPortraitAspect: 1 30 | m_SplashScreenBackgroundLandscapeUvs: 31 | serializedVersion: 2 32 | x: 0 33 | y: 0 34 | width: 1 35 | height: 1 36 | m_SplashScreenBackgroundPortraitUvs: 37 | serializedVersion: 2 38 | x: 0 39 | y: 0 40 | width: 1 41 | height: 1 42 | m_SplashScreenLogos: [] 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1920 46 | defaultScreenHeight: 1080 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 1 51 | m_MTRendering: 1 52 | mipStripping: 0 53 | numberOfMipsStripped: 0 54 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 55 | iosShowActivityIndicatorOnLoading: -1 56 | androidShowActivityIndicatorOnLoading: -1 57 | iosUseCustomAppBackgroundBehavior: 0 58 | iosAllowHTTPDownload: 1 59 | allowedAutorotateToPortrait: 1 60 | allowedAutorotateToPortraitUpsideDown: 1 61 | allowedAutorotateToLandscapeRight: 1 62 | allowedAutorotateToLandscapeLeft: 1 63 | useOSAutorotation: 1 64 | use32BitDisplayBuffer: 1 65 | preserveFramebufferAlpha: 0 66 | disableDepthAndStencilBuffers: 0 67 | androidStartInFullscreen: 1 68 | androidRenderOutsideSafeArea: 0 69 | androidUseSwappy: 1 70 | androidBlitType: 1 71 | defaultIsNativeResolution: 1 72 | macRetinaSupport: 1 73 | runInBackground: 1 74 | captureSingleScreen: 0 75 | muteOtherAudioSources: 0 76 | Prepare IOS For Recording: 0 77 | Force IOS Speakers When Recording: 0 78 | deferSystemGesturesMode: 0 79 | hideHomeButton: 0 80 | submitAnalytics: 1 81 | usePlayerLog: 1 82 | bakeCollisionMeshes: 0 83 | forceSingleInstance: 0 84 | useFlipModelSwapchain: 1 85 | resizableWindow: 0 86 | useMacAppStoreValidation: 0 87 | macAppStoreCategory: public.app-category.games 88 | gpuSkinning: 1 89 | xboxPIXTextureCapture: 0 90 | xboxEnableAvatar: 0 91 | xboxEnableKinect: 0 92 | xboxEnableKinectAutoTracking: 0 93 | xboxEnableFitness: 0 94 | visibleInBackground: 1 95 | allowFullscreenSwitch: 1 96 | fullscreenMode: 1 97 | xboxSpeechDB: 0 98 | xboxEnableHeadOrientation: 0 99 | xboxEnableGuest: 0 100 | xboxEnablePIXSampling: 0 101 | metalFramebufferOnly: 0 102 | xboxOneResolution: 0 103 | xboxOneSResolution: 0 104 | xboxOneXResolution: 3 105 | xboxOneMonoLoggingLevel: 0 106 | xboxOneLoggingLevel: 1 107 | xboxOneDisableEsram: 0 108 | xboxOneEnableTypeOptimization: 0 109 | xboxOnePresentImmediateThreshold: 0 110 | switchQueueCommandMemory: 0 111 | switchQueueControlMemory: 0 112 | switchQueueComputeMemory: 262144 113 | switchNVNShaderPoolsGranularity: 33554432 114 | switchNVNDefaultPoolsGranularity: 16777216 115 | switchNVNOtherPoolsGranularity: 16777216 116 | switchNVNMaxPublicTextureIDCount: 0 117 | switchNVNMaxPublicSamplerIDCount: 0 118 | stadiaPresentMode: 0 119 | stadiaTargetFramerate: 0 120 | vulkanNumSwapchainBuffers: 3 121 | vulkanEnableSetSRGBWrite: 0 122 | vulkanEnablePreTransform: 0 123 | vulkanEnableLateAcquireNextImage: 0 124 | m_SupportedAspectRatios: 125 | 4:3: 1 126 | 5:4: 1 127 | 16:10: 1 128 | 16:9: 1 129 | Others: 1 130 | bundleVersion: 0.1 131 | preloadedAssets: [] 132 | metroInputSource: 0 133 | wsaTransparentSwapchain: 0 134 | m_HolographicPauseOnTrackingLoss: 1 135 | xboxOneDisableKinectGpuReservation: 1 136 | xboxOneEnable7thCore: 1 137 | vrSettings: 138 | enable360StereoCapture: 0 139 | isWsaHolographicRemotingEnabled: 0 140 | enableFrameTimingStats: 0 141 | useHDRDisplay: 0 142 | D3DHDRBitDepth: 0 143 | m_ColorGamuts: 0000000003000000 144 | targetPixelDensity: 30 145 | resolutionScalingMode: 0 146 | androidSupportedAspectRatio: 1 147 | androidMaxAspectRatio: 2.1 148 | applicationIdentifier: 149 | Standalone: com.DefaultCompany.SkyFog 150 | buildNumber: 151 | Standalone: 0 152 | iPhone: 0 153 | tvOS: 0 154 | overrideDefaultApplicationIdentifier: 0 155 | AndroidBundleVersionCode: 1 156 | AndroidMinSdkVersion: 19 157 | AndroidTargetSdkVersion: 0 158 | AndroidPreferredInstallLocation: 1 159 | aotOptions: 160 | stripEngineCode: 1 161 | iPhoneStrippingLevel: 0 162 | iPhoneScriptCallOptimization: 0 163 | ForceInternetPermission: 0 164 | ForceSDCardPermission: 0 165 | CreateWallpaper: 0 166 | APKExpansionFiles: 0 167 | keepLoadedShadersAlive: 0 168 | StripUnusedMeshComponents: 0 169 | VertexChannelCompressionMask: 4054 170 | iPhoneSdkVersion: 988 171 | iOSTargetOSVersionString: 11.0 172 | tvOSSdkVersion: 0 173 | tvOSRequireExtendedGameController: 0 174 | tvOSTargetOSVersionString: 11.0 175 | uIPrerenderedIcon: 0 176 | uIRequiresPersistentWiFi: 0 177 | uIRequiresFullScreen: 1 178 | uIStatusBarHidden: 1 179 | uIExitOnSuspend: 0 180 | uIStatusBarStyle: 0 181 | appleTVSplashScreen: {fileID: 0} 182 | appleTVSplashScreen2x: {fileID: 0} 183 | tvOSSmallIconLayers: [] 184 | tvOSSmallIconLayers2x: [] 185 | tvOSLargeIconLayers: [] 186 | tvOSLargeIconLayers2x: [] 187 | tvOSTopShelfImageLayers: [] 188 | tvOSTopShelfImageLayers2x: [] 189 | tvOSTopShelfImageWideLayers: [] 190 | tvOSTopShelfImageWideLayers2x: [] 191 | iOSLaunchScreenType: 0 192 | iOSLaunchScreenPortrait: {fileID: 0} 193 | iOSLaunchScreenLandscape: {fileID: 0} 194 | iOSLaunchScreenBackgroundColor: 195 | serializedVersion: 2 196 | rgba: 0 197 | iOSLaunchScreenFillPct: 100 198 | iOSLaunchScreenSize: 100 199 | iOSLaunchScreenCustomXibPath: 200 | iOSLaunchScreeniPadType: 0 201 | iOSLaunchScreeniPadImage: {fileID: 0} 202 | iOSLaunchScreeniPadBackgroundColor: 203 | serializedVersion: 2 204 | rgba: 0 205 | iOSLaunchScreeniPadFillPct: 100 206 | iOSLaunchScreeniPadSize: 100 207 | iOSLaunchScreeniPadCustomXibPath: 208 | iOSLaunchScreenCustomStoryboardPath: 209 | iOSLaunchScreeniPadCustomStoryboardPath: 210 | iOSDeviceRequirements: [] 211 | iOSURLSchemes: [] 212 | iOSBackgroundModes: 0 213 | iOSMetalForceHardShadows: 0 214 | metalEditorSupport: 1 215 | metalAPIValidation: 1 216 | iOSRenderExtraFrameOnPause: 0 217 | iosCopyPluginsCodeInsteadOfSymlink: 0 218 | appleDeveloperTeamID: 219 | iOSManualSigningProvisioningProfileID: 220 | tvOSManualSigningProvisioningProfileID: 221 | iOSManualSigningProvisioningProfileType: 0 222 | tvOSManualSigningProvisioningProfileType: 0 223 | appleEnableAutomaticSigning: 0 224 | iOSRequireARKit: 0 225 | iOSAutomaticallyDetectAndAddCapabilities: 1 226 | appleEnableProMotion: 0 227 | shaderPrecisionModel: 0 228 | clonedFromGUID: 9870af204204ab84596f8a656f2f2ce6 229 | templatePackageId: com.unity.template.universal@11.0.0 230 | templateDefaultScene: Assets/Scenes/SampleScene.unity 231 | useCustomMainManifest: 0 232 | useCustomLauncherManifest: 0 233 | useCustomMainGradleTemplate: 0 234 | useCustomLauncherGradleManifest: 0 235 | useCustomBaseGradleTemplate: 0 236 | useCustomGradlePropertiesTemplate: 0 237 | useCustomProguardFile: 0 238 | AndroidTargetArchitectures: 1 239 | AndroidSplashScreenScale: 0 240 | androidSplashScreen: {fileID: 0} 241 | AndroidKeystoreName: 242 | AndroidKeyaliasName: 243 | AndroidBuildApkPerCpuArchitecture: 0 244 | AndroidTVCompatibility: 0 245 | AndroidIsGame: 1 246 | AndroidEnableTango: 0 247 | androidEnableBanner: 1 248 | androidUseLowAccuracyLocation: 0 249 | androidUseCustomKeystore: 0 250 | m_AndroidBanners: 251 | - width: 320 252 | height: 180 253 | banner: {fileID: 0} 254 | androidGamepadSupportLevel: 0 255 | AndroidMinifyWithR8: 0 256 | AndroidMinifyRelease: 0 257 | AndroidMinifyDebug: 0 258 | AndroidValidateAppBundleSize: 1 259 | AndroidAppBundleSizeToValidate: 100 260 | m_BuildTargetIcons: [] 261 | m_BuildTargetPlatformIcons: [] 262 | m_BuildTargetBatching: 263 | - m_BuildTarget: Standalone 264 | m_StaticBatching: 1 265 | m_DynamicBatching: 0 266 | - m_BuildTarget: tvOS 267 | m_StaticBatching: 1 268 | m_DynamicBatching: 0 269 | - m_BuildTarget: iPhone 270 | m_StaticBatching: 1 271 | m_DynamicBatching: 0 272 | - m_BuildTarget: Android 273 | m_StaticBatching: 1 274 | m_DynamicBatching: 0 275 | - m_BuildTarget: WebGL 276 | m_StaticBatching: 0 277 | m_DynamicBatching: 0 278 | m_BuildTargetGraphicsJobs: 279 | - m_BuildTarget: MacStandaloneSupport 280 | m_GraphicsJobs: 0 281 | - m_BuildTarget: Switch 282 | m_GraphicsJobs: 1 283 | - m_BuildTarget: MetroSupport 284 | m_GraphicsJobs: 1 285 | - m_BuildTarget: AppleTVSupport 286 | m_GraphicsJobs: 0 287 | - m_BuildTarget: BJMSupport 288 | m_GraphicsJobs: 1 289 | - m_BuildTarget: LinuxStandaloneSupport 290 | m_GraphicsJobs: 1 291 | - m_BuildTarget: PS4Player 292 | m_GraphicsJobs: 1 293 | - m_BuildTarget: iOSSupport 294 | m_GraphicsJobs: 0 295 | - m_BuildTarget: WindowsStandaloneSupport 296 | m_GraphicsJobs: 1 297 | - m_BuildTarget: XboxOnePlayer 298 | m_GraphicsJobs: 1 299 | - m_BuildTarget: LuminSupport 300 | m_GraphicsJobs: 0 301 | - m_BuildTarget: AndroidPlayer 302 | m_GraphicsJobs: 0 303 | - m_BuildTarget: WebGLSupport 304 | m_GraphicsJobs: 0 305 | m_BuildTargetGraphicsJobMode: 306 | - m_BuildTarget: PS4Player 307 | m_GraphicsJobMode: 0 308 | - m_BuildTarget: XboxOnePlayer 309 | m_GraphicsJobMode: 0 310 | m_BuildTargetGraphicsAPIs: 311 | - m_BuildTarget: iOSSupport 312 | m_APIs: 10000000 313 | m_Automatic: 1 314 | - m_BuildTarget: AppleTVSupport 315 | m_APIs: 10000000 316 | m_Automatic: 1 317 | - m_BuildTarget: AndroidPlayer 318 | m_APIs: 150000000b000000 319 | m_Automatic: 0 320 | - m_BuildTarget: WebGLSupport 321 | m_APIs: 0b000000 322 | m_Automatic: 0 323 | m_BuildTargetVRSettings: [] 324 | openGLRequireES31: 0 325 | openGLRequireES31AEP: 0 326 | openGLRequireES32: 0 327 | m_TemplateCustomTags: {} 328 | mobileMTRendering: 329 | Android: 1 330 | iPhone: 1 331 | tvOS: 1 332 | m_BuildTargetGroupLightmapEncodingQuality: 333 | - m_BuildTarget: Standalone 334 | m_EncodingQuality: 1 335 | m_BuildTargetGroupLightmapSettings: [] 336 | m_BuildTargetNormalMapEncoding: [] 337 | playModeTestRunnerEnabled: 0 338 | runPlayModeTestAsEditModeTest: 0 339 | actionOnDotNetUnhandledException: 1 340 | enableInternalProfiler: 0 341 | logObjCUncaughtExceptions: 1 342 | enableCrashReportAPI: 0 343 | cameraUsageDescription: 344 | locationUsageDescription: 345 | microphoneUsageDescription: 346 | switchNMETAOverride: 347 | switchNetLibKey: 348 | switchSocketMemoryPoolSize: 6144 349 | switchSocketAllocatorPoolSize: 128 350 | switchSocketConcurrencyLimit: 14 351 | switchScreenResolutionBehavior: 2 352 | switchUseCPUProfiler: 0 353 | switchUseGOLDLinker: 0 354 | switchLTOSetting: 0 355 | switchApplicationID: 0x01004b9000490000 356 | switchNSODependencies: 357 | switchTitleNames_0: 358 | switchTitleNames_1: 359 | switchTitleNames_2: 360 | switchTitleNames_3: 361 | switchTitleNames_4: 362 | switchTitleNames_5: 363 | switchTitleNames_6: 364 | switchTitleNames_7: 365 | switchTitleNames_8: 366 | switchTitleNames_9: 367 | switchTitleNames_10: 368 | switchTitleNames_11: 369 | switchTitleNames_12: 370 | switchTitleNames_13: 371 | switchTitleNames_14: 372 | switchTitleNames_15: 373 | switchPublisherNames_0: 374 | switchPublisherNames_1: 375 | switchPublisherNames_2: 376 | switchPublisherNames_3: 377 | switchPublisherNames_4: 378 | switchPublisherNames_5: 379 | switchPublisherNames_6: 380 | switchPublisherNames_7: 381 | switchPublisherNames_8: 382 | switchPublisherNames_9: 383 | switchPublisherNames_10: 384 | switchPublisherNames_11: 385 | switchPublisherNames_12: 386 | switchPublisherNames_13: 387 | switchPublisherNames_14: 388 | switchPublisherNames_15: 389 | switchIcons_0: {fileID: 0} 390 | switchIcons_1: {fileID: 0} 391 | switchIcons_2: {fileID: 0} 392 | switchIcons_3: {fileID: 0} 393 | switchIcons_4: {fileID: 0} 394 | switchIcons_5: {fileID: 0} 395 | switchIcons_6: {fileID: 0} 396 | switchIcons_7: {fileID: 0} 397 | switchIcons_8: {fileID: 0} 398 | switchIcons_9: {fileID: 0} 399 | switchIcons_10: {fileID: 0} 400 | switchIcons_11: {fileID: 0} 401 | switchIcons_12: {fileID: 0} 402 | switchIcons_13: {fileID: 0} 403 | switchIcons_14: {fileID: 0} 404 | switchIcons_15: {fileID: 0} 405 | switchSmallIcons_0: {fileID: 0} 406 | switchSmallIcons_1: {fileID: 0} 407 | switchSmallIcons_2: {fileID: 0} 408 | switchSmallIcons_3: {fileID: 0} 409 | switchSmallIcons_4: {fileID: 0} 410 | switchSmallIcons_5: {fileID: 0} 411 | switchSmallIcons_6: {fileID: 0} 412 | switchSmallIcons_7: {fileID: 0} 413 | switchSmallIcons_8: {fileID: 0} 414 | switchSmallIcons_9: {fileID: 0} 415 | switchSmallIcons_10: {fileID: 0} 416 | switchSmallIcons_11: {fileID: 0} 417 | switchSmallIcons_12: {fileID: 0} 418 | switchSmallIcons_13: {fileID: 0} 419 | switchSmallIcons_14: {fileID: 0} 420 | switchSmallIcons_15: {fileID: 0} 421 | switchManualHTML: 422 | switchAccessibleURLs: 423 | switchLegalInformation: 424 | switchMainThreadStackSize: 1048576 425 | switchPresenceGroupId: 426 | switchLogoHandling: 0 427 | switchReleaseVersion: 0 428 | switchDisplayVersion: 1.0.0 429 | switchStartupUserAccount: 0 430 | switchTouchScreenUsage: 0 431 | switchSupportedLanguagesMask: 0 432 | switchLogoType: 0 433 | switchApplicationErrorCodeCategory: 434 | switchUserAccountSaveDataSize: 0 435 | switchUserAccountSaveDataJournalSize: 0 436 | switchApplicationAttribute: 0 437 | switchCardSpecSize: -1 438 | switchCardSpecClock: -1 439 | switchRatingsMask: 0 440 | switchRatingsInt_0: 0 441 | switchRatingsInt_1: 0 442 | switchRatingsInt_2: 0 443 | switchRatingsInt_3: 0 444 | switchRatingsInt_4: 0 445 | switchRatingsInt_5: 0 446 | switchRatingsInt_6: 0 447 | switchRatingsInt_7: 0 448 | switchRatingsInt_8: 0 449 | switchRatingsInt_9: 0 450 | switchRatingsInt_10: 0 451 | switchRatingsInt_11: 0 452 | switchRatingsInt_12: 0 453 | switchLocalCommunicationIds_0: 454 | switchLocalCommunicationIds_1: 455 | switchLocalCommunicationIds_2: 456 | switchLocalCommunicationIds_3: 457 | switchLocalCommunicationIds_4: 458 | switchLocalCommunicationIds_5: 459 | switchLocalCommunicationIds_6: 460 | switchLocalCommunicationIds_7: 461 | switchParentalControl: 0 462 | switchAllowsScreenshot: 1 463 | switchAllowsVideoCapturing: 1 464 | switchAllowsRuntimeAddOnContentInstall: 0 465 | switchDataLossConfirmation: 0 466 | switchUserAccountLockEnabled: 0 467 | switchSystemResourceMemory: 16777216 468 | switchSupportedNpadStyles: 22 469 | switchNativeFsCacheSize: 32 470 | switchIsHoldTypeHorizontal: 0 471 | switchSupportedNpadCount: 8 472 | switchSocketConfigEnabled: 0 473 | switchTcpInitialSendBufferSize: 32 474 | switchTcpInitialReceiveBufferSize: 64 475 | switchTcpAutoSendBufferSizeMax: 256 476 | switchTcpAutoReceiveBufferSizeMax: 256 477 | switchUdpSendBufferSize: 9 478 | switchUdpReceiveBufferSize: 42 479 | switchSocketBufferEfficiency: 4 480 | switchSocketInitializeEnabled: 1 481 | switchNetworkInterfaceManagerInitializeEnabled: 1 482 | switchPlayerConnectionEnabled: 1 483 | switchUseNewStyleFilepaths: 0 484 | switchUseMicroSleepForYield: 1 485 | switchMicroSleepForYieldTime: 25 486 | ps4NPAgeRating: 12 487 | ps4NPTitleSecret: 488 | ps4NPTrophyPackPath: 489 | ps4ParentalLevel: 11 490 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 491 | ps4Category: 0 492 | ps4MasterVersion: 01.00 493 | ps4AppVersion: 01.00 494 | ps4AppType: 0 495 | ps4ParamSfxPath: 496 | ps4VideoOutPixelFormat: 0 497 | ps4VideoOutInitialWidth: 1920 498 | ps4VideoOutBaseModeInitialWidth: 1920 499 | ps4VideoOutReprojectionRate: 60 500 | ps4PronunciationXMLPath: 501 | ps4PronunciationSIGPath: 502 | ps4BackgroundImagePath: 503 | ps4StartupImagePath: 504 | ps4StartupImagesFolder: 505 | ps4IconImagesFolder: 506 | ps4SaveDataImagePath: 507 | ps4SdkOverride: 508 | ps4BGMPath: 509 | ps4ShareFilePath: 510 | ps4ShareOverlayImagePath: 511 | ps4PrivacyGuardImagePath: 512 | ps4ExtraSceSysFile: 513 | ps4NPtitleDatPath: 514 | ps4RemotePlayKeyAssignment: -1 515 | ps4RemotePlayKeyMappingDir: 516 | ps4PlayTogetherPlayerCount: 0 517 | ps4EnterButtonAssignment: 1 518 | ps4ApplicationParam1: 0 519 | ps4ApplicationParam2: 0 520 | ps4ApplicationParam3: 0 521 | ps4ApplicationParam4: 0 522 | ps4DownloadDataSize: 0 523 | ps4GarlicHeapSize: 2048 524 | ps4ProGarlicHeapSize: 2560 525 | playerPrefsMaxSize: 32768 526 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 527 | ps4pnSessions: 1 528 | ps4pnPresence: 1 529 | ps4pnFriends: 1 530 | ps4pnGameCustomData: 1 531 | playerPrefsSupport: 0 532 | enableApplicationExit: 0 533 | resetTempFolder: 1 534 | restrictedAudioUsageRights: 0 535 | ps4UseResolutionFallback: 0 536 | ps4ReprojectionSupport: 0 537 | ps4UseAudio3dBackend: 0 538 | ps4UseLowGarlicFragmentationMode: 1 539 | ps4SocialScreenEnabled: 0 540 | ps4ScriptOptimizationLevel: 0 541 | ps4Audio3dVirtualSpeakerCount: 14 542 | ps4attribCpuUsage: 0 543 | ps4PatchPkgPath: 544 | ps4PatchLatestPkgPath: 545 | ps4PatchChangeinfoPath: 546 | ps4PatchDayOne: 0 547 | ps4attribUserManagement: 0 548 | ps4attribMoveSupport: 0 549 | ps4attrib3DSupport: 0 550 | ps4attribShareSupport: 0 551 | ps4attribExclusiveVR: 0 552 | ps4disableAutoHideSplash: 0 553 | ps4videoRecordingFeaturesUsed: 0 554 | ps4contentSearchFeaturesUsed: 0 555 | ps4CompatibilityPS5: 0 556 | ps4GPU800MHz: 1 557 | ps4attribEyeToEyeDistanceSettingVR: 0 558 | ps4IncludedModules: 559 | - libc.prx 560 | - libSceAudioLatencyEstimation.prx 561 | - libSceFace.prx 562 | - libSceFaceTracker.prx 563 | - libSceFios2.prx 564 | - libSceHand.prx 565 | - libSceHandTracker.prx 566 | - libSceHeadTracker.prx 567 | - libSceJobManager.prx 568 | - libSceNpToolkit2.prx 569 | - libSceS3DConversion.prx 570 | ps4attribVROutputEnabled: 0 571 | monoEnv: 572 | splashScreenBackgroundSourceLandscape: {fileID: 0} 573 | splashScreenBackgroundSourcePortrait: {fileID: 0} 574 | blurSplashScreenBackground: 1 575 | spritePackerPolicy: 576 | webGLMemorySize: 16 577 | webGLExceptionSupport: 1 578 | webGLNameFilesAsHashes: 0 579 | webGLDataCaching: 1 580 | webGLDebugSymbols: 0 581 | webGLEmscriptenArgs: 582 | webGLModulesDirectory: 583 | webGLTemplate: APPLICATION:Default 584 | webGLAnalyzeBuildSize: 0 585 | webGLUseEmbeddedResources: 0 586 | webGLCompressionFormat: 1 587 | webGLWasmArithmeticExceptions: 0 588 | webGLLinkerTarget: 1 589 | webGLThreadsSupport: 0 590 | webGLDecompressionFallback: 0 591 | scriptingDefineSymbols: {} 592 | additionalCompilerArguments: {} 593 | platformArchitecture: {} 594 | scriptingBackend: 595 | Standalone: 0 596 | il2cppCompilerConfiguration: {} 597 | managedStrippingLevel: {} 598 | incrementalIl2cppBuild: {} 599 | suppressCommonWarnings: 1 600 | allowUnsafeCode: 0 601 | useDeterministicCompilation: 1 602 | enableRoslynAnalyzers: 1 603 | additionalIl2CppArgs: 604 | scriptingRuntimeVersion: 1 605 | gcIncremental: 1 606 | assemblyVersionValidation: 1 607 | gcWBarrierValidation: 0 608 | apiCompatibilityLevelPerPlatform: 609 | Standalone: 3 610 | m_RenderingPath: 1 611 | m_MobileRenderingPath: 1 612 | metroPackageName: Template_Lightweight 613 | metroPackageVersion: 614 | metroCertificatePath: 615 | metroCertificatePassword: 616 | metroCertificateSubject: 617 | metroCertificateIssuer: 618 | metroCertificateNotAfter: 0000000000000000 619 | metroApplicationDescription: Template_Lightweight 620 | wsaImages: {} 621 | metroTileShortName: 622 | metroTileShowName: 0 623 | metroMediumTileShowName: 0 624 | metroLargeTileShowName: 0 625 | metroWideTileShowName: 0 626 | metroSupportStreamingInstall: 0 627 | metroLastRequiredScene: 0 628 | metroDefaultTileSize: 1 629 | metroTileForegroundText: 2 630 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 631 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, a: 1} 632 | metroSplashScreenUseBackgroundColor: 0 633 | platformCapabilities: {} 634 | metroTargetDeviceFamilies: {} 635 | metroFTAName: 636 | metroFTAFileTypes: [] 637 | metroProtocolName: 638 | XboxOneProductId: 639 | XboxOneUpdateKey: 640 | XboxOneSandboxId: 641 | XboxOneContentId: 642 | XboxOneTitleId: 643 | XboxOneSCId: 644 | XboxOneGameOsOverridePath: 645 | XboxOnePackagingOverridePath: 646 | XboxOneAppManifestOverridePath: 647 | XboxOneVersion: 1.0.0.0 648 | XboxOnePackageEncryption: 0 649 | XboxOnePackageUpdateGranularity: 2 650 | XboxOneDescription: 651 | XboxOneLanguage: 652 | - enus 653 | XboxOneCapability: [] 654 | XboxOneGameRating: {} 655 | XboxOneIsContentPackage: 0 656 | XboxOneEnhancedXboxCompatibilityMode: 0 657 | XboxOneEnableGPUVariability: 1 658 | XboxOneSockets: {} 659 | XboxOneSplashScreen: {fileID: 0} 660 | XboxOneAllowedProductIds: [] 661 | XboxOnePersistentLocalStorageSize: 0 662 | XboxOneXTitleMemory: 8 663 | XboxOneOverrideIdentityName: 664 | XboxOneOverrideIdentityPublisher: 665 | vrEditorSettings: {} 666 | cloudServicesEnabled: 667 | UNet: 1 668 | luminIcon: 669 | m_Name: 670 | m_ModelFolderPath: 671 | m_PortalFolderPath: 672 | luminCert: 673 | m_CertPath: 674 | m_SignPackage: 1 675 | luminIsChannelApp: 0 676 | luminVersion: 677 | m_VersionCode: 1 678 | m_VersionName: 679 | apiCompatibilityLevel: 6 680 | activeInputHandler: 0 681 | cloudProjectId: 682 | framebufferDepthMemorylessMode: 0 683 | qualitySettingsNames: [] 684 | projectName: 685 | organizationId: 686 | cloudEnabled: 0 687 | legacyClampBlendShapeWeights: 0 688 | virtualTexturingSupportEnabled: 0 689 | -------------------------------------------------------------------------------- /Assets/SkyFog/FogShader/skyFog.shadergraph: -------------------------------------------------------------------------------- 1 | { 2 | "m_SGVersion": 2, 3 | "m_Type": "UnityEditor.ShaderGraph.GraphData", 4 | "m_ObjectId": "cd72124c8a7a4a718ac62eddab84628f", 5 | "m_Properties": [ 6 | { 7 | "m_Id": "812bbd7d63074a5a91664afa6b4c8f8f" 8 | }, 9 | { 10 | "m_Id": "8df748d8fdd64458953480de035ee4c7" 11 | } 12 | ], 13 | "m_Keywords": [], 14 | "m_Nodes": [ 15 | { 16 | "m_Id": "1566ba79ec924ca69678f4adde5daf73" 17 | }, 18 | { 19 | "m_Id": "20acf13251314451a716949c91403408" 20 | }, 21 | { 22 | "m_Id": "e996d30532ef4699b027b096a546592b" 23 | }, 24 | { 25 | "m_Id": "a74e205b666c4d13bf735693dcd0c96a" 26 | }, 27 | { 28 | "m_Id": "1d8ddbb015f144c485a8dc6b5bd9309e" 29 | }, 30 | { 31 | "m_Id": "2771b55847dc4783a179ce6f8cb6a9e2" 32 | }, 33 | { 34 | "m_Id": "8be5bc6b03164d68a5c5bbee07c8b205" 35 | }, 36 | { 37 | "m_Id": "44ba807884b74c6e85560b470ce6dad0" 38 | }, 39 | { 40 | "m_Id": "1f83bcb80bdf486bbac7a336b8280e45" 41 | }, 42 | { 43 | "m_Id": "9310d23825474ce3b4fce6e20ec8e5ba" 44 | }, 45 | { 46 | "m_Id": "22863f2a8242454196598fc017c5cd90" 47 | }, 48 | { 49 | "m_Id": "c1ec63cdc1ef43bf9f698f6b762265fc" 50 | }, 51 | { 52 | "m_Id": "b5026e10ed014fff94d662eb294bfa77" 53 | }, 54 | { 55 | "m_Id": "cd2028d6dcf64d5ca455aa5528eace3f" 56 | }, 57 | { 58 | "m_Id": "0c24971c833d487e93bdc8569cae43b1" 59 | } 60 | ], 61 | "m_GroupDatas": [], 62 | "m_StickyNoteDatas": [], 63 | "m_Edges": [ 64 | { 65 | "m_OutputSlot": { 66 | "m_Node": { 67 | "m_Id": "0c24971c833d487e93bdc8569cae43b1" 68 | }, 69 | "m_SlotId": 3 70 | }, 71 | "m_InputSlot": { 72 | "m_Node": { 73 | "m_Id": "9310d23825474ce3b4fce6e20ec8e5ba" 74 | }, 75 | "m_SlotId": 0 76 | } 77 | }, 78 | { 79 | "m_OutputSlot": { 80 | "m_Node": { 81 | "m_Id": "1d8ddbb015f144c485a8dc6b5bd9309e" 82 | }, 83 | "m_SlotId": 1 84 | }, 85 | "m_InputSlot": { 86 | "m_Node": { 87 | "m_Id": "c1ec63cdc1ef43bf9f698f6b762265fc" 88 | }, 89 | "m_SlotId": 0 90 | } 91 | }, 92 | { 93 | "m_OutputSlot": { 94 | "m_Node": { 95 | "m_Id": "1f83bcb80bdf486bbac7a336b8280e45" 96 | }, 97 | "m_SlotId": 0 98 | }, 99 | "m_InputSlot": { 100 | "m_Node": { 101 | "m_Id": "44ba807884b74c6e85560b470ce6dad0" 102 | }, 103 | "m_SlotId": 3 104 | } 105 | }, 106 | { 107 | "m_OutputSlot": { 108 | "m_Node": { 109 | "m_Id": "22863f2a8242454196598fc017c5cd90" 110 | }, 111 | "m_SlotId": 2 112 | }, 113 | "m_InputSlot": { 114 | "m_Node": { 115 | "m_Id": "cd2028d6dcf64d5ca455aa5528eace3f" 116 | }, 117 | "m_SlotId": 1 118 | } 119 | }, 120 | { 121 | "m_OutputSlot": { 122 | "m_Node": { 123 | "m_Id": "2771b55847dc4783a179ce6f8cb6a9e2" 124 | }, 125 | "m_SlotId": 0 126 | }, 127 | "m_InputSlot": { 128 | "m_Node": { 129 | "m_Id": "44ba807884b74c6e85560b470ce6dad0" 130 | }, 131 | "m_SlotId": 1 132 | } 133 | }, 134 | { 135 | "m_OutputSlot": { 136 | "m_Node": { 137 | "m_Id": "44ba807884b74c6e85560b470ce6dad0" 138 | }, 139 | "m_SlotId": 0 140 | }, 141 | "m_InputSlot": { 142 | "m_Node": { 143 | "m_Id": "a74e205b666c4d13bf735693dcd0c96a" 144 | }, 145 | "m_SlotId": 0 146 | } 147 | }, 148 | { 149 | "m_OutputSlot": { 150 | "m_Node": { 151 | "m_Id": "8be5bc6b03164d68a5c5bbee07c8b205" 152 | }, 153 | "m_SlotId": 0 154 | }, 155 | "m_InputSlot": { 156 | "m_Node": { 157 | "m_Id": "44ba807884b74c6e85560b470ce6dad0" 158 | }, 159 | "m_SlotId": 2 160 | } 161 | }, 162 | { 163 | "m_OutputSlot": { 164 | "m_Node": { 165 | "m_Id": "b5026e10ed014fff94d662eb294bfa77" 166 | }, 167 | "m_SlotId": 0 168 | }, 169 | "m_InputSlot": { 170 | "m_Node": { 171 | "m_Id": "22863f2a8242454196598fc017c5cd90" 172 | }, 173 | "m_SlotId": 1 174 | } 175 | }, 176 | { 177 | "m_OutputSlot": { 178 | "m_Node": { 179 | "m_Id": "b5026e10ed014fff94d662eb294bfa77" 180 | }, 181 | "m_SlotId": 0 182 | }, 183 | "m_InputSlot": { 184 | "m_Node": { 185 | "m_Id": "c1ec63cdc1ef43bf9f698f6b762265fc" 186 | }, 187 | "m_SlotId": 1 188 | } 189 | }, 190 | { 191 | "m_OutputSlot": { 192 | "m_Node": { 193 | "m_Id": "c1ec63cdc1ef43bf9f698f6b762265fc" 194 | }, 195 | "m_SlotId": 2 196 | }, 197 | "m_InputSlot": { 198 | "m_Node": { 199 | "m_Id": "cd2028d6dcf64d5ca455aa5528eace3f" 200 | }, 201 | "m_SlotId": 0 202 | } 203 | }, 204 | { 205 | "m_OutputSlot": { 206 | "m_Node": { 207 | "m_Id": "cd2028d6dcf64d5ca455aa5528eace3f" 208 | }, 209 | "m_SlotId": 2 210 | }, 211 | "m_InputSlot": { 212 | "m_Node": { 213 | "m_Id": "0c24971c833d487e93bdc8569cae43b1" 214 | }, 215 | "m_SlotId": 0 216 | } 217 | } 218 | ], 219 | "m_VertexContext": { 220 | "m_Position": { 221 | "x": 292.0, 222 | "y": -22.999998092651368 223 | }, 224 | "m_Blocks": [ 225 | { 226 | "m_Id": "1566ba79ec924ca69678f4adde5daf73" 227 | }, 228 | { 229 | "m_Id": "20acf13251314451a716949c91403408" 230 | }, 231 | { 232 | "m_Id": "e996d30532ef4699b027b096a546592b" 233 | } 234 | ] 235 | }, 236 | "m_FragmentContext": { 237 | "m_Position": { 238 | "x": 292.0, 239 | "y": 177.0 240 | }, 241 | "m_Blocks": [ 242 | { 243 | "m_Id": "a74e205b666c4d13bf735693dcd0c96a" 244 | }, 245 | { 246 | "m_Id": "9310d23825474ce3b4fce6e20ec8e5ba" 247 | } 248 | ] 249 | }, 250 | "m_PreviewData": { 251 | "serializedMesh": { 252 | "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}", 253 | "m_Guid": "" 254 | } 255 | }, 256 | "m_Path": "Shader Graphs", 257 | "m_ConcretePrecision": 0, 258 | "m_PreviewMode": 2, 259 | "m_OutputNode": { 260 | "m_Id": "" 261 | }, 262 | "m_ActiveTargets": [ 263 | { 264 | "m_Id": "c9234568ee4e453a8084351083ed2a62" 265 | } 266 | ] 267 | } 268 | 269 | { 270 | "m_SGVersion": 0, 271 | "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", 272 | "m_ObjectId": "03f79750bce04455aafef8283d4df260", 273 | "m_Id": 0, 274 | "m_DisplayName": "Alpha", 275 | "m_SlotType": 0, 276 | "m_Hidden": false, 277 | "m_ShaderOutputName": "Alpha", 278 | "m_StageCapability": 2, 279 | "m_Value": 1.0, 280 | "m_DefaultValue": 1.0, 281 | "m_Labels": [] 282 | } 283 | 284 | { 285 | "m_SGVersion": 0, 286 | "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget", 287 | "m_ObjectId": "07646fc17b29493c878532d0574ca6a6" 288 | } 289 | 290 | { 291 | "m_SGVersion": 0, 292 | "m_Type": "UnityEditor.ShaderGraph.ClampNode", 293 | "m_ObjectId": "0c24971c833d487e93bdc8569cae43b1", 294 | "m_Group": { 295 | "m_Id": "" 296 | }, 297 | "m_Name": "Clamp", 298 | "m_DrawState": { 299 | "m_Expanded": true, 300 | "m_Position": { 301 | "serializedVersion": "2", 302 | "x": -240.9999542236328, 303 | "y": 308.0000305175781, 304 | "width": 208.0, 305 | "height": 326.0 306 | } 307 | }, 308 | "m_Slots": [ 309 | { 310 | "m_Id": "3d242b232ea34adc828753f854168724" 311 | }, 312 | { 313 | "m_Id": "e643fa61e1e14f9faca99b83a22312d5" 314 | }, 315 | { 316 | "m_Id": "cc5fc99847d745f18865598624fdf7ec" 317 | }, 318 | { 319 | "m_Id": "d385289fdb1c47cfa3d1ddfbc34fc6dc" 320 | } 321 | ], 322 | "synonyms": [], 323 | "m_Precision": 0, 324 | "m_PreviewExpanded": true, 325 | "m_PreviewMode": 0, 326 | "m_CustomColors": { 327 | "m_SerializableColors": [] 328 | } 329 | } 330 | 331 | { 332 | "m_SGVersion": 0, 333 | "m_Type": "UnityEditor.ShaderGraph.BlockNode", 334 | "m_ObjectId": "1566ba79ec924ca69678f4adde5daf73", 335 | "m_Group": { 336 | "m_Id": "" 337 | }, 338 | "m_Name": "VertexDescription.Position", 339 | "m_DrawState": { 340 | "m_Expanded": true, 341 | "m_Position": { 342 | "serializedVersion": "2", 343 | "x": 0.0, 344 | "y": 0.0, 345 | "width": 0.0, 346 | "height": 0.0 347 | } 348 | }, 349 | "m_Slots": [ 350 | { 351 | "m_Id": "f5c7fa688d4f4af6b165b925ce9182a9" 352 | } 353 | ], 354 | "synonyms": [], 355 | "m_Precision": 0, 356 | "m_PreviewExpanded": true, 357 | "m_PreviewMode": 0, 358 | "m_CustomColors": { 359 | "m_SerializableColors": [] 360 | }, 361 | "m_SerializedDescriptor": "VertexDescription.Position" 362 | } 363 | 364 | { 365 | "m_SGVersion": 0, 366 | "m_Type": "UnityEditor.ShaderGraph.SceneDepthNode", 367 | "m_ObjectId": "1d8ddbb015f144c485a8dc6b5bd9309e", 368 | "m_Group": { 369 | "m_Id": "" 370 | }, 371 | "m_Name": "Scene Depth", 372 | "m_DrawState": { 373 | "m_Expanded": true, 374 | "m_Position": { 375 | "serializedVersion": "2", 376 | "x": -1291.0, 377 | "y": 182.0000457763672, 378 | "width": 145.0, 379 | "height": 113.00000762939453 380 | } 381 | }, 382 | "m_Slots": [ 383 | { 384 | "m_Id": "b5c83d40b105441da23755d732c91508" 385 | }, 386 | { 387 | "m_Id": "d4c4029774b84f20938bd9a98668bdd4" 388 | } 389 | ], 390 | "synonyms": [], 391 | "m_Precision": 0, 392 | "m_PreviewExpanded": true, 393 | "m_PreviewMode": 0, 394 | "m_CustomColors": { 395 | "m_SerializableColors": [] 396 | }, 397 | "m_DepthSamplingMode": 0 398 | } 399 | 400 | { 401 | "m_SGVersion": 0, 402 | "m_Type": "UnityEditor.ShaderGraph.Vector3Node", 403 | "m_ObjectId": "1f83bcb80bdf486bbac7a336b8280e45", 404 | "m_Group": { 405 | "m_Id": "" 406 | }, 407 | "m_Name": "Vector 3", 408 | "m_DrawState": { 409 | "m_Expanded": true, 410 | "m_Position": { 411 | "serializedVersion": "2", 412 | "x": -1254.0, 413 | "y": -446.0, 414 | "width": 128.0, 415 | "height": 125.0 416 | } 417 | }, 418 | "m_Slots": [ 419 | { 420 | "m_Id": "c341dc9f5297435884ad9fcc05e6a685" 421 | }, 422 | { 423 | "m_Id": "c9ab8ba500884cd0a94f90f3bd36451c" 424 | }, 425 | { 426 | "m_Id": "b89079c26fc744b18db59b1f65779811" 427 | }, 428 | { 429 | "m_Id": "d592fb7adeaa4f3696d89dad01e31fd3" 430 | } 431 | ], 432 | "synonyms": [], 433 | "m_Precision": 0, 434 | "m_PreviewExpanded": true, 435 | "m_PreviewMode": 0, 436 | "m_CustomColors": { 437 | "m_SerializableColors": [] 438 | }, 439 | "m_Value": { 440 | "x": 0.0, 441 | "y": 0.0, 442 | "z": 0.0 443 | } 444 | } 445 | 446 | { 447 | "m_SGVersion": 0, 448 | "m_Type": "UnityEditor.ShaderGraph.BlockNode", 449 | "m_ObjectId": "20acf13251314451a716949c91403408", 450 | "m_Group": { 451 | "m_Id": "" 452 | }, 453 | "m_Name": "VertexDescription.Normal", 454 | "m_DrawState": { 455 | "m_Expanded": true, 456 | "m_Position": { 457 | "serializedVersion": "2", 458 | "x": 0.0, 459 | "y": 0.0, 460 | "width": 0.0, 461 | "height": 0.0 462 | } 463 | }, 464 | "m_Slots": [ 465 | { 466 | "m_Id": "2d7ed7320cdf47669d4289b189efe408" 467 | } 468 | ], 469 | "synonyms": [], 470 | "m_Precision": 0, 471 | "m_PreviewExpanded": true, 472 | "m_PreviewMode": 0, 473 | "m_CustomColors": { 474 | "m_SerializableColors": [] 475 | }, 476 | "m_SerializedDescriptor": "VertexDescription.Normal" 477 | } 478 | 479 | { 480 | "m_SGVersion": 0, 481 | "m_Type": "UnityEditor.ShaderGraph.SubtractNode", 482 | "m_ObjectId": "22863f2a8242454196598fc017c5cd90", 483 | "m_Group": { 484 | "m_Id": "" 485 | }, 486 | "m_Name": "Subtract", 487 | "m_DrawState": { 488 | "m_Expanded": true, 489 | "m_Position": { 490 | "serializedVersion": "2", 491 | "x": -995.0000610351563, 492 | "y": 648.0, 493 | "width": 208.0, 494 | "height": 302.0 495 | } 496 | }, 497 | "m_Slots": [ 498 | { 499 | "m_Id": "acfaeda542974fdaa2e98ac9886b6ca2" 500 | }, 501 | { 502 | "m_Id": "519c600a4b1841fc9f4711b476e24034" 503 | }, 504 | { 505 | "m_Id": "5bc95c4c67994b46b180acca40cd90b8" 506 | } 507 | ], 508 | "synonyms": [], 509 | "m_Precision": 0, 510 | "m_PreviewExpanded": true, 511 | "m_PreviewMode": 0, 512 | "m_CustomColors": { 513 | "m_SerializableColors": [] 514 | } 515 | } 516 | 517 | { 518 | "m_SGVersion": 0, 519 | "m_Type": "UnityEditor.ShaderGraph.PropertyNode", 520 | "m_ObjectId": "2771b55847dc4783a179ce6f8cb6a9e2", 521 | "m_Group": { 522 | "m_Id": "" 523 | }, 524 | "m_Name": "Property", 525 | "m_DrawState": { 526 | "m_Expanded": true, 527 | "m_Position": { 528 | "serializedVersion": "2", 529 | "x": -1003.9998168945313, 530 | "y": -759.0, 531 | "width": 147.0, 532 | "height": 34.0 533 | } 534 | }, 535 | "m_Slots": [ 536 | { 537 | "m_Id": "488627fcbdf34e50b423100ab858a414" 538 | } 539 | ], 540 | "synonyms": [], 541 | "m_Precision": 0, 542 | "m_PreviewExpanded": true, 543 | "m_PreviewMode": 0, 544 | "m_CustomColors": { 545 | "m_SerializableColors": [] 546 | }, 547 | "m_Property": { 548 | "m_Id": "812bbd7d63074a5a91664afa6b4c8f8f" 549 | } 550 | } 551 | 552 | { 553 | "m_SGVersion": 0, 554 | "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", 555 | "m_ObjectId": "2d7ed7320cdf47669d4289b189efe408", 556 | "m_Id": 0, 557 | "m_DisplayName": "Normal", 558 | "m_SlotType": 0, 559 | "m_Hidden": false, 560 | "m_ShaderOutputName": "Normal", 561 | "m_StageCapability": 1, 562 | "m_Value": { 563 | "x": 0.0, 564 | "y": 0.0, 565 | "z": 0.0 566 | }, 567 | "m_DefaultValue": { 568 | "x": 0.0, 569 | "y": 0.0, 570 | "z": 0.0 571 | }, 572 | "m_Labels": [], 573 | "m_Space": 0 574 | } 575 | 576 | { 577 | "m_SGVersion": 0, 578 | "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot", 579 | "m_ObjectId": "3742efe329f34e1db975f1278cffa4b3", 580 | "m_Id": 5, 581 | "m_DisplayName": "Sampler", 582 | "m_SlotType": 0, 583 | "m_Hidden": false, 584 | "m_ShaderOutputName": "Sampler", 585 | "m_StageCapability": 3, 586 | "m_BareResource": false 587 | } 588 | 589 | { 590 | "m_SGVersion": 0, 591 | "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", 592 | "m_ObjectId": "3d242b232ea34adc828753f854168724", 593 | "m_Id": 0, 594 | "m_DisplayName": "In", 595 | "m_SlotType": 0, 596 | "m_Hidden": false, 597 | "m_ShaderOutputName": "In", 598 | "m_StageCapability": 3, 599 | "m_Value": { 600 | "x": 0.0, 601 | "y": 0.0, 602 | "z": 0.0, 603 | "w": 0.0 604 | }, 605 | "m_DefaultValue": { 606 | "x": 0.0, 607 | "y": 0.0, 608 | "z": 0.0, 609 | "w": 0.0 610 | } 611 | } 612 | 613 | { 614 | "m_SGVersion": 0, 615 | "m_Type": "UnityEditor.ShaderGraph.SampleCubemapNode", 616 | "m_ObjectId": "44ba807884b74c6e85560b470ce6dad0", 617 | "m_Group": { 618 | "m_Id": "" 619 | }, 620 | "m_Name": "Sample Reflected Cubemap", 621 | "m_DrawState": { 622 | "m_Expanded": true, 623 | "m_Position": { 624 | "serializedVersion": "2", 625 | "x": -803.0, 626 | "y": -485.0, 627 | "width": 207.99998474121095, 628 | "height": 374.0 629 | } 630 | }, 631 | "m_Slots": [ 632 | { 633 | "m_Id": "90d44abe28d6462e84888db8b16fac22" 634 | }, 635 | { 636 | "m_Id": "8fad79558d5648fc9cf9840cefada291" 637 | }, 638 | { 639 | "m_Id": "910b01ce27be404b976f400d922b7448" 640 | }, 641 | { 642 | "m_Id": "6204130b75364fb294f8df5115ed3b4e" 643 | }, 644 | { 645 | "m_Id": "3742efe329f34e1db975f1278cffa4b3" 646 | }, 647 | { 648 | "m_Id": "8233f98b65d34543b903cb8a49c99b41" 649 | } 650 | ], 651 | "synonyms": [], 652 | "m_Precision": 0, 653 | "m_PreviewExpanded": true, 654 | "m_PreviewMode": 2, 655 | "m_CustomColors": { 656 | "m_SerializableColors": [] 657 | } 658 | } 659 | 660 | { 661 | "m_SGVersion": 0, 662 | "m_Type": "UnityEditor.ShaderGraph.CubemapMaterialSlot", 663 | "m_ObjectId": "488627fcbdf34e50b423100ab858a414", 664 | "m_Id": 0, 665 | "m_DisplayName": "skyCubemap", 666 | "m_SlotType": 1, 667 | "m_Hidden": false, 668 | "m_ShaderOutputName": "Out", 669 | "m_StageCapability": 3, 670 | "m_BareResource": false 671 | } 672 | 673 | { 674 | "m_SGVersion": 0, 675 | "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", 676 | "m_ObjectId": "514fcb7a1fbf40f8a7267625416b2151", 677 | "m_Id": 1, 678 | "m_DisplayName": "B", 679 | "m_SlotType": 0, 680 | "m_Hidden": false, 681 | "m_ShaderOutputName": "B", 682 | "m_StageCapability": 3, 683 | "m_Value": { 684 | "x": 2.0, 685 | "y": 2.0, 686 | "z": 2.0, 687 | "w": 2.0 688 | }, 689 | "m_DefaultValue": { 690 | "x": 0.0, 691 | "y": 0.0, 692 | "z": 0.0, 693 | "w": 0.0 694 | } 695 | } 696 | 697 | { 698 | "m_SGVersion": 0, 699 | "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", 700 | "m_ObjectId": "519c600a4b1841fc9f4711b476e24034", 701 | "m_Id": 1, 702 | "m_DisplayName": "B", 703 | "m_SlotType": 0, 704 | "m_Hidden": false, 705 | "m_ShaderOutputName": "B", 706 | "m_StageCapability": 3, 707 | "m_Value": { 708 | "x": 1.0, 709 | "y": 1.0, 710 | "z": 1.0, 711 | "w": 1.0 712 | }, 713 | "m_DefaultValue": { 714 | "x": 0.0, 715 | "y": 0.0, 716 | "z": 0.0, 717 | "w": 0.0 718 | } 719 | } 720 | 721 | { 722 | "m_SGVersion": 0, 723 | "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", 724 | "m_ObjectId": "5bc95c4c67994b46b180acca40cd90b8", 725 | "m_Id": 2, 726 | "m_DisplayName": "Out", 727 | "m_SlotType": 1, 728 | "m_Hidden": false, 729 | "m_ShaderOutputName": "Out", 730 | "m_StageCapability": 3, 731 | "m_Value": { 732 | "x": 0.0, 733 | "y": 0.0, 734 | "z": 0.0, 735 | "w": 0.0 736 | }, 737 | "m_DefaultValue": { 738 | "x": 0.0, 739 | "y": 0.0, 740 | "z": 0.0, 741 | "w": 0.0 742 | } 743 | } 744 | 745 | { 746 | "m_SGVersion": 0, 747 | "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", 748 | "m_ObjectId": "6204130b75364fb294f8df5115ed3b4e", 749 | "m_Id": 3, 750 | "m_DisplayName": "Normal", 751 | "m_SlotType": 0, 752 | "m_Hidden": false, 753 | "m_ShaderOutputName": "Normal", 754 | "m_StageCapability": 3, 755 | "m_Value": { 756 | "x": 0.0, 757 | "y": 0.0, 758 | "z": 0.0 759 | }, 760 | "m_DefaultValue": { 761 | "x": 0.0, 762 | "y": 0.0, 763 | "z": 0.0 764 | }, 765 | "m_Labels": [], 766 | "m_Space": 0 767 | } 768 | 769 | { 770 | "m_SGVersion": 0, 771 | "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", 772 | "m_ObjectId": "6f36596270234dc0bf26741e12829523", 773 | "m_Id": 0, 774 | "m_DisplayName": "Base Color", 775 | "m_SlotType": 0, 776 | "m_Hidden": false, 777 | "m_ShaderOutputName": "BaseColor", 778 | "m_StageCapability": 2, 779 | "m_Value": { 780 | "x": 1.0, 781 | "y": 0.0, 782 | "z": 0.0 783 | }, 784 | "m_DefaultValue": { 785 | "x": 0.0, 786 | "y": 0.0, 787 | "z": 0.0 788 | }, 789 | "m_Labels": [], 790 | "m_ColorMode": 0, 791 | "m_DefaultColor": { 792 | "r": 0.5, 793 | "g": 0.5, 794 | "b": 0.5, 795 | "a": 1.0 796 | } 797 | } 798 | 799 | { 800 | "m_SGVersion": 0, 801 | "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", 802 | "m_ObjectId": "7fa93f93f4c34249b596220b3d325781", 803 | "m_Id": 0, 804 | "m_DisplayName": "A", 805 | "m_SlotType": 0, 806 | "m_Hidden": false, 807 | "m_ShaderOutputName": "A", 808 | "m_StageCapability": 3, 809 | "m_Value": { 810 | "x": 1.0, 811 | "y": 1.0, 812 | "z": 1.0, 813 | "w": 1.0 814 | }, 815 | "m_DefaultValue": { 816 | "x": 0.0, 817 | "y": 0.0, 818 | "z": 0.0, 819 | "w": 0.0 820 | } 821 | } 822 | 823 | { 824 | "m_SGVersion": 0, 825 | "m_Type": "UnityEditor.ShaderGraph.Internal.CubemapShaderProperty", 826 | "m_ObjectId": "812bbd7d63074a5a91664afa6b4c8f8f", 827 | "m_Guid": { 828 | "m_GuidSerialized": "9fe1b566-7b6f-431f-af40-e3c0e6525b5c" 829 | }, 830 | "m_Name": "skyCubemap", 831 | "m_DefaultRefNameVersion": 1, 832 | "m_RefNameGeneratedByDisplayName": "skyCubemap", 833 | "m_DefaultReferenceName": "skyCubemap", 834 | "m_OverrideReferenceName": "", 835 | "m_GeneratePropertyBlock": true, 836 | "m_Precision": 0, 837 | "overrideHLSLDeclaration": false, 838 | "hlslDeclarationOverride": 0, 839 | "m_Hidden": false, 840 | "m_Value": { 841 | "m_SerializedCubemap": "{\"cubemap\":{\"instanceID\":0}}", 842 | "m_Guid": "" 843 | }, 844 | "m_Modifiable": true 845 | } 846 | 847 | { 848 | "m_SGVersion": 0, 849 | "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", 850 | "m_ObjectId": "8233f98b65d34543b903cb8a49c99b41", 851 | "m_Id": 4, 852 | "m_DisplayName": "LOD", 853 | "m_SlotType": 0, 854 | "m_Hidden": false, 855 | "m_ShaderOutputName": "LOD", 856 | "m_StageCapability": 3, 857 | "m_Value": 0.0, 858 | "m_DefaultValue": 0.0, 859 | "m_Labels": [] 860 | } 861 | 862 | { 863 | "m_SGVersion": 0, 864 | "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", 865 | "m_ObjectId": "89c3c5e1555c4908a32e751ff7cbf575", 866 | "m_Id": 0, 867 | "m_DisplayName": "A", 868 | "m_SlotType": 0, 869 | "m_Hidden": false, 870 | "m_ShaderOutputName": "A", 871 | "m_StageCapability": 3, 872 | "m_Value": { 873 | "x": 0.0, 874 | "y": 0.0, 875 | "z": 0.0, 876 | "w": 0.0 877 | }, 878 | "m_DefaultValue": { 879 | "x": 0.0, 880 | "y": 0.0, 881 | "z": 0.0, 882 | "w": 0.0 883 | } 884 | } 885 | 886 | { 887 | "m_SGVersion": 0, 888 | "m_Type": "UnityEditor.ShaderGraph.ViewDirectionNode", 889 | "m_ObjectId": "8be5bc6b03164d68a5c5bbee07c8b205", 890 | "m_Group": { 891 | "m_Id": "" 892 | }, 893 | "m_Name": "View Direction", 894 | "m_DrawState": { 895 | "m_Expanded": true, 896 | "m_Position": { 897 | "serializedVersion": "2", 898 | "x": -1318.9998779296875, 899 | "y": -816.9999389648438, 900 | "width": 208.0, 901 | "height": 316.0 902 | } 903 | }, 904 | "m_Slots": [ 905 | { 906 | "m_Id": "c20416c6afdf4b0dbcef9671457f7572" 907 | } 908 | ], 909 | "synonyms": [], 910 | "m_Precision": 0, 911 | "m_PreviewExpanded": true, 912 | "m_PreviewMode": 2, 913 | "m_CustomColors": { 914 | "m_SerializableColors": [] 915 | }, 916 | "m_Space": 2 917 | } 918 | 919 | { 920 | "m_SGVersion": 1, 921 | "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", 922 | "m_ObjectId": "8df748d8fdd64458953480de035ee4c7", 923 | "m_Guid": { 924 | "m_GuidSerialized": "599e6778-dfab-490f-9fa2-6104106a95cd" 925 | }, 926 | "m_Name": "fogStartPercent", 927 | "m_DefaultRefNameVersion": 1, 928 | "m_RefNameGeneratedByDisplayName": "fogStartPercent", 929 | "m_DefaultReferenceName": "fogStartPercent", 930 | "m_OverrideReferenceName": "", 931 | "m_GeneratePropertyBlock": true, 932 | "m_Precision": 0, 933 | "overrideHLSLDeclaration": false, 934 | "hlslDeclarationOverride": 0, 935 | "m_Hidden": false, 936 | "m_Value": 0.5, 937 | "m_FloatType": 1, 938 | "m_RangeValues": { 939 | "x": 0.0, 940 | "y": 1.0 941 | } 942 | } 943 | 944 | { 945 | "m_SGVersion": 0, 946 | "m_Type": "UnityEditor.ShaderGraph.CubemapInputMaterialSlot", 947 | "m_ObjectId": "8fad79558d5648fc9cf9840cefada291", 948 | "m_Id": 1, 949 | "m_DisplayName": "Cube", 950 | "m_SlotType": 0, 951 | "m_Hidden": false, 952 | "m_ShaderOutputName": "Cube", 953 | "m_StageCapability": 3, 954 | "m_BareResource": false, 955 | "m_Cubemap": { 956 | "m_SerializedCubemap": "{\"cubemap\":{\"instanceID\":0}}", 957 | "m_Guid": "" 958 | } 959 | } 960 | 961 | { 962 | "m_SGVersion": 0, 963 | "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", 964 | "m_ObjectId": "90d44abe28d6462e84888db8b16fac22", 965 | "m_Id": 0, 966 | "m_DisplayName": "Out", 967 | "m_SlotType": 1, 968 | "m_Hidden": false, 969 | "m_ShaderOutputName": "Out", 970 | "m_StageCapability": 3, 971 | "m_Value": { 972 | "x": 0.0, 973 | "y": 0.0, 974 | "z": 0.0, 975 | "w": 0.0 976 | }, 977 | "m_DefaultValue": { 978 | "x": 0.0, 979 | "y": 0.0, 980 | "z": 0.0, 981 | "w": 0.0 982 | }, 983 | "m_Labels": [] 984 | } 985 | 986 | { 987 | "m_SGVersion": 0, 988 | "m_Type": "UnityEditor.ShaderGraph.ViewDirectionMaterialSlot", 989 | "m_ObjectId": "910b01ce27be404b976f400d922b7448", 990 | "m_Id": 2, 991 | "m_DisplayName": "ViewDir", 992 | "m_SlotType": 0, 993 | "m_Hidden": false, 994 | "m_ShaderOutputName": "ViewDir", 995 | "m_StageCapability": 3, 996 | "m_Value": { 997 | "x": 0.0, 998 | "y": 0.0, 999 | "z": 0.0 1000 | }, 1001 | "m_DefaultValue": { 1002 | "x": 0.0, 1003 | "y": 0.0, 1004 | "z": 0.0 1005 | }, 1006 | "m_Labels": [], 1007 | "m_Space": 0 1008 | } 1009 | 1010 | { 1011 | "m_SGVersion": 0, 1012 | "m_Type": "UnityEditor.ShaderGraph.BlockNode", 1013 | "m_ObjectId": "9310d23825474ce3b4fce6e20ec8e5ba", 1014 | "m_Group": { 1015 | "m_Id": "" 1016 | }, 1017 | "m_Name": "SurfaceDescription.Alpha", 1018 | "m_DrawState": { 1019 | "m_Expanded": true, 1020 | "m_Position": { 1021 | "serializedVersion": "2", 1022 | "x": 0.0, 1023 | "y": 0.0, 1024 | "width": 0.0, 1025 | "height": 0.0 1026 | } 1027 | }, 1028 | "m_Slots": [ 1029 | { 1030 | "m_Id": "03f79750bce04455aafef8283d4df260" 1031 | } 1032 | ], 1033 | "synonyms": [], 1034 | "m_Precision": 0, 1035 | "m_PreviewExpanded": true, 1036 | "m_PreviewMode": 0, 1037 | "m_CustomColors": { 1038 | "m_SerializableColors": [] 1039 | }, 1040 | "m_SerializedDescriptor": "SurfaceDescription.Alpha" 1041 | } 1042 | 1043 | { 1044 | "m_SGVersion": 0, 1045 | "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", 1046 | "m_ObjectId": "9fb1129fa6a745968cf89f7f538b87ea", 1047 | "m_Id": 2, 1048 | "m_DisplayName": "Out", 1049 | "m_SlotType": 1, 1050 | "m_Hidden": false, 1051 | "m_ShaderOutputName": "Out", 1052 | "m_StageCapability": 3, 1053 | "m_Value": { 1054 | "x": 0.0, 1055 | "y": 0.0, 1056 | "z": 0.0, 1057 | "w": 0.0 1058 | }, 1059 | "m_DefaultValue": { 1060 | "x": 0.0, 1061 | "y": 0.0, 1062 | "z": 0.0, 1063 | "w": 0.0 1064 | } 1065 | } 1066 | 1067 | { 1068 | "m_SGVersion": 0, 1069 | "m_Type": "UnityEditor.ShaderGraph.BlockNode", 1070 | "m_ObjectId": "a74e205b666c4d13bf735693dcd0c96a", 1071 | "m_Group": { 1072 | "m_Id": "" 1073 | }, 1074 | "m_Name": "SurfaceDescription.BaseColor", 1075 | "m_DrawState": { 1076 | "m_Expanded": true, 1077 | "m_Position": { 1078 | "serializedVersion": "2", 1079 | "x": 0.0, 1080 | "y": 0.0, 1081 | "width": 0.0, 1082 | "height": 0.0 1083 | } 1084 | }, 1085 | "m_Slots": [ 1086 | { 1087 | "m_Id": "6f36596270234dc0bf26741e12829523" 1088 | } 1089 | ], 1090 | "synonyms": [], 1091 | "m_Precision": 0, 1092 | "m_PreviewExpanded": true, 1093 | "m_PreviewMode": 0, 1094 | "m_CustomColors": { 1095 | "m_SerializableColors": [] 1096 | }, 1097 | "m_SerializedDescriptor": "SurfaceDescription.BaseColor" 1098 | } 1099 | 1100 | { 1101 | "m_SGVersion": 0, 1102 | "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", 1103 | "m_ObjectId": "a947b885a2554559844880c5decf3f46", 1104 | "m_Id": 0, 1105 | "m_DisplayName": "fogStartPercent", 1106 | "m_SlotType": 1, 1107 | "m_Hidden": false, 1108 | "m_ShaderOutputName": "Out", 1109 | "m_StageCapability": 3, 1110 | "m_Value": 0.0, 1111 | "m_DefaultValue": 0.0, 1112 | "m_Labels": [] 1113 | } 1114 | 1115 | { 1116 | "m_SGVersion": 0, 1117 | "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", 1118 | "m_ObjectId": "acfaeda542974fdaa2e98ac9886b6ca2", 1119 | "m_Id": 0, 1120 | "m_DisplayName": "A", 1121 | "m_SlotType": 0, 1122 | "m_Hidden": false, 1123 | "m_ShaderOutputName": "A", 1124 | "m_StageCapability": 3, 1125 | "m_Value": { 1126 | "x": 1.0, 1127 | "y": 1.0, 1128 | "z": 1.0, 1129 | "w": 1.0 1130 | }, 1131 | "m_DefaultValue": { 1132 | "x": 0.0, 1133 | "y": 0.0, 1134 | "z": 0.0, 1135 | "w": 0.0 1136 | } 1137 | } 1138 | 1139 | { 1140 | "m_SGVersion": 0, 1141 | "m_Type": "UnityEditor.ShaderGraph.PropertyNode", 1142 | "m_ObjectId": "b5026e10ed014fff94d662eb294bfa77", 1143 | "m_Group": { 1144 | "m_Id": "" 1145 | }, 1146 | "m_Name": "Property", 1147 | "m_DrawState": { 1148 | "m_Expanded": true, 1149 | "m_Position": { 1150 | "serializedVersion": "2", 1151 | "x": -1355.0, 1152 | "y": 484.00006103515627, 1153 | "width": 203.00001525878907, 1154 | "height": 34.000003814697269 1155 | } 1156 | }, 1157 | "m_Slots": [ 1158 | { 1159 | "m_Id": "a947b885a2554559844880c5decf3f46" 1160 | } 1161 | ], 1162 | "synonyms": [], 1163 | "m_Precision": 0, 1164 | "m_PreviewExpanded": true, 1165 | "m_PreviewMode": 0, 1166 | "m_CustomColors": { 1167 | "m_SerializableColors": [] 1168 | }, 1169 | "m_Property": { 1170 | "m_Id": "8df748d8fdd64458953480de035ee4c7" 1171 | } 1172 | } 1173 | 1174 | { 1175 | "m_SGVersion": 0, 1176 | "m_Type": "UnityEditor.ShaderGraph.ScreenPositionMaterialSlot", 1177 | "m_ObjectId": "b5c83d40b105441da23755d732c91508", 1178 | "m_Id": 0, 1179 | "m_DisplayName": "UV", 1180 | "m_SlotType": 0, 1181 | "m_Hidden": false, 1182 | "m_ShaderOutputName": "UV", 1183 | "m_StageCapability": 3, 1184 | "m_Value": { 1185 | "x": 0.0, 1186 | "y": 0.0, 1187 | "z": 0.0, 1188 | "w": 0.0 1189 | }, 1190 | "m_DefaultValue": { 1191 | "x": 0.0, 1192 | "y": 0.0, 1193 | "z": 0.0, 1194 | "w": 0.0 1195 | }, 1196 | "m_Labels": [], 1197 | "m_ScreenSpaceType": 0 1198 | } 1199 | 1200 | { 1201 | "m_SGVersion": 0, 1202 | "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", 1203 | "m_ObjectId": "b89079c26fc744b18db59b1f65779811", 1204 | "m_Id": 3, 1205 | "m_DisplayName": "Z", 1206 | "m_SlotType": 0, 1207 | "m_Hidden": false, 1208 | "m_ShaderOutputName": "Z", 1209 | "m_StageCapability": 3, 1210 | "m_Value": 0.0, 1211 | "m_DefaultValue": 0.0, 1212 | "m_Labels": [ 1213 | "Z" 1214 | ] 1215 | } 1216 | 1217 | { 1218 | "m_SGVersion": 0, 1219 | "m_Type": "UnityEditor.ShaderGraph.SubtractNode", 1220 | "m_ObjectId": "c1ec63cdc1ef43bf9f698f6b762265fc", 1221 | "m_Group": { 1222 | "m_Id": "" 1223 | }, 1224 | "m_Name": "Subtract", 1225 | "m_DrawState": { 1226 | "m_Expanded": true, 1227 | "m_Position": { 1228 | "serializedVersion": "2", 1229 | "x": -997.0000610351563, 1230 | "y": 177.0, 1231 | "width": 208.0, 1232 | "height": 302.0 1233 | } 1234 | }, 1235 | "m_Slots": [ 1236 | { 1237 | "m_Id": "7fa93f93f4c34249b596220b3d325781" 1238 | }, 1239 | { 1240 | "m_Id": "d13af127cba14be59c9d9f39324385d7" 1241 | }, 1242 | { 1243 | "m_Id": "9fb1129fa6a745968cf89f7f538b87ea" 1244 | } 1245 | ], 1246 | "synonyms": [], 1247 | "m_Precision": 0, 1248 | "m_PreviewExpanded": true, 1249 | "m_PreviewMode": 0, 1250 | "m_CustomColors": { 1251 | "m_SerializableColors": [] 1252 | } 1253 | } 1254 | 1255 | { 1256 | "m_SGVersion": 0, 1257 | "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", 1258 | "m_ObjectId": "c20416c6afdf4b0dbcef9671457f7572", 1259 | "m_Id": 0, 1260 | "m_DisplayName": "Out", 1261 | "m_SlotType": 1, 1262 | "m_Hidden": false, 1263 | "m_ShaderOutputName": "Out", 1264 | "m_StageCapability": 3, 1265 | "m_Value": { 1266 | "x": 0.0, 1267 | "y": 0.0, 1268 | "z": 0.0 1269 | }, 1270 | "m_DefaultValue": { 1271 | "x": 0.0, 1272 | "y": 0.0, 1273 | "z": 0.0 1274 | }, 1275 | "m_Labels": [] 1276 | } 1277 | 1278 | { 1279 | "m_SGVersion": 0, 1280 | "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", 1281 | "m_ObjectId": "c341dc9f5297435884ad9fcc05e6a685", 1282 | "m_Id": 1, 1283 | "m_DisplayName": "X", 1284 | "m_SlotType": 0, 1285 | "m_Hidden": false, 1286 | "m_ShaderOutputName": "X", 1287 | "m_StageCapability": 3, 1288 | "m_Value": 0.0, 1289 | "m_DefaultValue": 0.0, 1290 | "m_Labels": [] 1291 | } 1292 | 1293 | { 1294 | "m_SGVersion": 0, 1295 | "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget", 1296 | "m_ObjectId": "c9234568ee4e453a8084351083ed2a62", 1297 | "m_ActiveSubTarget": { 1298 | "m_Id": "07646fc17b29493c878532d0574ca6a6" 1299 | }, 1300 | "m_SurfaceType": 1, 1301 | "m_AlphaMode": 0, 1302 | "m_TwoSided": false, 1303 | "m_AlphaClip": false, 1304 | "m_CustomEditorGUI": "" 1305 | } 1306 | 1307 | { 1308 | "m_SGVersion": 0, 1309 | "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", 1310 | "m_ObjectId": "c9ab8ba500884cd0a94f90f3bd36451c", 1311 | "m_Id": 2, 1312 | "m_DisplayName": "Y", 1313 | "m_SlotType": 0, 1314 | "m_Hidden": false, 1315 | "m_ShaderOutputName": "Y", 1316 | "m_StageCapability": 3, 1317 | "m_Value": 0.0, 1318 | "m_DefaultValue": 0.0, 1319 | "m_Labels": [ 1320 | "Y" 1321 | ] 1322 | } 1323 | 1324 | { 1325 | "m_SGVersion": 0, 1326 | "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", 1327 | "m_ObjectId": "cc5fc99847d745f18865598624fdf7ec", 1328 | "m_Id": 2, 1329 | "m_DisplayName": "Max", 1330 | "m_SlotType": 0, 1331 | "m_Hidden": false, 1332 | "m_ShaderOutputName": "Max", 1333 | "m_StageCapability": 3, 1334 | "m_Value": { 1335 | "x": 1.0, 1336 | "y": 1.0, 1337 | "z": 1.0, 1338 | "w": 1.0 1339 | }, 1340 | "m_DefaultValue": { 1341 | "x": 0.0, 1342 | "y": 0.0, 1343 | "z": 0.0, 1344 | "w": 0.0 1345 | } 1346 | } 1347 | 1348 | { 1349 | "m_SGVersion": 0, 1350 | "m_Type": "UnityEditor.ShaderGraph.DivideNode", 1351 | "m_ObjectId": "cd2028d6dcf64d5ca455aa5528eace3f", 1352 | "m_Group": { 1353 | "m_Id": "" 1354 | }, 1355 | "m_Name": "Divide", 1356 | "m_DrawState": { 1357 | "m_Expanded": true, 1358 | "m_Position": { 1359 | "serializedVersion": "2", 1360 | "x": -653.0, 1361 | "y": 415.00006103515627, 1362 | "width": 208.0, 1363 | "height": 302.0 1364 | } 1365 | }, 1366 | "m_Slots": [ 1367 | { 1368 | "m_Id": "89c3c5e1555c4908a32e751ff7cbf575" 1369 | }, 1370 | { 1371 | "m_Id": "514fcb7a1fbf40f8a7267625416b2151" 1372 | }, 1373 | { 1374 | "m_Id": "ffa4b815575844c9ba730a4feb3bab62" 1375 | } 1376 | ], 1377 | "synonyms": [], 1378 | "m_Precision": 0, 1379 | "m_PreviewExpanded": true, 1380 | "m_PreviewMode": 0, 1381 | "m_CustomColors": { 1382 | "m_SerializableColors": [] 1383 | } 1384 | } 1385 | 1386 | { 1387 | "m_SGVersion": 0, 1388 | "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", 1389 | "m_ObjectId": "d13af127cba14be59c9d9f39324385d7", 1390 | "m_Id": 1, 1391 | "m_DisplayName": "B", 1392 | "m_SlotType": 0, 1393 | "m_Hidden": false, 1394 | "m_ShaderOutputName": "B", 1395 | "m_StageCapability": 3, 1396 | "m_Value": { 1397 | "x": 1.0, 1398 | "y": 1.0, 1399 | "z": 1.0, 1400 | "w": 1.0 1401 | }, 1402 | "m_DefaultValue": { 1403 | "x": 0.0, 1404 | "y": 0.0, 1405 | "z": 0.0, 1406 | "w": 0.0 1407 | } 1408 | } 1409 | 1410 | { 1411 | "m_SGVersion": 0, 1412 | "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot", 1413 | "m_ObjectId": "d23281b1750646d4ba1c8b0dba9f0735", 1414 | "m_Id": 0, 1415 | "m_DisplayName": "Tangent", 1416 | "m_SlotType": 0, 1417 | "m_Hidden": false, 1418 | "m_ShaderOutputName": "Tangent", 1419 | "m_StageCapability": 1, 1420 | "m_Value": { 1421 | "x": 0.0, 1422 | "y": 0.0, 1423 | "z": 0.0 1424 | }, 1425 | "m_DefaultValue": { 1426 | "x": 0.0, 1427 | "y": 0.0, 1428 | "z": 0.0 1429 | }, 1430 | "m_Labels": [], 1431 | "m_Space": 0 1432 | } 1433 | 1434 | { 1435 | "m_SGVersion": 0, 1436 | "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", 1437 | "m_ObjectId": "d385289fdb1c47cfa3d1ddfbc34fc6dc", 1438 | "m_Id": 3, 1439 | "m_DisplayName": "Out", 1440 | "m_SlotType": 1, 1441 | "m_Hidden": false, 1442 | "m_ShaderOutputName": "Out", 1443 | "m_StageCapability": 3, 1444 | "m_Value": { 1445 | "x": 0.0, 1446 | "y": 0.0, 1447 | "z": 0.0, 1448 | "w": 0.0 1449 | }, 1450 | "m_DefaultValue": { 1451 | "x": 0.0, 1452 | "y": 0.0, 1453 | "z": 0.0, 1454 | "w": 0.0 1455 | } 1456 | } 1457 | 1458 | { 1459 | "m_SGVersion": 0, 1460 | "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", 1461 | "m_ObjectId": "d4c4029774b84f20938bd9a98668bdd4", 1462 | "m_Id": 1, 1463 | "m_DisplayName": "Out", 1464 | "m_SlotType": 1, 1465 | "m_Hidden": false, 1466 | "m_ShaderOutputName": "Out", 1467 | "m_StageCapability": 2, 1468 | "m_Value": 0.0, 1469 | "m_DefaultValue": 0.0, 1470 | "m_Labels": [ 1471 | "X" 1472 | ] 1473 | } 1474 | 1475 | { 1476 | "m_SGVersion": 0, 1477 | "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", 1478 | "m_ObjectId": "d592fb7adeaa4f3696d89dad01e31fd3", 1479 | "m_Id": 0, 1480 | "m_DisplayName": "Out", 1481 | "m_SlotType": 1, 1482 | "m_Hidden": false, 1483 | "m_ShaderOutputName": "Out", 1484 | "m_StageCapability": 3, 1485 | "m_Value": { 1486 | "x": 0.0, 1487 | "y": 0.0, 1488 | "z": 0.0 1489 | }, 1490 | "m_DefaultValue": { 1491 | "x": 0.0, 1492 | "y": 0.0, 1493 | "z": 0.0 1494 | }, 1495 | "m_Labels": [] 1496 | } 1497 | 1498 | { 1499 | "m_SGVersion": 0, 1500 | "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", 1501 | "m_ObjectId": "e643fa61e1e14f9faca99b83a22312d5", 1502 | "m_Id": 1, 1503 | "m_DisplayName": "Min", 1504 | "m_SlotType": 0, 1505 | "m_Hidden": false, 1506 | "m_ShaderOutputName": "Min", 1507 | "m_StageCapability": 3, 1508 | "m_Value": { 1509 | "x": 0.0, 1510 | "y": 0.0, 1511 | "z": 0.0, 1512 | "w": 0.0 1513 | }, 1514 | "m_DefaultValue": { 1515 | "x": 0.0, 1516 | "y": 0.0, 1517 | "z": 0.0, 1518 | "w": 0.0 1519 | } 1520 | } 1521 | 1522 | { 1523 | "m_SGVersion": 0, 1524 | "m_Type": "UnityEditor.ShaderGraph.BlockNode", 1525 | "m_ObjectId": "e996d30532ef4699b027b096a546592b", 1526 | "m_Group": { 1527 | "m_Id": "" 1528 | }, 1529 | "m_Name": "VertexDescription.Tangent", 1530 | "m_DrawState": { 1531 | "m_Expanded": true, 1532 | "m_Position": { 1533 | "serializedVersion": "2", 1534 | "x": 0.0, 1535 | "y": 0.0, 1536 | "width": 0.0, 1537 | "height": 0.0 1538 | } 1539 | }, 1540 | "m_Slots": [ 1541 | { 1542 | "m_Id": "d23281b1750646d4ba1c8b0dba9f0735" 1543 | } 1544 | ], 1545 | "synonyms": [], 1546 | "m_Precision": 0, 1547 | "m_PreviewExpanded": true, 1548 | "m_PreviewMode": 0, 1549 | "m_CustomColors": { 1550 | "m_SerializableColors": [] 1551 | }, 1552 | "m_SerializedDescriptor": "VertexDescription.Tangent" 1553 | } 1554 | 1555 | { 1556 | "m_SGVersion": 0, 1557 | "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot", 1558 | "m_ObjectId": "f5c7fa688d4f4af6b165b925ce9182a9", 1559 | "m_Id": 0, 1560 | "m_DisplayName": "Position", 1561 | "m_SlotType": 0, 1562 | "m_Hidden": false, 1563 | "m_ShaderOutputName": "Position", 1564 | "m_StageCapability": 1, 1565 | "m_Value": { 1566 | "x": 0.0, 1567 | "y": 0.0, 1568 | "z": 0.0 1569 | }, 1570 | "m_DefaultValue": { 1571 | "x": 0.0, 1572 | "y": 0.0, 1573 | "z": 0.0 1574 | }, 1575 | "m_Labels": [], 1576 | "m_Space": 0 1577 | } 1578 | 1579 | { 1580 | "m_SGVersion": 0, 1581 | "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", 1582 | "m_ObjectId": "ffa4b815575844c9ba730a4feb3bab62", 1583 | "m_Id": 2, 1584 | "m_DisplayName": "Out", 1585 | "m_SlotType": 1, 1586 | "m_Hidden": false, 1587 | "m_ShaderOutputName": "Out", 1588 | "m_StageCapability": 3, 1589 | "m_Value": { 1590 | "x": 0.0, 1591 | "y": 0.0, 1592 | "z": 0.0, 1593 | "w": 0.0 1594 | }, 1595 | "m_DefaultValue": { 1596 | "x": 0.0, 1597 | "y": 0.0, 1598 | "z": 0.0, 1599 | "w": 0.0 1600 | } 1601 | } 1602 | 1603 | --------------------------------------------------------------------------------