diff --git a/Assets/LightOverride/LightOverride.cs b/Assets/LightOverride/LightOverride.cs index 2a3b1ac..5a160bc 100644 --- a/Assets/LightOverride/LightOverride.cs +++ b/Assets/LightOverride/LightOverride.cs @@ -13,8 +13,6 @@ public abstract class LightOverride : MonoBehaviour Type m_Type = Type.None; bool m_Initialized = false; Light m_Light; - TubeLight m_TubeLight; - AreaLight m_AreaLight; public bool isOn { @@ -28,8 +26,6 @@ public abstract class LightOverride : MonoBehaviour switch(m_Type) { case Type.Point: return m_Light.enabled || GetForceOn(); - case Type.Tube: return m_TubeLight.enabled || GetForceOn(); - case Type.Area: return m_AreaLight.enabled || GetForceOn(); case Type.Directional: return m_Light.enabled || GetForceOn(); } @@ -40,12 +36,10 @@ public abstract class LightOverride : MonoBehaviour } new public Light light {get{Init(); return m_Light;} private set{}} - public TubeLight tubeLight {get{Init(); return m_TubeLight;} private set{}} - public AreaLight areaLight {get{Init(); return m_AreaLight;} private set{}} public Type type {get{Init(); return m_Type;} private set{}} - // To get the "enabled" state checkbox + // To get the "enabled" state check box void Update() { @@ -67,14 +61,6 @@ public abstract class LightOverride : MonoBehaviour default: m_Type = Type.None; break; } } - else if ((m_TubeLight = GetComponent()) != null) - { - m_Type = Type.Tube; - } - else if ((m_AreaLight = GetComponent()) != null) - { - m_Type = Type.Area; - } m_Initialized = true; } diff --git a/Assets/Samples.meta b/Assets/Samples.meta new file mode 100644 index 0000000..439406b --- /dev/null +++ b/Assets/Samples.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d087b671e27cc164fa61b7a0792d84f9 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Materials.meta b/Assets/Samples/Materials.meta new file mode 100644 index 0000000..abd0a8d --- /dev/null +++ b/Assets/Samples/Materials.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 44021e8904d04fa4bab45700dd060f65 +folderAsset: yes +timeCreated: 1477748594 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Materials/StandardAlphaBlended-VolumetricFog.mat b/Assets/Samples/Materials/StandardAlphaBlended-VolumetricFog.mat new file mode 100644 index 0000000..b5287e7 --- /dev/null +++ b/Assets/Samples/Materials/StandardAlphaBlended-VolumetricFog.mat @@ -0,0 +1,31 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: StandardAlphaBlended-VolumetricFog + m_Shader: {fileID: 4800000, guid: 9dca33cc83d85fd409e8d3dfc9db5676, type: 3} + m_ShaderKeywords: + m_LightmapFlags: 5 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _Glossiness: 1 + - _Metallic: 0 + m_Colors: + - _Color: {r: 1, g: 0, b: 0, a: 0.15686275} + m_BuildTextureStacks: [] diff --git a/Assets/Samples/Materials/StandardAlphaBlended-VolumetricFog.mat.meta b/Assets/Samples/Materials/StandardAlphaBlended-VolumetricFog.mat.meta new file mode 100644 index 0000000..3d5596b --- /dev/null +++ b/Assets/Samples/Materials/StandardAlphaBlended-VolumetricFog.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b92b0577b1e30bf4ab3b04c3e6a74994 +timeCreated: 1478261393 +licenseType: Pro +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Materials/StandardAlphaBlended-VolumetricFog.shader b/Assets/Samples/Materials/StandardAlphaBlended-VolumetricFog.shader new file mode 100644 index 0000000..5e142f3 --- /dev/null +++ b/Assets/Samples/Materials/StandardAlphaBlended-VolumetricFog.shader @@ -0,0 +1,102 @@ +Shader "Custom/StandardAlphaBlended-VolumetricFog" +{ + Properties + { + _Color ("Color", Color) = (1,1,1,1) + _MainTex ("Albedo (RGB)", 2D) = "white" {} + _Glossiness ("Smoothness", Range(0,1)) = 0.5 + _Metallic ("Metallic", Range(0,1)) = 0.0 + } + SubShader + { + Tags {"Queue" = "Transparent" "RenderType"="Transparent" } + LOD 200 + + CGPROGRAM + + #pragma surface surf Standard fullforwardshadows alpha finalcolor:ApplyFog + #pragma target 3.0 + #pragma multi_compile _ VOLUMETRIC_FOG + + #if VOLUMETRIC_FOG + #include "../../VolumetricFog/Shaders/VolumetricFog.cginc" + #endif + + sampler2D _MainTex; + sampler2D _CameraDepthTexture; + + struct Input { + float2 uv_MainTex; + float4 screenPos; + }; + + void ApplyFog(Input IN, SurfaceOutputStandard o, inout fixed4 color) + { + #if VOLUMETRIC_FOG + half3 uvscreen = IN.screenPos.xyz/IN.screenPos.w; + half linear01Depth = Linear01Depth(uvscreen.z); + fixed4 fog = Fog(linear01Depth, uvscreen.xy); + + // Always apply fog attenuation - also in the forward add pass. + color.rgb *= fog.a; + + // Alpha premultiply mode (used with alpha and Standard lighting function, or explicitly alpha:premul) + // uses source blend factor of One instead of SrcAlpha. `color` is compensated for it, so we need to compensate + // the amount of inscattering too. A note on why this works: below. + #if _ALPHAPREMULTIPLY_ON + fog.rgb *= o.Alpha; + #endif + + // Add inscattering only once, so in forward base, but not forward add. + #ifndef UNITY_PASS_FORWARDADD + color.rgb += fog.rgb; + #endif + + // So why does multiplying the inscattered light by alpha work? + // In other words: how did fog ever work, if opaque objects add all of the inscattered light + // between them and the camera, and then the transparencies add even more? + // + // This is our scene initially: + // scene |---is0---------------------------------------> camera + // + // And that's with the transparent object added in between the opaque stuff and the camera: + // scene |---is1---> transparent |---is2---------------> camera + // + // When rendering, we start with the opaque part of the scene and add all the light inscattered between that and the camera: is0. + // Then we add the transparent object. It does two things (let's consider the alpha premultiply version): + // - Dims whatever was behind it (including is0) by OneMinusSrcAlpha + // - Adds light inscattered in front of it (is2), multiplied by Alpha + // + // So all in all we end up with this much inscattered light: + // is0 * OneMinusSrcAlpha + is2 * Alpha + // + // Judging by the diagram, though, the correct amount should be: + // is1 * OneMinusSrcAlpha + is2 + // + // Turns out the two expressions are equal - who would've thunk? + // is1 = is0 - is2 + // (is0 - is2) * OneMinusSrcAlpha + is2 + // is0 * OneMinusSrcAlpha - is2 * (1 - Alpha) + is2 + // is0 * OneMinusSrcAlpha - is2 + is2 * Alpha + is2 + // is0 * OneMinusSrcAlpha + is2 * Alpha + + // I leave figuring out if the fog attenuation is correct as an exercise to the reader ;) + #endif + } + + half _Glossiness; + half _Metallic; + fixed4 _Color; + + void surf (Input IN, inout SurfaceOutputStandard o) + { + fixed4 c = tex2D (_MainTex, IN.uv_MainTex) * _Color; + o.Albedo = c.rgb; + o.Metallic = _Metallic; + o.Smoothness = _Glossiness; + o.Alpha = c.a; + } + ENDCG + } + FallBack "Standard" +} \ No newline at end of file diff --git a/Assets/Samples/Materials/StandardAlphaBlended-VolumetricFog.shader.meta b/Assets/Samples/Materials/StandardAlphaBlended-VolumetricFog.shader.meta new file mode 100644 index 0000000..3842971 --- /dev/null +++ b/Assets/Samples/Materials/StandardAlphaBlended-VolumetricFog.shader.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 9dca33cc83d85fd409e8d3dfc9db5676 +timeCreated: 1478225190 +licenseType: Pro +ShaderImporter: + defaultTextures: [] + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Scripts.meta b/Assets/Samples/Scripts.meta new file mode 100644 index 0000000..1186b69 --- /dev/null +++ b/Assets/Samples/Scripts.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4acb92272573abb41864e90cc333f7b9 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Scripts/FreeCam.cs b/Assets/Samples/Scripts/FreeCam.cs new file mode 100644 index 0000000..f36936e --- /dev/null +++ b/Assets/Samples/Scripts/FreeCam.cs @@ -0,0 +1,145 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using UnityEngine; + +/// +/// A simple free camera to be added to a Unity game object. +/// +/// Keys: +/// wasd / arrows - movement +/// q/e - up/down (local space) +/// r/f - up/down (world space) +/// pageup/pagedown - up/down (world space) +/// hold shift - enable fast movement mode +/// right mouse - enable free look +/// mouse - free look / rotation +/// +/// +public class FreeCam : MonoBehaviour +{ + /// + /// Normal speed of camera movement. + /// + public float movementSpeed = 10f; + + /// + /// Speed of camera movement when shift is held down, + /// + public float fastMovementSpeed = 100f; + + /// + /// Sensitivity for free look. + /// + public float freeLookSensitivity = 3f; + + /// + /// Amount to zoom the camera when using the mouse wheel. + /// + public float zoomSensitivity = 10f; + + /// + /// Amount to zoom the camera when using the mouse wheel (fast mode). + /// + public float fastZoomSensitivity = 50f; + + /// + /// Set to true when free looking (on right mouse button). + /// + private bool looking = false; + + void Update() + { + var fastMode = Input.GetKey(KeyCode.LeftShift) || Input.GetKey(KeyCode.RightShift); + var movementSpeed = fastMode ? this.fastMovementSpeed : this.movementSpeed; + + if (Input.GetKey(KeyCode.A) || Input.GetKey(KeyCode.LeftArrow)) + { + transform.position = transform.position + (-transform.right * movementSpeed * Time.deltaTime); + } + + if (Input.GetKey(KeyCode.D) || Input.GetKey(KeyCode.RightArrow)) + { + transform.position = transform.position + (transform.right * movementSpeed * Time.deltaTime); + } + + if (Input.GetKey(KeyCode.W) || Input.GetKey(KeyCode.UpArrow)) + { + transform.position = transform.position + (transform.forward * movementSpeed * Time.deltaTime); + } + + if (Input.GetKey(KeyCode.S) || Input.GetKey(KeyCode.DownArrow)) + { + transform.position = transform.position + (-transform.forward * movementSpeed * Time.deltaTime); + } + + if (Input.GetKey(KeyCode.E)) + { + transform.position = transform.position + (transform.up * movementSpeed * Time.deltaTime); + } + + if (Input.GetKey(KeyCode.Q)) + { + transform.position = transform.position + (-transform.up * movementSpeed * Time.deltaTime); + } + + if (Input.GetKey(KeyCode.R) || Input.GetKey(KeyCode.PageUp)) + { + transform.position = transform.position + (Vector3.up * movementSpeed * Time.deltaTime); + } + + if (Input.GetKey(KeyCode.F) || Input.GetKey(KeyCode.PageDown)) + { + transform.position = transform.position + (-Vector3.up * movementSpeed * Time.deltaTime); + } + + if (looking) + { + float newRotationX = transform.localEulerAngles.y + Input.GetAxis("Mouse X") * freeLookSensitivity; + float newRotationY = transform.localEulerAngles.x - Input.GetAxis("Mouse Y") * freeLookSensitivity; + transform.localEulerAngles = new Vector3(newRotationY, newRotationX, 0f); + } + + float axis = Input.GetAxis("Mouse ScrollWheel"); + if (axis != 0) + { + var zoomSensitivity = fastMode ? this.fastZoomSensitivity : this.zoomSensitivity; + transform.position = transform.position + transform.forward * axis * zoomSensitivity; + } + + if (Input.GetKeyDown(KeyCode.Mouse1)) + { + StartLooking(); + } + else if (Input.GetKeyUp(KeyCode.Mouse1)) + { + StopLooking(); + } + } + + void OnDisable() + { + StopLooking(); + } + + /// + /// Enable free looking. + /// + public void StartLooking() + { + looking = true; + Cursor.visible = false; + Cursor.lockState = CursorLockMode.Locked; + } + + /// + /// Disable free looking. + /// + public void StopLooking() + { + looking = false; + Cursor.visible = true; + Cursor.lockState = CursorLockMode.None; + } +} diff --git a/Assets/Samples/Scripts/FreeCam.cs.meta b/Assets/Samples/Scripts/FreeCam.cs.meta new file mode 100644 index 0000000..c85bde4 --- /dev/null +++ b/Assets/Samples/Scripts/FreeCam.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 664c7d5b02a82c549a1800397404111d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Sponza.meta b/Assets/Samples/Sponza.meta new file mode 100644 index 0000000..589d54d --- /dev/null +++ b/Assets/Samples/Sponza.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4d1ed7dced10c10488b8d2895ed2726e +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Sponza.unity b/Assets/Samples/Sponza.unity new file mode 100644 index 0000000..8c0692d --- /dev/null +++ b/Assets/Samples/Sponza.unity @@ -0,0 +1,1422 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 9 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0.17510991, g: 0.21907106, b: 0.30137205, a: 1} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 12 + m_GIWorkflowMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 12 + m_Resolution: 2 + m_BakeResolution: 40 + m_AtlasSize: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 256 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 1 + m_PVRDenoiserTypeDirect: 1 + m_PVRDenoiserTypeIndirect: 1 + m_PVRDenoiserTypeAO: 1 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightProbeSampleCountMultiplier: 4 + m_LightingDataAsset: {fileID: 112000000, guid: c4dc43f551d9b9b47b0170c4fd6b3ab3, + type: 2} + m_LightingSettings: {fileID: 4890085278179872738, guid: 4dd3705b92d60eb4c988f22afb01e12a, + type: 2} +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + maxJobWorkers: 0 + preserveTilesOutsideBounds: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1001 &143889448 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 1000011378053400, guid: a81286e4a5a12aa41825352231edaae9, type: 3} + propertyPath: m_Name + value: LightManagerFogLights + objectReference: {fileID: 0} + - target: {fileID: 4000012687929690, guid: a81286e4a5a12aa41825352231edaae9, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 4000012687929690, guid: a81286e4a5a12aa41825352231edaae9, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000012687929690, guid: a81286e4a5a12aa41825352231edaae9, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000012687929690, guid: a81286e4a5a12aa41825352231edaae9, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000012687929690, guid: a81286e4a5a12aa41825352231edaae9, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4000012687929690, guid: a81286e4a5a12aa41825352231edaae9, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000012687929690, guid: a81286e4a5a12aa41825352231edaae9, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000012687929690, guid: a81286e4a5a12aa41825352231edaae9, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000012687929690, guid: a81286e4a5a12aa41825352231edaae9, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000012687929690, guid: a81286e4a5a12aa41825352231edaae9, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000012687929690, guid: a81286e4a5a12aa41825352231edaae9, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: a81286e4a5a12aa41825352231edaae9, type: 3} +--- !u!1 &290931162 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 290931165} + - component: {fileID: 290931164} + - component: {fileID: 290931163} + m_Layer: 0 + m_Name: Point Light (5) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &290931163 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 290931162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 097385f2a510795498370c4d62e61572, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IntensityMult: 5 + m_RangeMult: 1 + m_BlurShadowmapShader: {fileID: 4800000, guid: 701192b62a7678549918bc87434699fe, + type: 3} + m_CopyShadowParamsShader: {fileID: 4800000, guid: 33fc45db43408764c8dd7647b877e561, + type: 3} + m_ForceOnForFog: 0 + m_Shadows: 0 + m_ShadowmapRes: 256 + m_BlurIterations: 0 + m_BlurSize: 1 + m_ESMExponent: 40 + m_Bounded: 1 +--- !u!108 &290931164 +Light: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 290931162} + m_Enabled: 1 + serializedVersion: 10 + m_Type: 2 + m_Shape: 0 + m_Color: {r: 0, g: 1, b: 0.047058824, a: 1} + m_Intensity: 1 + m_Range: 3.3 + m_SpotAngle: 30 + m_InnerSpotAngle: 21.80208 + m_CookieSize: 10 + m_Shadows: + m_Type: 0 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_CullingMatrixOverride: + e00: 1 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 1 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 1 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 1 + m_UseCullingMatrixOverride: 0 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingLayerMask: 1 + m_Lightmapping: 4 + m_LightShadowCasterMode: 0 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 0 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} + m_UseBoundingSphereOverride: 0 + m_UseViewFrustumForShadowCasterCull: 1 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &290931165 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 290931162} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 12, y: 2.298, z: 4.053} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 10 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &478456673 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 478456675} + - component: {fileID: 478456674} + - component: {fileID: 478456676} + m_Layer: 0 + m_Name: Directional Light + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!108 &478456674 +Light: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 478456673} + m_Enabled: 1 + serializedVersion: 10 + m_Type: 1 + m_Shape: 0 + m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} + m_Intensity: 1 + m_Range: 10 + m_SpotAngle: 30 + m_InnerSpotAngle: 21.80208 + m_CookieSize: 10 + m_Shadows: + m_Type: 2 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_CullingMatrixOverride: + e00: 1 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 1 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 1 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 1 + m_UseCullingMatrixOverride: 0 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingLayerMask: 1 + m_Lightmapping: 1 + m_LightShadowCasterMode: 0 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 1 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_BoundingSphereOverride: {x: 4.5904e-41, y: -1874092, z: 4.5904e-41, w: 9.403955e-38} + m_UseBoundingSphereOverride: 0 + m_UseViewFrustumForShadowCasterCull: 1 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &478456675 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 478456673} + m_LocalRotation: {x: 0.5198367, y: -0.34618863, z: 0.24240384, w: 0.742404} + m_LocalPosition: {x: 0, y: 3, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 70, y: -50, z: 0} +--- !u!114 &478456676 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 478456673} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 097385f2a510795498370c4d62e61572, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IntensityMult: 2.94 + m_RangeMult: 1 + m_BlurShadowmapShader: {fileID: 4800000, guid: 701192b62a7678549918bc87434699fe, + type: 3} + m_CopyShadowParamsShader: {fileID: 4800000, guid: 33fc45db43408764c8dd7647b877e561, + type: 3} + m_ForceOnForFog: 0 + m_Shadows: 1 + m_ShadowmapRes: 256 + m_BlurIterations: 0 + m_BlurSize: 0 + m_ESMExponent: 40 + m_Bounded: 1 +--- !u!1 &609208438 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 609208443} + - component: {fileID: 609208442} + - component: {fileID: 609208441} + - component: {fileID: 609208440} + - component: {fileID: 609208439} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &609208439 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 609208438} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f35c02a2c6230584391703bf32006791, type: 3} + m_Name: + m_EditorClassIdentifier: + m_ShadowmapShader: {fileID: 4800000, guid: 2c4cd42b134f7864fa579350e9cf6896, type: 3} + m_InjectLightingAndDensity: {fileID: 7200000, guid: 55812fd61bd54104aa23612fc28bfeb8, + type: 3} + m_Scatter: {fileID: 7200000, guid: 2a7c01c2354d03a4e9c31096bf130b6a, type: 3} + m_ApplyToOpaqueShader: {fileID: 4800000, guid: 6f73df8e11615074dbf62a3a384af521, + type: 3} + m_BlurShadowmapShader: {fileID: 4800000, guid: 701192b62a7678549918bc87434699fe, + type: 3} + m_Noise: {fileID: 2800000, guid: 35eb47181d630134c97488476efbda59, type: 3} + m_NearClip: 0.3 + m_FarClipMax: 64 + m_GlobalDensityMult: 1 + froxelResolution: {x: 128, y: 64, z: 256} + m_ConstantFog: 1 + m_HeightFogAmount: 0 + m_HeightFogExponent: 0 + m_HeightFogOffset: 0 + m_NoiseFogAmount: 0.383 + m_NoiseFogScale: 1.23 + m_Wind: {fileID: 910011478} + m_Anisotropy: 0.496 + m_GlobalIntensityMult: 1 + m_AmbientLightIntensity: 0 + m_AmbientLightColor: {r: 0.11372549, g: 0.1254902, b: 0.13333334, a: 1} + m_DebugShader: {fileID: 4800000, guid: 91e29ad407521e447a7254f5c1ea9b54, type: 3} + m_Debug: 0 + m_Z: 1 + m_VolumeAA: 1 + m_FilterMode: 1 +--- !u!114 &609208440 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 609208438} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 664c7d5b02a82c549a1800397404111d, type: 3} + m_Name: + m_EditorClassIdentifier: + movementSpeed: 10 + fastMovementSpeed: 100 + freeLookSensitivity: 3 + zoomSensitivity: 10 + fastZoomSensitivity: 50 +--- !u!81 &609208441 +AudioListener: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 609208438} + m_Enabled: 1 +--- !u!20 &609208442 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 609208438} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_projectionMatrixMode: 1 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_FocalLength: 50 + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 60 + orthographic: 0 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: 1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 1 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!4 &609208443 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 609208438} + m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068} + m_LocalPosition: {x: -12.5, y: 2, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} +--- !u!1 &776914482 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 776914485} + - component: {fileID: 776914484} + - component: {fileID: 776914483} + m_Layer: 0 + m_Name: Point Light + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &776914483 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 776914482} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 097385f2a510795498370c4d62e61572, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IntensityMult: 5 + m_RangeMult: 1 + m_BlurShadowmapShader: {fileID: 4800000, guid: 701192b62a7678549918bc87434699fe, + type: 3} + m_CopyShadowParamsShader: {fileID: 4800000, guid: 33fc45db43408764c8dd7647b877e561, + type: 3} + m_ForceOnForFog: 0 + m_Shadows: 0 + m_ShadowmapRes: 256 + m_BlurIterations: 0 + m_BlurSize: 1 + m_ESMExponent: 40 + m_Bounded: 1 +--- !u!108 &776914484 +Light: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 776914482} + m_Enabled: 1 + serializedVersion: 10 + m_Type: 2 + m_Shape: 0 + m_Color: {r: 1, g: 0.2901961, b: 0, a: 1} + m_Intensity: 1 + m_Range: 3.16 + m_SpotAngle: 30 + m_InnerSpotAngle: 21.80208 + m_CookieSize: 10 + m_Shadows: + m_Type: 0 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_CullingMatrixOverride: + e00: 1 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 1 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 1 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 1 + m_UseCullingMatrixOverride: 0 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingLayerMask: 1 + m_Lightmapping: 4 + m_LightShadowCasterMode: 0 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 0 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} + m_UseBoundingSphereOverride: 0 + m_UseViewFrustumForShadowCasterCull: 1 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &776914485 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 776914482} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 6.192, y: 1.425, z: -2.198} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &910011477 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 189734, guid: 9efedcad2c8232b4fa0b974c01cae2c4, type: 3} + propertyPath: m_Name + value: Wind + objectReference: {fileID: 0} + - target: {fileID: 456534, guid: 9efedcad2c8232b4fa0b974c01cae2c4, type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 456534, guid: 9efedcad2c8232b4fa0b974c01cae2c4, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 456534, guid: 9efedcad2c8232b4fa0b974c01cae2c4, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 456534, guid: 9efedcad2c8232b4fa0b974c01cae2c4, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 456534, guid: 9efedcad2c8232b4fa0b974c01cae2c4, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 456534, guid: 9efedcad2c8232b4fa0b974c01cae2c4, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 456534, guid: 9efedcad2c8232b4fa0b974c01cae2c4, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 456534, guid: 9efedcad2c8232b4fa0b974c01cae2c4, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 456534, guid: 9efedcad2c8232b4fa0b974c01cae2c4, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 456534, guid: 9efedcad2c8232b4fa0b974c01cae2c4, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 456534, guid: 9efedcad2c8232b4fa0b974c01cae2c4, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 9efedcad2c8232b4fa0b974c01cae2c4, type: 3} +--- !u!114 &910011478 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 11403654, guid: 9efedcad2c8232b4fa0b974c01cae2c4, + type: 3} + m_PrefabInstance: {fileID: 910011477} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 705fc1fdc327ad04787d9b3b7a2aefe6, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!1 &989814022 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 989814025} + - component: {fileID: 989814024} + - component: {fileID: 989814023} + m_Layer: 0 + m_Name: Point Light (4) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &989814023 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 989814022} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 097385f2a510795498370c4d62e61572, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IntensityMult: 5 + m_RangeMult: 1 + m_BlurShadowmapShader: {fileID: 4800000, guid: 701192b62a7678549918bc87434699fe, + type: 3} + m_CopyShadowParamsShader: {fileID: 4800000, guid: 33fc45db43408764c8dd7647b877e561, + type: 3} + m_ForceOnForFog: 0 + m_Shadows: 0 + m_ShadowmapRes: 256 + m_BlurIterations: 0 + m_BlurSize: 1 + m_ESMExponent: 40 + m_Bounded: 1 +--- !u!108 &989814024 +Light: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 989814022} + m_Enabled: 1 + serializedVersion: 10 + m_Type: 2 + m_Shape: 0 + m_Color: {r: 0, g: 1, b: 0.047058824, a: 1} + m_Intensity: 1 + m_Range: 3.3 + m_SpotAngle: 30 + m_InnerSpotAngle: 21.80208 + m_CookieSize: 10 + m_Shadows: + m_Type: 0 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_CullingMatrixOverride: + e00: 1 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 1 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 1 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 1 + m_UseCullingMatrixOverride: 0 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingLayerMask: 1 + m_Lightmapping: 4 + m_LightShadowCasterMode: 0 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 0 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} + m_UseBoundingSphereOverride: 0 + m_UseViewFrustumForShadowCasterCull: 1 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &989814025 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 989814022} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 12, y: 2.298, z: -4.489} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 9 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &1252336425 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 100000, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100002, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100004, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100006, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100008, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100010, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100012, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100014, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100016, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100018, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100020, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100022, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100024, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100026, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100028, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100030, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100032, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100034, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100036, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100038, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100040, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100042, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100044, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100046, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100048, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100050, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100052, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100054, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100056, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100058, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100060, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100062, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_Name + value: sponza + objectReference: {fileID: 0} + - target: {fileID: 100062, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100064, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 100066, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_StaticEditorFlags + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 400062, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 400062, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_LocalPosition.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 400062, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 400062, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 400062, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 400062, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 400062, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 400062, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 400062, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 400062, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 400062, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: daac9b4c3995a03419096a650c2a9e7d, type: 3} +--- !u!1 &1425064384 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1425064387} + - component: {fileID: 1425064386} + - component: {fileID: 1425064385} + m_Layer: 0 + m_Name: Point Light (3) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1425064385 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1425064384} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 097385f2a510795498370c4d62e61572, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IntensityMult: 5 + m_RangeMult: 1 + m_BlurShadowmapShader: {fileID: 4800000, guid: 701192b62a7678549918bc87434699fe, + type: 3} + m_CopyShadowParamsShader: {fileID: 4800000, guid: 33fc45db43408764c8dd7647b877e561, + type: 3} + m_ForceOnForFog: 0 + m_Shadows: 0 + m_ShadowmapRes: 256 + m_BlurIterations: 0 + m_BlurSize: 1 + m_ESMExponent: 40 + m_Bounded: 1 +--- !u!108 &1425064386 +Light: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1425064384} + m_Enabled: 1 + serializedVersion: 10 + m_Type: 2 + m_Shape: 0 + m_Color: {r: 1, g: 0.2901961, b: 0, a: 1} + m_Intensity: 1 + m_Range: 3.16 + m_SpotAngle: 30 + m_InnerSpotAngle: 21.80208 + m_CookieSize: 10 + m_Shadows: + m_Type: 0 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_CullingMatrixOverride: + e00: 1 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 1 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 1 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 1 + m_UseCullingMatrixOverride: 0 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingLayerMask: 1 + m_Lightmapping: 4 + m_LightShadowCasterMode: 0 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 0 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} + m_UseBoundingSphereOverride: 0 + m_UseViewFrustumForShadowCasterCull: 1 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &1425064387 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1425064384} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -4.887, y: 1.425, z: 1.43} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 8 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1427729425 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1427729428} + - component: {fileID: 1427729427} + - component: {fileID: 1427729426} + m_Layer: 0 + m_Name: Point Light (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1427729426 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1427729425} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 097385f2a510795498370c4d62e61572, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IntensityMult: 5 + m_RangeMult: 1 + m_BlurShadowmapShader: {fileID: 4800000, guid: 701192b62a7678549918bc87434699fe, + type: 3} + m_CopyShadowParamsShader: {fileID: 4800000, guid: 33fc45db43408764c8dd7647b877e561, + type: 3} + m_ForceOnForFog: 0 + m_Shadows: 0 + m_ShadowmapRes: 256 + m_BlurIterations: 0 + m_BlurSize: 1 + m_ESMExponent: 40 + m_Bounded: 1 +--- !u!108 &1427729427 +Light: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1427729425} + m_Enabled: 1 + serializedVersion: 10 + m_Type: 2 + m_Shape: 0 + m_Color: {r: 1, g: 0.2901961, b: 0, a: 1} + m_Intensity: 1 + m_Range: 3.16 + m_SpotAngle: 30 + m_InnerSpotAngle: 21.80208 + m_CookieSize: 10 + m_Shadows: + m_Type: 0 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_CullingMatrixOverride: + e00: 1 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 1 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 1 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 1 + m_UseCullingMatrixOverride: 0 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingLayerMask: 1 + m_Lightmapping: 4 + m_LightShadowCasterMode: 0 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 0 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} + m_UseBoundingSphereOverride: 0 + m_UseViewFrustumForShadowCasterCull: 1 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &1427729428 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1427729425} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 6.192, y: 1.425, z: 1.43} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1751888222 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1751888225} + - component: {fileID: 1751888224} + - component: {fileID: 1751888223} + m_Layer: 0 + m_Name: Point Light (2) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1751888223 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1751888222} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 097385f2a510795498370c4d62e61572, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IntensityMult: 5 + m_RangeMult: 1 + m_BlurShadowmapShader: {fileID: 4800000, guid: 701192b62a7678549918bc87434699fe, + type: 3} + m_CopyShadowParamsShader: {fileID: 4800000, guid: 33fc45db43408764c8dd7647b877e561, + type: 3} + m_ForceOnForFog: 0 + m_Shadows: 0 + m_ShadowmapRes: 256 + m_BlurIterations: 0 + m_BlurSize: 1 + m_ESMExponent: 40 + m_Bounded: 1 +--- !u!108 &1751888224 +Light: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1751888222} + m_Enabled: 1 + serializedVersion: 10 + m_Type: 2 + m_Shape: 0 + m_Color: {r: 1, g: 0.2901961, b: 0, a: 1} + m_Intensity: 1 + m_Range: 3.16 + m_SpotAngle: 30 + m_InnerSpotAngle: 21.80208 + m_CookieSize: 10 + m_Shadows: + m_Type: 0 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_CullingMatrixOverride: + e00: 1 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 1 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 1 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 1 + m_UseCullingMatrixOverride: 0 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingLayerMask: 1 + m_Lightmapping: 4 + m_LightShadowCasterMode: 0 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 0 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} + m_UseBoundingSphereOverride: 0 + m_UseViewFrustumForShadowCasterCull: 1 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &1751888225 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1751888222} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -4.887, y: 1.425, z: -2.198} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 7 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/Assets/Samples/Sponza.unity.meta b/Assets/Samples/Sponza.unity.meta new file mode 100644 index 0000000..f08ae5a --- /dev/null +++ b/Assets/Samples/Sponza.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 4cadce0144693dc4ab03eb025d92c619 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Sponza/LightingData.asset b/Assets/Samples/Sponza/LightingData.asset new file mode 100644 index 0000000..9fa134b Binary files /dev/null and b/Assets/Samples/Sponza/LightingData.asset differ diff --git a/Assets/Samples/Sponza/LightingData.asset.meta b/Assets/Samples/Sponza/LightingData.asset.meta new file mode 100644 index 0000000..496c52d --- /dev/null +++ b/Assets/Samples/Sponza/LightingData.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c4dc43f551d9b9b47b0170c4fd6b3ab3 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 112000000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Sponza/Lightmap-0_comp_dir.png b/Assets/Samples/Sponza/Lightmap-0_comp_dir.png new file mode 100644 index 0000000..b42e91f Binary files /dev/null and b/Assets/Samples/Sponza/Lightmap-0_comp_dir.png differ diff --git a/Assets/Samples/Sponza/Lightmap-0_comp_dir.png.meta b/Assets/Samples/Sponza/Lightmap-0_comp_dir.png.meta new file mode 100644 index 0000000..2265905 --- /dev/null +++ b/Assets/Samples/Sponza/Lightmap-0_comp_dir.png.meta @@ -0,0 +1,96 @@ +fileFormatVersion: 2 +guid: b6bb216bb2ca75846b20fd60e0e1512b +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 0 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 1 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 3 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 12 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Sponza/Lightmap-0_comp_light.exr b/Assets/Samples/Sponza/Lightmap-0_comp_light.exr new file mode 100644 index 0000000..1072e03 Binary files /dev/null and b/Assets/Samples/Sponza/Lightmap-0_comp_light.exr differ diff --git a/Assets/Samples/Sponza/Lightmap-0_comp_light.exr.meta b/Assets/Samples/Sponza/Lightmap-0_comp_light.exr.meta new file mode 100644 index 0000000..2b236a7 --- /dev/null +++ b/Assets/Samples/Sponza/Lightmap-0_comp_light.exr.meta @@ -0,0 +1,96 @@ +fileFormatVersion: 2 +guid: 648317e1cba4bf94f8ed9e1521112451 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 1 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 3 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 0 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 6 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Sponza/Lightmap-0_comp_shadowmask.png b/Assets/Samples/Sponza/Lightmap-0_comp_shadowmask.png new file mode 100644 index 0000000..ea602e9 Binary files /dev/null and b/Assets/Samples/Sponza/Lightmap-0_comp_shadowmask.png differ diff --git a/Assets/Samples/Sponza/Lightmap-0_comp_shadowmask.png.meta b/Assets/Samples/Sponza/Lightmap-0_comp_shadowmask.png.meta new file mode 100644 index 0000000..c487332 --- /dev/null +++ b/Assets/Samples/Sponza/Lightmap-0_comp_shadowmask.png.meta @@ -0,0 +1,96 @@ +fileFormatVersion: 2 +guid: 18ac22c8ffc5e1347a4944c811746e2d +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 0 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 1 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 3 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 0 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 11 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Sponza/Lightmap-1_comp_dir.png b/Assets/Samples/Sponza/Lightmap-1_comp_dir.png new file mode 100644 index 0000000..946b1ed Binary files /dev/null and b/Assets/Samples/Sponza/Lightmap-1_comp_dir.png differ diff --git a/Assets/Samples/Sponza/Lightmap-1_comp_dir.png.meta b/Assets/Samples/Sponza/Lightmap-1_comp_dir.png.meta new file mode 100644 index 0000000..0e0eafb --- /dev/null +++ b/Assets/Samples/Sponza/Lightmap-1_comp_dir.png.meta @@ -0,0 +1,96 @@ +fileFormatVersion: 2 +guid: 6980e2434b1cd0743a8ca4d1f2404e3d +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 0 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 1 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 3 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 12 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Sponza/Lightmap-1_comp_light.exr b/Assets/Samples/Sponza/Lightmap-1_comp_light.exr new file mode 100644 index 0000000..adbdda3 Binary files /dev/null and b/Assets/Samples/Sponza/Lightmap-1_comp_light.exr differ diff --git a/Assets/Samples/Sponza/Lightmap-1_comp_light.exr.meta b/Assets/Samples/Sponza/Lightmap-1_comp_light.exr.meta new file mode 100644 index 0000000..4d8c4f3 --- /dev/null +++ b/Assets/Samples/Sponza/Lightmap-1_comp_light.exr.meta @@ -0,0 +1,96 @@ +fileFormatVersion: 2 +guid: 39fc75b9ab075f84e84d98b53afb1cfa +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 1 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 3 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 0 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 6 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Sponza/Lightmap-1_comp_shadowmask.png b/Assets/Samples/Sponza/Lightmap-1_comp_shadowmask.png new file mode 100644 index 0000000..ca14605 Binary files /dev/null and b/Assets/Samples/Sponza/Lightmap-1_comp_shadowmask.png differ diff --git a/Assets/Samples/Sponza/Lightmap-1_comp_shadowmask.png.meta b/Assets/Samples/Sponza/Lightmap-1_comp_shadowmask.png.meta new file mode 100644 index 0000000..11ddef6 --- /dev/null +++ b/Assets/Samples/Sponza/Lightmap-1_comp_shadowmask.png.meta @@ -0,0 +1,96 @@ +fileFormatVersion: 2 +guid: 43c544a037f41904d8592c3da8f18303 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 0 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 1 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 3 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 0 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 11 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Sponza/Lightmap-2_comp_dir.png b/Assets/Samples/Sponza/Lightmap-2_comp_dir.png new file mode 100644 index 0000000..066537c Binary files /dev/null and b/Assets/Samples/Sponza/Lightmap-2_comp_dir.png differ diff --git a/Assets/Samples/Sponza/Lightmap-2_comp_dir.png.meta b/Assets/Samples/Sponza/Lightmap-2_comp_dir.png.meta new file mode 100644 index 0000000..cf2a935 --- /dev/null +++ b/Assets/Samples/Sponza/Lightmap-2_comp_dir.png.meta @@ -0,0 +1,96 @@ +fileFormatVersion: 2 +guid: 3b9942c9261e43d468895cdbbca0c8a1 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 0 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 1 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 3 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 12 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Sponza/Lightmap-2_comp_light.exr b/Assets/Samples/Sponza/Lightmap-2_comp_light.exr new file mode 100644 index 0000000..9ffa414 Binary files /dev/null and b/Assets/Samples/Sponza/Lightmap-2_comp_light.exr differ diff --git a/Assets/Samples/Sponza/Lightmap-2_comp_light.exr.meta b/Assets/Samples/Sponza/Lightmap-2_comp_light.exr.meta new file mode 100644 index 0000000..224139f --- /dev/null +++ b/Assets/Samples/Sponza/Lightmap-2_comp_light.exr.meta @@ -0,0 +1,96 @@ +fileFormatVersion: 2 +guid: 5314a88e31b8670498faad6f6f0a5400 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 1 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 3 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 0 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 6 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Sponza/Lightmap-2_comp_shadowmask.png b/Assets/Samples/Sponza/Lightmap-2_comp_shadowmask.png new file mode 100644 index 0000000..9357834 Binary files /dev/null and b/Assets/Samples/Sponza/Lightmap-2_comp_shadowmask.png differ diff --git a/Assets/Samples/Sponza/Lightmap-2_comp_shadowmask.png.meta b/Assets/Samples/Sponza/Lightmap-2_comp_shadowmask.png.meta new file mode 100644 index 0000000..6b9439e --- /dev/null +++ b/Assets/Samples/Sponza/Lightmap-2_comp_shadowmask.png.meta @@ -0,0 +1,96 @@ +fileFormatVersion: 2 +guid: 8f0263bb6e3631f4e8afe24f90a2de9e +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 0 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 1 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 3 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 0 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 11 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Sponza/Lightmap-3_comp_dir.png b/Assets/Samples/Sponza/Lightmap-3_comp_dir.png new file mode 100644 index 0000000..cf2d14f Binary files /dev/null and b/Assets/Samples/Sponza/Lightmap-3_comp_dir.png differ diff --git a/Assets/Samples/Sponza/Lightmap-3_comp_dir.png.meta b/Assets/Samples/Sponza/Lightmap-3_comp_dir.png.meta new file mode 100644 index 0000000..5b6a47a --- /dev/null +++ b/Assets/Samples/Sponza/Lightmap-3_comp_dir.png.meta @@ -0,0 +1,96 @@ +fileFormatVersion: 2 +guid: 20ab2b178f099f44e98bbec460dc9652 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 0 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 1 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 3 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 12 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Sponza/Lightmap-3_comp_light.exr b/Assets/Samples/Sponza/Lightmap-3_comp_light.exr new file mode 100644 index 0000000..75a7a83 Binary files /dev/null and b/Assets/Samples/Sponza/Lightmap-3_comp_light.exr differ diff --git a/Assets/Samples/Sponza/Lightmap-3_comp_light.exr.meta b/Assets/Samples/Sponza/Lightmap-3_comp_light.exr.meta new file mode 100644 index 0000000..adc3211 --- /dev/null +++ b/Assets/Samples/Sponza/Lightmap-3_comp_light.exr.meta @@ -0,0 +1,96 @@ +fileFormatVersion: 2 +guid: 90a26d1bc71ccf14f95a421433452268 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 1 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 3 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 0 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 6 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Sponza/Lightmap-3_comp_shadowmask.png b/Assets/Samples/Sponza/Lightmap-3_comp_shadowmask.png new file mode 100644 index 0000000..cda1ae0 Binary files /dev/null and b/Assets/Samples/Sponza/Lightmap-3_comp_shadowmask.png differ diff --git a/Assets/Samples/Sponza/Lightmap-3_comp_shadowmask.png.meta b/Assets/Samples/Sponza/Lightmap-3_comp_shadowmask.png.meta new file mode 100644 index 0000000..cc928ca --- /dev/null +++ b/Assets/Samples/Sponza/Lightmap-3_comp_shadowmask.png.meta @@ -0,0 +1,96 @@ +fileFormatVersion: 2 +guid: bdcc3ccee1422d0449e8079f6599f0df +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 0 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 1 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 3 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 0 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 11 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Sponza/Lightmap-4_comp_dir.png b/Assets/Samples/Sponza/Lightmap-4_comp_dir.png new file mode 100644 index 0000000..622a586 Binary files /dev/null and b/Assets/Samples/Sponza/Lightmap-4_comp_dir.png differ diff --git a/Assets/Samples/Sponza/Lightmap-4_comp_dir.png.meta b/Assets/Samples/Sponza/Lightmap-4_comp_dir.png.meta new file mode 100644 index 0000000..1aed8cf --- /dev/null +++ b/Assets/Samples/Sponza/Lightmap-4_comp_dir.png.meta @@ -0,0 +1,96 @@ +fileFormatVersion: 2 +guid: a77cf10acc3fa34418d384d1f62f9bd0 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 0 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 1 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 3 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 12 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Sponza/Lightmap-4_comp_light.exr b/Assets/Samples/Sponza/Lightmap-4_comp_light.exr new file mode 100644 index 0000000..2a76d65 Binary files /dev/null and b/Assets/Samples/Sponza/Lightmap-4_comp_light.exr differ diff --git a/Assets/Samples/Sponza/Lightmap-4_comp_light.exr.meta b/Assets/Samples/Sponza/Lightmap-4_comp_light.exr.meta new file mode 100644 index 0000000..578e3e9 --- /dev/null +++ b/Assets/Samples/Sponza/Lightmap-4_comp_light.exr.meta @@ -0,0 +1,96 @@ +fileFormatVersion: 2 +guid: 79d3ad21932462142bf9a6ea62d39b95 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 1 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 3 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 0 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 6 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Sponza/Lightmap-4_comp_shadowmask.png b/Assets/Samples/Sponza/Lightmap-4_comp_shadowmask.png new file mode 100644 index 0000000..71624af Binary files /dev/null and b/Assets/Samples/Sponza/Lightmap-4_comp_shadowmask.png differ diff --git a/Assets/Samples/Sponza/Lightmap-4_comp_shadowmask.png.meta b/Assets/Samples/Sponza/Lightmap-4_comp_shadowmask.png.meta new file mode 100644 index 0000000..b459e77 --- /dev/null +++ b/Assets/Samples/Sponza/Lightmap-4_comp_shadowmask.png.meta @@ -0,0 +1,96 @@ +fileFormatVersion: 2 +guid: aefaea566e1a3ae4b9876cb8f20f2321 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 0 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 1 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 3 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 0 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 11 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Sponza/ReflectionProbe-0.exr b/Assets/Samples/Sponza/ReflectionProbe-0.exr new file mode 100644 index 0000000..fbc7fbc Binary files /dev/null and b/Assets/Samples/Sponza/ReflectionProbe-0.exr differ diff --git a/Assets/Samples/Sponza/ReflectionProbe-0.exr.meta b/Assets/Samples/Sponza/ReflectionProbe-0.exr.meta new file mode 100644 index 0000000..71cbd37 --- /dev/null +++ b/Assets/Samples/Sponza/ReflectionProbe-0.exr.meta @@ -0,0 +1,96 @@ +fileFormatVersion: 2 +guid: 205a7eae53bc1b54f96224c2b0afca4e +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 1 + seamlessCubemap: 1 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 2 + aniso: 0 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 2 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 100 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/SponzaLightingSettings.lighting b/Assets/Samples/SponzaLightingSettings.lighting new file mode 100644 index 0000000..96f5bb9 --- /dev/null +++ b/Assets/Samples/SponzaLightingSettings.lighting @@ -0,0 +1,63 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!850595691 &4890085278179872738 +LightingSettings: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: SponzaLightingSettings + serializedVersion: 3 + m_GIWorkflowMode: 1 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 0 + m_RealtimeEnvironmentLighting: 1 + m_BounceScale: 1 + m_AlbedoBoost: 1 + m_IndirectOutputScale: 1 + m_UsingShadowmask: 1 + m_BakeBackend: 2 + m_LightmapMaxSize: 1024 + m_BakeResolution: 40 + m_Padding: 2 + m_TextureCompression: 1 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAO: 0 + m_MixedBakeMode: 2 + m_LightmapsBakeMode: 1 + m_FilterMode: 1 + m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000, type: 0} + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_RealtimeResolution: 2 + m_ForceWhiteAlbedo: 0 + m_ForceUpdates: 0 + m_FinalGather: 0 + m_FinalGatherRayCount: 256 + m_FinalGatherFiltering: 1 + m_PVRCulling: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVREnvironmentSampleCount: 256 + m_PVREnvironmentReferencePointCount: 2048 + m_LightProbeSampleCountMultiplier: 4 + m_PVRBounces: 2 + m_PVRMinBounces: 1 + m_PVREnvironmentMIS: 1 + m_PVRFilteringMode: 1 + m_PVRDenoiserTypeDirect: 1 + m_PVRDenoiserTypeIndirect: 1 + m_PVRDenoiserTypeAO: 1 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 diff --git a/Assets/Samples/SponzaLightingSettings.lighting.meta b/Assets/Samples/SponzaLightingSettings.lighting.meta new file mode 100644 index 0000000..989864e --- /dev/null +++ b/Assets/Samples/SponzaLightingSettings.lighting.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4dd3705b92d60eb4c988f22afb01e12a +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 4890085278179872738 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VolumetricFog/Scripts/FogLight.DirectionalShadow.cs b/Assets/VolumetricFog/Scripts/FogLight.DirectionalShadow.cs index 6d63c0f..05fbb98 100644 --- a/Assets/VolumetricFog/Scripts/FogLight.DirectionalShadow.cs +++ b/Assets/VolumetricFog/Scripts/FogLight.DirectionalShadow.cs @@ -102,6 +102,7 @@ public partial class FogLight : LightOverride // This step should convert to ESM/VSM // m_BufGrabShadowmap.Blit(shadowmap, targetRT); m_BufGrabShadowmap.SetGlobalTexture("_DirShadowmap", shadowmap); + m_BufGrabShadowmap.SetGlobalVector("_ZParams", GetZParams()); m_BufGrabShadowmap.Blit(null, targetRT, m_BlurShadowmapMaterial, /*sample & convert to VSM*/ 4); } else @@ -118,6 +119,14 @@ public partial class FogLight : LightOverride //m_BufGrabShadowmap.SetGlobalTexture(directionalShadowmapBlurred, directionalShadowmapBlurred); } + private Vector4 GetZParams() + { + Light light = GetComponent(); + float n = light.shadowNearPlane; + float f = light.range; + return new Vector4((n - f) / n, f / n, (n - f) / (n * f), 1 / n); + } + void CleanupDirectionalShadowmap() { if (m_BufGrabShadowmap != null) diff --git a/Assets/VolumetricFog/Scripts/VolumetricFog.cs b/Assets/VolumetricFog/Scripts/VolumetricFog.cs index d1beef3..6f122cb 100644 --- a/Assets/VolumetricFog/Scripts/VolumetricFog.cs +++ b/Assets/VolumetricFog/Scripts/VolumetricFog.cs @@ -4,12 +4,9 @@ using System.Collections.Generic; using System.Runtime.InteropServices; [ExecuteInEditMode] -[RequireComponent (typeof(Camera))] +[RequireComponent(typeof(Camera))] public class VolumetricFog : MonoBehaviour { - Material m_DebugMaterial; - [HideInInspector] - public Shader m_DebugShader; [HideInInspector] public Shader m_ShadowmapShader; [HideInInspector] @@ -24,11 +21,6 @@ public class VolumetricFog : MonoBehaviour public Shader m_BlurShadowmapShader; [HideInInspector] public Texture2D m_Noise; - [HideInInspector] - public bool m_Debug = false; - [HideInInspector] - [Range(0.0f, 1.0f)] - public float m_Z = 1.0f; [Header("Size")] [MinValue(0.1f)] @@ -43,7 +35,8 @@ public class VolumetricFog : MonoBehaviour Vector3i m_ScatterNumThreads = new Vector3i(32, 2, 1); RenderTexture m_VolumeInject; RenderTexture m_VolumeScatter; - Vector3i m_VolumeResolution = new Vector3i(160, 90, 128); + [SerializeField] + private Vector3Int froxelResolution = new Vector3Int(160, 90, 128); Camera m_Camera; // Density @@ -68,6 +61,18 @@ public class VolumetricFog : MonoBehaviour public float m_AmbientLightIntensity = 0.0f; public Color m_AmbientLightColor = Color.white; + [Header("Debug")] + private Material m_DebugMaterial; + [HideInInspector] + public Shader m_DebugShader; + [HideInInspector] + public bool m_Debug = false; + [HideInInspector] + [Range(0.0f, 1.0f)] + public float m_Z = 1.0f; + public int m_VolumeAA = 0; + public FilterMode m_FilterMode = FilterMode.Bilinear; + struct Vector3i { public int x, y, z; @@ -90,43 +95,6 @@ public class VolumetricFog : MonoBehaviour PointLightParams[] m_PointLightParams; ComputeBuffer m_PointLightParamsCB; - struct TubeLightParams - { - public Vector3 start; - public float range; - public Vector3 end; - public float radius; - public Vector3 color; - float padding; - } - - TubeLightParams[] m_TubeLightParams; - ComputeBuffer m_TubeLightParamsCB; - - struct TubeLightShadowPlaneParams - { - public Vector4 plane0; - public Vector4 plane1; - public float feather0; - public float feather1; - float padding0; - float padding1; - } - - TubeLightShadowPlaneParams[] m_TubeLightShadowPlaneParams; - ComputeBuffer m_TubeLightShadowPlaneParamsCB; - - struct AreaLightParams - { - public Matrix4x4 mat; - public Vector4 pos; - public Vector3 color; - public float bounded; - } - - AreaLightParams[] m_AreaLightParams; - ComputeBuffer m_AreaLightParamsCB; - struct FogEllipsoidParams { public Vector3 pos; @@ -148,14 +116,14 @@ public class VolumetricFog : MonoBehaviour ComputeBuffer m_DummyCB; - Camera cam{ get { if (m_Camera == null) m_Camera = GetComponent(); return m_Camera; }} + Camera cam { get { if (m_Camera == null) m_Camera = GetComponent(); return m_Camera; } } float nearClip { get { return Mathf.Max(0, m_NearClip); } } float farClip { get { return Mathf.Min(cam.farClipPlane, m_FarClipMax); } } void ReleaseComputeBuffer(ref ComputeBuffer buffer) { - if(buffer != null) + if (buffer != null) buffer.Release(); buffer = null; } @@ -175,9 +143,6 @@ public class VolumetricFog : MonoBehaviour DestroyImmediate(m_VolumeInject); DestroyImmediate(m_VolumeScatter); ReleaseComputeBuffer(ref m_PointLightParamsCB); - ReleaseComputeBuffer(ref m_TubeLightParamsCB); - ReleaseComputeBuffer(ref m_TubeLightShadowPlaneParamsCB); - ReleaseComputeBuffer(ref m_AreaLightParamsCB); ReleaseComputeBuffer(ref m_FogEllipsoidParamsCB); ReleaseComputeBuffer(ref m_DummyCB); m_VolumeInject = null; @@ -227,121 +192,12 @@ public class VolumetricFog : MonoBehaviour m_InjectLightingAndDensity.SetBuffer(kernel, "_PointLights", m_PointLightParamsCB); } - TubeLightShadowPlane.Params[] sppArr; - - void SetUpTubeLightBuffers(int kernel) - { - int count = m_TubeLightParamsCB == null ? 0 : m_TubeLightParamsCB.count; - m_InjectLightingAndDensity.SetFloat("_TubeLightsCount", count); - if (count == 0) - { - // Can't not set the buffer - m_InjectLightingAndDensity.SetBuffer(kernel, "_TubeLights", m_DummyCB); - m_InjectLightingAndDensity.SetBuffer(kernel, "_TubeLightShadowPlanes", m_DummyCB); - return; - } - - if (m_TubeLightParams == null || m_TubeLightParams.Length != count) - m_TubeLightParams = new TubeLightParams[count]; - - if (m_TubeLightShadowPlaneParams == null || m_TubeLightShadowPlaneParams.Length != count) - m_TubeLightShadowPlaneParams = new TubeLightShadowPlaneParams[count]; - - HashSet fogLights = LightManagerFogLights.Get(); - - int j = 0; - for (var x = fogLights.GetEnumerator(); x.MoveNext();) - { - var fl = x.Current; - if (fl == null || fl.type != FogLight.Type.Tube || !fl.isOn) - continue; - - TubeLight light = fl.tubeLight; - Transform t = light.transform; - Vector3 pos = t.position; - Vector3 halfLength = 0.5f * t.up * light.m_Length; - - // Tube lights - m_TubeLightParams[j].start = pos + halfLength; - m_TubeLightParams[j].end = pos - halfLength; - float range = light.m_Range * fl.m_RangeMult; - m_TubeLightParams[j].range = 1.0f / (range * range); - m_TubeLightParams[j].color = new Vector3(light.m_Color.r, light.m_Color.g, light.m_Color.b) * light.m_Intensity * fl.m_IntensityMult; - m_TubeLightParams[j].radius = light.m_Radius; - - // Tube light shadow planes - var p = light.GetShadowPlaneParams(ref sppArr); - m_TubeLightShadowPlaneParams[j].plane0 = p[0].plane; - m_TubeLightShadowPlaneParams[j].plane1 = p[1].plane; - m_TubeLightShadowPlaneParams[j].feather0 = p[0].feather; - m_TubeLightShadowPlaneParams[j].feather1 = p[1].feather; - - j++; - } - - m_TubeLightParamsCB.SetData(m_TubeLightParams); - m_InjectLightingAndDensity.SetBuffer(kernel, "_TubeLights", m_TubeLightParamsCB); - m_TubeLightShadowPlaneParamsCB.SetData(m_TubeLightShadowPlaneParams); - m_InjectLightingAndDensity.SetBuffer(kernel, "_TubeLightShadowPlanes", m_TubeLightShadowPlaneParamsCB); - } - - void SetUpAreaLightBuffers(int kernel) - { - int count = m_AreaLightParamsCB == null ? 0 : m_AreaLightParamsCB.count; - m_InjectLightingAndDensity.SetFloat("_AreaLightsCount", count); - if (count == 0) - { - // Can't not set the buffers/textures - m_InjectLightingAndDensity.SetBuffer(kernel, "_AreaLights", m_DummyCB); - m_InjectLightingAndDensity.SetTexture(kernel, "_AreaLightShadowmap", Texture2D.whiteTexture); - return; - } - - if (m_AreaLightParams == null || m_AreaLightParams.Length != count) - m_AreaLightParams = new AreaLightParams[count]; - - HashSet fogLights = LightManagerFogLights.Get(); - - int shadowedAreaLightIndex = -1; - int j = 0; - for (var x = fogLights.GetEnumerator(); x.MoveNext();) - { - var fl = x.Current; - if (fl == null || fl.type != FogLight.Type.Area || !fl.isOn) - continue; - - AreaLight light = fl.areaLight; - - m_AreaLightParams[j].mat = light.GetProjectionMatrix(true); - m_AreaLightParams[j].pos = light.GetPosition(); - m_AreaLightParams[j].color = new Vector3(light.m_Color.r, light.m_Color.g, light.m_Color.b) * light.m_Intensity * fl.m_IntensityMult; - m_AreaLightParams[j].bounded = fl.m_Bounded ? 1 : 0; - - if (fl.m_Shadows) - { - RenderTexture shadowmap = light.GetBlurredShadowmap(); - if (shadowmap != null) - { - m_InjectLightingAndDensity.SetTexture(kernel, "_AreaLightShadowmap", shadowmap); - m_InjectLightingAndDensity.SetFloat("_ESMExponentAreaLight", fl.m_ESMExponent); - shadowedAreaLightIndex = j; - } - } - - j++; - } - m_AreaLightParamsCB.SetData(m_AreaLightParams); - m_InjectLightingAndDensity.SetBuffer(kernel, "_AreaLights", m_AreaLightParamsCB); - m_InjectLightingAndDensity.SetFloat("_ShadowedAreaLightIndex", shadowedAreaLightIndex < 0 ? fogLights.Count : shadowedAreaLightIndex); - if (shadowedAreaLightIndex < 0) - m_InjectLightingAndDensity.SetTexture(kernel, "_AreaLightShadowmap", Texture2D.whiteTexture); - } - void SetUpFogEllipsoidBuffers(int kernel) { int count = 0; HashSet fogEllipsoids = LightManagerFogEllipsoids.Get(); - for (var x = fogEllipsoids.GetEnumerator(); x.MoveNext();) { + for (var x = fogEllipsoids.GetEnumerator(); x.MoveNext();) + { var fe = x.Current; if (fe != null && fe.enabled && fe.gameObject.activeSelf) count++; @@ -370,7 +226,7 @@ public class VolumetricFog : MonoBehaviour m_FogEllipsoidParams[j].pos = t.position; m_FogEllipsoidParams[j].radius = fe.m_Radius * fe.m_Radius; m_FogEllipsoidParams[j].axis = -t.up; - m_FogEllipsoidParams[j].stretch = 1.0f/fe.m_Stretch - 1.0f; + m_FogEllipsoidParams[j].stretch = 1.0f / fe.m_Stretch - 1.0f; m_FogEllipsoidParams[j].density = fe.m_Density; m_FogEllipsoidParams[j].noiseAmount = fe.m_NoiseAmount; m_FogEllipsoidParams[j].noiseSpeed = fe.m_NoiseSpeed; @@ -446,19 +302,29 @@ public class VolumetricFog : MonoBehaviour m_dirLightDir[1] = dir.y; m_dirLightDir[2] = dir.z; m_InjectLightingAndDensity.SetFloats("_DirLightDir", m_dirLightDir); - + } float[] m_fogParams; float[] m_windDir; float[] m_ambientLight; + float[] m_froxelResolution; void SetUpForScatter(int kernel) { SanitizeInput(); InitResources(); SetFrustumRays(); - + + if (m_froxelResolution == null) + { + m_froxelResolution = new float[3]; + m_froxelResolution[0] = froxelResolution.x; + m_froxelResolution[1] = froxelResolution.y; + m_froxelResolution[2] = froxelResolution.z; + } + m_Scatter.SetFloats("_FroxelResolution", m_froxelResolution); + m_InjectLightingAndDensity.SetFloats("_FroxelResolution", m_froxelResolution); // Compensate for more light and density being injected in per world space meter when near and far are closer. // TODO: Not quite correct yet. float depthCompensation = (farClip - nearClip) * 0.01f; @@ -489,7 +355,7 @@ public class VolumetricFog : MonoBehaviour m_windDir[2] = windDir.z; m_InjectLightingAndDensity.SetFloats("_WindDir", m_windDir); m_InjectLightingAndDensity.SetFloat("_Time", Time.time); - m_InjectLightingAndDensity.SetFloat("_NearOverFarClip", nearClip/farClip); + m_InjectLightingAndDensity.SetFloat("_NearOverFarClip", nearClip / farClip); Color ambient = m_AmbientLightColor * m_AmbientLightIntensity * 0.1f; m_ambientLight[0] = ambient.r; m_ambientLight[1] = ambient.g; @@ -497,8 +363,6 @@ public class VolumetricFog : MonoBehaviour m_InjectLightingAndDensity.SetFloats("_AmbientLight", m_ambientLight); SetUpPointLightBuffers(kernel); - SetUpTubeLightBuffers(kernel); - SetUpAreaLightBuffers(kernel); SetUpFogEllipsoidBuffers(kernel); SetUpDirectionalLight(kernel); } @@ -506,16 +370,15 @@ public class VolumetricFog : MonoBehaviour void Scatter() { // Inject lighting and density - int kernel = 0; - + int kernel = m_InjectLightingAndDensity.FindKernel("CSMain"); SetUpForScatter(kernel); - - m_InjectLightingAndDensity.Dispatch(kernel, m_VolumeResolution.x/m_InjectNumThreads.x, m_VolumeResolution.y/m_InjectNumThreads.y, m_VolumeResolution.z/m_InjectNumThreads.z); + m_InjectLightingAndDensity.Dispatch(kernel, froxelResolution.x / m_InjectNumThreads.x, froxelResolution.y / m_InjectNumThreads.y, froxelResolution.z / m_InjectNumThreads.z); // Solve scattering - m_Scatter.SetTexture(0, "_VolumeInject", m_VolumeInject); - m_Scatter.SetTexture(0, "_VolumeScatter", m_VolumeScatter); - m_Scatter.Dispatch(0, m_VolumeResolution.x/m_ScatterNumThreads.x, m_VolumeResolution.y/m_ScatterNumThreads.y, 1); + kernel = m_Scatter.FindKernel("CSMain"); + m_Scatter.SetTexture(kernel, "_VolumeInject", m_VolumeInject); + m_Scatter.SetTexture(kernel, "_VolumeScatter", m_VolumeScatter); + m_Scatter.Dispatch(kernel, froxelResolution.x / m_ScatterNumThreads.x, froxelResolution.y / m_ScatterNumThreads.y, 1); } void DebugDisplay(RenderTexture src, RenderTexture dest) @@ -535,7 +398,7 @@ public class VolumetricFog : MonoBehaviour { Shader.SetGlobalTexture("_VolumeScatter", m_VolumeScatter); Shader.SetGlobalVector("_Screen_TexelSize", new Vector4(1.0f / width, 1.0f / height, width, height)); - Shader.SetGlobalVector("_VolumeScatter_TexelSize", new Vector4(1.0f / m_VolumeResolution.x, 1.0f / m_VolumeResolution.y, 1.0f / m_VolumeResolution.z, 0)); + Shader.SetGlobalVector("_VolumeScatter_TexelSize", new Vector4(1.0f / froxelResolution.x, 1.0f / froxelResolution.y, 1.0f / froxelResolution.z, 0)); Shader.SetGlobalFloat("_CameraFarOverMaxFar", cam.farClipPlane / farClip); Shader.SetGlobalFloat("_NearOverFarClip", nearClip / farClip); } @@ -551,7 +414,7 @@ public class VolumetricFog : MonoBehaviour return; } - if(m_Debug) + if (m_Debug) { DebugDisplay(src, dest); return; @@ -573,7 +436,7 @@ public class VolumetricFog : MonoBehaviour void OnPostRender() { - VolumetricFogInForward(false); + VolumetricFogInForward(false); } void VolumetricFogInForward(bool enable) @@ -590,8 +453,8 @@ public class VolumetricFog : MonoBehaviour return t.InverseTransformPoint(c.ViewportToWorldPoint(p)); } - static readonly Vector2[] frustumUVs = - new Vector2[] {new Vector2(0, 0), new Vector2(1, 0), new Vector2(1, 1), new Vector2(0, 1)}; + static readonly Vector2[] frustumUVs = + new Vector2[] { new Vector2(0, 0), new Vector2(1, 0), new Vector2(1, 1), new Vector2(0, 1) }; static float[] frustumRays = new float[16]; void SetFrustumRays() @@ -603,10 +466,10 @@ public class VolumetricFog : MonoBehaviour for (int i = 0; i < 4; i++) { Vector3 ray = cam.ViewportToWorldPoint(new Vector3(uvs[i].x, uvs[i].y, far)) - cameraPos; - frustumRays[i*4+0] = ray.x; - frustumRays[i*4+1] = ray.y; - frustumRays[i*4+2] = ray.z; - frustumRays[i*4+3] = 0; + frustumRays[i * 4 + 0] = ray.x; + frustumRays[i * 4 + 1] = ray.y; + frustumRays[i * 4 + 2] = ray.z; + frustumRays[i * 4 + 3] = 0; } m_InjectLightingAndDensity.SetVector("_CameraPos", cameraPos); @@ -615,13 +478,15 @@ public class VolumetricFog : MonoBehaviour void InitVolume(ref RenderTexture volume) { - if(volume) + if (volume) return; - volume = new RenderTexture (m_VolumeResolution.x, m_VolumeResolution.y, 0, RenderTextureFormat.ARGBHalf); - volume.volumeDepth = m_VolumeResolution.z; + volume = new RenderTexture(froxelResolution.x, froxelResolution.y, 0, RenderTextureFormat.ARGBHalf); + volume.volumeDepth = froxelResolution.z; volume.dimension = UnityEngine.Rendering.TextureDimension.Tex3D; volume.enableRandomWrite = true; + volume.antiAliasing = m_VolumeAA; + volume.filterMode = m_FilterMode; volume.Create(); } @@ -630,7 +495,7 @@ public class VolumetricFog : MonoBehaviour if (buffer != null && buffer.count == count) return; - if(buffer != null) + if (buffer != null) { buffer.Release(); buffer = null; @@ -642,13 +507,12 @@ public class VolumetricFog : MonoBehaviour buffer = new ComputeBuffer(count, stride); } - void InitResources () + void InitResources() { // Volume InitVolume(ref m_VolumeInject); InitVolume(ref m_VolumeScatter); - // Compute buffers int pointLightCount = 0, tubeLightCount = 0, areaLightCount = 0; HashSet fogLights = LightManagerFogLights.Get(); @@ -660,21 +524,20 @@ public class VolumetricFog : MonoBehaviour bool isOn = fl.isOn; - switch(fl.type) + switch (fl.type) { - case FogLight.Type.Point: if (isOn) pointLightCount++; break; - case FogLight.Type.Tube: if (isOn) tubeLightCount++; break; - case FogLight.Type.Area: if (isOn) areaLightCount++; break; + case FogLight.Type.Point: if (isOn) pointLightCount++; break; + case FogLight.Type.Tube: if (isOn) tubeLightCount++; break; + case FogLight.Type.Area: if (isOn) areaLightCount++; break; } } CreateBuffer(ref m_PointLightParamsCB, pointLightCount, Marshal.SizeOf(typeof(PointLightParams))); - CreateBuffer(ref m_TubeLightParamsCB, tubeLightCount, Marshal.SizeOf(typeof(TubeLightParams))); - CreateBuffer(ref m_TubeLightShadowPlaneParamsCB, tubeLightCount, Marshal.SizeOf(typeof(TubeLightShadowPlaneParams))); - CreateBuffer(ref m_AreaLightParamsCB, areaLightCount, Marshal.SizeOf(typeof(AreaLightParams))); HashSet fogEllipsoids = LightManagerFogEllipsoids.Get(); CreateBuffer(ref m_FogEllipsoidParamsCB, fogEllipsoids == null ? 0 : fogEllipsoids.Count, Marshal.SizeOf(typeof(FogEllipsoidParams))); CreateBuffer(ref m_DummyCB, 1, 4); + + // } void ReleaseTemporary(ref RenderTexture rt) @@ -715,7 +578,7 @@ public class VolumetricFog : MonoBehaviour public static string GetUnsupportedErrorMessage() { - return "Volumetric Fog requires compute shaders and this platform doesn't support them. Disabling. \nDetected device type: " + + return "Volumetric Fog requires compute shaders and this platform doesn't support them. Disabling. \nDetected device type: " + SystemInfo.graphicsDeviceType + ", version: " + SystemInfo.graphicsDeviceVersion; } } diff --git a/Assets/VolumetricFog/Shaders/BlurShadowmap.shader b/Assets/VolumetricFog/Shaders/BlurShadowmap.shader index 79afb6b..a55b658 100644 --- a/Assets/VolumetricFog/Shaders/BlurShadowmap.shader +++ b/Assets/VolumetricFog/Shaders/BlurShadowmap.shader @@ -98,7 +98,7 @@ Shader "Hidden/BlurShadowmap" { z.b = tex2D (_DirShadowmap, i.uv22).r; z.a = tex2D (_DirShadowmap, i.uv23).r; - return z.r; + // return z.r; // Transform to linear z, 0 at near, 1 at far // z = z * 2 - 1; diff --git a/Assets/VolumetricFog/Shaders/CopyShadowParams.shader b/Assets/VolumetricFog/Shaders/CopyShadowParams.shader index f05f5b1..ebaf426 100644 --- a/Assets/VolumetricFog/Shaders/CopyShadowParams.shader +++ b/Assets/VolumetricFog/Shaders/CopyShadowParams.shader @@ -6,7 +6,7 @@ { CGPROGRAM #pragma target 5.0 - #pragma only_renderers d3d11 + //#pragma only_renderers d3d11 #pragma vertex vert #pragma fragment frag #include "UnityCG.cginc" diff --git a/Assets/VolumetricFog/Shaders/Debug.shader b/Assets/VolumetricFog/Shaders/Debug.shader index 678c3f4..2f9fb51 100644 --- a/Assets/VolumetricFog/Shaders/Debug.shader +++ b/Assets/VolumetricFog/Shaders/Debug.shader @@ -44,8 +44,8 @@ CGPROGRAM { half depth = Linear01Depth(SAMPLE_DEPTH_TEXTURE(_CameraDepthTexture, i.uv)); - // return i.uv.xyyy; - return tex2D(_BoxLightShadowmap, i.uv); + //return i.uv.xyyy; + //return tex2D(_BoxLightShadowmap, i.uv); //return log(tex2D(_ShadowmapBlurred, i.uv))/80.0; return tex3D(_VolumeInject, half3(i.uv.x, i.uv.y, _Z)).a;// * tex2D(_MainTex, float2(i.uv.x, i.uv.y)); } diff --git a/Assets/VolumetricFog/Shaders/InjectLightingAndDensity.compute b/Assets/VolumetricFog/Shaders/InjectLightingAndDensity.compute index 0999162..dd9ca6a 100644 --- a/Assets/VolumetricFog/Shaders/InjectLightingAndDensity.compute +++ b/Assets/VolumetricFog/Shaders/InjectLightingAndDensity.compute @@ -1,15 +1,6 @@ -#pragma kernel CSMain TUBE_LIGHTS TUBE_LIGHT_SHADOW_PLANES FOG_ELLIPSOIDS ANISOTROPY AREA_LIGHTS POINT_LIGHTS - -// Directional light support not quite ready yet -// #pragma kernel CSMain TUBE_LIGHTS TUBE_LIGHT_SHADOW_PLANES FOG_ELLIPSOIDS ANISOTROPY AREA_LIGHTS POINT_LIGHTS DIR_LIGHT - -#define TUBE_LIGHT_ATTENUATION_LEGACY 1 -#include "..\..\TubeLight\Shaders\TubeLightAttenuation.cginc" - -#ifdef TUBE_LIGHT_SHADOW_PLANES - #include "..\..\TubeLight\Shaders\TubeLightShadowPlanes.cginc" -#endif +#pragma kernel CSMain /*FOG_ELLIPSOIDS*/ ANISOTROPY POINT_LIGHTS DIR_LIGHT DIR_LIGHT_SHADOWS /*FOG_BOMB*/ /*ATTENUATION_LEGACY*/ +float3 _FroxelResolution; RWTexture3D _VolumeInject; float4 _FrustumRays[4]; float4 _CameraPos; @@ -30,6 +21,7 @@ Texture2D _LightTextureB0; SamplerState sampler_LightTextureB0; float _NearOverFarClip; float3 _AmbientLight; + #ifdef FOG_BOMB float _FogBombRadius; float3 _FogBombPos; @@ -65,43 +57,6 @@ StructuredBuffer _PointLights; float _PointLightsCount; #endif -#ifdef TUBE_LIGHTS -struct TubeLight -{ - float3 start; - float range; - float3 end; - float radius; - float3 color; - float padding; -}; -StructuredBuffer _TubeLights; -float _TubeLightsCount; - -#ifdef TUBE_LIGHT_SHADOW_PLANES -// Same count as _TubeLightsCount -StructuredBuffer _TubeLightShadowPlanes; -#endif - -#endif // TUBE_LIGHTS - -#ifdef AREA_LIGHTS -struct AreaLight -{ - float4x4 mat; - float4 pos; // only needed for anisotropy. w: 0 ortho, 1 proj - float3 color; - float bounded; -}; -StructuredBuffer _AreaLights; -float _AreaLightsCount; -Texture2D _AreaLightShadowmap; -SamplerState sampler_AreaLightShadowmap; -float _ShadowedAreaLightIndex; -float4 _AreaLightShadowmapZParams; -float _ESMExponentAreaLight; -#endif - #ifdef FOG_ELLIPSOIDS struct FogEllipsoid { @@ -142,7 +97,7 @@ float noise(float3 x) float3 f = frac(x); f = f * f * (3.0 - 2.0 * f); float2 uv = (p.xy + float2(37.0,17.0) * p.z) + f.xy; - float2 rg = _Noise.SampleLevel(sampler_Noise, (uv + 0.5) / 256.0, 0).yx; + float2 rg = _Noise.SampleLevel(sampler_Noise, (uv + 0.5) / 128.0, 0).yx; return -1.0 + 2.0 * lerp(rg.x, rg.y, f.z); } @@ -167,6 +122,58 @@ float ScrollNoise(float3 pos, float speed, float scale, float3 dir, float amount return lerp(1.0, f, amount); } +#if ATTENUATION_LEGACY + +float Attenuation(float distNorm) +{ + return 1.0 / (1.0 + 25.0 * distNorm); +} + +float AttenuationToZero(float distNorm) +{ + float att = Attenuation(distNorm); + + // Replicating unity light attenuation - pulled to 0 at range + // if (distNorm > 0.8 * 0.8) + // att *= 1 - (distNorm - 0.8 * 0.8) / (1 - 0.8 * 0.8); + // Same, simplified + float oneDistNorm = 1.0 - distNorm; + att *= lerp(1.0, oneDistNorm * 2.78, step(0.64, distNorm)); + + att *= step(0.0, oneDistNorm); + + return att; +} + +#else + +float Attenuation(float distSqr) +{ + float d = sqrt(distSqr); + float kDefaultPointLightRadius = 0.25; + return 1.0 / pow(1.0 + d / kDefaultPointLightRadius, 2); +} + +float AttenuationToZero(float distSqr) +{ + // attenuation = 1 / (1 + distance_to_light / light_radius)^2 + // = 1 / (1 + 2*(d/r) + (d/r)^2) + // For more details see: https://imdoingitwrong.wordpress.com/2011/01/31/light-attenuation/ + float d = sqrt(distSqr); + float kDefaultPointLightRadius = 0.25; + float atten = 1.0 / pow(1.0 + d / kDefaultPointLightRadius, 2); + float kCutoff = 1.0 / pow(1.0 + 1.0 / kDefaultPointLightRadius, 2); // cutoff equal to attenuation at distance 1.0 + + // Force attenuation to fall towards zero at distance 1.0 + atten = (atten - kCutoff) / (1.f - kCutoff); + if (d >= 1.f) + atten = 0.f; + + return atten; +} + +#endif + #ifdef FOG_ELLIPSOIDS void FogEllipsoids(float3 pos, inout float density) { @@ -245,9 +252,8 @@ float anisotropy(float costheta) } #endif -#if AREA_LIGHTS || DIR_LIGHT_SHADOWS -#define VSM 1 -#if VSM +#if DIR_LIGHT +#if DIR_LIGHT_SHADOWS float ChebyshevUpperBound(float2 moments, float mean) { // Compute variance @@ -260,13 +266,9 @@ float ChebyshevUpperBound(float2 moments, float mean) float pMax = variance / (variance + (d * d)); // One-tailed Chebyshev - return (mean <= moments.x ? 1.0f : pMax); + return (mean >= moments.x ? 1.0f : pMax); } -#endif -#endif -#if DIR_LIGHT -#if DIR_LIGHT_SHADOWS float4 getCascadeWeights_splitSpheres(float3 pos) { float3 fromCenter0 = pos - _ShadowParams[0].shadowSplitSpheres[0].xyz; @@ -286,27 +288,22 @@ float4 getShadowCoord(float3 pos, float4 cascadeWeights) float3 DirectionalLight(float3 pos) { - if (!any(_DirLightColor)) - return 0; - float att = 1; #if DIR_LIGHT_SHADOWS if (_DirLightShadows > 0.0) { float4 cascadeWeights = getCascadeWeights_splitSpheres(pos); - //bool inside = dot(cascadeWeights, float4(1,1,1,1)) < 4; - float3 samplePos = getShadowCoord(pos, cascadeWeights).xyz; - //occlusion += inside ? UNITY_SAMPLE_SHADOW(u_CascadedShadowMap, samplePos) : 1.f; - #if 1 - att *= _DirectionalShadowmap.SampleLevel(sampler_DirectionalShadowmap, samplePos.xy, 0).r > samplePos.z; - #else - float2 shadowmap = _DirectionalShadowmap.SampleLevel(sampler_DirectionalShadowmap, samplePos, 0).xy; - att *= ChebyshevUpperBound(shadowmap.xy, samplePos.z); - - // float depth = exp(-40.0 * samplePos.z); - // att = saturate(shadowmap.r * depth); - #endif + float4 samplePos = getShadowCoord(pos, cascadeWeights).xyzw; + //--- + //att *= _DirectionalShadowmap.SampleLevel(sampler_DirectionalShadowmap, samplePos.xy, 0).r < samplePos.z; + //--- + float2 shadowmap = _DirectionalShadowmap.SampleLevel(sampler_DirectionalShadowmap, samplePos.xy, 0).xy; + att *= ChebyshevUpperBound(shadowmap.xy, samplePos.z / samplePos.w); + //--- + //float depth = exp(-40.0 * samplePos.z); + //att = saturate(shadowmap.r * depth); + //--- } #endif @@ -342,195 +339,31 @@ float3 PointLights(float3 pos) } #endif -#ifdef TUBE_LIGHTS -float almostIdentity(float x, float m, float n) -{ - if (x > m) - return x; - - float a = 2.0f*n - m; - float b = 2.0f*m - 3.0f*n; - float t = x/m; - - return (a*t + b)*t*t + n; -} - -float3 TubeLights(float3 pos) -{ - float3 color = 0; - for (int i = 0; i < _TubeLightsCount; i++) - { - float3 L0 = _TubeLights[i].start - pos; - float3 L1 = _TubeLights[i].end - pos; - float distNorm = 0.5f * (length(L0) * length(L1) + dot(L0, L1)) * _TubeLights[i].range; - float att = Attenuation(distNorm); - - #if ANISOTROPY - // Just like when calculating specular for area lights: - // assume forward scattering lobe -> the point on the light that's the closest to - // the view direction is representative - float3 posToCamera = normalize(pos - _CameraPos.xyz); - float3 r = -posToCamera; - float3 Ld = L1 - L0; - float L0oL0 = dot(L0, L0); - float RoL0 = dot(r, L0); - float RoLd = dot(r, Ld); - float L0oLd = dot(L0, Ld); - float LdoLd = dot(Ld, Ld); - float distLd = sqrt(LdoLd); - - #if 1 - // Smallest angle to ray - float t = (L0oLd * RoL0 - L0oL0 * RoLd) / (L0oLd * RoLd - LdoLd * RoL0); - t = saturate(t); - - // As r becomes parallel to Ld and then points away, t flips from 0 to 1 (or vv) and a discontinuity shows up. - // Counteract by detecting that relative angle/position and flip t. The discontinuity in t moves to the back side. - float3 L0xLd = cross(L0, Ld); - float3 LdxR = cross(Ld, r); - float RAtLd = dot(L0xLd, LdxR); - - // RAtLd is negative if R points away from Ld. - // TODO: check if lerp below is indeed cheaper. - // if (RAtLd < 0) - // t = 1 - t; - t = lerp(1 - t, t, step(0, RAtLd)); - - #else - // Original by Karis - // Closest distance to ray - float t = (RoL0 * RoLd - L0oLd) / (distLd * distLd - RoLd * RoLd); - t = saturate(t); - - #endif - float3 closestPoint = L0 + Ld * t; - float3 centerToRay = dot(closestPoint, r) * r - closestPoint; - // closestPoint = closestPoint + centerToRay * saturate(_TubeLights[i].radius / length(centerToRay)); - float centerToRayNorm = length(centerToRay) / _TubeLights[i].radius; - // The last param should in theory be 1 - centerToRayNorm = almostIdentity(centerToRayNorm, 2, 1.2); - closestPoint = closestPoint + centerToRay / centerToRayNorm; - - // Attenuation from the closest point looks really good if there's anisotropy, but breaks - // for (close to) isotropic medium. Probably because there's no forward lobe anymore, so - // the closest point to the view direction is not representative? But artifacts look like - // smth else is going on too. - // att = Attenuation(dot(closestPoint, closestPoint) * _TubeLights[i].range); - - float costheta = dot(posToCamera, normalize(closestPoint)); - att *= anisotropy(costheta); - #endif - - #ifdef TUBE_LIGHT_SHADOW_PLANES - att *= ShadowPlanes(pos, _TubeLightShadowPlanes[i]); - #endif - - // GDC hack - att = isnan(att) || isinf(att) ? 0 : att; - - color += _TubeLights[i].color * att; - } - return color; -} -#endif - -#ifdef AREA_LIGHTS -float3 AreaLights(float3 pos) -{ - float3 color = 0; - uint count = _AreaLightsCount; - uint shadowedAreaLightIndex = _ShadowedAreaLightIndex; - for (uint i = 0; i < count; i++) - { - float4 pClip = mul(_AreaLights[i].mat, float4(pos, 1)); - float3 p = float3(pClip.x / pClip.w, pClip.y / pClip.w, pClip.z); - float z = p.z * 0.5 + 0.5; - - float att = 1; - - if (_AreaLights[i].bounded) - { - att *= saturate(AttenuationToZero(z * z)); - - // Magic tweaks to the shape - float corner = 0.4; - float outset = 0.8; - float smooth = 0.7; - - float d = length(max(abs(p.xy) - 1 + corner*outset, 0.0)) - corner; - att *= saturate(1 - smoothstep(-smooth, 0, d)); - att *= smoothstep(-0.01, 0.01, z); - } - - #if ANISOTROPY - float3 cameraToPos = normalize(pos - _CameraPos.xyz); - float4 lightPos = _AreaLights[i].pos; - float3 posToLight = lerp(lightPos.xyz, lightPos.xyz - pos, lightPos.w); - float costheta = dot(cameraToPos, normalize(posToLight)); - att *= anisotropy(costheta); - #endif - - if (i == shadowedAreaLightIndex && all(abs(p) < 1)) - { - #if VSM - float2 shadowmap = _AreaLightShadowmap.SampleLevel(sampler_AreaLightShadowmap, p.xy * 0.5 + 0.5, 0).xy; - att *= ChebyshevUpperBound(shadowmap.xy, z); - #else - float shadowmap = _AreaLightShadowmap.SampleLevel(sampler_AreaLightShadowmap, p.xy * 0.5 + 0.5, 0); - float depth = exp(-_ESMExponentAreaLight * z); - att *= saturate(shadowmap * depth); - #endif - } - - color += _AreaLights[i].color * att; - } - return color; -} -#endif - - [numthreads(16,2,16)] void CSMain (uint3 id : SV_DispatchThreadID) { float3 color = _AmbientLight; - float2 uv = float2(id.x/159.0, id.y/89.0); - float z = id.z/127.0; + float2 uv = float2(id.x / (_FroxelResolution.x - 1), id.y / (_FroxelResolution.y - 1)); + float z = id.z / (_FroxelResolution.z - 1); z = _NearOverFarClip + z * (1 - _NearOverFarClip); float3 pos = FrustumRay(uv, _FrustumRays) * z + _CameraPos.xyz; - // Directional light #ifdef DIR_LIGHT color += DirectionalLight(pos); #endif - // Point lights #ifdef POINT_LIGHTS color += PointLights(pos); #endif - - // Tube lights - #ifdef TUBE_LIGHTS - color += TubeLights(pos); - #endif - - - // Area lights - #ifdef AREA_LIGHTS - color += AreaLights(pos); - #endif - - // Density float density = Density(pos); - // Output float4 output; output.rgb = _Intensity * density * color; output.a = density; _VolumeInject[id] = output; -} - +} \ No newline at end of file diff --git a/Assets/VolumetricFog/Shaders/Scatter.compute b/Assets/VolumetricFog/Shaders/Scatter.compute index d8d651d..dcce44e 100644 --- a/Assets/VolumetricFog/Shaders/Scatter.compute +++ b/Assets/VolumetricFog/Shaders/Scatter.compute @@ -2,15 +2,15 @@ // https://bartwronski.com/publications/ #pragma kernel CSMain -#define VOLUME_DEPTH 128.0 +float3 _FroxelResolution; Texture3D _VolumeInject; RWTexture3D _VolumeScatter; float4 ScatterStep(float3 accumulatedLight, float accumulatedTransmittance, float3 sliceLight, float sliceDensity) { sliceDensity = max(sliceDensity, 0.000001); - float sliceTransmittance = exp(-sliceDensity / VOLUME_DEPTH); + float sliceTransmittance = exp(-sliceDensity / _FroxelResolution.z); // Seb Hillaire's improved transmission by calculating an integral over slice depth instead of // constant per slice value. Light still constant per slice, but that's acceptable. See slide 28 of @@ -30,7 +30,7 @@ void CSMain (uint3 id : SV_DispatchThreadID) // Store transmission in .a, as opposed to density in _VolumeInject float4 accum = float4(0, 0, 0, 1); uint3 pos = uint3(id.xy, 0); - uint steps = VOLUME_DEPTH; + uint steps = _FroxelResolution.z; for(uint z = 0; z < steps; z++) { diff --git a/Assets/VolumetricFog/Shaders/Shadowmap.shader b/Assets/VolumetricFog/Shaders/Shadowmap.shader index 178a7f2..85c051f 100644 --- a/Assets/VolumetricFog/Shaders/Shadowmap.shader +++ b/Assets/VolumetricFog/Shaders/Shadowmap.shader @@ -1,32 +1,33 @@ Shader "Hidden/Shadowmap" { -SubShader { - Tags { "RenderType"="Opaque" } -Pass -{ - Fog { Mode Off } - Cull Back - CGPROGRAM - #pragma vertex vert - #pragma fragment frag - #include "UnityCG.cginc" + SubShader{ + Tags { + "RenderType" = "Opaque" + } + Pass { + Fog { Mode Off } + Cull Back + CGPROGRAM + #pragma vertex vert + #pragma fragment frag + #include "UnityCG.cginc" - struct v2f - { - float4 pos : SV_POSITION; - }; + struct v2f + { + float4 pos : SV_POSITION; + }; - v2f vert (appdata_base v) - { - v2f o; - o.pos = UnityObjectToClipPos (v.vertex); - return o; - } + v2f vert(appdata_base v) + { + v2f o; + o.pos = UnityObjectToClipPos(v.vertex); + return o; + } - float4 frag(v2f i) : COLOR - { - return 0; - } - ENDCG -} -} + float4 frag(v2f i) : COLOR + { + return 0; + } + ENDCG + } + } } \ No newline at end of file diff --git a/Packages/manifest.json b/Packages/manifest.json index f222880..ca9eb60 100644 --- a/Packages/manifest.json +++ b/Packages/manifest.json @@ -1,12 +1,11 @@ { "dependencies": { - "com.unity.ads": "2.0.8", - "com.unity.analytics": "3.0.9", - "com.unity.collab-proxy": "1.2.9", - "com.unity.package-manager-ui": "2.0.1", - "com.unity.purchasing": "2.0.3", - "com.unity.textmeshpro": "1.3.0", + "com.unity.ide.visualstudio": "2.0.14", + "com.unity.ide.vscode": "1.2.5", + "com.unity.ugui": "1.0.0", + "jp.keijiro.dabrovic-sponza": "https://github.com/keijiro/DabrovicSponza.git#upm", "com.unity.modules.ai": "1.0.0", + "com.unity.modules.androidjni": "1.0.0", "com.unity.modules.animation": "1.0.0", "com.unity.modules.assetbundle": "1.0.0", "com.unity.modules.audio": "1.0.0", diff --git a/Packages/packages-lock.json b/Packages/packages-lock.json new file mode 100644 index 0000000..fa282cd --- /dev/null +++ b/Packages/packages-lock.json @@ -0,0 +1,308 @@ +{ + "dependencies": { + "com.unity.ext.nunit": { + "version": "1.0.6", + "depth": 2, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.ide.visualstudio": { + "version": "2.0.14", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.test-framework": "1.1.9" + }, + "url": "https://packages.unity.com" + }, + "com.unity.ide.vscode": { + "version": "1.2.5", + "depth": 0, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.test-framework": { + "version": "1.1.29", + "depth": 1, + "source": "registry", + "dependencies": { + "com.unity.ext.nunit": "1.0.6", + "com.unity.modules.imgui": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0" + }, + "url": "https://packages.unity.com" + }, + "com.unity.ugui": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.ui": "1.0.0", + "com.unity.modules.imgui": "1.0.0" + } + }, + "jp.keijiro.dabrovic-sponza": { + "version": "https://github.com/keijiro/DabrovicSponza.git#upm", + "depth": 0, + "source": "git", + "dependencies": {}, + "hash": "24ec3c682d9a125a3d92f7d6070b6a118aa1f973" + }, + "com.unity.modules.ai": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.androidjni": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.animation": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.assetbundle": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.audio": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.cloth": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.physics": "1.0.0" + } + }, + "com.unity.modules.director": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.audio": "1.0.0", + "com.unity.modules.animation": "1.0.0" + } + }, + "com.unity.modules.imageconversion": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.imgui": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.jsonserialize": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.particlesystem": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.physics": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.physics2d": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.screencapture": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.imageconversion": "1.0.0" + } + }, + "com.unity.modules.subsystems": { + "version": "1.0.0", + "depth": 1, + "source": "builtin", + "dependencies": { + "com.unity.modules.jsonserialize": "1.0.0" + } + }, + "com.unity.modules.terrain": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.terrainphysics": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.physics": "1.0.0", + "com.unity.modules.terrain": "1.0.0" + } + }, + "com.unity.modules.tilemap": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.physics2d": "1.0.0" + } + }, + "com.unity.modules.ui": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.uielements": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.ui": "1.0.0", + "com.unity.modules.imgui": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0", + "com.unity.modules.uielementsnative": "1.0.0" + } + }, + "com.unity.modules.uielementsnative": { + "version": "1.0.0", + "depth": 1, + "source": "builtin", + "dependencies": { + "com.unity.modules.ui": "1.0.0", + "com.unity.modules.imgui": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0" + } + }, + "com.unity.modules.umbra": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.unityanalytics": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.unitywebrequest": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0" + } + }, + "com.unity.modules.unitywebrequest": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.unitywebrequestassetbundle": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.assetbundle": "1.0.0", + "com.unity.modules.unitywebrequest": "1.0.0" + } + }, + "com.unity.modules.unitywebrequestaudio": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.unitywebrequest": "1.0.0", + "com.unity.modules.audio": "1.0.0" + } + }, + "com.unity.modules.unitywebrequesttexture": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.unitywebrequest": "1.0.0", + "com.unity.modules.imageconversion": "1.0.0" + } + }, + "com.unity.modules.unitywebrequestwww": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.unitywebrequest": "1.0.0", + "com.unity.modules.unitywebrequestassetbundle": "1.0.0", + "com.unity.modules.unitywebrequestaudio": "1.0.0", + "com.unity.modules.audio": "1.0.0", + "com.unity.modules.assetbundle": "1.0.0", + "com.unity.modules.imageconversion": "1.0.0" + } + }, + "com.unity.modules.vehicles": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.physics": "1.0.0" + } + }, + "com.unity.modules.video": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.audio": "1.0.0", + "com.unity.modules.ui": "1.0.0", + "com.unity.modules.unitywebrequest": "1.0.0" + } + }, + "com.unity.modules.vr": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.jsonserialize": "1.0.0", + "com.unity.modules.physics": "1.0.0", + "com.unity.modules.xr": "1.0.0" + } + }, + "com.unity.modules.wind": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.xr": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.physics": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0", + "com.unity.modules.subsystems": "1.0.0" + } + } + } +} diff --git a/ProjectSettings/GraphicsSettings.asset b/ProjectSettings/GraphicsSettings.asset index 9c42eaf..bd5b0a6 100644 --- a/ProjectSettings/GraphicsSettings.asset +++ b/ProjectSettings/GraphicsSettings.asset @@ -3,7 +3,7 @@ --- !u!30 &1 GraphicsSettings: m_ObjectHideFlags: 0 - serializedVersion: 10 + serializedVersion: 13 m_Deferred: m_Mode: 1 m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} @@ -28,6 +28,7 @@ GraphicsSettings: m_LensFlare: m_Mode: 1 m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} + m_VideoShadersIncludeMode: 2 m_AlwaysIncludedShaders: - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} @@ -40,20 +41,77 @@ GraphicsSettings: m_PreloadedShaders: [] m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_CustomRenderPipeline: {fileID: 0} m_TransparencySortMode: 0 m_TransparencySortAxis: {x: 0, y: 0, z: 1} m_DefaultRenderingPath: 3 m_DefaultMobileRenderingPath: 1 - m_TierSettings: [] + m_TierSettings: + - serializedVersion: 5 + m_BuildTarget: 7 + m_Tier: 0 + m_Settings: + standardShaderQuality: 0 + renderingPath: 3 + hdrMode: 2 + realtimeGICPUUsage: 25 + useReflectionProbeBoxProjection: 0 + useReflectionProbeBlending: 0 + useHDR: 0 + useDetailNormalMap: 0 + useCascadedShadowMaps: 1 + prefer32BitShadowMaps: 0 + enableLPPV: 0 + useDitherMaskForAlphaBlendedShadows: 0 + m_Automatic: 0 + - serializedVersion: 5 + m_BuildTarget: 7 + m_Tier: 1 + m_Settings: + standardShaderQuality: 1 + renderingPath: 3 + hdrMode: 2 + realtimeGICPUUsage: 25 + useReflectionProbeBoxProjection: 0 + useReflectionProbeBlending: 0 + useHDR: 0 + useDetailNormalMap: 0 + useCascadedShadowMaps: 1 + prefer32BitShadowMaps: 0 + enableLPPV: 0 + useDitherMaskForAlphaBlendedShadows: 0 + m_Automatic: 0 + - serializedVersion: 5 + m_BuildTarget: 7 + m_Tier: 2 + m_Settings: + standardShaderQuality: 1 + renderingPath: 3 + hdrMode: 2 + realtimeGICPUUsage: 25 + useReflectionProbeBoxProjection: 0 + useReflectionProbeBlending: 0 + useHDR: 0 + useDetailNormalMap: 0 + useCascadedShadowMaps: 1 + prefer32BitShadowMaps: 0 + enableLPPV: 0 + useDitherMaskForAlphaBlendedShadows: 0 + m_Automatic: 0 m_LightmapStripping: 0 m_FogStripping: 0 + m_InstancingStripping: 0 m_LightmapKeepPlain: 1 m_LightmapKeepDirCombined: 1 - m_LightmapKeepDirSeparate: 1 m_LightmapKeepDynamicPlain: 1 m_LightmapKeepDynamicDirCombined: 1 - m_LightmapKeepDynamicDirSeparate: 1 + m_LightmapKeepShadowMask: 1 + m_LightmapKeepSubtractive: 1 m_FogKeepLinear: 1 m_FogKeepExp: 1 m_FogKeepExp2: 1 m_AlbedoSwatchInfos: [] + m_LightsUseLinearIntensity: 0 + m_LightsUseColorTemperature: 0 + m_DefaultRenderingLayerMask: 1 + m_LogWhenShaderIsCompiled: 0 diff --git a/ProjectSettings/PackageManagerSettings.asset b/ProjectSettings/PackageManagerSettings.asset new file mode 100644 index 0000000..b01b2f8 --- /dev/null +++ b/ProjectSettings/PackageManagerSettings.asset @@ -0,0 +1,43 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &1 +MonoBehaviour: + m_ObjectHideFlags: 61 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0} + m_Name: + m_EditorClassIdentifier: + m_EnablePreviewPackages: 1 + m_EnablePackageDependencies: 1 + m_AdvancedSettingsExpanded: 1 + m_ScopedRegistriesSettingsExpanded: 1 + oneTimeWarningShown: 1 + m_Registries: + - m_Id: main + m_Name: + m_Url: https://packages.unity.com + m_Scopes: [] + m_IsDefault: 1 + m_Capabilities: 7 + m_UserSelectedRegistryName: + m_UserAddingNewScopedRegistry: 0 + m_RegistryInfoDraft: + m_ErrorMessage: + m_Original: + m_Id: + m_Name: + m_Url: + m_Scopes: [] + m_IsDefault: 0 + m_Capabilities: 0 + m_Modified: 0 + m_Name: + m_Url: + m_Scopes: + - + m_SelectedScopeIndex: 0 diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index 7645067..32e247c 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -3,9 +3,11 @@ --- !u!129 &1 PlayerSettings: m_ObjectHideFlags: 0 - serializedVersion: 10 + serializedVersion: 22 productGUID: 23332c6eaf55d8e45869d96f5ac9db39 AndroidProfiler: 0 + AndroidFilterTouchesWhenObscured: 0 + AndroidEnableSustainedPerformanceMode: 0 defaultScreenOrientation: 4 targetDevice: 2 useOnDemandResources: 0 @@ -14,7 +16,7 @@ PlayerSettings: productName: New Unity Project defaultCursor: {fileID: 0} cursorHotspot: {x: 0, y: 0} - m_SplashScreenBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21176471, a: 1} + m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} m_ShowUnitySplashScreen: 1 m_ShowUnitySplashLogo: 1 m_SplashScreenOverlayOpacity: 1 @@ -38,8 +40,6 @@ PlayerSettings: width: 1 height: 1 m_SplashScreenLogos: [] - m_SplashScreenBackgroundLandscape: {fileID: 0} - m_SplashScreenBackgroundPortrait: {fileID: 0} m_VirtualRealitySplashScreen: {fileID: 0} m_HolographicTrackingLossScreen: {fileID: 0} defaultScreenWidth: 1920 @@ -49,13 +49,12 @@ PlayerSettings: m_StereoRenderingPath: 0 m_ActiveColorSpace: 1 m_MTRendering: 1 - m_MobileMTRendering: 0 + mipStripping: 0 + numberOfMipsStripped: 0 m_StackTraceTypes: 010000000100000001000000010000000100000001000000 iosShowActivityIndicatorOnLoading: -1 androidShowActivityIndicatorOnLoading: -1 - tizenShowActivityIndicatorOnLoading: -1 - iosAppInBackgroundBehavior: 0 - displayResolutionDialog: 1 + iosUseCustomAppBackgroundBehavior: 0 iosAllowHTTPDownload: 1 allowedAutorotateToPortrait: 1 allowedAutorotateToPortraitUpsideDown: 1 @@ -63,21 +62,36 @@ PlayerSettings: allowedAutorotateToLandscapeLeft: 1 useOSAutorotation: 1 use32BitDisplayBuffer: 1 + preserveFramebufferAlpha: 0 disableDepthAndStencilBuffers: 0 - defaultIsFullScreen: 0 + androidStartInFullscreen: 1 + androidRenderOutsideSafeArea: 1 + androidUseSwappy: 0 + androidBlitType: 0 + androidResizableWindow: 0 + androidDefaultWindowWidth: 1920 + androidDefaultWindowHeight: 1080 + androidMinimumWindowWidth: 400 + androidMinimumWindowHeight: 300 + androidFullscreenMode: 1 defaultIsNativeResolution: 1 + macRetinaSupport: 1 runInBackground: 0 captureSingleScreen: 0 muteOtherAudioSources: 0 Prepare IOS For Recording: 0 + Force IOS Speakers When Recording: 0 + deferSystemGesturesMode: 0 + hideHomeButton: 0 submitAnalytics: 1 usePlayerLog: 1 bakeCollisionMeshes: 0 forceSingleInstance: 0 + useFlipModelSwapchain: 1 resizableWindow: 0 useMacAppStoreValidation: 0 - gpuSkinning: 0 - graphicsJobs: 0 + macAppStoreCategory: public.app-category.games + gpuSkinning: 1 xboxPIXTextureCapture: 0 xboxEnableAvatar: 0 xboxEnableKinect: 0 @@ -85,92 +99,105 @@ PlayerSettings: xboxEnableFitness: 0 visibleInBackground: 0 allowFullscreenSwitch: 1 - macFullscreenMode: 2 - d3d9FullscreenMode: 1 - d3d11FullscreenMode: 1 + fullscreenMode: 1 xboxSpeechDB: 0 xboxEnableHeadOrientation: 0 xboxEnableGuest: 0 xboxEnablePIXSampling: 0 - n3dsDisableStereoscopicView: 0 - n3dsEnableSharedListOpt: 1 - n3dsEnableVSync: 0 - uiUse16BitDepthBuffer: 0 - ignoreAlphaClear: 0 + metalFramebufferOnly: 0 xboxOneResolution: 0 + xboxOneSResolution: 0 + xboxOneXResolution: 3 xboxOneMonoLoggingLevel: 0 xboxOneLoggingLevel: 1 - videoMemoryForVertexBuffers: 0 - psp2PowerMode: 0 - psp2AcquireBGM: 1 - wiiUTVResolution: 0 - wiiUGamePadMSAA: 1 - wiiUSupportsNunchuk: 0 - wiiUSupportsClassicController: 0 - wiiUSupportsBalanceBoard: 0 - wiiUSupportsMotionPlus: 0 - wiiUSupportsProController: 0 - wiiUAllowScreenCapture: 1 - wiiUControllerCount: 0 + xboxOneDisableEsram: 0 + xboxOneEnableTypeOptimization: 0 + xboxOnePresentImmediateThreshold: 0 + switchQueueCommandMemory: 1048576 + switchQueueControlMemory: 16384 + switchQueueComputeMemory: 262144 + switchNVNShaderPoolsGranularity: 33554432 + switchNVNDefaultPoolsGranularity: 16777216 + switchNVNOtherPoolsGranularity: 16777216 + switchNVNMaxPublicTextureIDCount: 0 + switchNVNMaxPublicSamplerIDCount: 0 + stadiaPresentMode: 0 + stadiaTargetFramerate: 0 + vulkanNumSwapchainBuffers: 3 + vulkanEnableSetSRGBWrite: 0 + vulkanEnablePreTransform: 0 + vulkanEnableLateAcquireNextImage: 0 + vulkanEnableCommandBufferRecycling: 1 m_SupportedAspectRatios: 4:3: 1 5:4: 1 16:10: 1 16:9: 1 Others: 1 - bundleIdentifier: com.Company.ProductName bundleVersion: 1.0 preloadedAssets: [] metroInputSource: 0 + wsaTransparentSwapchain: 0 m_HolographicPauseOnTrackingLoss: 1 xboxOneDisableKinectGpuReservation: 0 xboxOneEnable7thCore: 0 - vrSettings: {} - protectGraphicsMemory: 0 + vrSettings: + enable360StereoCapture: 0 + isWsaHolographicRemotingEnabled: 0 + enableFrameTimingStats: 0 useHDRDisplay: 0 + D3DHDRBitDepth: 0 + m_ColorGamuts: 00000000 + targetPixelDensity: 30 + resolutionScalingMode: 0 + androidSupportedAspectRatio: 1 + androidMaxAspectRatio: 2.1 + applicationIdentifier: + Android: com.DefaultCompany.NewUnityProject + Standalone: com.DefaultCompany.NewUnityProject + iPhone: com.Company.ProductName + tvOS: com.Company.ProductName + buildNumber: + Standalone: 0 + iPhone: 0 + tvOS: 0 + overrideDefaultApplicationIdentifier: 0 AndroidBundleVersionCode: 1 - AndroidMinSdkVersion: 9 + AndroidMinSdkVersion: 19 + AndroidTargetSdkVersion: 0 AndroidPreferredInstallLocation: 1 aotOptions: stripEngineCode: 1 iPhoneStrippingLevel: 0 iPhoneScriptCallOptimization: 0 - iPhoneBuildNumber: 0 ForceInternetPermission: 0 ForceSDCardPermission: 0 CreateWallpaper: 0 APKExpansionFiles: 0 keepLoadedShadersAlive: 0 StripUnusedMeshComponents: 0 - VertexChannelCompressionMask: - serializedVersion: 2 - m_Bits: 238 + VertexChannelCompressionMask: 214 iPhoneSdkVersion: 988 - iOSTargetOSVersionString: 7.0 + iOSTargetOSVersionString: 11.0 tvOSSdkVersion: 0 tvOSRequireExtendedGameController: 0 - tvOSTargetOSVersionString: 9.0 + tvOSTargetOSVersionString: 11.0 uIPrerenderedIcon: 0 uIRequiresPersistentWiFi: 0 uIRequiresFullScreen: 1 uIStatusBarHidden: 1 uIExitOnSuspend: 0 uIStatusBarStyle: 0 - iPhoneSplashScreen: {fileID: 0} - iPhoneHighResSplashScreen: {fileID: 0} - iPhoneTallHighResSplashScreen: {fileID: 0} - iPhone47inSplashScreen: {fileID: 0} - iPhone55inPortraitSplashScreen: {fileID: 0} - iPhone55inLandscapeSplashScreen: {fileID: 0} - iPadPortraitSplashScreen: {fileID: 0} - iPadHighResPortraitSplashScreen: {fileID: 0} - iPadLandscapeSplashScreen: {fileID: 0} - iPadHighResLandscapeSplashScreen: {fileID: 0} appleTVSplashScreen: {fileID: 0} + appleTVSplashScreen2x: {fileID: 0} tvOSSmallIconLayers: [] + tvOSSmallIconLayers2x: [] tvOSLargeIconLayers: [] + tvOSLargeIconLayers2x: [] tvOSTopShelfImageLayers: [] + tvOSTopShelfImageLayers2x: [] tvOSTopShelfImageWideLayers: [] + tvOSTopShelfImageWideLayers2x: [] iOSLaunchScreenType: 0 iOSLaunchScreenPortrait: {fileID: 0} iOSLaunchScreenLandscape: {fileID: 0} @@ -188,29 +215,60 @@ PlayerSettings: iOSLaunchScreeniPadFillPct: 100 iOSLaunchScreeniPadSize: 100 iOSLaunchScreeniPadCustomXibPath: + iOSLaunchScreenCustomStoryboardPath: + iOSLaunchScreeniPadCustomStoryboardPath: iOSDeviceRequirements: [] iOSURLSchemes: [] iOSBackgroundModes: 0 iOSMetalForceHardShadows: 0 + metalEditorSupport: 1 metalAPIValidation: 1 + iOSRenderExtraFrameOnPause: 1 + iosCopyPluginsCodeInsteadOfSymlink: 0 appleDeveloperTeamID: iOSManualSigningProvisioningProfileID: tvOSManualSigningProvisioningProfileID: + iOSManualSigningProvisioningProfileType: 0 + tvOSManualSigningProvisioningProfileType: 0 appleEnableAutomaticSigning: 0 - AndroidTargetDevice: 0 + iOSRequireARKit: 0 + iOSAutomaticallyDetectAndAddCapabilities: 1 + appleEnableProMotion: 0 + shaderPrecisionModel: 0 + clonedFromGUID: 00000000000000000000000000000000 + templatePackageId: + templateDefaultScene: + useCustomMainManifest: 0 + useCustomLauncherManifest: 0 + useCustomMainGradleTemplate: 0 + useCustomLauncherGradleManifest: 0 + useCustomBaseGradleTemplate: 0 + useCustomGradlePropertiesTemplate: 0 + useCustomProguardFile: 0 + AndroidTargetArchitectures: 1 + AndroidTargetDevices: 0 AndroidSplashScreenScale: 0 androidSplashScreen: {fileID: 0} - AndroidKeystoreName: + AndroidKeystoreName: '{inproject}: ' AndroidKeyaliasName: + AndroidBuildApkPerCpuArchitecture: 0 AndroidTVCompatibility: 1 AndroidIsGame: 1 + AndroidEnableTango: 0 androidEnableBanner: 1 + androidUseLowAccuracyLocation: 0 + androidUseCustomKeystore: 0 m_AndroidBanners: - width: 320 height: 180 banner: {fileID: 0} androidGamepadSupportLevel: 0 - resolutionDialogBanner: {fileID: 0} + chromeosInputEmulation: 1 + AndroidMinifyWithR8: 0 + AndroidMinifyRelease: 0 + AndroidMinifyDebug: 0 + AndroidValidateAppBundleSize: 1 + AndroidAppBundleSizeToValidate: 150 m_BuildTargetIcons: - m_BuildTarget: m_Icons: @@ -218,17 +276,160 @@ PlayerSettings: m_Icon: {fileID: 0} m_Width: 128 m_Height: 128 + m_Kind: 0 + m_BuildTargetPlatformIcons: + - m_BuildTarget: Android + m_Icons: + - m_Textures: [] + m_Width: 432 + m_Height: 432 + m_Kind: 2 + m_SubKind: + - m_Textures: [] + m_Width: 324 + m_Height: 324 + m_Kind: 2 + m_SubKind: + - m_Textures: [] + m_Width: 216 + m_Height: 216 + m_Kind: 2 + m_SubKind: + - m_Textures: [] + m_Width: 162 + m_Height: 162 + m_Kind: 2 + m_SubKind: + - m_Textures: [] + m_Width: 108 + m_Height: 108 + m_Kind: 2 + m_SubKind: + - m_Textures: [] + m_Width: 81 + m_Height: 81 + m_Kind: 2 + m_SubKind: + - m_Textures: [] + m_Width: 192 + m_Height: 192 + m_Kind: 0 + m_SubKind: + - m_Textures: [] + m_Width: 144 + m_Height: 144 + m_Kind: 0 + m_SubKind: + - m_Textures: [] + m_Width: 96 + m_Height: 96 + m_Kind: 0 + m_SubKind: + - m_Textures: [] + m_Width: 72 + m_Height: 72 + m_Kind: 0 + m_SubKind: + - m_Textures: [] + m_Width: 48 + m_Height: 48 + m_Kind: 0 + m_SubKind: + - m_Textures: [] + m_Width: 36 + m_Height: 36 + m_Kind: 0 + m_SubKind: + - m_Textures: [] + m_Width: 192 + m_Height: 192 + m_Kind: 1 + m_SubKind: + - m_Textures: [] + m_Width: 144 + m_Height: 144 + m_Kind: 1 + m_SubKind: + - m_Textures: [] + m_Width: 96 + m_Height: 96 + m_Kind: 1 + m_SubKind: + - m_Textures: [] + m_Width: 72 + m_Height: 72 + m_Kind: 1 + m_SubKind: + - m_Textures: [] + m_Width: 48 + m_Height: 48 + m_Kind: 1 + m_SubKind: + - m_Textures: [] + m_Width: 36 + m_Height: 36 + m_Kind: 1 + m_SubKind: m_BuildTargetBatching: - m_BuildTarget: Standalone m_StaticBatching: 1 m_DynamicBatching: 0 - m_BuildTargetGraphicsAPIs: [] + m_BuildTargetGraphicsJobs: + - m_BuildTarget: GameCoreScarlettSupport + m_GraphicsJobs: 0 + - m_BuildTarget: Switch + m_GraphicsJobs: 0 + - m_BuildTarget: iOSSupport + m_GraphicsJobs: 0 + - m_BuildTarget: LuminSupport + m_GraphicsJobs: 0 + - m_BuildTarget: MacStandaloneSupport + m_GraphicsJobs: 0 + - m_BuildTarget: PS5Player + m_GraphicsJobs: 0 + - m_BuildTarget: WebGLSupport + m_GraphicsJobs: 0 + - m_BuildTarget: AppleTVSupport + m_GraphicsJobs: 0 + - m_BuildTarget: GameCoreXboxOneSupport + m_GraphicsJobs: 0 + - m_BuildTarget: CloudRendering + m_GraphicsJobs: 0 + - m_BuildTarget: WindowsStandaloneSupport + m_GraphicsJobs: 1 + - m_BuildTarget: PS4Player + m_GraphicsJobs: 0 + - m_BuildTarget: MetroSupport + m_GraphicsJobs: 0 + - m_BuildTarget: AndroidPlayer + m_GraphicsJobs: 0 + - m_BuildTarget: BJMSupport + m_GraphicsJobs: 0 + - m_BuildTarget: LinuxStandaloneSupport + m_GraphicsJobs: 0 + - m_BuildTarget: XboxOnePlayer + m_GraphicsJobs: 0 + m_BuildTargetGraphicsJobMode: + - m_BuildTarget: PS4Player + m_GraphicsJobMode: 2 + - m_BuildTarget: XboxOnePlayer + m_GraphicsJobMode: 2 + m_BuildTargetGraphicsAPIs: + - m_BuildTarget: iOSSupport + m_APIs: 10000000 + m_Automatic: 1 + - m_BuildTarget: AndroidPlayer + m_APIs: 0b000000 + m_Automatic: 0 + - m_BuildTarget: WindowsStandaloneSupport + m_APIs: 020000000b000000 + m_Automatic: 0 m_BuildTargetVRSettings: - m_BuildTarget: Android m_Enabled: 0 m_Devices: - Oculus - - m_BuildTarget: Metro + - m_BuildTarget: Windows Store Apps m_Enabled: 0 m_Devices: [] - m_BuildTarget: N3DS @@ -272,34 +473,34 @@ PlayerSettings: - m_BuildTarget: XboxOne m_Enabled: 0 m_Devices: [] - - m_BuildTarget: iOS + - m_BuildTarget: iPhone m_Enabled: 0 m_Devices: [] - m_BuildTarget: tvOS m_Enabled: 0 m_Devices: [] - openGLRequireES31: 0 + openGLRequireES31: 1 openGLRequireES31AEP: 0 - webPlayerTemplate: APPLICATION:Default + openGLRequireES32: 1 m_TemplateCustomTags: {} - wiiUTitleID: 0005000011000000 - wiiUGroupID: 00010000 - wiiUCommonSaveSize: 4096 - wiiUAccountSaveSize: 2048 - wiiUOlvAccessKey: 0 - wiiUTinCode: 0 - wiiUJoinGameId: 0 - wiiUJoinGameModeMask: 0000000000000000 - wiiUCommonBossSize: 0 - wiiUAccountBossSize: 0 - wiiUAddOnUniqueIDs: [] - wiiUMainThreadStackSize: 3072 - wiiULoaderThreadStackSize: 1024 - wiiUSystemHeapSize: 128 - wiiUTVStartupScreen: {fileID: 0} - wiiUGamePadStartupScreen: {fileID: 0} - wiiUDrcBufferDisabled: 0 - wiiUProfilerLibPath: + mobileMTRendering: + iPhone: 1 + tvOS: 1 + m_BuildTargetGroupLightmapEncodingQuality: + - m_BuildTarget: Standalone + m_EncodingQuality: 2 + - m_BuildTarget: XboxOne + m_EncodingQuality: 1 + - m_BuildTarget: PS4 + m_EncodingQuality: 1 + - m_BuildTarget: GameCoreScarlett + m_EncodingQuality: 1 + - m_BuildTarget: GameCoreXboxOne + m_EncodingQuality: 1 + m_BuildTargetGroupLightmapSettings: [] + m_BuildTargetNormalMapEncoding: [] + playModeTestRunnerEnabled: 0 + runPlayModeTestAsEditModeTest: 0 actionOnDotNetUnhandledException: 1 enableInternalProfiler: 0 logObjCUncaughtExceptions: 1 @@ -307,22 +508,146 @@ PlayerSettings: cameraUsageDescription: locationUsageDescription: microphoneUsageDescription: + bluetoothUsageDescription: + switchNMETAOverride: switchNetLibKey: switchSocketMemoryPoolSize: 6144 switchSocketAllocatorPoolSize: 128 switchSocketConcurrencyLimit: 14 + switchScreenResolutionBehavior: 2 + switchUseCPUProfiler: 0 + switchUseGOLDLinker: 0 switchApplicationID: 0x0005000C10000001 switchNSODependencies: - XboxTitleId: - XboxImageXexPath: - XboxSpaPath: - XboxGenerateSpa: 0 - XboxDeployKinectResources: 0 - XboxSplashScreen: {fileID: 0} - xboxEnableSpeech: 0 - xboxAdditionalTitleMemorySize: 0 - xboxDeployKinectHeadOrientation: 0 - xboxDeployKinectHeadPosition: 0 + switchTitleNames_0: + switchTitleNames_1: + switchTitleNames_2: + switchTitleNames_3: + switchTitleNames_4: + switchTitleNames_5: + switchTitleNames_6: + switchTitleNames_7: + switchTitleNames_8: + switchTitleNames_9: + switchTitleNames_10: + switchTitleNames_11: + switchTitleNames_12: + switchTitleNames_13: + switchTitleNames_14: + switchTitleNames_15: + switchPublisherNames_0: + switchPublisherNames_1: + switchPublisherNames_2: + switchPublisherNames_3: + switchPublisherNames_4: + switchPublisherNames_5: + switchPublisherNames_6: + switchPublisherNames_7: + switchPublisherNames_8: + switchPublisherNames_9: + switchPublisherNames_10: + switchPublisherNames_11: + switchPublisherNames_12: + switchPublisherNames_13: + switchPublisherNames_14: + switchPublisherNames_15: + switchIcons_0: {fileID: 0} + switchIcons_1: {fileID: 0} + switchIcons_2: {fileID: 0} + switchIcons_3: {fileID: 0} + switchIcons_4: {fileID: 0} + switchIcons_5: {fileID: 0} + switchIcons_6: {fileID: 0} + switchIcons_7: {fileID: 0} + switchIcons_8: {fileID: 0} + switchIcons_9: {fileID: 0} + switchIcons_10: {fileID: 0} + switchIcons_11: {fileID: 0} + switchIcons_12: {fileID: 0} + switchIcons_13: {fileID: 0} + switchIcons_14: {fileID: 0} + switchIcons_15: {fileID: 0} + switchSmallIcons_0: {fileID: 0} + switchSmallIcons_1: {fileID: 0} + switchSmallIcons_2: {fileID: 0} + switchSmallIcons_3: {fileID: 0} + switchSmallIcons_4: {fileID: 0} + switchSmallIcons_5: {fileID: 0} + switchSmallIcons_6: {fileID: 0} + switchSmallIcons_7: {fileID: 0} + switchSmallIcons_8: {fileID: 0} + switchSmallIcons_9: {fileID: 0} + switchSmallIcons_10: {fileID: 0} + switchSmallIcons_11: {fileID: 0} + switchSmallIcons_12: {fileID: 0} + switchSmallIcons_13: {fileID: 0} + switchSmallIcons_14: {fileID: 0} + switchSmallIcons_15: {fileID: 0} + switchManualHTML: + switchAccessibleURLs: + switchLegalInformation: + switchMainThreadStackSize: 1048576 + switchPresenceGroupId: + switchLogoHandling: 0 + switchReleaseVersion: 0 + switchDisplayVersion: 1.0.0 + switchStartupUserAccount: 0 + switchTouchScreenUsage: 0 + switchSupportedLanguagesMask: 0 + switchLogoType: 0 + switchApplicationErrorCodeCategory: + switchUserAccountSaveDataSize: 0 + switchUserAccountSaveDataJournalSize: 0 + switchApplicationAttribute: 0 + switchCardSpecSize: -1 + switchCardSpecClock: -1 + switchRatingsMask: 0 + switchRatingsInt_0: 0 + switchRatingsInt_1: 0 + switchRatingsInt_2: 0 + switchRatingsInt_3: 0 + switchRatingsInt_4: 0 + switchRatingsInt_5: 0 + switchRatingsInt_6: 0 + switchRatingsInt_7: 0 + switchRatingsInt_8: 0 + switchRatingsInt_9: 0 + switchRatingsInt_10: 0 + switchRatingsInt_11: 0 + switchRatingsInt_12: 0 + switchLocalCommunicationIds_0: + switchLocalCommunicationIds_1: + switchLocalCommunicationIds_2: + switchLocalCommunicationIds_3: + switchLocalCommunicationIds_4: + switchLocalCommunicationIds_5: + switchLocalCommunicationIds_6: + switchLocalCommunicationIds_7: + switchParentalControl: 0 + switchAllowsScreenshot: 1 + switchAllowsVideoCapturing: 1 + switchAllowsRuntimeAddOnContentInstall: 0 + switchDataLossConfirmation: 0 + switchUserAccountLockEnabled: 0 + switchSystemResourceMemory: 16777216 + switchSupportedNpadStyles: 22 + switchNativeFsCacheSize: 32 + switchIsHoldTypeHorizontal: 0 + switchSupportedNpadCount: 8 + switchSocketConfigEnabled: 0 + switchTcpInitialSendBufferSize: 32 + switchTcpInitialReceiveBufferSize: 64 + switchTcpAutoSendBufferSizeMax: 256 + switchTcpAutoReceiveBufferSizeMax: 256 + switchUdpSendBufferSize: 9 + switchUdpReceiveBufferSize: 42 + switchSocketBufferEfficiency: 4 + switchSocketInitializeEnabled: 1 + switchNetworkInterfaceManagerInitializeEnabled: 1 + switchPlayerConnectionEnabled: 1 + switchUseNewStyleFilepaths: 0 + switchUseMicroSleepForYield: 1 + switchMicroSleepForYieldTime: 25 ps4NPAgeRating: 12 ps4NPTitleSecret: ps4NPTrophyPackPath: @@ -341,12 +666,15 @@ PlayerSettings: ps4PronunciationSIGPath: ps4BackgroundImagePath: ps4StartupImagePath: + ps4StartupImagesFolder: + ps4IconImagesFolder: ps4SaveDataImagePath: ps4SdkOverride: ps4BGMPath: ps4ShareFilePath: ps4ShareOverlayImagePath: ps4PrivacyGuardImagePath: + ps4ExtraSceSysFile: ps4NPtitleDatPath: ps4RemotePlayKeyAssignment: -1 ps4RemotePlayKeyMappingDir: @@ -358,17 +686,21 @@ PlayerSettings: ps4ApplicationParam4: 0 ps4DownloadDataSize: 0 ps4GarlicHeapSize: 2048 + ps4ProGarlicHeapSize: 2560 + playerPrefsMaxSize: 32768 ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ - ps4UseDebugIl2cppLibs: 0 ps4pnSessions: 1 ps4pnPresence: 1 ps4pnFriends: 1 ps4pnGameCustomData: 1 playerPrefsSupport: 0 + enableApplicationExit: 0 + resetTempFolder: 1 restrictedAudioUsageRights: 0 ps4UseResolutionFallback: 0 ps4ReprojectionSupport: 0 ps4UseAudio3dBackend: 0 + ps4UseLowGarlicFragmentationMode: 1 ps4SocialScreenEnabled: 0 ps4ScriptOptimizationLevel: 3 ps4Audio3dVirtualSpeakerCount: 14 @@ -385,59 +717,16 @@ PlayerSettings: ps4disableAutoHideSplash: 0 ps4videoRecordingFeaturesUsed: 0 ps4contentSearchFeaturesUsed: 0 + ps4CompatibilityPS5: 0 + ps4AllowPS5Detection: 0 + ps4GPU800MHz: 1 ps4attribEyeToEyeDistanceSettingVR: 0 ps4IncludedModules: [] + ps4attribVROutputEnabled: 0 monoEnv: - psp2Splashimage: {fileID: 0} - psp2NPTrophyPackPath: - psp2NPSupportGBMorGJP: 0 - psp2NPAgeRating: 12 - psp2NPTitleDatPath: - psp2NPCommsID: - psp2NPCommunicationsID: - psp2NPCommsPassphrase: - psp2NPCommsSig: - psp2ParamSfxPath: - psp2ManualPath: - psp2LiveAreaGatePath: - psp2LiveAreaBackroundPath: - psp2LiveAreaPath: - psp2LiveAreaTrialPath: - psp2PatchChangeInfoPath: - psp2PatchOriginalPackage: - psp2PackagePassword: F69AzBlax3CF3EDNhm3soLBPh71Yexui - psp2KeystoneFile: - psp2MemoryExpansionMode: 0 - psp2DRMType: 0 - psp2StorageType: 0 - psp2MediaCapacity: 0 - psp2DLCConfigPath: - psp2ThumbnailPath: - psp2BackgroundPath: - psp2SoundPath: - psp2TrophyCommId: - psp2TrophyPackagePath: - psp2PackagedResourcesPath: - psp2SaveDataQuota: 10240 - psp2ParentalLevel: 1 - psp2ShortTitle: Not Set - psp2ContentID: IV0000-ABCD12345_00-0123456789ABCDEF - psp2Category: 0 - psp2MasterVersion: 01.00 - psp2AppVersion: 01.00 - psp2TVBootMode: 0 - psp2EnterButtonAssignment: 2 - psp2TVDisableEmu: 0 - psp2AllowTwitterDialog: 1 - psp2Upgradable: 0 - psp2HealthWarning: 0 - psp2UseLibLocation: 0 - psp2InfoBarOnStartup: 0 - psp2InfoBarColor: 0 - psp2UseDebugIl2cppLibs: 0 - psmSplashimage: {fileID: 0} splashScreenBackgroundSourceLandscape: {fileID: 0} splashScreenBackgroundSourcePortrait: {fileID: 0} + blurSplashScreenBackground: 1 spritePackerPolicy: webGLMemorySize: 256 webGLExceptionSupport: 1 @@ -449,15 +738,30 @@ PlayerSettings: webGLTemplate: APPLICATION:Default webGLAnalyzeBuildSize: 0 webGLUseEmbeddedResources: 0 - webGLUseWasm: 0 webGLCompressionFormat: 1 + webGLWasmArithmeticExceptions: 0 + webGLLinkerTarget: 1 + webGLThreadsSupport: 0 + webGLDecompressionFallback: 0 scriptingDefineSymbols: {} + additionalCompilerArguments: {} platformArchitecture: {} scriptingBackend: Standalone: 0 WebPlayer: 0 + il2cppCompilerConfiguration: {} + managedStrippingLevel: {} incrementalIl2cppBuild: {} + suppressCommonWarnings: 1 + allowUnsafeCode: 0 + useDeterministicCompilation: 1 + useReferenceAssemblies: 1 + enableRoslynAnalyzers: 1 additionalIl2CppArgs: + scriptingRuntimeVersion: 1 + gcIncremental: 1 + assemblyVersionValidation: 1 + gcWBarrierValidation: 0 apiCompatibilityLevelPerPlatform: {} m_RenderingPath: 3 m_MobileRenderingPath: 1 @@ -471,11 +775,12 @@ PlayerSettings: metroApplicationDescription: New Unity Project wsaImages: {} metroTileShortName: - metroCommandLineArgsFile: metroTileShowName: 0 metroMediumTileShowName: 0 metroLargeTileShowName: 0 metroWideTileShowName: 0 + metroSupportStreamingInstall: 0 + metroLastRequiredScene: 0 metroDefaultTileSize: 1 metroTileForegroundText: 1 metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} @@ -483,35 +788,10 @@ PlayerSettings: a: 1} metroSplashScreenUseBackgroundColor: 0 platformCapabilities: {} + metroTargetDeviceFamilies: {} metroFTAName: metroFTAFileTypes: [] metroProtocolName: - metroCompilationOverrides: 1 - tizenProductDescription: - tizenProductURL: - tizenSigningProfileName: - tizenGPSPermissions: 0 - tizenMicrophonePermissions: 0 - tizenDeploymentTarget: - tizenDeploymentTargetType: -1 - tizenMinOSVersion: 0 - n3dsUseExtSaveData: 0 - n3dsCompressStaticMem: 1 - n3dsExtSaveDataNumber: 0x12345 - n3dsStackSize: 131072 - n3dsTargetPlatform: 2 - n3dsRegion: 7 - n3dsMediaSize: 0 - n3dsLogoStyle: 3 - n3dsTitle: GameName - n3dsProductCode: - n3dsApplicationId: 0xFF3FF - stvDeviceAddress: - stvProductDescription: - stvProductAuthor: - stvProductAuthorEmail: - stvProductLink: - stvProductCategory: 0 XboxOneProductId: XboxOneUpdateKey: XboxOneSandboxId: @@ -521,6 +801,7 @@ PlayerSettings: XboxOneGameOsOverridePath: XboxOnePackagingOverridePath: XboxOneAppManifestOverridePath: + XboxOneVersion: 1.0.0.0 XboxOnePackageEncryption: 0 XboxOnePackageUpdateGranularity: 2 XboxOneDescription: @@ -529,12 +810,15 @@ PlayerSettings: XboxOneCapability: [] XboxOneGameRating: {} XboxOneIsContentPackage: 0 + XboxOneEnhancedXboxCompatibilityMode: 0 XboxOneEnableGPUVariability: 0 XboxOneSockets: {} XboxOneSplashScreen: {fileID: 0} XboxOneAllowedProductIds: [] XboxOnePersistentLocalStorageSize: 0 - xboxOneScriptCompiler: 0 + XboxOneXTitleMemory: 8 + XboxOneOverrideIdentityName: + XboxOneOverrideIdentityPublisher: vrEditorSettings: {} cloudServicesEnabled: Analytics: 0 @@ -546,9 +830,24 @@ PlayerSettings: Purchasing: 0 UNet: 0 Unity_Ads: 0 - facebookSdkVersion: 7.9.1 - apiCompatibilityLevel: 2 + luminIcon: + m_Name: + m_ModelFolderPath: + m_PortalFolderPath: + luminCert: + m_CertPath: + m_SignPackage: 1 + luminIsChannelApp: 0 + luminVersion: + m_VersionCode: 1 + m_VersionName: + apiCompatibilityLevel: 6 + activeInputHandler: 0 cloudProjectId: + framebufferDepthMemorylessMode: 0 + qualitySettingsNames: [] projectName: organizationId: cloudEnabled: 0 + legacyClampBlendShapeWeights: 1 + virtualTexturingSupportEnabled: 0 diff --git a/ProjectSettings/ProjectVersion.txt b/ProjectSettings/ProjectVersion.txt index bb68727..def2933 100644 --- a/ProjectSettings/ProjectVersion.txt +++ b/ProjectSettings/ProjectVersion.txt @@ -1 +1,2 @@ -m_EditorVersion: 2018.3.0b5 +m_EditorVersion: 2020.3.26f1 +m_EditorVersionWithRevision: 2020.3.26f1 (7298b473bc1a) diff --git a/ProjectSettings/QualitySettings.asset b/ProjectSettings/QualitySettings.asset index 6e5bcac..03c0e8b 100644 --- a/ProjectSettings/QualitySettings.asset +++ b/ProjectSettings/QualitySettings.asset @@ -17,7 +17,8 @@ QualitySettings: shadowNearPlaneOffset: 2 shadowCascade2Split: 0.33333334 shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} - blendWeights: 1 + shadowmaskMode: 0 + skinWeights: 1 textureQuality: 1 anisotropicTextures: 0 antiAliasing: 0 @@ -28,9 +29,18 @@ QualitySettings: vSyncCount: 0 lodBias: 0.3 maximumLODLevel: 0 + streamingMipmapsActive: 0 + streamingMipmapsAddAllCameras: 1 + streamingMipmapsMemoryBudget: 512 + streamingMipmapsRenderersPerFrame: 512 + streamingMipmapsMaxLevelReduction: 2 + streamingMipmapsMaxFileIORequests: 1024 particleRaycastBudget: 4 asyncUploadTimeSlice: 2 asyncUploadBufferSize: 4 + asyncUploadPersistentBuffer: 1 + resolutionScalingFixedDPIFactor: 1 + customRenderPipeline: {fileID: 0} excludedTargetPlatforms: [] - serializedVersion: 2 name: Fast @@ -43,7 +53,8 @@ QualitySettings: shadowNearPlaneOffset: 2 shadowCascade2Split: 0.33333334 shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} - blendWeights: 2 + shadowmaskMode: 0 + skinWeights: 2 textureQuality: 0 anisotropicTextures: 0 antiAliasing: 0 @@ -54,9 +65,18 @@ QualitySettings: vSyncCount: 0 lodBias: 0.4 maximumLODLevel: 0 + streamingMipmapsActive: 0 + streamingMipmapsAddAllCameras: 1 + streamingMipmapsMemoryBudget: 512 + streamingMipmapsRenderersPerFrame: 512 + streamingMipmapsMaxLevelReduction: 2 + streamingMipmapsMaxFileIORequests: 1024 particleRaycastBudget: 16 asyncUploadTimeSlice: 2 asyncUploadBufferSize: 4 + asyncUploadPersistentBuffer: 1 + resolutionScalingFixedDPIFactor: 1 + customRenderPipeline: {fileID: 0} excludedTargetPlatforms: [] - serializedVersion: 2 name: Simple @@ -69,7 +89,8 @@ QualitySettings: shadowNearPlaneOffset: 2 shadowCascade2Split: 0.33333334 shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} - blendWeights: 2 + shadowmaskMode: 0 + skinWeights: 2 textureQuality: 0 anisotropicTextures: 1 antiAliasing: 0 @@ -80,9 +101,18 @@ QualitySettings: vSyncCount: 1 lodBias: 0.7 maximumLODLevel: 0 + streamingMipmapsActive: 0 + streamingMipmapsAddAllCameras: 1 + streamingMipmapsMemoryBudget: 512 + streamingMipmapsRenderersPerFrame: 512 + streamingMipmapsMaxLevelReduction: 2 + streamingMipmapsMaxFileIORequests: 1024 particleRaycastBudget: 64 asyncUploadTimeSlice: 2 asyncUploadBufferSize: 4 + asyncUploadPersistentBuffer: 1 + resolutionScalingFixedDPIFactor: 1 + customRenderPipeline: {fileID: 0} excludedTargetPlatforms: [] - serializedVersion: 2 name: Good @@ -95,7 +125,8 @@ QualitySettings: shadowNearPlaneOffset: 2 shadowCascade2Split: 0.33333334 shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} - blendWeights: 2 + shadowmaskMode: 1 + skinWeights: 2 textureQuality: 0 anisotropicTextures: 1 antiAliasing: 0 @@ -106,9 +137,18 @@ QualitySettings: vSyncCount: 1 lodBias: 1 maximumLODLevel: 0 + streamingMipmapsActive: 0 + streamingMipmapsAddAllCameras: 1 + streamingMipmapsMemoryBudget: 512 + streamingMipmapsRenderersPerFrame: 512 + streamingMipmapsMaxLevelReduction: 2 + streamingMipmapsMaxFileIORequests: 1024 particleRaycastBudget: 256 asyncUploadTimeSlice: 2 asyncUploadBufferSize: 4 + asyncUploadPersistentBuffer: 1 + resolutionScalingFixedDPIFactor: 1 + customRenderPipeline: {fileID: 0} excludedTargetPlatforms: [] - serializedVersion: 2 name: Beautiful @@ -121,7 +161,8 @@ QualitySettings: shadowNearPlaneOffset: 2 shadowCascade2Split: 0.33333334 shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} - blendWeights: 4 + shadowmaskMode: 1 + skinWeights: 4 textureQuality: 0 anisotropicTextures: 2 antiAliasing: 2 @@ -132,9 +173,18 @@ QualitySettings: vSyncCount: 1 lodBias: 1.5 maximumLODLevel: 0 + streamingMipmapsActive: 0 + streamingMipmapsAddAllCameras: 1 + streamingMipmapsMemoryBudget: 512 + streamingMipmapsRenderersPerFrame: 512 + streamingMipmapsMaxLevelReduction: 2 + streamingMipmapsMaxFileIORequests: 1024 particleRaycastBudget: 1024 asyncUploadTimeSlice: 2 asyncUploadBufferSize: 4 + asyncUploadPersistentBuffer: 1 + resolutionScalingFixedDPIFactor: 1 + customRenderPipeline: {fileID: 0} excludedTargetPlatforms: [] - serializedVersion: 2 name: Fantastic @@ -147,7 +197,8 @@ QualitySettings: shadowNearPlaneOffset: 2 shadowCascade2Split: 0.33333334 shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} - blendWeights: 4 + shadowmaskMode: 1 + skinWeights: 4 textureQuality: 0 anisotropicTextures: 2 antiAliasing: 2 @@ -158,9 +209,18 @@ QualitySettings: vSyncCount: 1 lodBias: 2 maximumLODLevel: 0 + streamingMipmapsActive: 0 + streamingMipmapsAddAllCameras: 1 + streamingMipmapsMemoryBudget: 512 + streamingMipmapsRenderersPerFrame: 512 + streamingMipmapsMaxLevelReduction: 2 + streamingMipmapsMaxFileIORequests: 1024 particleRaycastBudget: 4096 asyncUploadTimeSlice: 2 asyncUploadBufferSize: 4 + asyncUploadPersistentBuffer: 1 + resolutionScalingFixedDPIFactor: 1 + customRenderPipeline: {fileID: 0} excludedTargetPlatforms: [] m_PerPlatformDefaultQuality: Android: 2 diff --git a/ProjectSettings/SceneTemplateSettings.json b/ProjectSettings/SceneTemplateSettings.json new file mode 100644 index 0000000..6f3e60f --- /dev/null +++ b/ProjectSettings/SceneTemplateSettings.json @@ -0,0 +1,167 @@ +{ + "templatePinStates": [], + "dependencyTypeInfos": [ + { + "userAdded": false, + "type": "UnityEngine.AnimationClip", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEditor.Animations.AnimatorController", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.AnimatorOverrideController", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEditor.Audio.AudioMixerController", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.ComputeShader", + "ignore": true, + "defaultInstantiationMode": 1, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Cubemap", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.GameObject", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEditor.LightingDataAsset", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": false + }, + { + "userAdded": false, + "type": "UnityEngine.LightingSettings", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Material", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEditor.MonoScript", + "ignore": true, + "defaultInstantiationMode": 1, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.PhysicMaterial", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.PhysicsMaterial2D", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Rendering.PostProcessing.PostProcessProfile", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Rendering.PostProcessing.PostProcessResources", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Rendering.VolumeProfile", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEditor.SceneAsset", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": false + }, + { + "userAdded": false, + "type": "UnityEngine.Shader", + "ignore": true, + "defaultInstantiationMode": 1, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.ShaderVariantCollection", + "ignore": true, + "defaultInstantiationMode": 1, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Texture", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Texture2D", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Timeline.TimelineAsset", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + } + ], + "defaultDependencyTypeInfo": { + "userAdded": false, + "type": "", + "ignore": false, + "defaultInstantiationMode": 1, + "supportsModification": true + }, + "newSceneOverride": 0 +} \ No newline at end of file diff --git a/ProjectSettings/VFXManager.asset b/ProjectSettings/VFXManager.asset new file mode 100644 index 0000000..46f38e1 --- /dev/null +++ b/ProjectSettings/VFXManager.asset @@ -0,0 +1,14 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!937362698 &1 +VFXManager: + m_ObjectHideFlags: 0 + m_IndirectShader: {fileID: 0} + m_CopyBufferShader: {fileID: 0} + m_SortShader: {fileID: 0} + m_StripUpdateShader: {fileID: 0} + m_RenderPipeSettingsPath: + m_FixedTimeStep: 0.016666668 + m_MaxDeltaTime: 0.05 + m_CompiledVersion: 0 + m_RuntimeVersion: 0 diff --git a/ProjectSettings/VersionControlSettings.asset b/ProjectSettings/VersionControlSettings.asset new file mode 100644 index 0000000..dca2881 --- /dev/null +++ b/ProjectSettings/VersionControlSettings.asset @@ -0,0 +1,8 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!890905787 &1 +VersionControlSettings: + m_ObjectHideFlags: 0 + m_Mode: Visible Meta Files + m_CollabEditorSettings: + inProgressEnabled: 1