From bb1772d0967c566219e25ab926f0b15a405de60c Mon Sep 17 00:00:00 2001 From: BRNSystems Date: Tue, 20 Jul 2021 21:03:22 +0200 Subject: [PATCH] Added some post processing --- Assets/Scenes/Level1.meta | 8 ++ Assets/Scenes/Level1.unity | 81 +++++++++++++++++++ .../Scenes/Level1/Global Volume Profile.asset | 72 +++++++++++++++++ .../Level1/Global Volume Profile.asset.meta | 8 ++ .../UniversalRenderPipelineAsset.asset | 2 +- ProjectSettings/QualitySettings.asset | 2 +- 6 files changed, 171 insertions(+), 2 deletions(-) create mode 100644 Assets/Scenes/Level1.meta create mode 100644 Assets/Scenes/Level1/Global Volume Profile.asset create mode 100644 Assets/Scenes/Level1/Global Volume Profile.asset.meta diff --git a/Assets/Scenes/Level1.meta b/Assets/Scenes/Level1.meta new file mode 100644 index 0000000..aeed37a --- /dev/null +++ b/Assets/Scenes/Level1.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4732b4d9a0a770e469c9b10538688cef +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/Level1.unity b/Assets/Scenes/Level1.unity index b624814..180feb0 100644 --- a/Assets/Scenes/Level1.unity +++ b/Assets/Scenes/Level1.unity @@ -290,6 +290,7 @@ GameObject: - component: {fileID: 519420031} - component: {fileID: 519420029} - component: {fileID: 519420030} + - component: {fileID: 519420033} m_Layer: 0 m_Name: Main Camera m_TagString: MainCamera @@ -375,6 +376,38 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &519420033 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 519420028} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_RenderShadows: 1 + m_RequiresDepthTextureOption: 2 + m_RequiresOpaqueTextureOption: 2 + m_CameraType: 0 + m_Cameras: [] + m_RendererIndex: -1 + m_VolumeLayerMask: + serializedVersion: 2 + m_Bits: 1 + m_VolumeTrigger: {fileID: 0} + m_RenderPostProcessing: 1 + m_Antialiasing: 2 + m_AntialiasingQuality: 2 + m_StopNaN: 0 + m_Dithering: 0 + m_ClearDepth: 1 + m_AllowXRRendering: 1 + m_RequiresDepthTexture: 0 + m_RequiresColorTexture: 0 + m_Version: 2 --- !u!1 &1174924374 GameObject: m_ObjectHideFlags: 0 @@ -611,6 +644,54 @@ MonoBehaviour: bottom: {fileID: 6200000, guid: 2c0538ecede9d3b43867ca45f72ba04b, type: 2} controller: {fileID: 1174924383} runspeed: 40 +--- !u!1 &1195437271 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1195437273} + - component: {fileID: 1195437272} + m_Layer: 0 + m_Name: Global Volume + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1195437272 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1195437271} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 172515602e62fb746b5d573b38a5fe58, type: 3} + m_Name: + m_EditorClassIdentifier: + isGlobal: 1 + priority: 0 + blendDistance: 0 + weight: 1 + sharedProfile: {fileID: 11400000, guid: f293c0209739a5248b5cf4f586e42777, type: 2} +--- !u!4 &1195437273 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1195437271} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -8.281664, y: -2.3889172, z: -6.3519616} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1266115505 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Scenes/Level1/Global Volume Profile.asset b/Assets/Scenes/Level1/Global Volume Profile.asset new file mode 100644 index 0000000..1ca62c7 --- /dev/null +++ b/Assets/Scenes/Level1/Global Volume Profile.asset @@ -0,0 +1,72 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-7330607262830589490 +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: 97c23e3b12dc18c42a140437e53d3951, type: 3} + m_Name: Tonemapping + m_EditorClassIdentifier: + active: 1 + m_AdvancedMode: 0 + mode: + m_OverrideState: 1 + m_Value: 2 +--- !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: Global Volume Profile + m_EditorClassIdentifier: + components: + - {fileID: -7330607262830589490} + - {fileID: 568433943547547199} +--- !u!114 &568433943547547199 +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: 66f335fb1ffd8684294ad653bf1c7564, type: 3} + m_Name: ColorAdjustments + m_EditorClassIdentifier: + active: 1 + m_AdvancedMode: 0 + postExposure: + m_OverrideState: 1 + m_Value: 0.5 + contrast: + m_OverrideState: 1 + m_Value: -6 + min: -100 + max: 100 + colorFilter: + m_OverrideState: 0 + m_Value: {r: 1, g: 1, b: 1, a: 1} + hdr: 1 + showAlpha: 0 + showEyeDropper: 1 + hueShift: + m_OverrideState: 0 + m_Value: 0 + min: -180 + max: 180 + saturation: + m_OverrideState: 1 + m_Value: -5 + min: -100 + max: 100 diff --git a/Assets/Scenes/Level1/Global Volume Profile.asset.meta b/Assets/Scenes/Level1/Global Volume Profile.asset.meta new file mode 100644 index 0000000..f8eebc4 --- /dev/null +++ b/Assets/Scenes/Level1/Global Volume Profile.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f293c0209739a5248b5cf4f586e42777 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Stupid_URP_stuff/UniversalRenderPipelineAsset.asset b/Assets/Stupid_URP_stuff/UniversalRenderPipelineAsset.asset index 444efe3..5de8be4 100644 --- a/Assets/Stupid_URP_stuff/UniversalRenderPipelineAsset.asset +++ b/Assets/Stupid_URP_stuff/UniversalRenderPipelineAsset.asset @@ -24,7 +24,7 @@ MonoBehaviour: m_OpaqueDownsampling: 1 m_SupportsTerrainHoles: 1 m_SupportsHDR: 1 - m_MSAA: 1 + m_MSAA: 8 m_RenderScale: 1 m_MainLightRenderingMode: 1 m_MainLightShadowsSupported: 1 diff --git a/ProjectSettings/QualitySettings.asset b/ProjectSettings/QualitySettings.asset index 38a45f3..5b7b10f 100644 --- a/ProjectSettings/QualitySettings.asset +++ b/ProjectSettings/QualitySettings.asset @@ -201,7 +201,7 @@ QualitySettings: skinWeights: 255 textureQuality: 0 anisotropicTextures: 2 - antiAliasing: 0 + antiAliasing: 8 softParticles: 1 softVegetation: 1 realtimeReflectionProbes: 1