From f9c17701da35ab1f6d0ff9a00bc1760aac300978 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=98=89=E5=AE=87?= <2453663605@qq.com> Date: Mon, 25 Dec 2023 18:15:26 +0800 Subject: [PATCH] =?UTF-8?q?20231225=E9=9B=BE=E5=A4=A9=E6=95=88=E6=9E=9C?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Core/Resources/Height Fog Preset.mat | 8 ++- .../Atmospheric Height Fog/Demo/fog.prefab | 56 ++++++++++--------- 2 files changed, 37 insertions(+), 27 deletions(-) diff --git a/U3D_DrivingSystem/Assets/BOXOPHOBIC/Atmospheric Height Fog/Core/Resources/Height Fog Preset.mat b/U3D_DrivingSystem/Assets/BOXOPHOBIC/Atmospheric Height Fog/Core/Resources/Height Fog Preset.mat index cf3b9a53..ad21fcba 100644 --- a/U3D_DrivingSystem/Assets/BOXOPHOBIC/Atmospheric Height Fog/Core/Resources/Height Fog Preset.mat +++ b/U3D_DrivingSystem/Assets/BOXOPHOBIC/Atmospheric Height Fog/Core/Resources/Height Fog Preset.mat @@ -19,6 +19,7 @@ Material: m_SavedProperties: serializedVersion: 3 m_TexEnvs: [] + m_Ints: [] m_Floats: - _AdvancedCat: 1 - _Banner: 1 @@ -30,7 +31,10 @@ Material: - _DirectionalMode: 1 - _DirectionalModeBlend: 0 - _FOGG: 1 + - _FarDistanceHeight: 0 + - _FarDistanceOffset: 0 - _FogAxisMode: 1 + - _FogCameraMode: 0 - _FogCat: 1 - _FogColorDuo: 0 - _FogDistanceEnd: 100 @@ -49,6 +53,8 @@ Material: - _NoiseCat: 1 - _NoiseDistanceEnd: 200 - _NoiseIntensity: 1 + - _NoiseMax: 1 + - _NoiseMin: 0 - _NoiseMode: 2 - _NoiseModeBlend: 0 - _NoiseScale: 30 @@ -64,7 +70,7 @@ Material: m_Colors: - _DirectionalColor: {r: 1, g: 0.7793103, b: 0.5, a: 1} - _DirectionalCustomDir: {r: 0, g: 0, b: 0, a: 0} - - _DirectionalDir: {r: 0.7081007, g: 0.28231323, b: 0.6472192, a: 0} + - _DirectionalDir: {r: 0.0006521493, g: 0.9997266, b: 0.023376398, a: 0} - _FogAxisOption: {r: 0, g: 1, b: 0, a: 0} - _FogColorEnd: {r: 0.8862745, g: 1.443137, b: 2, a: 1} - _FogColorStart: {r: 1, g: 0, b: 0.5, a: 1} diff --git a/U3D_DrivingSystem/Assets/BOXOPHOBIC/Atmospheric Height Fog/Demo/fog.prefab b/U3D_DrivingSystem/Assets/BOXOPHOBIC/Atmospheric Height Fog/Demo/fog.prefab index 43b224df..55b019c9 100644 --- a/U3D_DrivingSystem/Assets/BOXOPHOBIC/Atmospheric Height Fog/Demo/fog.prefab +++ b/U3D_DrivingSystem/Assets/BOXOPHOBIC/Atmospheric Height Fog/Demo/fog.prefab @@ -90,6 +90,7 @@ Light: 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!64 &1277934037 @@ -269,10 +270,12 @@ MeshRenderer: m_CastShadows: 1 m_ReceiveShadows: 1 m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_RayTracingMode: 2 + m_RayTraceProcedural: 0 m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: @@ -297,6 +300,7 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} --- !u!114 &7996012068613656571 MonoBehaviour: m_ObjectHideFlags: 0 @@ -322,20 +326,20 @@ MonoBehaviour: presetNight: {fileID: 0} timeOfDay: 0 categoryFog: 1 - fogIntensity: 0.62 + fogIntensity: 0.6 fogAxisMode: 1 fogLayersMode: 10 fogCameraMode: 0 fogColorStart: {r: 1, g: 1, b: 1, a: 1} fogColorEnd: {r: 1.490566, g: 1.490566, b: 1.490566, a: 1} fogColorDuo: 1 - fogDistanceStart: -60 + fogDistanceStart: -10 fogDistanceEnd: 60 - fogDistanceFalloff: 4.7 + fogDistanceFalloff: 1 fogHeightStart: 0 fogHeightEnd: 15 fogHeightFalloff: 1 - farDistanceHeight: 0 + farDistanceHeight: 20.3 farDistanceOffset: 0 categorySkybox: 1 skyboxFogIntensity: 0.85 @@ -347,7 +351,7 @@ MonoBehaviour: categoryDirectional: 1 directionalIntensity: 1 directionalFalloff: 1 - directionalColor: {r: 1, g: 1, b: 1, a: 1} + directionalColor: {r: 0.8066038, g: 0.9516153, b: 1, a: 1} categoryNoise: 1 noiseIntensity: 1 noiseMin: 0 @@ -361,7 +365,7 @@ MonoBehaviour: manualPositionAndScale: 0 styledSpace0: 0 overrideMaterial: {fileID: 0} - overrideCamToVolumeDistance: 1 + overrideCamToVolumeDistance: Infinity overrideVolumeDistanceFade: 0 version: 0 --- !u!1 &8143146700785764643 @@ -558,6 +562,11 @@ PrefabInstance: propertyPath: m_Name value: "\u6674\u5929\u516C\u8DEF (2)" objectReference: {fileID: 0} + - target: {fileID: 7782823665519913277, guid: 63c0ff75cd2443b49ae41f5c1479c637, + type: 3} + propertyPath: m_RootOrder + value: 4 + objectReference: {fileID: 0} - target: {fileID: 7782823665519913277, guid: 63c0ff75cd2443b49ae41f5c1479c637, type: 3} propertyPath: m_LocalPosition.x @@ -573,6 +582,11 @@ PrefabInstance: propertyPath: m_LocalPosition.z value: 133.21715 objectReference: {fileID: 0} + - target: {fileID: 7782823665519913277, guid: 63c0ff75cd2443b49ae41f5c1479c637, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} - target: {fileID: 7782823665519913277, guid: 63c0ff75cd2443b49ae41f5c1479c637, type: 3} propertyPath: m_LocalRotation.x @@ -588,16 +602,6 @@ PrefabInstance: propertyPath: m_LocalRotation.z value: -0 objectReference: {fileID: 0} - - target: {fileID: 7782823665519913277, guid: 63c0ff75cd2443b49ae41f5c1479c637, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 7782823665519913277, guid: 63c0ff75cd2443b49ae41f5c1479c637, - type: 3} - propertyPath: m_RootOrder - value: 4 - objectReference: {fileID: 0} - target: {fileID: 7782823665519913277, guid: 63c0ff75cd2443b49ae41f5c1479c637, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -633,6 +637,11 @@ PrefabInstance: propertyPath: m_Name value: gaosu (1) objectReference: {fileID: 0} + - target: {fileID: 5127605427742172959, guid: a16844af23c3a354f95dac2298da1d0b, + type: 3} + propertyPath: m_RootOrder + value: 5 + objectReference: {fileID: 0} - target: {fileID: 5127605427742172959, guid: a16844af23c3a354f95dac2298da1d0b, type: 3} propertyPath: m_LocalPosition.x @@ -648,6 +657,11 @@ PrefabInstance: propertyPath: m_LocalPosition.z value: 20.126173 objectReference: {fileID: 0} + - target: {fileID: 5127605427742172959, guid: a16844af23c3a354f95dac2298da1d0b, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} - target: {fileID: 5127605427742172959, guid: a16844af23c3a354f95dac2298da1d0b, type: 3} propertyPath: m_LocalRotation.x @@ -663,16 +677,6 @@ PrefabInstance: propertyPath: m_LocalRotation.z value: -0 objectReference: {fileID: 0} - - target: {fileID: 5127605427742172959, guid: a16844af23c3a354f95dac2298da1d0b, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 5127605427742172959, guid: a16844af23c3a354f95dac2298da1d0b, - type: 3} - propertyPath: m_RootOrder - value: 5 - objectReference: {fileID: 0} - target: {fileID: 5127605427742172959, guid: a16844af23c3a354f95dac2298da1d0b, type: 3} propertyPath: m_LocalEulerAnglesHint.x