diff --git a/Assets/Prefabs/MainMenuButtons.prefab b/Assets/Prefabs/MainMenuButtons.prefab index c5a3450..282a2f7 100644 --- a/Assets/Prefabs/MainMenuButtons.prefab +++ b/Assets/Prefabs/MainMenuButtons.prefab @@ -77,8 +77,8 @@ MonoBehaviour: m_fontMaterials: [] m_fontColor32: serializedVersion: 2 - rgba: 4291166124 - m_fontColor: {r: 0.67358494, g: 1, b: 0.7738154, a: 1} + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} m_enableVertexGradient: 0 m_colorMode: 3 m_fontColorGradient: @@ -95,7 +95,7 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 10.05 + m_fontSize: 23.25 m_fontSizeBase: 24 m_fontWeight: 400 m_enableAutoSizing: 1 @@ -149,6 +149,7 @@ GameObject: - component: {fileID: 5917528464644539592} - component: {fileID: 5917528464644539593} - component: {fileID: 5917528464644539590} + - component: {fileID: 8804319104594876336} m_Layer: 5 m_Name: MainMenuButtons m_TagString: Untagged @@ -198,15 +199,15 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 0.31014594, g: 0.6792453, b: 0.5950109, a: 1} + m_Color: {r: 0.60248095, g: 0.9716981, b: 0.5353506, a: 1} m_RaycastTarget: 1 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} - m_Type: 1 + m_Sprite: {fileID: 21300000, guid: 116e65d2b34493c439f545f71aa487b5, type: 3} + m_Type: 0 m_PreserveAspect: 0 m_FillCenter: 1 m_FillMethod: 4 @@ -214,7 +215,7 @@ MonoBehaviour: m_FillClockwise: 1 m_FillOrigin: 0 m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 + m_PixelsPerUnitMultiplier: 8.2 --- !u!114 &5917528464644539590 MonoBehaviour: m_ObjectHideFlags: 0 @@ -236,10 +237,10 @@ MonoBehaviour: m_SelectOnRight: {fileID: 0} m_Transition: 1 m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_NormalColor: {r: 0.7830189, g: 0.7830189, b: 0.7830189, a: 1} + m_HighlightedColor: {r: 1, g: 1, b: 1, a: 1} + m_PressedColor: {r: 1, g: 0.57924527, b: 0.57924527, a: 1} + m_SelectedColor: {r: 1, g: 1, b: 1, a: 1} m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} m_ColorMultiplier: 1 m_FadeDuration: 0.1 @@ -258,4 +259,28 @@ MonoBehaviour: m_TargetGraphic: {fileID: 5917528464644539593} m_OnClick: m_PersistentCalls: - m_Calls: [] + m_Calls: + - m_Target: {fileID: 8804319104594876336} + m_TargetAssemblyTypeName: SceneChanger, Assembly-CSharp + m_MethodName: LoadScene + m_Mode: 5 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 +--- !u!114 &8804319104594876336 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5917528464644539588} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5383d580c7e5c0d41a73c7791506ead1, type: 3} + m_Name: + m_EditorClassIdentifier: diff --git a/Assets/Prefabs/SHADER_VOLUME.prefab b/Assets/Prefabs/SHADER_VOLUME.prefab new file mode 100644 index 0000000..8595257 --- /dev/null +++ b/Assets/Prefabs/SHADER_VOLUME.prefab @@ -0,0 +1,51 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &8571637250638348962 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8571637250638348960} + - component: {fileID: 8571637250638348961} + m_Layer: 0 + m_Name: SHADER_VOLUME + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &8571637250638348960 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8571637250638348962} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 62.8, y: 2.4, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &8571637250638348961 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8571637250638348962} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 172515602e62fb746b5d573b38a5fe58, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IsGlobal: 1 + priority: 1 + blendDistance: 0 + weight: 1 + sharedProfile: {fileID: 11400000, guid: c3b45ae649e3364408bb0986304f0649, type: 2} diff --git a/Assets/Prefabs/SHADER_VOLUME.prefab.meta b/Assets/Prefabs/SHADER_VOLUME.prefab.meta new file mode 100644 index 0000000..d6076c4 --- /dev/null +++ b/Assets/Prefabs/SHADER_VOLUME.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 7febab9e1a84fa449991f0126f4eccbc +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Readme.asset b/Assets/Readme.asset deleted file mode 100644 index 77c2f83..0000000 --- a/Assets/Readme.asset +++ /dev/null @@ -1,34 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &11400000 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fcf7219bab7fe46a1ad266029b2fee19, type: 3} - m_Name: Readme - m_EditorClassIdentifier: - icon: {fileID: 2800000, guid: 727a75301c3d24613a3ebcec4a24c2c8, type: 3} - title: URP Empty Template - sections: - - heading: Welcome to the Universal Render Pipeline - text: This template includes the settings and assets you need to start creating with the Universal Render Pipeline. - linkText: - url: - - heading: URP Documentation - text: - linkText: Read more about URP - url: https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@latest - - heading: Forums - text: - linkText: Get answers and support - url: https://forum.unity.com/forums/universal-render-pipeline.383/ - - heading: Report bugs - text: - linkText: Submit a report - url: https://unity3d.com/unity/qa/bug-reporting - loadedLayout: 1 diff --git a/Assets/Models/Rocks/Materials.meta b/Assets/Resources.meta similarity index 77% rename from Assets/Models/Rocks/Materials.meta rename to Assets/Resources.meta index fb9c8ca..d8a7409 100644 --- a/Assets/Models/Rocks/Materials.meta +++ b/Assets/Resources.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 53056f94da94bf547aa8c99f5ddc65c3 +guid: 3de31d3e69a654c4999f95940625905a folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Assets/Resources/Shaders.meta b/Assets/Resources/Shaders.meta new file mode 100644 index 0000000..99b6025 --- /dev/null +++ b/Assets/Resources/Shaders.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 00d569a294992684ba612017925c2752 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/Shaders/CustomPostProcessingMaterials.asset b/Assets/Resources/Shaders/CustomPostProcessingMaterials.asset new file mode 100644 index 0000000..1e5cdb0 --- /dev/null +++ b/Assets/Resources/Shaders/CustomPostProcessingMaterials.asset @@ -0,0 +1,15 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0517c7201b6a73841950436abd2ee35f, type: 3} + m_Name: CustomPostProcessingMaterials + m_EditorClassIdentifier: + customEffect: {fileID: 2100000, guid: eee0d494252ff8b49a69d3b8e1b74894, type: 2} diff --git a/Assets/Resources/Shaders/CustomPostProcessingMaterials.asset.meta b/Assets/Resources/Shaders/CustomPostProcessingMaterials.asset.meta new file mode 100644 index 0000000..a798608 --- /dev/null +++ b/Assets/Resources/Shaders/CustomPostProcessingMaterials.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 16065ebec4184e14899a6c11cf5d403a +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/Volume.meta b/Assets/Scenes/Volume.meta new file mode 100644 index 0000000..f4c46f4 --- /dev/null +++ b/Assets/Scenes/Volume.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2d27f805e90d2bc4080f4f2ab821159b +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/Volume/crtVolme.asset b/Assets/Scenes/Volume/crtVolme.asset new file mode 100644 index 0000000..e30f2c0 --- /dev/null +++ b/Assets/Scenes/Volume/crtVolme.asset @@ -0,0 +1,98 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-7215673028686694159 +MonoBehaviour: + m_ObjectHideFlags: 3 + 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: 0} + m_Name: CRTEffectComponent + m_EditorClassIdentifier: Assembly-CSharp::CRTEffectComponent + active: 1 + k__BackingField: + intensity: + m_OverrideState: 1 + m_Value: 0 +--- !u!114 &-4031894175476099154 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2dce45078901e8743bb35a183fe9b463, type: 3} + m_Name: CustomEffectComponent + m_EditorClassIdentifier: + active: 1 + intensity: + m_OverrideState: 1 + m_Value: 0 +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d7fd9488000d3734a9e00ee676215985, type: 3} + m_Name: crtVolme + m_EditorClassIdentifier: + components: + - {fileID: 4398727553444423296} +--- !u!114 &1967504787037751920 +MonoBehaviour: + m_ObjectHideFlags: 3 + 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: 0} + m_Name: CrtEffectComponent + m_EditorClassIdentifier: Assembly-CSharp:Shaders:CrtEffectComponent + active: 1 + k__BackingField: + intensity: + m_OverrideState: 1 + m_Value: 0 +--- !u!114 &3324731303086568795 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2dce45078901e8743bb35a183fe9b463, type: 3} + m_Name: CustomEffectComponent + m_EditorClassIdentifier: + active: 1 + intensity: + m_OverrideState: 1 + m_Value: 1 +--- !u!114 &4398727553444423296 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2dce45078901e8743bb35a183fe9b463, type: 3} + m_Name: CustomEffectComponent + m_EditorClassIdentifier: + active: 1 + intensity: + m_OverrideState: 1 + m_Value: 0.96 diff --git a/Assets/Scenes/Volume/crtVolme.asset.meta b/Assets/Scenes/Volume/crtVolme.asset.meta new file mode 100644 index 0000000..fbd6b75 --- /dev/null +++ b/Assets/Scenes/Volume/crtVolme.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c3b45ae649e3364408bb0986304f0649 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/ButtonAction.cs b/Assets/Scripts/ButtonAction.cs new file mode 100644 index 0000000..3eee442 --- /dev/null +++ b/Assets/Scripts/ButtonAction.cs @@ -0,0 +1,24 @@ +using System; +using UnityEngine; +using UnityEngine.SceneManagement; + +public class ButtonAction : MonoBehaviour +{ + public void LoadScene(String sceneName) + { + SceneManager.LoadScene(sceneName); + } + + public void OpenOption() + { + throw new NotImplementedException(); + } + + public void Quit() + { + #if UNITY_EDITOR + UnityEditor.EditorApplication.isPlaying = false; + #endif + Application.Quit(); + } +} diff --git a/Assets/Scripts/ButtonAction.cs.meta b/Assets/Scripts/ButtonAction.cs.meta new file mode 100644 index 0000000..5869770 --- /dev/null +++ b/Assets/Scripts/ButtonAction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5383d580c7e5c0d41a73c7791506ead1 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Shaders.meta b/Assets/Scripts/Shaders.meta new file mode 100644 index 0000000..008e797 --- /dev/null +++ b/Assets/Scripts/Shaders.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c25c3458146a19a42898a05920f05bcf +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Shaders/CustomEffectComponent.cs b/Assets/Scripts/Shaders/CustomEffectComponent.cs new file mode 100644 index 0000000..26dc956 --- /dev/null +++ b/Assets/Scripts/Shaders/CustomEffectComponent.cs @@ -0,0 +1,28 @@ +using System; +using UnityEngine; +using UnityEngine.Rendering; +using UnityEngine.Rendering.Universal; + + +/** + * https://www.febucci.com/2022/05/custom-post-processing-in-urp/ + */ + +namespace Shaders +{ + [Serializable, + VolumeComponentMenuForRenderPipeline("Custom/"+nameof(CustomEffectComponent), typeof(UniversalRenderPipeline))] + public class CustomEffectComponent : VolumeComponent, IPostProcessComponent + { + // For example, an intensity parameter that goes from 0 to 1 + public ClampedFloatParameter intensity = + new ClampedFloatParameter(value: 0, min: 0, max: 1, overrideState: true); + + // Other 'Parameter' variables you might have + + public bool IsActive() => intensity.value > 0 && this.active; + + // I have no idea what this does yet but I'll update the post once I find an usage + public bool IsTileCompatible() => true; + } +} \ No newline at end of file diff --git a/Assets/Scripts/Shaders/CustomEffectComponent.cs.meta b/Assets/Scripts/Shaders/CustomEffectComponent.cs.meta new file mode 100644 index 0000000..24201a4 --- /dev/null +++ b/Assets/Scripts/Shaders/CustomEffectComponent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2dce45078901e8743bb35a183fe9b463 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Shaders/CustomPostProcessPass.cs b/Assets/Scripts/Shaders/CustomPostProcessPass.cs new file mode 100644 index 0000000..f506461 --- /dev/null +++ b/Assets/Scripts/Shaders/CustomPostProcessPass.cs @@ -0,0 +1,117 @@ +using UnityEngine; +using UnityEngine.Rendering; +using UnityEngine.Rendering.Universal; +/** + * https://www.febucci.com/2022/05/custom-post-processing-in-urp/ + * + */ + +namespace Shaders +{ + [System.Serializable] + public class CustomPostProcessPass : ScriptableRenderPass + { + // Used to render from camera to post processings + // back and forth, until we render the final image to + // the camera + RenderTargetIdentifier source; + RenderTargetIdentifier destinationA; + RenderTargetIdentifier destinationB; + RenderTargetIdentifier latestDest; + + readonly int temporaryRTIdA = Shader.PropertyToID("_TempRT"); + readonly int temporaryRTIdB = Shader.PropertyToID("_TempRTB"); + + public CustomPostProcessPass() + { + // Set the render pass event + renderPassEvent = RenderPassEvent.BeforeRenderingPostProcessing; + } + + public override void OnCameraSetup(CommandBuffer cmd, ref RenderingData renderingData) + { + // Grab the camera target descriptor. We will use this when creating a temporary render texture. + RenderTextureDescriptor descriptor = renderingData.cameraData.cameraTargetDescriptor; + descriptor.depthBufferBits = 0; + + var renderer = renderingData.cameraData.renderer; + source = renderer.cameraColorTarget; + + // Create a temporary render texture using the descriptor from above. + cmd.GetTemporaryRT(temporaryRTIdA , descriptor, FilterMode.Bilinear); + destinationA = new RenderTargetIdentifier(temporaryRTIdA); + cmd.GetTemporaryRT(temporaryRTIdB , descriptor, FilterMode.Bilinear); + destinationB = new RenderTargetIdentifier(temporaryRTIdB); + } + + // The actual execution of the pass. This is where custom rendering occurs. + public override void Execute(ScriptableRenderContext context, ref RenderingData renderingData) + { + // Skipping post processing rendering inside the scene View + if(renderingData.cameraData.isSceneViewCamera) + return; + + // Here you get your materials from your custom class + // (It's up to you! But here is how I did it) + var materials = CustomPostProcessingMaterials.Instance; + if (materials == null) + { + Debug.LogError("Custom Post Processing Materials instance is null"); + return; + } + + CommandBuffer cmd = CommandBufferPool.Get("Custom Post Processing"); + cmd.Clear(); + + // This holds all the current Volumes information + // which we will need later + var stack = VolumeManager.instance.stack; + + #region Local Methods + + // Swaps render destinations back and forth, so that + // we can have multiple passes and similar with only a few textures + void BlitTo(Material mat, int pass = 0) + { + var first = latestDest; + var last = first == destinationA ? destinationB : destinationA; + Blit(cmd, first, last, mat, pass); + + latestDest = last; + } + + #endregion + + // Starts with the camera source + latestDest = source; + + //---Custom effect here--- + var customEffect = stack.GetComponent(); + // Only process if the effect is active + if (customEffect.IsActive()) + { + var customMaterial = materials.customEffect; + // P.s. optimize by caching the property ID somewhere else + customMaterial.SetFloat(Shader.PropertyToID("_Intensity"), customEffect.intensity.value); + + BlitTo(customMaterial); + } + + // Add any other custom effect/component you want, in your preferred order + // Custom effect 2, 3 , ... + + // DONE! Now that we have processed all our custom effects, applies the final result to camera + Blit(cmd, latestDest, source); + + context.ExecuteCommandBuffer(cmd); + CommandBufferPool.Release(cmd); + } + + //Cleans the temporary RTs when we don't need them anymore + public override void OnCameraCleanup(CommandBuffer cmd) + { + cmd.ReleaseTemporaryRT(temporaryRTIdA); + cmd.ReleaseTemporaryRT(temporaryRTIdB); + } + } +} \ No newline at end of file diff --git a/Assets/Scripts/Shaders/CustomPostProcessPass.cs.meta b/Assets/Scripts/Shaders/CustomPostProcessPass.cs.meta new file mode 100644 index 0000000..94be8ae --- /dev/null +++ b/Assets/Scripts/Shaders/CustomPostProcessPass.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 37e69f1d36604e44e8313672cbb7efd4 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Shaders/CustomPostProcessRenderer.cs b/Assets/Scripts/Shaders/CustomPostProcessRenderer.cs new file mode 100644 index 0000000..a34ec98 --- /dev/null +++ b/Assets/Scripts/Shaders/CustomPostProcessRenderer.cs @@ -0,0 +1,20 @@ +using UnityEngine.Rendering.Universal; + +namespace Shaders +{ + [System.Serializable] + public class CustomPostProcessRenderer : ScriptableRendererFeature + { + CustomPostProcessPass pass; + + public override void Create() + { + pass = new CustomPostProcessPass(); + } + + public override void AddRenderPasses(ScriptableRenderer renderer, ref RenderingData renderingData) + { + renderer.EnqueuePass(pass); + } + } +} \ No newline at end of file diff --git a/Assets/Scripts/Shaders/CustomPostProcessRenderer.cs.meta b/Assets/Scripts/Shaders/CustomPostProcessRenderer.cs.meta new file mode 100644 index 0000000..1366f12 --- /dev/null +++ b/Assets/Scripts/Shaders/CustomPostProcessRenderer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e4a5752e025fc3d4c98d3aad409aac42 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Shaders/CustomPostProcessingMaterials.cs b/Assets/Scripts/Shaders/CustomPostProcessingMaterials.cs new file mode 100644 index 0000000..3de456d --- /dev/null +++ b/Assets/Scripts/Shaders/CustomPostProcessingMaterials.cs @@ -0,0 +1,35 @@ +using System; +using UnityEngine; +using UnityEngine.Serialization; + +/** + * https://www.febucci.com/2022/05/custom-post-processing-in-urp/ + */ + +namespace Shaders +{ + [System.Serializable, + CreateAssetMenu(fileName = "CustomPostProcessingMaterials", menuName = "CustomMaterial/CustomPostProcessingMaterials")] + public class CustomPostProcessingMaterials : UnityEngine.ScriptableObject + { + //---Your Materials--- + public Material customEffect; + + //---Accessing the data from the Pass--- + static CustomPostProcessingMaterials _instance; + + public static CustomPostProcessingMaterials Instance + { + get + { + if (_instance != null) return _instance; + // TODO check if application is quitting + // and avoid loading if that is the case + + _instance = + UnityEngine.Resources.Load("Shaders/CustomPostProcessingMaterials") as CustomPostProcessingMaterials; + return _instance; + } + } + } +} \ No newline at end of file diff --git a/Assets/Scripts/Shaders/CustomPostProcessingMaterials.cs.meta b/Assets/Scripts/Shaders/CustomPostProcessingMaterials.cs.meta new file mode 100644 index 0000000..5387a5c --- /dev/null +++ b/Assets/Scripts/Shaders/CustomPostProcessingMaterials.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 0517c7201b6a73841950436abd2ee35f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Settings/URP-Balanced-Renderer.asset b/Assets/Settings/URP-Balanced-Renderer.asset index 20bd4d4..e61c312 100644 --- a/Assets/Settings/URP-Balanced-Renderer.asset +++ b/Assets/Settings/URP-Balanced-Renderer.asset @@ -13,7 +13,7 @@ MonoBehaviour: m_Name: SSAO m_EditorClassIdentifier: m_Active: 1 - m_Shader: {fileID: 0} + m_Shader: {fileID: 4800000, guid: 0849e84e3d62649e8882e9d6f056a017, type: 3} m_Settings: Downsample: 1 AfterOpaque: 0 @@ -40,9 +40,11 @@ MonoBehaviour: type: 3} m_RendererFeatures: - {fileID: -1878332245247344467} - m_RendererFeatureMap: adc0de57c6d2eee5 + - {fileID: 8085504866986450578} + m_RendererFeatureMap: adc0de57c6d2eee5925e6b72d67b3570 m_UseNativeRenderPass: 0 postProcessData: {fileID: 11400000, guid: 41439944d30ece34e96484bdb6645b55, type: 2} + xrSystemData: {fileID: 11400000, guid: 60e1133243b97e347b653163a8c01b64, type: 2} shaders: blitPS: {fileID: 4800000, guid: c17132b1f77d20942aa75f8429c0f8bc, type: 3} copyDepthPS: {fileID: 4800000, guid: d6dae50ee9e1bfa4db75f19f99355220, type: 3} @@ -51,10 +53,14 @@ MonoBehaviour: stencilDeferredPS: {fileID: 4800000, guid: e9155b26e1bc55942a41e518703fe304, type: 3} fallbackErrorPS: {fileID: 4800000, guid: e6e9a19c3678ded42a3bc431ebef7dbd, type: 3} materialErrorPS: {fileID: 4800000, guid: 5fd9a8feb75a4b5894c241777f519d4e, type: 3} - coreBlitPS: {fileID: 0} - coreBlitColorAndDepthPS: {fileID: 0} - cameraMotionVector: {fileID: 0} - objectMotionVector: {fileID: 0} + coreBlitPS: {fileID: 4800000, guid: 93446b5c5339d4f00b85c159e1159b7c, type: 3} + coreBlitColorAndDepthPS: {fileID: 4800000, guid: d104b2fc1ca6445babb8e90b0758136b, + type: 3} + cameraMotionVector: {fileID: 4800000, guid: c56b7e0d4c7cb484e959caeeedae9bbf, + type: 3} + objectMotionVector: {fileID: 4800000, guid: 7b3ede40266cd49a395def176e1bc486, + type: 3} + m_AssetVersion: 1 m_OpaqueLayerMask: serializedVersion: 2 m_Bits: 4294967295 @@ -74,3 +80,17 @@ MonoBehaviour: m_AccurateGbufferNormals: 0 m_ClusteredRendering: 0 m_TileSize: 32 + m_IntermediateTextureMode: 1 +--- !u!114 &8085504866986450578 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e4a5752e025fc3d4c98d3aad409aac42, type: 3} + m_Name: CustomPostProcessRenderer + m_EditorClassIdentifier: + m_Active: 1 diff --git a/Assets/Settings/URP-HighFidelity-Renderer.asset b/Assets/Settings/URP-HighFidelity-Renderer.asset index 90883f9..325db65 100644 --- a/Assets/Settings/URP-HighFidelity-Renderer.asset +++ b/Assets/Settings/URP-HighFidelity-Renderer.asset @@ -40,8 +40,9 @@ MonoBehaviour: type: 3} m_RendererFeatures: - {fileID: -1878332245247344467} - m_RendererFeatureMap: adc0de57c6d2eee5 - m_UseNativeRenderPass: 0 + - {fileID: 7294651837198521499} + m_RendererFeatureMap: adc0de57c6d2eee59b545e7c32cf3b65 + m_UseNativeRenderPass: 1 postProcessData: {fileID: 11400000, guid: 41439944d30ece34e96484bdb6645b55, type: 2} xrSystemData: {fileID: 11400000, guid: 60e1133243b97e347b653163a8c01b64, type: 2} shaders: @@ -80,3 +81,16 @@ MonoBehaviour: m_ClusteredRendering: 0 m_TileSize: 32 m_IntermediateTextureMode: 1 +--- !u!114 &7294651837198521499 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e4a5752e025fc3d4c98d3aad409aac42, type: 3} + m_Name: CustomPostProcessRenderer + m_EditorClassIdentifier: + m_Active: 1 diff --git a/Assets/Settings/URP-HighFidelity.asset b/Assets/Settings/URP-HighFidelity.asset index 6248100..2d001b3 100644 --- a/Assets/Settings/URP-HighFidelity.asset +++ b/Assets/Settings/URP-HighFidelity.asset @@ -25,8 +25,11 @@ MonoBehaviour: m_SupportsTerrainHoles: 1 m_StoreActionsOptimization: 0 m_SupportsHDR: 1 - m_MSAA: 4 + m_MSAA: 1 m_RenderScale: 1 + m_UpscalingFilter: 0 + m_FsrOverrideSharpness: 0 + m_FsrSharpness: 0.92 m_MainLightRenderingMode: 1 m_MainLightShadowsSupported: 1 m_MainLightShadowmapResolution: 4096 @@ -48,6 +51,8 @@ MonoBehaviour: m_ShadowDepthBias: 1 m_ShadowNormalBias: 1 m_SoftShadowsSupported: 1 + m_ConservativeEnclosingSphere: 0 + m_NumIterationsEnclosingSphere: 64 m_AdditionalLightsCookieResolution: 4096 m_AdditionalLightsCookieFormat: 4 m_UseSRPBatcher: 1 @@ -56,7 +61,7 @@ MonoBehaviour: m_SupportsLightLayers: 0 m_DebugLevel: 0 m_UseAdaptivePerformance: 1 - m_ColorGradingMode: 0 + m_ColorGradingMode: 1 m_ColorGradingLutSize: 32 m_UseFastSRGBLinearConversion: 0 m_ShadowType: 1 diff --git a/Assets/Settings/URP-Performant-Renderer.asset b/Assets/Settings/URP-Performant-Renderer.asset index 56c53f0..f5db854 100644 --- a/Assets/Settings/URP-Performant-Renderer.asset +++ b/Assets/Settings/URP-Performant-Renderer.asset @@ -1,5 +1,18 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: +--- !u!114 &-6378745591178501688 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e4a5752e025fc3d4c98d3aad409aac42, type: 3} + m_Name: CustomPostProcessRenderer + m_EditorClassIdentifier: + m_Active: 1 --- !u!114 &11400000 MonoBehaviour: m_ObjectHideFlags: 0 @@ -15,10 +28,12 @@ MonoBehaviour: debugShaders: debugReplacementPS: {fileID: 4800000, guid: cf852408f2e174538bcd9b7fda1c5ae7, type: 3} - m_RendererFeatures: [] - m_RendererFeatureMap: + m_RendererFeatures: + - {fileID: -6378745591178501688} + m_RendererFeatureMap: c861374dae247aa7 m_UseNativeRenderPass: 0 postProcessData: {fileID: 11400000, guid: 41439944d30ece34e96484bdb6645b55, type: 2} + xrSystemData: {fileID: 11400000, guid: 60e1133243b97e347b653163a8c01b64, type: 2} shaders: blitPS: {fileID: 4800000, guid: c17132b1f77d20942aa75f8429c0f8bc, type: 3} copyDepthPS: {fileID: 4800000, guid: d6dae50ee9e1bfa4db75f19f99355220, type: 3} @@ -27,10 +42,14 @@ MonoBehaviour: stencilDeferredPS: {fileID: 4800000, guid: e9155b26e1bc55942a41e518703fe304, type: 3} fallbackErrorPS: {fileID: 4800000, guid: e6e9a19c3678ded42a3bc431ebef7dbd, type: 3} materialErrorPS: {fileID: 4800000, guid: 5fd9a8feb75a4b5894c241777f519d4e, type: 3} - coreBlitPS: {fileID: 0} - coreBlitColorAndDepthPS: {fileID: 0} - cameraMotionVector: {fileID: 0} - objectMotionVector: {fileID: 0} + coreBlitPS: {fileID: 4800000, guid: 93446b5c5339d4f00b85c159e1159b7c, type: 3} + coreBlitColorAndDepthPS: {fileID: 4800000, guid: d104b2fc1ca6445babb8e90b0758136b, + type: 3} + cameraMotionVector: {fileID: 4800000, guid: c56b7e0d4c7cb484e959caeeedae9bbf, + type: 3} + objectMotionVector: {fileID: 4800000, guid: 7b3ede40266cd49a395def176e1bc486, + type: 3} + m_AssetVersion: 1 m_OpaqueLayerMask: serializedVersion: 2 m_Bits: 4294967295 @@ -50,3 +69,4 @@ MonoBehaviour: m_AccurateGbufferNormals: 0 m_ClusteredRendering: 0 m_TileSize: 32 + m_IntermediateTextureMode: 1 diff --git a/Assets/Shaders.meta b/Assets/Shaders.meta new file mode 100644 index 0000000..4bab949 --- /dev/null +++ b/Assets/Shaders.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0af3415c87b444145affb5364f460618 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Shaders/CRTMaterialShader.mat b/Assets/Shaders/CRTMaterialShader.mat new file mode 100644 index 0000000..2fb5137 --- /dev/null +++ b/Assets/Shaders/CRTMaterialShader.mat @@ -0,0 +1,150 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-937696407428621231 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 5 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: CRTMaterialShader + m_Shader: {fileID: 4800000, guid: d4c49b1ac4f8dd44d98d7885681c6d4d, type: 3} + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 0, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AlphaClip: 0 + - _Blend: 0 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _EnvironmentReflections: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Intensity: 0.96 + - _Metallic: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.005 + - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _Surface: 0 + - _WorkflowMode: 1 + - _ZWrite: 1 + - u_bend: 4.03 + - u_blue_offset_y: 0.0021 + - u_green_offset_y: 0 + - u_noise_amount: 0.0154 + - u_noise_size: 417 + - u_red_offset_y: -0.0024 + - u_scanlin_transparence1: 0.005 + - u_scanlin_transparence2: 0.005 + - u_scanline_amount: 0.143 + - u_scanline_size_1: 277 + - u_scanline_size_2: 521 + - u_scanline_speed_1: 1569.4 + - u_scanline_speed_2: 76.6 + - u_space_bend: 1.993 + - u_time: 5.1 + - u_vignette_edge_round: 11.6 + - u_vignette_size: 1.95 + - u_vignette_smoothness: 0.82 + m_Colors: + - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + - u_blue_offset: {r: 0, g: 0.002, b: 0, a: 0} + - u_blue_offset_y: {r: 0.25, g: 0.5, b: 0.5, a: 0} + - u_green_offset: {r: 0, g: 0, b: 0, a: 0} + - u_green_offset_y: {r: 0.25, g: 0.5, b: 0.5, a: 0} + - u_red_offset: {r: 0, g: -0.002, b: 0, a: 0} + - u_red_offset_y: {r: 0.25, g: 0.5, b: 0.5, a: 0} + m_BuildTextureStacks: [] diff --git a/Assets/Readme.asset.meta b/Assets/Shaders/CRTMaterialShader.mat.meta similarity index 64% rename from Assets/Readme.asset.meta rename to Assets/Shaders/CRTMaterialShader.mat.meta index ab3ad45..a840c3c 100644 --- a/Assets/Readme.asset.meta +++ b/Assets/Shaders/CRTMaterialShader.mat.meta @@ -1,8 +1,8 @@ fileFormatVersion: 2 -guid: 8105016687592461f977c054a80ce2f2 +guid: a110daba21b580f4898ccf841727c0c2 NativeFormatImporter: externalObjects: {} - mainObjectFileID: 0 + mainObjectFileID: 2100000 userData: assetBundleName: assetBundleVariant: diff --git a/Assets/Shaders/CRTShader.shader b/Assets/Shaders/CRTShader.shader new file mode 100644 index 0000000..791aab6 --- /dev/null +++ b/Assets/Shaders/CRTShader.shader @@ -0,0 +1,170 @@ +Shader "CRTShaderFixed" +{ + Properties + { + _MainTex("Texture", 2D) = "Transparent" {} + u_time("Time",float) = 0.5 + u_bend("Bend",range(0.5, 10.0)) = 0.5 + u_space_bend("Space Bend",range(1.5, 2.5)) = 2.5 + u_scanlin_transparence1("Scanline 1 Transparence",range(0, 0.5)) = 0.5 + u_scanline_size_1("Scanline Size 1",range(0, 750)) = 0.5 + u_scanline_speed_1("Scanline Speed 1",float) = 0.5 + u_scanlin_transparence2("Scanline 2 Transparence",range(0, 0.5)) = 0.5 + u_scanline_size_2("Scanline Size 2",range(0, 750)) = 0.5 + u_scanline_speed_2("Scanline Speed 2",float) = 0.5 + u_scanline_amount("Scanline Amount",range(0, 1)) = 0.5 + u_vignette_size("Vignette Size",range(0, 10)) = 0.5 + u_vignette_smoothness("Vignette Smoothness",range(0, 2)) = 0.5 + u_vignette_edge_round("Vignette Edge Round",range(0, 100)) = 0.5 + u_noise_size("Noise Size",range(0, 500 )) = 0.5 + u_noise_amount("Noise Amount",range(0, 0.15)) = 0.5 + u_red_offset_y("Red Offset",range(-0.01,0.01)) = 0 + u_green_offset_y("Green Offset",range(-0.01,0.01)) = 0 + u_blue_offset_y("Blue Offset",range(-0.01,0.01)) = 0 + } + + SubShader + { + // No culling or depth + Cull Off ZWrite Off ZTest Always + + Tags + { + "RenderType"="Opaque" "RenderPipeline" = "UniversalPipeline" + } + + Pass + { + HLSLPROGRAM + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/SurfaceInput.hlsl" + + #pragma vertex vert + #pragma fragment frag + + TEXTURE2D(_MainTex); + SAMPLER(sampler_MainTex); + + float _Intensity; + + struct Attributes + { + float4 positionOS : POSITION; + float2 uv : TEXCOORD0; + }; + + struct Varyings + { + float2 uv : TEXCOORD0; + float4 vertex : SV_POSITION; + UNITY_VERTEX_OUTPUT_STEREO + }; + + + Varyings vert(Attributes input) + { + Varyings output = (Varyings)0; + UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(output); + + VertexPositionInputs vertexInput = GetVertexPositionInputs(input.positionOS.xyz); + output.vertex = vertexInput.positionCS; + output.uv = input.uv; + + return output; + } + + uniform float u_time; + uniform float u_bend; + uniform float u_space_bend; + uniform float u_scanlin_transparence1; + uniform float u_scanline_size_1; + uniform float u_scanline_speed_1; + uniform float u_scanlin_transparence2; + uniform float u_scanline_size_2; + uniform float u_scanline_speed_2; + uniform float u_scanline_amount; + uniform float u_vignette_size; + uniform float u_vignette_smoothness; + uniform float u_vignette_edge_round; + uniform float u_noise_size; + uniform float u_noise_amount; + uniform float u_red_offset_y; + uniform float u_green_offset_y; + uniform float u_blue_offset_y; + + half2 u_color_offset(float offset) + { + return half2(0, offset); + } + + half2 crt_coords(half2 uv, float bend) + { + uv -= 0.5; + uv *= 2.; + + uv.x *= 1. + pow(abs(uv.y) / bend, 2.); + uv.y *= 1. + pow(abs(uv.x) / bend, 2.); + + uv /= u_space_bend; + return (uv + .5); + } + + float vignette(half2 uv, float size, float smoothness, float edgeRounding) + { + uv -= .5; + uv *= size; + float amount = sqrt(pow(abs(uv.x), edgeRounding) + pow(abs(uv.y), edgeRounding)); + amount = 1. - amount; + return smoothstep(0, smoothness, amount); + } + + float scanline(half2 uv, float lines, float speed, float transparence) + { + return sin(uv.y * lines + u_time * speed) * transparence; + } + + float random(half2 uv) + { + return frac(sin(dot(uv, half2(15.1511, 42.5225))) * 12341.51611 * sin(u_time * 0.03)); + } + + float noise(half2 uv) + { + half2 i = floor(uv); + half2 f = frac(uv); + + float a = random(i); + float b = random(i + half2(1., 0.)); + float c = random(i + half2(0, 1.)); + float d = random(i + half2(1., 1.)); + + half2 u = smoothstep(0., 1., f); + + return (lerp(a, b, u.x) + (c - a) * u.y * (1. - u.x) + (d - b) * u.x * u.y); + } + + float4 frag(Varyings i) : SV_Target + { + UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(input); + u_time = _Time; + half2 crt_uv = crt_coords(i.uv, u_bend); + float4 color = SAMPLE_TEXTURE2D(_MainTex, sampler_MainTex, i.uv); + + color.r = SAMPLE_TEXTURE2D(_MainTex, sampler_MainTex, crt_uv + u_color_offset(u_red_offset_y)).r; + color.g = SAMPLE_TEXTURE2D(_MainTex, sampler_MainTex, crt_uv + u_color_offset(u_green_offset_y)).g; + color.b = SAMPLE_TEXTURE2D(_MainTex, sampler_MainTex, crt_uv + u_color_offset(u_blue_offset_y)).b; + color.a = SAMPLE_TEXTURE2D(_MainTex,sampler_MainTex, crt_uv).a; + + float s1 = scanline(i.uv, u_scanline_size_1, u_scanline_speed_1, u_scanlin_transparence1); + float s2 = scanline(i.uv, u_scanline_size_2, u_scanline_speed_2, u_scanlin_transparence2); + + color = lerp(color, (s1 + s2), u_scanline_amount); + color = lerp(color, noise(i.uv * u_noise_size), u_noise_amount); + color *= vignette(i.uv, u_vignette_size, u_vignette_smoothness, u_vignette_edge_round); + + return color; + } + ENDHLSL + } + } + FallBack "Diffuse" +} \ No newline at end of file diff --git a/Assets/Shaders/CRTShader.shader.meta b/Assets/Shaders/CRTShader.shader.meta new file mode 100644 index 0000000..4161a29 --- /dev/null +++ b/Assets/Shaders/CRTShader.shader.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 7d830e9754227db4b89bacfdc753e135 +ShaderImporter: + externalObjects: {} + defaultTextures: [] + nonModifiableTextures: [] + preprocessorOverride: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sprites/Logo_ETS_SansTypo_EN.jpg b/Assets/Sprites/Logo_ETS_SansTypo_EN.jpg new file mode 100644 index 0000000..7ffad2e Binary files /dev/null and b/Assets/Sprites/Logo_ETS_SansTypo_EN.jpg differ diff --git a/Assets/Sprites/testAsesprite.png.meta b/Assets/Sprites/Logo_ETS_SansTypo_EN.jpg.meta similarity index 98% rename from Assets/Sprites/testAsesprite.png.meta rename to Assets/Sprites/Logo_ETS_SansTypo_EN.jpg.meta index 73cec51..fe49245 100644 --- a/Assets/Sprites/testAsesprite.png.meta +++ b/Assets/Sprites/Logo_ETS_SansTypo_EN.jpg.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 116e65d2b34493c439f545f71aa487b5 +guid: 90eac422c0bd8ba43b107bdea7a303ce TextureImporter: internalIDToNameTable: [] externalObjects: {} @@ -47,7 +47,7 @@ TextureImporter: spriteMeshType: 1 alignment: 0 spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 32 + spritePixelsToUnits: 100 spriteBorder: {x: 0, y: 0, z: 0, w: 0} spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 diff --git a/Assets/Sprites/MenuBackGround2.png b/Assets/Sprites/MenuBackGround2.png new file mode 100644 index 0000000..80cde8d Binary files /dev/null and b/Assets/Sprites/MenuBackGround2.png differ diff --git a/Assets/Sprites/MenuBackGround2.png.meta b/Assets/Sprites/MenuBackGround2.png.meta new file mode 100644 index 0000000..3469c88 --- /dev/null +++ b/Assets/Sprites/MenuBackGround2.png.meta @@ -0,0 +1,147 @@ +fileFormatVersion: 2 +guid: f101856c7df715742a264dc02c835fb4 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + 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 + ignoreMasterTextureLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + 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: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + cookieLightType: 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 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Windows Store Apps + 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: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sprites/couleur_sur_blanc.png b/Assets/Sprites/couleur_sur_blanc.png new file mode 100644 index 0000000..3697c91 Binary files /dev/null and b/Assets/Sprites/couleur_sur_blanc.png differ diff --git a/Assets/Sprites/couleur_sur_blanc.png.meta b/Assets/Sprites/couleur_sur_blanc.png.meta new file mode 100644 index 0000000..366f8a2 --- /dev/null +++ b/Assets/Sprites/couleur_sur_blanc.png.meta @@ -0,0 +1,147 @@ +fileFormatVersion: 2 +guid: 24caa3fc9ef9d7f4b8713838184ca64b +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + 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 + ignoreMasterTextureLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + 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: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + cookieLightType: 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 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Windows Store Apps + 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: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sprites/icon.png b/Assets/Sprites/icon.png new file mode 100644 index 0000000..660127a Binary files /dev/null and b/Assets/Sprites/icon.png differ diff --git a/Assets/Sprites/icon.png.meta b/Assets/Sprites/icon.png.meta new file mode 100644 index 0000000..0938512 --- /dev/null +++ b/Assets/Sprites/icon.png.meta @@ -0,0 +1,147 @@ +fileFormatVersion: 2 +guid: 7c0886a78875450438f8aeb2141c14b4 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + 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 + ignoreMasterTextureLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + 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: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + cookieLightType: 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 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Windows Store Apps + 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: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sprites/testAsesprite.png b/Assets/Sprites/testAsesprite.png deleted file mode 100644 index 3c29164..0000000 Binary files a/Assets/Sprites/testAsesprite.png and /dev/null differ diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index cb6a610..31cf2c2 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -19,10 +19,10 @@ PlayerSettings: m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} m_ShowUnitySplashScreen: 1 m_ShowUnitySplashLogo: 1 - m_SplashScreenOverlayOpacity: 1 + m_SplashScreenOverlayOpacity: 0.22 m_SplashScreenAnimation: 1 m_SplashScreenLogoStyle: 1 - m_SplashScreenDrawMode: 0 + m_SplashScreenDrawMode: 1 m_SplashScreenBackgroundAnimationZoom: 1 m_SplashScreenLogoAnimationZoom: 1 m_SplashScreenBackgroundLandscapeAspect: 1 @@ -39,13 +39,19 @@ PlayerSettings: y: 0 width: 1 height: 1 - m_SplashScreenLogos: [] + m_SplashScreenLogos: + - logo: {fileID: 10404, guid: 0000000000000000e000000000000000, type: 0} + duration: 2 + - logo: {fileID: 21300000, guid: 90eac422c0bd8ba43b107bdea7a303ce, type: 3} + duration: 2 + - logo: {fileID: 21300000, guid: 24caa3fc9ef9d7f4b8713838184ca64b, type: 3} + duration: 2 m_VirtualRealitySplashScreen: {fileID: 0} m_HolographicTrackingLossScreen: {fileID: 0} defaultScreenWidth: 1024 defaultScreenHeight: 768 - defaultScreenWidthWeb: 960 - defaultScreenHeightWeb: 600 + defaultScreenWidthWeb: 640 + defaultScreenHeightWeb: 480 m_StereoRenderingPath: 0 m_ActiveColorSpace: 1 m_MTRendering: 1 @@ -269,7 +275,49 @@ PlayerSettings: AndroidMinifyDebug: 0 AndroidValidateAppBundleSize: 1 AndroidAppBundleSizeToValidate: 150 - m_BuildTargetIcons: [] + m_BuildTargetIcons: + - m_BuildTarget: Standalone + m_Icons: + - serializedVersion: 2 + m_Icon: {fileID: 2800000, guid: 7c0886a78875450438f8aeb2141c14b4, type: 3} + m_Width: 1024 + m_Height: 1024 + m_Kind: 0 + - serializedVersion: 2 + m_Icon: {fileID: 0} + m_Width: 512 + m_Height: 512 + m_Kind: 0 + - serializedVersion: 2 + m_Icon: {fileID: 0} + m_Width: 256 + m_Height: 256 + m_Kind: 0 + - serializedVersion: 2 + m_Icon: {fileID: 0} + m_Width: 128 + m_Height: 128 + m_Kind: 0 + - serializedVersion: 2 + m_Icon: {fileID: 0} + m_Width: 64 + m_Height: 64 + m_Kind: 0 + - serializedVersion: 2 + m_Icon: {fileID: 0} + m_Width: 48 + m_Height: 48 + m_Kind: 0 + - serializedVersion: 2 + m_Icon: {fileID: 0} + m_Width: 32 + m_Height: 32 + m_Kind: 0 + - serializedVersion: 2 + m_Icon: {fileID: 0} + m_Width: 16 + m_Height: 16 + m_Kind: 0 m_BuildTargetPlatformIcons: - m_BuildTarget: iPhone m_Icons: @@ -507,6 +555,9 @@ PlayerSettings: - m_BuildTarget: AndroidPlayer m_APIs: 0b00000008000000 m_Automatic: 0 + - m_BuildTarget: WebGLSupport + m_APIs: 0b000000 + m_Automatic: 0 m_BuildTargetVRSettings: [] openGLRequireES31: 0 openGLRequireES31AEP: 0 @@ -516,7 +567,9 @@ PlayerSettings: Android: 1 iPhone: 1 tvOS: 1 - m_BuildTargetGroupLightmapEncodingQuality: [] + m_BuildTargetGroupLightmapEncodingQuality: + - m_BuildTarget: WebGL + m_EncodingQuality: 1 m_BuildTargetGroupLightmapSettings: [] m_BuildTargetNormalMapEncoding: [] m_BuildTargetDefaultTextureCompressionFormat: [] @@ -748,7 +801,8 @@ PlayerSettings: ps4IncludedModules: [] ps4attribVROutputEnabled: 0 monoEnv: - splashScreenBackgroundSourceLandscape: {fileID: 0} + splashScreenBackgroundSourceLandscape: {fileID: 21300000, guid: f101856c7df715742a264dc02c835fb4, + type: 3} splashScreenBackgroundSourcePortrait: {fileID: 0} blurSplashScreenBackground: 1 spritePackerPolicy: @@ -759,7 +813,7 @@ PlayerSettings: webGLDebugSymbols: 0 webGLEmscriptenArgs: webGLModulesDirectory: - webGLTemplate: APPLICATION:Default + webGLTemplate: APPLICATION:Minimal webGLAnalyzeBuildSize: 0 webGLUseEmbeddedResources: 0 webGLCompressionFormat: 0 diff --git a/ProjectSettings/QualitySettings.asset b/ProjectSettings/QualitySettings.asset index 6238eb7..f101af3 100644 --- a/ProjectSettings/QualitySettings.asset +++ b/ProjectSettings/QualitySettings.asset @@ -95,7 +95,7 @@ QualitySettings: skinWeights: 255 textureQuality: 0 anisotropicTextures: 2 - antiAliasing: 4 + antiAliasing: 0 softParticles: 0 softVegetation: 1 realtimeReflectionProbes: 1 @@ -120,9 +120,9 @@ QualitySettings: m_PerPlatformDefaultQuality: Android: 1 CloudRendering: 2 - Lumin: 2 GameCoreScarlett: 2 GameCoreXboxOne: 2 + Lumin: 2 Nintendo Switch: 2 PS4: 2 PS5: 2 diff --git a/ProjectSettings/TagManager.asset b/ProjectSettings/TagManager.asset index 08de597..21b77e3 100644 --- a/ProjectSettings/TagManager.asset +++ b/ProjectSettings/TagManager.asset @@ -19,7 +19,7 @@ TagManager: - - - - - + - PostProcessing - - -