升级6.4.升级水,升级天气

This commit is contained in:
2026-04-05 00:26:54 +08:00
parent 63bc9b5536
commit 5f7cbfb713
635 changed files with 34718 additions and 22567 deletions

View File

@@ -0,0 +1,90 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Stylized Skybox
m_Shader: {fileID: 103, guid: 0000000000000000f000000000000000, type: 0}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _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: 1, 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}
- _Tex:
m_Texture: {fileID: 8900000, guid: 50485db22151042eb9f0da9359dc3abf, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _Exposure: 1
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _Rotation: 0
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _Tint: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}
m_BuildTextureStacks: []

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 89fa5ae358bdd4fd0a6a5db7411ac1be
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -428,6 +428,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
_Version: 0
_Source: 1
_Viewer: {fileID: 0}
_Layer: 0
_MinimumWavelength: 1
_DistanceFromSurfaceSigned: 0

View File

@@ -5,6 +5,7 @@ using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
using UnityEngine.SceneManagement;
using WaveHarmonic.Crest.Internal;
namespace WaveHarmonic.Crest.Examples
{
@@ -13,15 +14,10 @@ namespace WaveHarmonic.Crest.Examples
#endif
[ExecuteAlways]
[RequireComponent(typeof(Camera))]
sealed class AlignSceneViewToCamera : MonoBehaviour
sealed class AlignSceneViewToCamera : CustomBehaviour
{
[SerializeField, HideInInspector]
#pragma warning disable 414
int _Version = 0;
#pragma warning restore 414
#if UNITY_EDITOR
static int s_Scene;
static ulong s_Scene;
static bool s_SceneChanged;
[InitializeOnLoadMethod]
@@ -29,20 +25,22 @@ namespace WaveHarmonic.Crest.Examples
{
EditorSceneManager.sceneClosed -= OnSceneClosed;
EditorSceneManager.sceneClosed += OnSceneClosed;
s_Scene = SceneManager.GetActiveScene().handle;
s_Scene = SceneManager.GetActiveScene().GetRawSceneHandle();
}
static void OnSceneClosed(Scene a)
{
// TODO: Report to Unity
// Does not work if only game view is open. Handles will never update.
if (s_Scene == a.handle) return;
if (s_Scene == a.GetRawSceneHandle()) return;
s_SceneChanged = true;
s_Scene = a.handle;
s_Scene = a.GetRawSceneHandle();
}
void OnEnable()
private protected override void OnEnable()
{
base.OnEnable();
EditorApplication.update -= EditorUpdate;
EditorApplication.update += EditorUpdate;
}

View File

@@ -5,9 +5,22 @@
#define INPUT_SYSTEM_ENABLED
#endif
#if ENABLE_VR
#if UNITY_6000_5_OR_NEWER
#if d_UnityModuleXR
#define _XR_ENABLED
#endif
#else
#if d_UnityModuleVR
#define _XR_ENABLED
#endif
#endif
#endif
using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.XR;
using WaveHarmonic.Crest.Internal;
namespace WaveHarmonic.Crest.Examples
{
@@ -17,13 +30,8 @@ namespace WaveHarmonic.Crest.Examples
#if !CREST_DEBUG
[AddComponentMenu("")]
#endif
sealed class CameraController : MonoBehaviour
sealed class CameraController : CustomBehaviour
{
[SerializeField, HideInInspector]
#pragma warning disable 414
int _Version = 0;
#pragma warning restore 414
[SerializeField]
float _LinearSpeed = 10f;
@@ -63,9 +71,10 @@ namespace WaveHarmonic.Crest.Examples
Transform _TargetTransform;
Camera _Camera;
void Awake()
private protected override void Awake()
{
base.Awake();
_TargetTransform = transform;
if (!TryGetComponent(out _Camera))
@@ -74,7 +83,7 @@ namespace WaveHarmonic.Crest.Examples
return;
}
#if ENABLE_VR && d_UnityModuleVR
#if _XR_ENABLED
if (XRSettings.enabled)
{
// Seems like the best place to put this for now. Most XR debugging happens using this component.
@@ -93,7 +102,7 @@ namespace WaveHarmonic.Crest.Examples
UpdateMovement(dt);
#if ENABLE_VR && d_UnityModuleVR
#if _XR_ENABLED
// These aren't useful and can break for XR hardware.
if (!XRSettings.enabled || XRSettings.loadedDeviceName.Contains("MockHMD"))
#endif
@@ -102,7 +111,7 @@ namespace WaveHarmonic.Crest.Examples
UpdateKillRoll();
}
#if ENABLE_VR && d_UnityModuleVR
#if _XR_ENABLED
if (XRSettings.enabled)
{
// Check if property has changed.

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 5923ff6194bdd4740a68caa8ecad46d4
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,24 @@
// Crest Water System
// Copyright © 2024 Wave Harmonic. All rights reserved.
#if d_UnityInputSystem && ENABLE_INPUT_SYSTEM
#define INPUT_SYSTEM_ENABLED
#endif
using UnityEngine;
namespace WaveHarmonic.Crest.Examples
{
#if !CREST_DEBUG
[AddComponentMenu("")]
#endif
sealed class InputModulePatcher : MonoBehaviour
{
#if INPUT_SYSTEM_ENABLED
void OnEnable()
{
GetComponent<UnityEngine.EventSystems.StandaloneInputModule>().enabled = false;
}
#endif
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 539016482e955484bbeb4193a95d3e15
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -13,11 +13,6 @@ namespace WaveHarmonic.Crest.Examples
{
#pragma warning disable IDE0032 // Use auto property
[SerializeField, HideInInspector]
#pragma warning disable 414
int _Version = 0;
#pragma warning restore 414
[SerializeField]
float _LerpAlpha = 0.1f;

View File

@@ -13,11 +13,6 @@ namespace WaveHarmonic.Crest.Examples
[AddComponentMenu(Constants.k_MenuPrefixSample + "Sample Displacement Demo")]
sealed class SampleDisplacementDemo : ManagedBehaviour<WaterRenderer>
{
[SerializeField, HideInInspector]
#pragma warning disable 414
int _Version = 0;
#pragma warning restore 414
[Tooltip(ICollisionProvider.k_LayerTooltip)]
[SerializeField]
CollisionLayer _Layer;

View File

@@ -12,11 +12,6 @@ namespace WaveHarmonic.Crest.Examples
[AddComponentMenu(Constants.k_MenuPrefixSample + "Sample Height Demo")]
sealed class SampleHeightDemo : ManagedBehaviour<WaterRenderer>
{
[SerializeField, HideInInspector]
#pragma warning disable 414
int _Version = 0;
#pragma warning restore 414
[Tooltip(ICollisionProvider.k_LayerTooltip)]
[SerializeField]
CollisionLayer _Layer;

View File

@@ -2,6 +2,7 @@
// Copyright © 2024 Wave Harmonic. All rights reserved.
using UnityEngine;
using WaveHarmonic.Crest.Internal;
namespace WaveHarmonic.Crest.Examples
{
@@ -11,12 +12,10 @@ namespace WaveHarmonic.Crest.Examples
#if !CREST_DEBUG
[AddComponentMenu("")]
#endif
sealed class RandomMotion : MonoBehaviour
sealed class RandomMotion : CustomBehaviour
{
[SerializeField, HideInInspector]
#pragma warning disable 414
int _Version = 0;
#pragma warning restore 414
[SerializeField]
bool _WorldSpace;
[Header("Translation")]
@@ -49,10 +48,11 @@ namespace WaveHarmonic.Crest.Examples
Vector3 _Origin;
Vector3 _OrthogonalAxis;
void Start()
private protected override void OnStart()
{
_Origin = transform.position;
base.OnStart();
_Origin = _WorldSpace ? transform.position : transform.localPosition;
_OrthogonalAxis = Quaternion.AngleAxis(90f, Vector3.up) * _Axis;
}
@@ -64,10 +64,21 @@ namespace WaveHarmonic.Crest.Examples
// Do circles in perlin noise
var rnd = 2f * (Mathf.PerlinNoise(0.5f + 0.5f * Mathf.Cos(_Frequency * Time.time), 0.5f + 0.5f * Mathf.Sin(_Frequency * Time.time)) - 0.5f);
// Prevent jump at start.
var amplitude = Mathf.Min(_Amplitude, _Amplitude * Time.timeSinceLevelLoad);
var orthoPhaseOff = Mathf.PI / 2f;
var rndOrtho = 2f * (Mathf.PerlinNoise(0.5f + 0.5f * Mathf.Cos(_Frequency * Time.time + orthoPhaseOff), 0.5f + 0.5f * Mathf.Sin(_Frequency * Time.time + orthoPhaseOff)) - 0.5f);
var position = _Origin + (_Axis * rnd + _OrthogonalMotion * rndOrtho * _OrthogonalAxis) * amplitude;
transform.position = _Origin + (_Axis * rnd + _OrthogonalMotion * rndOrtho * _OrthogonalAxis) * _Amplitude;
if (_WorldSpace)
{
transform.position = position;
}
else
{
transform.localPosition = position;
}
}
// Rotation

View File

@@ -3,6 +3,7 @@
using UnityEngine;
using UnityEngine.Rendering;
using WaveHarmonic.Crest.Internal;
namespace WaveHarmonic.Crest.Editor
{
@@ -10,15 +11,16 @@ namespace WaveHarmonic.Crest.Editor
[AddComponentMenu("")]
#endif
[ExecuteAlways]
sealed class AmbientLightPatcher : MonoBehaviour
sealed class AmbientLightPatcher : CustomBehaviour
{
[SerializeField, HideInInspector]
#pragma warning disable 414
int _Version = 0;
#pragma warning restore 414
#if UNITY_EDITOR
void OnEnable() => InitializeAmbientLighting();
private protected override void OnEnable()
{
base.OnEnable();
InitializeAmbientLighting();
}
void Update() => InitializeAmbientLighting();
bool _Baked;

View File

@@ -6,6 +6,7 @@
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering.PostProcessing;
using WaveHarmonic.Crest.Internal;
namespace WaveHarmonic.Crest.Examples
{
@@ -14,26 +15,28 @@ namespace WaveHarmonic.Crest.Examples
[AddComponentMenu("")]
#endif
[ExecuteAlways, RequireComponent(typeof(PostProcessVolume))]
sealed class LegacyPostProcessingVolume : MonoBehaviour
sealed class LegacyPostProcessingVolume : CustomBehaviour
{
[SerializeField, HideInInspector]
#pragma warning disable 414
int _Version = 0;
#pragma warning restore 414
[@Layer]
[SerializeField]
int _Layer;
readonly List<PostProcessVolume> _QuickVolumes = new();
void OnEnable()
private protected override void OnEnable()
{
base.OnEnable();
if (!RenderPipelineHelper.IsLegacy)
{
return;
}
if (Helpers.IsWebGPU)
{
return;
}
_QuickVolumes.Clear();
foreach (var volume in GetComponents<PostProcessVolume>())

View File

@@ -4,10 +4,7 @@
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering;
#if UNITY_EDITOR
using MonoBehaviour = WaveHarmonic.Crest.Internal.EditorBehaviour;
#endif
using WaveHarmonic.Crest.Internal;
namespace WaveHarmonic.Crest.Editor
{
@@ -16,13 +13,8 @@ namespace WaveHarmonic.Crest.Editor
#endif
[DefaultExecutionOrder(-1000)]
[ExecuteAlways]
sealed class LightingPatcher : MonoBehaviour
sealed class LightingPatcher : CustomBehaviour
{
[SerializeField, HideInInspector]
#pragma warning disable 414
int _Version = 0;
#pragma warning restore 414
#if !CREST_DEBUG
[HideInInspector]
#endif
@@ -38,8 +30,10 @@ namespace WaveHarmonic.Crest.Editor
bool _CurrentLightsUseLinearIntensity;
bool _CurrentLightsUseColorTemperature;
void OnEnable()
private protected override void OnEnable()
{
base.OnEnable();
// SRP is always linear with temperature.
if (RenderPipelineHelper.IsLegacy)
{

View File

@@ -13,11 +13,6 @@ namespace WaveHarmonic.Crest.Editor
[RequireComponent(typeof(Camera))]
sealed class RenderPipelineCameraPatcher : RenderPipelinePatcher
{
[SerializeField, HideInInspector]
#pragma warning disable 414
int _Version = 0;
#pragma warning restore 414
#if UNITY_EDITOR
protected override void OnActiveRenderPipelineTypeChanged()
{

View File

@@ -16,11 +16,6 @@ namespace WaveHarmonic.Crest.Editor
[DefaultExecutionOrder(10)]
sealed class RenderPipelineLightPatcher : RenderPipelinePatcher
{
[SerializeField, HideInInspector]
#pragma warning disable 414
int _Version = 0;
#pragma warning restore 414
#if d_UnityHDRP
// For 2023.3 onwards, HDAdditionalLightData.intensity is obsolete and returns Light.intensity.
// It still serializes the old value so grab it via reflection.

View File

@@ -3,19 +3,18 @@
using UnityEngine;
using UnityEngine.Rendering;
#if UNITY_EDITOR
using MonoBehaviour = WaveHarmonic.Crest.Internal.EditorBehaviour;
#endif
using WaveHarmonic.Crest.Internal;
namespace WaveHarmonic.Crest.Editor
{
[ExecuteAlways]
abstract class RenderPipelinePatcher : MonoBehaviour
abstract class RenderPipelinePatcher : CustomBehaviour
{
#if UNITY_EDITOR
protected virtual void OnEnable()
private protected override void OnEnable()
{
base.OnEnable();
RenderPipelineManager.activeRenderPipelineTypeChanged -= OnActiveRenderPipelineTypeChanged;
RenderPipelineManager.activeRenderPipelineTypeChanged += OnActiveRenderPipelineTypeChanged;
}

View File

@@ -13,11 +13,6 @@ namespace WaveHarmonic.Crest.Editor
#endif
sealed class RenderPipelineSettingsPatcher : RenderPipelinePatcher
{
[SerializeField, HideInInspector]
#pragma warning disable 414
int _Version = 0;
#pragma warning restore 414
[@AttachMaterialEditor]
[@DecoratedField, SerializeField]
Material _SkyBox;
@@ -30,7 +25,7 @@ namespace WaveHarmonic.Crest.Editor
base.Reset();
}
protected override void OnEnable()
private protected override void OnEnable()
{
base.OnEnable();
OnActiveRenderPipelineTypeChanged();

View File

@@ -11,11 +11,6 @@ namespace WaveHarmonic.Crest.Editor
#endif
sealed class RenderPipelineTerrainPatcher : RenderPipelinePatcher
{
[SerializeField, HideInInspector]
#pragma warning disable 414
int _Version = 0;
#pragma warning restore 414
[SerializeField]
Material _Material;
@@ -26,7 +21,7 @@ namespace WaveHarmonic.Crest.Editor
Material _MaterialURP;
#if UNITY_EDITOR
protected override void OnEnable()
private protected override void OnEnable()
{
base.OnEnable();
OnActiveRenderPipelineTypeChanged();

View File

@@ -12,11 +12,6 @@ namespace WaveHarmonic.Crest.Editor
#endif
sealed class RevertPrefabOnRenderPipelineChange : RenderPipelinePatcher
{
[SerializeField, HideInInspector]
#pragma warning disable 414
int _Version = 0;
#pragma warning restore 414
#if UNITY_EDITOR
private protected override void Awake()
{

View File

@@ -3,6 +3,7 @@
using UnityEngine;
using UnityEngine.Events;
using WaveHarmonic.Crest.Internal;
namespace WaveHarmonic.Crest.Examples
{
@@ -10,13 +11,8 @@ namespace WaveHarmonic.Crest.Examples
[AddComponentMenu("")]
#endif
[ExecuteAlways]
sealed class SendUnityEvent : MonoBehaviour
sealed class SendUnityEvent : CustomBehaviour
{
[SerializeField, HideInInspector]
#pragma warning disable 414
int _Version = 0;
#pragma warning restore 414
[SerializeField]
float _ExecuteUpdateEvery;
@@ -44,8 +40,10 @@ namespace WaveHarmonic.Crest.Examples
float _TimeSinceEnabled;
float _LastUpdateTime;
void OnEnable()
private protected override void OnEnable()
{
base.OnEnable();
_TimeSinceEnabled = 0f;
_OnEnable.Invoke();

View File

@@ -2,6 +2,7 @@
// Copyright © 2024 Wave Harmonic. All rights reserved.
using UnityEngine;
using WaveHarmonic.Crest.Internal;
namespace WaveHarmonic.Crest.Examples
{
@@ -11,13 +12,8 @@ namespace WaveHarmonic.Crest.Examples
#if !CREST_DEBUG
[AddComponentMenu("")]
#endif
sealed class SimpleMotion : MonoBehaviour
sealed class SimpleMotion : CustomBehaviour
{
[SerializeField, HideInInspector]
#pragma warning disable 414
int _Version = 0;
#pragma warning restore 414
[SerializeField]
bool _ResetOnDisable;
@@ -35,8 +31,10 @@ namespace WaveHarmonic.Crest.Examples
Vector3 _OldPosition;
Quaternion _OldRotation;
void OnEnable()
private protected override void OnEnable()
{
base.OnEnable();
_OldPosition = transform.position;
_OldRotation = transform.rotation;
}

View File

@@ -2,6 +2,7 @@
// Copyright © 2024 Wave Harmonic. All rights reserved.
using UnityEngine;
using WaveHarmonic.Crest.Internal;
namespace WaveHarmonic.Crest.Examples
{
@@ -11,13 +12,8 @@ namespace WaveHarmonic.Crest.Examples
#if !CREST_DEBUG
[AddComponentMenu("")]
#endif
sealed class TimedDestroy : MonoBehaviour
sealed class TimedDestroy : CustomBehaviour
{
[SerializeField, HideInInspector]
#pragma warning disable 414
int _Version = 0;
#pragma warning restore 414
[SerializeField]
float _LifeTime = 2.0f;
@@ -31,8 +27,10 @@ namespace WaveHarmonic.Crest.Examples
Vector3 _Scale;
float _BirthTime;
void Start()
private protected override void OnStart()
{
base.OnStart();
_BirthTime = Time.time;
_Scale = transform.localScale;
}

View File

@@ -30,6 +30,11 @@
"expression": "",
"define": "d_UnityModuleVR"
},
{
"name": "com.unity.modules.xr",
"expression": "",
"define": "d_UnityModuleXR"
},
{
"name": "com.unity.inputsystem",
"expression": "",

View File

@@ -46,15 +46,18 @@ MonoBehaviour:
type:
m_OverrideState: 0
m_Value: 1
atmosphericScattering:
sphericalMode:
m_OverrideState: 0
m_Value: 1
renderingMode:
seaLevel:
m_OverrideState: 0
m_Value: 0
material:
planetaryRadius:
m_OverrideState: 0
m_Value: {fileID: 0}
m_Value: 6378100
planetCenterPosition:
m_OverrideState: 0
m_Value: {x: 0, y: -6378100, z: 0}
airDensityR:
m_OverrideState: 0
m_Value: 0.04534
@@ -66,7 +69,7 @@ MonoBehaviour:
m_Value: 0.23264056
airTint:
m_OverrideState: 0
m_Value: {r: 1, g: 1, b: 1, a: 1}
m_Value: {r: 0.9, g: 0.9, b: 1, a: 1}
airMaximumAltitude:
m_OverrideState: 0
m_Value: 55261.973
@@ -82,15 +85,6 @@ MonoBehaviour:
aerosolAnisotropy:
m_OverrideState: 0
m_Value: 0
ozoneDensityDimmer:
m_OverrideState: 0
m_Value: 1
ozoneMinimumAltitude:
m_OverrideState: 0
m_Value: 20000
ozoneLayerWidth:
m_OverrideState: 0
m_Value: 20000
groundTint:
m_OverrideState: 0
m_Value: {r: 0.4, g: 0.25, b: 0.15, a: 1}
@@ -133,16 +127,13 @@ MonoBehaviour:
horizonZenithShift:
m_OverrideState: 0
m_Value: 0
m_SkyVersion: 2
numberOfBounces:
m_OverrideState: 0
m_Value: 3
m_SkyVersion: 1
m_ObsoleteEarthPreset:
m_OverrideState: 0
m_Value: 1
planetaryRadius:
m_OverrideState: 0
m_Value: 6378100
planetCenterPosition:
m_OverrideState: 0
m_Value: {x: 0, y: -6378100, z: 0}
--- !u!114 &-3053135762479981819
MonoBehaviour:
m_ObjectHideFlags: 3
@@ -375,12 +366,6 @@ MonoBehaviour:
customValue: 100
additiveValue: 0
multiplyValue: 1
sunInitialRotation:
m_OverrideState: 0
m_Value: -Infinity
lockSun:
m_OverrideState: 0
m_Value: 0
enableBackplate:
m_OverrideState: 0
m_Value: 0
@@ -473,18 +458,6 @@ MonoBehaviour:
skyAmbientMode:
m_OverrideState: 1
m_Value: 1
planetRadius:
m_OverrideState: 0
m_Value: 6378.1
renderingSpace:
m_OverrideState: 0
m_Value: 1
centerMode:
m_OverrideState: 0
m_Value: 0
planetCenter:
m_OverrideState: 0
m_Value: {x: 0, y: -6378.1, z: 0}
windOrientation:
m_OverrideState: 0
m_Value: 0
@@ -494,7 +467,6 @@ MonoBehaviour:
fogType:
m_OverrideState: 1
m_Value: 3
m_Version: 1
--- !u!114 &5321722785694334585
MonoBehaviour:
m_ObjectHideFlags: 3
@@ -565,9 +537,6 @@ MonoBehaviour:
sliceDistributionUniformity:
m_OverrideState: 0
m_Value: 0.75
multipleScatteringIntensity:
m_OverrideState: 0
m_Value: 0
m_FogControlMode:
m_OverrideState: 0
m_Value: 0

View File

@@ -96,6 +96,7 @@ MonoBehaviour:
- {fileID: 89624805562497374}
- {fileID: 7577113519358791614}
- {fileID: 4527986752527755293}
- {fileID: 1051598088582843543}
--- !u!114 &89624805562497374
MonoBehaviour:
m_ObjectHideFlags: 3
@@ -185,6 +186,52 @@ MonoBehaviour:
tint:
m_OverrideState: 0
m_Value: 0
--- !u!114 &1051598088582843543
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: 24f077503be6ae942a1e1245dbd53ea9, type: 3}
m_Name: Bloom
m_EditorClassIdentifier:
active: 1
quality:
m_OverrideState: 0
m_Value: 1
threshold:
m_OverrideState: 1
m_Value: 1
intensity:
m_OverrideState: 1
m_Value: 1
scatter:
m_OverrideState: 0
m_Value: 0.7
tint:
m_OverrideState: 0
m_Value: {r: 1, g: 1, b: 1, a: 1}
dirtTexture:
m_OverrideState: 0
m_Value: {fileID: 0}
dirtIntensity:
m_OverrideState: 0
m_Value: 0
anamorphic:
m_OverrideState: 0
m_Value: 1
m_Resolution:
m_OverrideState: 0
m_Value: 2
m_HighQualityPrefiltering:
m_OverrideState: 0
m_Value: 0
m_HighQualityFiltering:
m_OverrideState: 0
m_Value: 1
--- !u!114 &1692474355597373712
MonoBehaviour:
m_ObjectHideFlags: 3

View File

@@ -62,6 +62,9 @@
},
{
"m_Id": "988d3fda4b75435b9f2630355731fbc7"
},
{
"m_Id": "5ab14e58fd6d47fc94208753d460c917"
}
],
"m_Keywords": [
@@ -318,6 +321,9 @@
},
{
"m_Id": "3d920b053a2f4bbfaaf6ba4f8c9f137e"
},
{
"m_Id": "af669ec9501e494e8249b25fb552a4e6"
}
],
"m_GroupDatas": [
@@ -1050,6 +1056,20 @@
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "af669ec9501e494e8249b25fb552a4e6"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "3d920b053a2f4bbfaaf6ba4f8c9f137e"
},
"m_SlotId": -1490972
}
},
{
"m_OutputSlot": {
"m_Node": {
@@ -1407,6 +1427,9 @@
"m_ChildObjectList": [
{
"m_Id": "65d8361074904a08ba28f1116b517849"
},
{
"m_Id": "5ab14e58fd6d47fc94208753d460c917"
}
]
}
@@ -3630,6 +3653,21 @@
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "4a0bdf43d1d44b39b77034a01053b999",
"m_Id": 0,
"m_DisplayName": "Water Volume Multiplier",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
@@ -4240,6 +4278,34 @@
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "5ab14e58fd6d47fc94208753d460c917",
"m_Guid": {
"m_GuidSerialized": "5da6eda6-901d-4429-a84c-4b0e0ef60ca6"
},
"m_Name": "Water Volume Multiplier",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Water Volume Multiplier",
"m_DefaultReferenceName": "_Water_Volume_Multiplier",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": 1.0,
"m_FloatType": 1,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -6991,6 +7057,42 @@
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "af669ec9501e494e8249b25fb552a4e6",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -732.5001220703125,
"y": 336.00006103515627,
"width": 199.5001220703125,
"height": 33.99993896484375
}
},
"m_Slots": [
{
"m_Id": "4a0bdf43d1d44b39b77034a01053b999"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "5ab14e58fd6d47fc94208753d460c917"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",

View File

@@ -0,0 +1,140 @@
fileFormatVersion: 2
guid: 50485db22151042eb9f0da9359dc3abf
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
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
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 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: 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
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 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
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant: