升级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

@@ -13,9 +13,10 @@ MonoBehaviour:
m_Name: Boats_Waves_Calm
m_EditorClassIdentifier:
_Version: 0
_WaveDirectionVariance: 90
_GravityScale: 1
_Multiplier: 1
_Chop: 1.69
_GravityScale: 1
_WaveDirectionVariance: 90
_PowerLogarithmicScales:
- -7.39794
- -7.39794
@@ -62,6 +63,20 @@ MonoBehaviour:
- 1
- 1
- 1
_Chop: 1.69
_Attenuation:
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
_ShowAdvancedControls: 0
_Model: 0

View File

@@ -13,9 +13,10 @@ MonoBehaviour:
m_Name: Boats_Waves_Moderate
m_EditorClassIdentifier:
_Version: 0
_WaveDirectionVariance: 90
_GravityScale: 1
_Multiplier: 1
_Chop: 1.69
_GravityScale: 1
_WaveDirectionVariance: 90
_PowerLogarithmicScales:
- -7.39794
- -7.39794
@@ -62,6 +63,20 @@ MonoBehaviour:
- 1
- 1
- 1
_Chop: 1.69
_Attenuation:
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
_ShowAdvancedControls: 0
_Model: 0

View File

@@ -242,6 +242,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 26623fd0e291a478a9f8b68a3df7e8a6, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 0
_Mode: 4
_Weight: 1
_Queue: 0
@@ -251,7 +252,6 @@ MonoBehaviour:
_Data:
rid: -2
_DrawBounds: 0
_Version: 0
_Primitive: 3
_Inverted: 0
_WaterHeightDistanceCulling: 0
@@ -1084,6 +1084,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
_Version: 0
_WorldSpace: 0
_Axis: {x: 0, y: 1, z: 0}
_Amplitude: 0
_Frequency: 1
@@ -1244,6 +1245,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 3d64d1f50f3b548bcbe279507f0e78da, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 1
_Mode: 3
_Weight: 1
_Queue: 0
@@ -1259,7 +1261,6 @@ MonoBehaviour:
_MaximumDisplacementVertical: 5.5
_MaximumDisplacementHorizontal: 0
_ReportRendererBounds: 0
_Version: 1
_RenderPostCombine: 1
references:
version: 2
@@ -1267,6 +1268,7 @@ MonoBehaviour:
- rid: 162836781179600911
type: {class: AnimatedWavesRendererLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 3766056023456898569}
_Renderer: {fileID: 4001420615843909709}
_DisableRenderer: 1
@@ -1394,6 +1396,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
_Version: 0
_WorldSpace: 0
_Axis: {x: 0, y: 0, z: 1}
_Amplitude: 10
_Frequency: 1
@@ -1643,6 +1646,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: e64c239f69eea46778ded6dcc3427a34, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 2
_Layer: 4
_Material: {fileID: 2100000, guid: 8ab064b6606504a55b489af2787350c2, type: 2}
_VolumeMaterial: {fileID: 0}
@@ -1653,7 +1657,6 @@ MonoBehaviour:
_TimeSliceBoundsUpdateFrameCount: 1
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Version: 1
_Camera: {fileID: 0}
_TimeProvider: {fileID: 0}
_WindZone: {fileID: 0}
@@ -1681,7 +1684,10 @@ MonoBehaviour:
_Resolution: 384
_GeometryDownSampleFactor: 2
_ExtentsSizeMultiplier: 100
_MultipleViewpoints: 0
_Viewpoint: {fileID: 0}
_CameraExclusions: -1
_DataBackgroundMode: 3
_CenterOfDetailDisplacementCorrection: 1
_SampleTerrainHeightForScale: 1
_ForceScaleChangeSmoothing: 0
@@ -1717,10 +1723,16 @@ MonoBehaviour:
_Portals:
rid: 162836781179600907
_ShowWaterProxyPlane: 0
_EditModeFrameRate: 30
_FollowSceneCamera: 1
_EditorMultipleViewpoints: 1
_HeightQueries: 1
_Debug:
_VisualizeData: 0
_VisualizeDataType: 0
_VisualizeDataExposure: 0
_VisualizeDataRange: 10
_VisualizeDataSaturate: 1
_SimulatePaused: 0
_AttachDebugGUI: 0
_ShowHiddenObjects: 0
_DisableFollowViewpoint: 0
@@ -1730,6 +1742,8 @@ MonoBehaviour:
_LogScaleChange: 0
_PauseOnScaleChange: 0
_IgnoreWavesForScaleChange: 0
_OverrideScale: 0
_ScaleOverride: 0
_ForceNoGraphics: 0
_Resources: {fileID: 11400000, guid: 0817af17dea584e5382e6216db162d4a, type: 2}
references:
@@ -1738,11 +1752,14 @@ MonoBehaviour:
- rid: 1000
type: {class: AbsorptionLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 7
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 1.026, g: 2.085, b: 2.5500002, a: 0.306}
_ShorelineColorMaximumDistance: 10
@@ -1750,11 +1767,14 @@ MonoBehaviour:
- rid: 1001
type: {class: ScatteringLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 200
_TextureFormat: 23
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 0, g: 0.588, b: 1.2, a: 6}
_ShorelineColorMaximumDistance: 10
@@ -1765,95 +1785,128 @@ MonoBehaviour:
_Version: 0
_Enabled: 1
_Layer: 4
_Material: {fileID: 2100000, guid: 8ab064b6606504a55b489af2787350c2, type: 2}
_VolumeMaterial: {fileID: 0}
_MeshType: 0
_ChunkTemplate: {fileID: 1516456258233481520, guid: 17840562212c147d6bdb5144d35bc442,
type: 3}
_SupportCustomRenderers: 1
_Material: {fileID: 2100000, guid: a8dc4e412bc6749cca29b3232bcb0f18, type: 2}
_VolumeMaterial: {fileID: 0}
_CastShadows: 0
_WaterBodyCulling: 1
_TimeSliceBoundsUpdateFrameCount: 1
_CameraExclusions: 6
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Debug:
_UniformTiles: 0
_DisableSkirt: 0
_DrawRendererBounds: 0
- rid: 1003
type: {class: Meniscus, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_Layer: 4
_Material: {fileID: 2100000, guid: 238e45299a5ec46308e9bf99ddf67963, type: 2}
_CameraExclusions: 6
- rid: 162836781179600896
type: {class: AnimatedWavesLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 0
_Resolution: 256
_TextureFormatMode: 100
_TextureFormatMode: 200
_TextureFormat: 48
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 4096
_CollisionLayers: -1
_BakedWaveData: {fileID: 0}
_WaveSampling: 0
_WaveResolutionMultiplier: 1
_AttenuationInShallows: 0.95
_ShallowsMaximumDepth: 1000
_CollisionSource: 2
_CollisionLayers: -1
_MaximumQueryCount: 4096
_BakedWaveData: {fileID: 0}
- rid: 162836781179600897
type: {class: DepthLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 512
_IncludeTerrainHeight: 0
_EnableSignedDistanceFields: 1
- rid: 162836781179600898
type: {class: LevelLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 0
_Resolution: 256
_TextureFormatMode: 300
_TextureFormat: 45
_Blur: 0
_BlurIterations: 4
- rid: 162836781179600899
type: {class: FoamLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 45
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 30
_Prewarm: 1
_Settings: {fileID: 11400000, guid: 01b6d2d72f0e04b0abc7d62cfc8b5355, type: 2}
- rid: 162836781179600900
type: {class: DynamicWavesLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 0
_Resolution: 512
_TextureFormatMode: 300
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 120
_AttenuationInShallows: 1
_Settings: {fileID: 11400000, guid: 97eb5eccada85449e9c98d91709b5f74, type: 2}
- rid: 162836781179600901
type: {class: FlowLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 128
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 1024
- rid: 162836781179600902
type: {class: ShadowLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 6
_Blur: 1
_BlurIterations: 1
_SimulationFrequency: 60
_DynamicSoftShadows: 1
_SoftJitterExtinctionFactor: 0.75
@@ -1866,20 +1919,26 @@ MonoBehaviour:
- rid: 162836781179600903
type: {class: ClipLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 5
_Blur: 0
_BlurIterations: 1
_DefaultClippingState: 0
- rid: 162836781179600904
type: {class: AlbedoLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 768
_TextureFormatMode: 100
_TextureFormat: 8
_Blur: 0
_BlurIterations: 1
- rid: 162836781179600905
type: {class: WaterReflections, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -1890,13 +1949,12 @@ MonoBehaviour:
serializedVersion: 2
m_Bits: 1
_Resolution: 256
_RenderOnlySingleCamera: 0
_Overscan: 1.5
_Sky: 0
_DisablePixelLights: 1
_DisableShadows: 1
_HDR: 1
_Stencil: 0
_AllowMSAA: 0
_QualitySettingsOverride:
_OverrideLodBias: 0
_LodBias: Infinity
@@ -1912,9 +1970,13 @@ MonoBehaviour:
_UseObliqueMatrix: 1
_NonObliqueNearSurface: 0
_NonObliqueNearSurfaceThreshold: 0.05
_RenderOnlySingleCamera: 0
_RendererIndex: 0
_Debug:
_ShowHiddenObjects: 0
_DisableRecursiveRendering: 0
_ForceCompatibility: 0
_AllowMSAA: 0
- rid: 162836781179600906
type: {class: UnderwaterRenderer, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -1925,9 +1987,10 @@ MonoBehaviour:
_EnvironmentalLightingEnable: 0
_EnvironmentalLightingWeight: 1
_EnvironmentalLightingVolumeProfile: {fileID: 0}
_AllCameras: 0
_CameraExclusions: 6
_CopyWaterMaterialParametersEachFrame: 1
_FarPlaneMultiplier: 0.68
_EnableChunkCulling: 1
_CullLimit: 0.001
_Debug:
_VisualizeMask: 0
@@ -1936,13 +1999,17 @@ MonoBehaviour:
_DisableHeightAboveWaterOptimization: 0
_DisableArtifactCorrection: 0
_OnlyReflectionCameras: 0
_AllCameras: 0
- rid: 162836781179600907
type: {class: PortalRenderer, ns: WaveHarmonic.Crest.Portals, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_Mode: 2
_Geometry: {fileID: 0}
_Invert: 0
_MaximumResolution: 1024
_TexelSize: 0.02
--- !u!1 &3576324786297675206
GameObject:
m_ObjectHideFlags: 0
@@ -2216,6 +2283,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 88bb6e05d83b64105a4d8cbd478f5916, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 3
_Mode: 5
_Weight: 1
_Queue: 0
@@ -2228,24 +2296,27 @@ MonoBehaviour:
_Spectrum: {fileID: 11400000, guid: 4fde516347f8f410cb7bf7ec2b66c163, type: 2}
_EvaluateSpectrumAtRunTimeEveryFrame: 0
_RespectShallowWaterAttenuation: 1
_SeaLevelOnly: 0
_OverrideGlobalWindDirection: 1
_WaveDirectionHeadingAngle: 0
_OverrideGlobalWindSpeed: 0
_WindSpeed: 20
_Resolution: 128
_IncludeInDropDetailHeightBasedOnWaves: 0
_DrawSlicesInEditor: 0
_AlphaSource: 0
_ApplyAdvancedSpectrumControls: 0
_OverrideGlobalWindTurbulence: 1
_WindTurbulence: 0.145
_WindAlignment: 0
_TimeLoopLength: Infinity
_OverrideCulling: 0
_MaximumVerticalDisplacement: 10
_MaximumHorizontalDisplacement: 15
_EnableBakedCollision: 0
_TimeResolution: 4
_SmallestWavelengthRequired: 2
_BakedTimeLoopLength: 32
_Version: 2
references:
version: 2
RefIds:
@@ -2737,6 +2808,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: a4edd034314af4679ba066d79580dc1d, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 1
_Mode: 7
_Weight: 1
_Queue: 0
@@ -2748,13 +2820,13 @@ MonoBehaviour:
_DrawBounds: 0
_OverrideHeight: 0
_HeightRange: {x: -100, y: 100}
_Version: 1
references:
version: 2
RefIds:
- rid: 1790563051476091040
type: {class: LevelGeometryLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 2128651512409030102}
_Geometry: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1 &7037259033703674994
@@ -3181,6 +3253,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 3d64d1f50f3b548bcbe279507f0e78da, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 1
_Mode: 3
_Weight: 1
_Queue: 0
@@ -3195,8 +3268,7 @@ MonoBehaviour:
_OctaveWavelength: 0
_MaximumDisplacementVertical: 0
_MaximumDisplacementHorizontal: 0
_ReportRendererBounds: 0
_Version: 1
_ReportRendererBounds: 1
_RenderPostCombine: 1
references:
version: 2
@@ -3204,6 +3276,7 @@ MonoBehaviour:
- rid: 162836781179600908
type: {class: AnimatedWavesRendererLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 5496405015140427606}
_Renderer: {fileID: 8591667271796193603}
_DisableRenderer: 1
@@ -4217,32 +4290,32 @@ PrefabInstance:
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.68926716
value: 0.6865763
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalRotation.x
value: 0.2855038
value: 0.2843892
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalRotation.y
value: -0.61519444
value: -0.6181962
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalRotation.z
value: 0.25482187
value: 0.25606522
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
value: 45
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
value: -84
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}

View File

@@ -45,6 +45,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: e64c239f69eea46778ded6dcc3427a34, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 2
_Layer: 4
_Material: {fileID: 2100000, guid: 8ab064b6606504a55b489af2787350c2, type: 2}
_VolumeMaterial: {fileID: 0}
@@ -55,7 +56,6 @@ MonoBehaviour:
_TimeSliceBoundsUpdateFrameCount: 1
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Version: 1
_Camera: {fileID: 0}
_TimeProvider: {fileID: 0}
_WindZone: {fileID: 0}
@@ -83,7 +83,10 @@ MonoBehaviour:
_Resolution: 384
_GeometryDownSampleFactor: 2
_ExtentsSizeMultiplier: 100
_MultipleViewpoints: 0
_Viewpoint: {fileID: 0}
_CameraExclusions: -1
_DataBackgroundMode: 3
_CenterOfDetailDisplacementCorrection: 1
_SampleTerrainHeightForScale: 1
_ForceScaleChangeSmoothing: 0
@@ -119,10 +122,16 @@ MonoBehaviour:
_Portals:
rid: 162836781179600923
_ShowWaterProxyPlane: 0
_EditModeFrameRate: 30
_FollowSceneCamera: 1
_EditorMultipleViewpoints: 1
_HeightQueries: 1
_Debug:
_VisualizeData: 0
_VisualizeDataType: 0
_VisualizeDataExposure: 0
_VisualizeDataRange: 10
_VisualizeDataSaturate: 1
_SimulatePaused: 0
_AttachDebugGUI: 0
_ShowHiddenObjects: 0
_DisableFollowViewpoint: 0
@@ -132,6 +141,8 @@ MonoBehaviour:
_LogScaleChange: 0
_PauseOnScaleChange: 0
_IgnoreWavesForScaleChange: 0
_OverrideScale: 0
_ScaleOverride: 0
_ForceNoGraphics: 0
_Resources: {fileID: 11400000, guid: 0817af17dea584e5382e6216db162d4a, type: 2}
references:
@@ -140,11 +151,14 @@ MonoBehaviour:
- rid: 1000
type: {class: AbsorptionLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 7
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 1.026, g: 2.085, b: 2.5500002, a: 0.306}
_ShorelineColorMaximumDistance: 10
@@ -152,11 +166,14 @@ MonoBehaviour:
- rid: 1001
type: {class: ScatteringLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 200
_TextureFormat: 23
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 0, g: 0.588, b: 1.2, a: 6}
_ShorelineColorMaximumDistance: 10
@@ -167,95 +184,128 @@ MonoBehaviour:
_Version: 0
_Enabled: 1
_Layer: 4
_Material: {fileID: 2100000, guid: 8ab064b6606504a55b489af2787350c2, type: 2}
_VolumeMaterial: {fileID: 0}
_MeshType: 0
_ChunkTemplate: {fileID: 1516456258233481520, guid: 17840562212c147d6bdb5144d35bc442,
type: 3}
_SupportCustomRenderers: 1
_Material: {fileID: 2100000, guid: a8dc4e412bc6749cca29b3232bcb0f18, type: 2}
_VolumeMaterial: {fileID: 0}
_CastShadows: 0
_WaterBodyCulling: 1
_TimeSliceBoundsUpdateFrameCount: 1
_CameraExclusions: 6
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Debug:
_UniformTiles: 0
_DisableSkirt: 0
_DrawRendererBounds: 0
- rid: 1003
type: {class: Meniscus, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_Layer: 4
_Material: {fileID: 2100000, guid: 238e45299a5ec46308e9bf99ddf67963, type: 2}
_CameraExclusions: 6
- rid: 162836781179600912
type: {class: AnimatedWavesLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 0
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 48
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 4096
_CollisionLayers: -1
_BakedWaveData: {fileID: 0}
_WaveSampling: 0
_WaveResolutionMultiplier: 1
_AttenuationInShallows: 0.95
_ShallowsMaximumDepth: 1000
_CollisionSource: 2
_CollisionLayers: -1
_MaximumQueryCount: 4096
_BakedWaveData: {fileID: 0}
- rid: 162836781179600913
type: {class: DepthLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 512
_IncludeTerrainHeight: 0
_EnableSignedDistanceFields: 1
- rid: 162836781179600914
type: {class: LevelLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 0
_Resolution: 256
_TextureFormatMode: 300
_TextureFormat: 45
_Blur: 0
_BlurIterations: 4
- rid: 162836781179600915
type: {class: FoamLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 45
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 30
_Prewarm: 1
_Settings: {fileID: 11400000, guid: 01b6d2d72f0e04b0abc7d62cfc8b5355, type: 2}
- rid: 162836781179600916
type: {class: DynamicWavesLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 0
_Resolution: 512
_TextureFormatMode: 300
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 120
_AttenuationInShallows: 1
_Settings: {fileID: 11400000, guid: 97eb5eccada85449e9c98d91709b5f74, type: 2}
- rid: 162836781179600917
type: {class: FlowLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 128
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 1024
- rid: 162836781179600918
type: {class: ShadowLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 6
_Blur: 1
_BlurIterations: 1
_SimulationFrequency: 60
_DynamicSoftShadows: 1
_SoftJitterExtinctionFactor: 0.75
@@ -268,20 +318,26 @@ MonoBehaviour:
- rid: 162836781179600919
type: {class: ClipLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 5
_Blur: 0
_BlurIterations: 1
_DefaultClippingState: 0
- rid: 162836781179600920
type: {class: AlbedoLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 768
_TextureFormatMode: 100
_TextureFormat: 8
_Blur: 0
_BlurIterations: 1
- rid: 162836781179600921
type: {class: WaterReflections, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -292,13 +348,12 @@ MonoBehaviour:
serializedVersion: 2
m_Bits: 1
_Resolution: 256
_RenderOnlySingleCamera: 0
_Overscan: 1.5
_Sky: 0
_DisablePixelLights: 1
_DisableShadows: 1
_HDR: 1
_Stencil: 0
_AllowMSAA: 0
_QualitySettingsOverride:
_OverrideLodBias: 0
_LodBias: Infinity
@@ -314,9 +369,13 @@ MonoBehaviour:
_UseObliqueMatrix: 1
_NonObliqueNearSurface: 0
_NonObliqueNearSurfaceThreshold: 0.05
_RenderOnlySingleCamera: 0
_RendererIndex: 0
_Debug:
_ShowHiddenObjects: 0
_DisableRecursiveRendering: 0
_ForceCompatibility: 0
_AllowMSAA: 0
- rid: 162836781179600922
type: {class: UnderwaterRenderer, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -327,9 +386,10 @@ MonoBehaviour:
_EnvironmentalLightingEnable: 0
_EnvironmentalLightingWeight: 1
_EnvironmentalLightingVolumeProfile: {fileID: 0}
_AllCameras: 0
_CameraExclusions: 6
_CopyWaterMaterialParametersEachFrame: 1
_FarPlaneMultiplier: 0.68
_EnableChunkCulling: 1
_CullLimit: 0.001
_Debug:
_VisualizeMask: 0
@@ -338,13 +398,17 @@ MonoBehaviour:
_DisableHeightAboveWaterOptimization: 0
_DisableArtifactCorrection: 0
_OnlyReflectionCameras: 0
_AllCameras: 0
- rid: 162836781179600923
type: {class: PortalRenderer, ns: WaveHarmonic.Crest.Portals, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_Mode: 2
_Geometry: {fileID: 0}
_Invert: 0
_MaximumResolution: 1024
_TexelSize: 0.02
--- !u!1 &3437938290840855108
GameObject:
m_ObjectHideFlags: 0
@@ -389,6 +453,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 88bb6e05d83b64105a4d8cbd478f5916, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 3
_Mode: 5
_Weight: 1
_Queue: 0
@@ -401,24 +466,27 @@ MonoBehaviour:
_Spectrum: {fileID: 11400000, guid: 28a29b5ef0c644735b5d7ba47d2863d4, type: 2}
_EvaluateSpectrumAtRunTimeEveryFrame: 0
_RespectShallowWaterAttenuation: 1
_SeaLevelOnly: 0
_OverrideGlobalWindDirection: 1
_WaveDirectionHeadingAngle: 180
_OverrideGlobalWindSpeed: 0
_WindSpeed: 20
_Resolution: 32
_IncludeInDropDetailHeightBasedOnWaves: 0
_DrawSlicesInEditor: 0
_AlphaSource: 0
_ApplyAdvancedSpectrumControls: 0
_OverrideGlobalWindTurbulence: 1
_WindTurbulence: 0.145
_WindAlignment: 0
_TimeLoopLength: 32
_OverrideCulling: 0
_MaximumVerticalDisplacement: 10
_MaximumHorizontalDisplacement: 15
_EnableBakedCollision: 0
_TimeResolution: 4
_SmallestWavelengthRequired: 2
_BakedTimeLoopLength: 32
_Version: 2
references:
version: 2
RefIds:
@@ -1261,32 +1329,32 @@ PrefabInstance:
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.7016851
value: 0.6865763
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalRotation.x
value: 0.29064745
value: 0.2843892
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalRotation.y
value: -0.6009921
value: -0.6181962
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalRotation.z
value: 0.24893905
value: 0.25606522
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
value: 45
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
value: -84
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}

View File

@@ -14,9 +14,6 @@ namespace WaveHarmonic.Crest.Watercraft.Examples
{
sealed class PlayerControl : Control
{
[SerializeField, HideInInspector]
int _Version = 0;
#if d_InputSystem
[SerializeField]
Key _DriveForward = Key.W;
@@ -85,11 +82,6 @@ namespace WaveHarmonic.Crest.Watercraft.Examples
[SerializeField]
bool _Submersible;
#pragma warning disable UNT0001
// Here to force the checkbox to show.
void Start() { }
#pragma warning restore UNT0001
public override Vector3 Input
{
get

View File

@@ -3,7 +3,8 @@
"rootNamespace": "",
"references": [
"GUID:75469ad4d38634e559750d17036d5f7c",
"GUID:7c347618730f5467f86a58f333ce21df"
"GUID:7c347618730f5467f86a58f333ce21df",
"GUID:056ff2a5b2f124d468c6655552acdca5"
],
"includePlatforms": [],
"excludePlatforms": [],

View File

@@ -18,3 +18,4 @@ MonoBehaviour:
_HorizontalDisplace: 9.66
_DisplaceClamp: 0.3
_GravityMultiplier: 1
_VerticalDisplacementCullingContributions: 5

View File

@@ -13,9 +13,10 @@ MonoBehaviour:
m_Name: Examples_WaveSpectrum_OpenOcean
m_EditorClassIdentifier:
_Version: 0
_WaveDirectionVariance: 90
_GravityScale: 1
_Multiplier: 1
_Chop: 1.69
_GravityScale: 1
_WaveDirectionVariance: 90
_PowerLogarithmicScales:
- -7.39794
- -7.39794
@@ -62,6 +63,20 @@ MonoBehaviour:
- 1
- 1
- 1
_Chop: 1.69
_Attenuation:
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
_ShowAdvancedControls: 0
_Model: 0

View File

@@ -13,9 +13,10 @@ MonoBehaviour:
m_Name: Examples_WaveSpectrum_Trochoidal
m_EditorClassIdentifier:
_Version: 0
_WaveDirectionVariance: 0
_GravityScale: 1
_Multiplier: 1
_Chop: 1.1
_GravityScale: 1
_WaveDirectionVariance: 0
_PowerLogarithmicScales:
- -7.10794
- -6.42794
@@ -62,6 +63,20 @@ MonoBehaviour:
- 1
- 1
- 1
_Chop: 1.1
_Attenuation:
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
_ShowAdvancedControls: 0
_Model: 0

View File

@@ -54,12 +54,12 @@ Material:
m_Parent: {fileID: -876546973899608171, guid: 00ffe7d0b7161420897069dc6e12822c, type: 3}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- CREST_FLOW_ON
- _ALPHATEST_ON
- _BUILTIN_ALPHATEST_ON
- _BUILTIN_AlphaClip
- _BUILTIN_SURFACE_TYPE_TRANSPARENT
- _BUILTIN_TRANSPARENT_RECEIVES_SHADOWS
- _CREST_FLOW_LOD
- _DOUBLESIDED_ON
- _ENABLE_FOG_ON_TRANSPARENT
- _SURFACE_TYPE_TRANSPARENT
@@ -86,11 +86,11 @@ Material:
m_TexEnvs: []
m_Ints: []
m_Floats:
- CREST_FLOW: 1
- _BUILTIN_DstBlend: 10
- _BUILTIN_QueueControl: 0
- _BUILTIN_SrcBlend: 5
- _BUILTIN_ZWrite: 1
- _CREST_FLOW_LOD: 1
- _Crest_AlbedoEnabled: 1
- _Crest_FoamFeather: 1
- _Crest_FoamScale: 1.3

View File

@@ -63,6 +63,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 26623fd0e291a478a9f8b68a3df7e8a6, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 0
_Mode: 4
_Weight: 1
_Queue: -1
@@ -72,7 +73,6 @@ MonoBehaviour:
_Data:
rid: -2
_DrawBounds: 0
_Version: 0
_Primitive: 0
_Inverted: 1
_WaterHeightDistanceCulling: 0
@@ -302,6 +302,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 88bb6e05d83b64105a4d8cbd478f5916, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 3
_Mode: 5
_Weight: 1
_Queue: 0
@@ -314,24 +315,27 @@ MonoBehaviour:
_Spectrum: {fileID: 11400000, guid: e13a1902b10e34e9fb08e1d09e39b5d4, type: 2}
_EvaluateSpectrumAtRunTimeEveryFrame: 0
_RespectShallowWaterAttenuation: 1
_SeaLevelOnly: 0
_OverrideGlobalWindDirection: 1
_WaveDirectionHeadingAngle: 0
_OverrideGlobalWindSpeed: 0
_WindSpeed: 20
_Resolution: 32
_IncludeInDropDetailHeightBasedOnWaves: 0
_DrawSlicesInEditor: 0
_AlphaSource: 0
_ApplyAdvancedSpectrumControls: 0
_OverrideGlobalWindTurbulence: 1
_WindTurbulence: 0.35
_WindAlignment: 0
_TimeLoopLength: Infinity
_OverrideCulling: 0
_MaximumVerticalDisplacement: 10
_MaximumHorizontalDisplacement: 15
_EnableBakedCollision: 0
_TimeResolution: 4
_SmallestWavelengthRequired: 2
_BakedTimeLoopLength: 32
_Version: 2
references:
version: 2
RefIds:
@@ -1367,6 +1371,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: e64c239f69eea46778ded6dcc3427a34, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 2
_Layer: 4
_Material: {fileID: 2100000, guid: d82d92d8d8f214cd0b8bf7c185b2c341, type: 2}
_VolumeMaterial: {fileID: 0}
@@ -1376,7 +1381,6 @@ MonoBehaviour:
_TimeSliceBoundsUpdateFrameCount: 1
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Version: 1
_Camera: {fileID: 0}
_TimeProvider: {fileID: 0}
_WindZone: {fileID: 0}
@@ -1404,7 +1408,10 @@ MonoBehaviour:
_Resolution: 384
_GeometryDownSampleFactor: 2
_ExtentsSizeMultiplier: 100
_MultipleViewpoints: 0
_Viewpoint: {fileID: 2613380069347621712}
_CameraExclusions: -1
_DataBackgroundMode: 3
_CenterOfDetailDisplacementCorrection: 1
_SampleTerrainHeightForScale: 1
_ForceScaleChangeSmoothing: 0
@@ -1440,10 +1447,16 @@ MonoBehaviour:
_Portals:
rid: 1011
_ShowWaterProxyPlane: 0
_EditModeFrameRate: 30
_FollowSceneCamera: 1
_EditorMultipleViewpoints: 1
_HeightQueries: 1
_Debug:
_VisualizeData: 0
_VisualizeDataType: 0
_VisualizeDataExposure: 0
_VisualizeDataRange: 10
_VisualizeDataSaturate: 1
_SimulatePaused: 0
_AttachDebugGUI: 0
_ShowHiddenObjects: 0
_DisableFollowViewpoint: 0
@@ -1453,6 +1466,8 @@ MonoBehaviour:
_LogScaleChange: 0
_PauseOnScaleChange: 0
_IgnoreWavesForScaleChange: 0
_OverrideScale: 0
_ScaleOverride: 0
_ForceNoGraphics: 0
_Resources: {fileID: 11400000, guid: 0817af17dea584e5382e6216db162d4a, type: 2}
references:
@@ -1461,11 +1476,14 @@ MonoBehaviour:
- rid: 1000
type: {class: AbsorptionLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 200
_TextureFormat: 7
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 1.026, g: 2.085, b: 2.5500002, a: 0.306}
_ShorelineColorMaximumDistance: 10
@@ -1473,59 +1491,81 @@ MonoBehaviour:
- rid: 1001
type: {class: DepthLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 512
_IncludeTerrainHeight: 0
_EnableSignedDistanceFields: 1
- rid: 1002
type: {class: LevelLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 0
_Resolution: 256
_TextureFormatMode: 300
_TextureFormat: 45
_Blur: 0
_BlurIterations: 4
- rid: 1003
type: {class: FoamLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 45
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 30
_Prewarm: 1
_Settings: {fileID: 0}
- rid: 1004
type: {class: DynamicWavesLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 0
_Resolution: 512
_TextureFormatMode: 300
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 120
_AttenuationInShallows: 1
_Settings: {fileID: 0}
- rid: 1005
type: {class: FlowLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 128
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 1024
- rid: 1006
type: {class: ShadowLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 6
_Blur: 1
_BlurIterations: 1
_SimulationFrequency: 60
_DynamicSoftShadows: 1
_SoftJitterExtinctionFactor: 0.75
@@ -1538,20 +1578,26 @@ MonoBehaviour:
- rid: 1007
type: {class: ClipLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 200
_TextureFormat: 5
_Blur: 0
_BlurIterations: 1
_DefaultClippingState: 1
- rid: 1008
type: {class: AlbedoLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 768
_TextureFormatMode: 100
_TextureFormat: 8
_Blur: 0
_BlurIterations: 1
- rid: 1009
type: {class: WaterReflections, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -1562,13 +1608,12 @@ MonoBehaviour:
serializedVersion: 2
m_Bits: 1
_Resolution: 256
_RenderOnlySingleCamera: 0
_Overscan: 1.5
_Sky: 0
_DisablePixelLights: 1
_DisableShadows: 1
_HDR: 1
_Stencil: 0
_AllowMSAA: 0
_QualitySettingsOverride:
_OverrideLodBias: 0
_LodBias: 0.5
@@ -1584,9 +1629,13 @@ MonoBehaviour:
_UseObliqueMatrix: 1
_NonObliqueNearSurface: 0
_NonObliqueNearSurfaceThreshold: 0.05
_RenderOnlySingleCamera: 0
_RendererIndex: 0
_Debug:
_ShowHiddenObjects: 0
_DisableRecursiveRendering: 0
_ForceCompatibility: 0
_AllowMSAA: 0
- rid: 1010
type: {class: UnderwaterRenderer, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -1597,9 +1646,10 @@ MonoBehaviour:
_EnvironmentalLightingEnable: 0
_EnvironmentalLightingWeight: 1
_EnvironmentalLightingVolumeProfile: {fileID: 0}
_AllCameras: 0
_CameraExclusions: 6
_CopyWaterMaterialParametersEachFrame: 1
_FarPlaneMultiplier: 0.68
_EnableChunkCulling: 1
_CullLimit: 0.001
_Debug:
_VisualizeMask: 0
@@ -1608,21 +1658,28 @@ MonoBehaviour:
_DisableHeightAboveWaterOptimization: 0
_DisableArtifactCorrection: 0
_OnlyReflectionCameras: 0
_AllCameras: 0
- rid: 1011
type: {class: PortalRenderer, ns: WaveHarmonic.Crest.Portals, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_Mode: 3
_Geometry: {fileID: 6094660498847485368}
_Invert: 0
_MaximumResolution: 1024
_TexelSize: 0.02
- rid: 1012
type: {class: ScatteringLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 200
_TextureFormat: 23
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 0, g: 0.588, b: 1.2, a: 6}
_ShorelineColorMaximumDistance: 10
@@ -1633,38 +1690,49 @@ MonoBehaviour:
_Version: 0
_Enabled: 1
_Layer: 4
_MeshType: 0
_ChunkTemplate: {fileID: 0}
_SupportCustomRenderers: 1
_Material: {fileID: 2100000, guid: d82d92d8d8f214cd0b8bf7c185b2c341, type: 2}
_VolumeMaterial: {fileID: 0}
_ChunkTemplate: {fileID: 0}
_CastShadows: 0
_WaterBodyCulling: 1
_TimeSliceBoundsUpdateFrameCount: 1
_CameraExclusions: 6
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Debug:
_UniformTiles: 0
_DisableSkirt: 0
_DrawRendererBounds: 0
- rid: 1014
type: {class: Meniscus, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_Layer: 4
_Material: {fileID: 2100000, guid: 238e45299a5ec46308e9bf99ddf67963, type: 2}
_CameraExclusions: 6
- rid: 5163698739167625228
type: {class: AnimatedWavesLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 0
_Resolution: 256
_TextureFormatMode: 200
_TextureFormat: 48
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 4096
_CollisionLayers: -1
_BakedWaveData: {fileID: 0}
_WaveSampling: 0
_WaveResolutionMultiplier: 1
_AttenuationInShallows: 0.95
_ShallowsMaximumDepth: 1000
_CollisionSource: 2
_CollisionLayers: -1
_MaximumQueryCount: 4096
_BakedWaveData: {fileID: 0}
--- !u!1 &9077896628645171223
GameObject:
m_ObjectHideFlags: 0

View File

@@ -96,6 +96,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 5c972e8f11f2447768dc0314b7bc34a4, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 0
_Mode: 3
_Weight: 1
_Queue: 0
@@ -105,13 +106,13 @@ MonoBehaviour:
_Data:
rid: 5163698717554376705
_DrawBounds: 0
_Version: 0
references:
version: 2
RefIds:
- rid: 5163698717554376705
type: {class: AlbedoRendererLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 5663845876579632776}
_Renderer: {fileID: 2404576928627305884}
_DisableRenderer: 1
@@ -119,171 +120,6 @@ MonoBehaviour:
_ShaderPassIndex: 0
_CheckShaderName: 1
_CheckShaderPasses: 1
--- !u!1 &4811082362463432963
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3045335462880455184}
- component: {fileID: 1686987402272609885}
- component: {fileID: 493122196572431846}
m_Layer: 0
m_Name: Albedo
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!4 &3045335462880455184
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4811082362463432963}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2657230488372934684}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1686987402272609885
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4811082362463432963}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c948522afe4014818ad3ab8b5dad00b6, type: 3}
m_Name:
m_EditorClassIdentifier:
_Previous: 44
_Next: 46
_Prefabs: []
--- !u!114 &493122196572431846
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4811082362463432963}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a8eca7a783ef84759a4e965c9d6d8827, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 0
_ExecuteUpdateEvery: 0
_StopExecutingUpdateAfter: Infinity
_OnEnable:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: UnityEngine.UI.Text, UnityEngine.UI
m_MethodName: set_text
m_Mode: 5
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument: Albedo
m_BoolArgument: 1
m_CallState: 2
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: UnityEngine.UI.Slider, UnityEngine.UI
m_MethodName: set_maxValue
m_Mode: 4
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 1
m_CallState: 2
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine
m_MethodName: SetActive
m_Mode: 6
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 1
m_CallState: 2
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine
m_MethodName: SetActive
m_Mode: 6
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 1
m_CallState: 2
_OnDisable:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: Crest.OceanRenderer, Crest
m_MethodName: ClearLodData
m_Mode: 1
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
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine
m_MethodName: SetActive
m_Mode: 6
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
_OnUpdate:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: UnityEngine.UI.Slider, UnityEngine.UI
m_MethodName: set_value
m_Mode: 0
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
_OnLegacyRenderPipeline:
m_PersistentCalls:
m_Calls: []
_OnHighDefinitionPipeline:
m_PersistentCalls:
m_Calls: []
_OnUniversalRenderPipeline:
m_PersistentCalls:
m_Calls: []
--- !u!1001 &4865865868520106964
PrefabInstance:
m_ObjectHideFlags: 0
@@ -390,10 +226,6 @@ PrefabInstance:
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects:
- targetCorrespondingSourceObject: {fileID: 7451036494515983304, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
insertIndex: -1
addedObject: {fileID: 3045335462880455184}
- targetCorrespondingSourceObject: {fileID: 7451036494515983304, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
insertIndex: -1

View File

@@ -178,6 +178,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
_Version: 0
_WorldSpace: 0
_Axis: {x: 0, y: 0, z: 1}
_Amplitude: 10
_Frequency: 1

View File

@@ -44,7 +44,9 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 70deb49b538e247b9ab1bf7773d16809, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 1
_Type: 0
_Placement: 0
_RefreshMode: 0
_Layers:
serializedVersion: 2
@@ -64,10 +66,8 @@ MonoBehaviour:
_GenerateSignedDistanceField: 1
_AdditionalJumpFloodRounds: 7
_Debug:
_ForceAlwaysUpdateDebug: 0
_ShowHiddenObjects: 0
_ShowSimulationDataInScene: 0
_Version: 1
--- !u!1 &4699276825329845214
GameObject:
m_ObjectHideFlags: 0
@@ -168,6 +168,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
_Version: 0
_Source: 0
_Viewer: {fileID: 0}
_Layer: 0
_MinimumWavelength: 1
_DistanceFromSurfaceSigned: 0

View File

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

View File

@@ -46,6 +46,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 26623fd0e291a478a9f8b68a3df7e8a6, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 0
_Mode: 4
_Weight: 1
_Queue: 1
@@ -55,7 +56,6 @@ MonoBehaviour:
_Data:
rid: -2
_DrawBounds: 0
_Version: 0
_Primitive: 3
_Inverted: 1
_WaterHeightDistanceCulling: 0
@@ -129,6 +129,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 26623fd0e291a478a9f8b68a3df7e8a6, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 0
_Mode: 4
_Weight: 1
_Queue: 0
@@ -138,7 +139,6 @@ MonoBehaviour:
_Data:
rid: -2
_DrawBounds: 0
_Version: 0
_Primitive: 0
_Inverted: 0
_WaterHeightDistanceCulling: 0

View File

@@ -119,6 +119,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 247a7260095bc49429a7f7cb2a4851d5, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 0
_Mode: 3
_Weight: 1
_Queue: 0
@@ -128,13 +129,13 @@ MonoBehaviour:
_Data:
rid: 323759375422586995
_DrawBounds: 0
_Version: 0
references:
version: 2
RefIds:
- rid: 323759375422586995
type: {class: AbsorptionRendererLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 6879009723071428106}
_Renderer: {fileID: 5220331307787431442}
_DisableRenderer: 1
@@ -238,6 +239,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: c85179d3b43c5467da99463c8a2199ab, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 0
_Mode: 3
_Weight: 1
_Queue: 0
@@ -247,13 +249,13 @@ MonoBehaviour:
_Data:
rid: 323759375422586998
_DrawBounds: 0
_Version: 0
references:
version: 2
RefIds:
- rid: 323759375422586998
type: {class: ScatteringRendererLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 7347029058404462362}
_Renderer: {fileID: 7308856809087349850}
_DisableRenderer: 1

View File

@@ -628,6 +628,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
_Version: 0
_WorldSpace: 0
_Axis: {x: 0, y: 1, z: 0}
_Amplitude: 0
_Frequency: 1

View File

@@ -169,6 +169,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 67bc7f0b9724d44ab9f0ddf0b1b5a773, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 0
_Mode: 3
_Weight: 1
_Queue: 1
@@ -178,13 +179,13 @@ MonoBehaviour:
_Data:
rid: 5163698717554376718
_DrawBounds: 0
_Version: 0
references:
version: 2
RefIds:
- rid: 5163698717554376718
type: {class: FoamRendererLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 4273708477456612640}
_Renderer: {fileID: 7560813693079055819}
_DisableRenderer: 1
@@ -310,6 +311,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 67bc7f0b9724d44ab9f0ddf0b1b5a773, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 0
_Mode: 3
_Weight: 1
_Queue: 0
@@ -319,13 +321,13 @@ MonoBehaviour:
_Data:
rid: 5163698717554376719
_DrawBounds: 0
_Version: 0
references:
version: 2
RefIds:
- rid: 5163698717554376719
type: {class: FoamRendererLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 4777843738052628931}
_Renderer: {fileID: 3130732529645916157}
_DisableRenderer: 1
@@ -429,6 +431,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 67bc7f0b9724d44ab9f0ddf0b1b5a773, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 0
_Mode: 3
_Weight: 0.01
_Queue: 0
@@ -438,13 +441,13 @@ MonoBehaviour:
_Data:
rid: 5163698717554376720
_DrawBounds: 0
_Version: 0
references:
version: 2
RefIds:
- rid: 5163698717554376720
type: {class: FoamRendererLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 5399413260865741105}
_Renderer: {fileID: 8008957703403072447}
_DisableRenderer: 1
@@ -549,6 +552,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 67bc7f0b9724d44ab9f0ddf0b1b5a773, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 0
_Mode: 3
_Weight: 1
_Queue: 0
@@ -558,13 +562,13 @@ MonoBehaviour:
_Data:
rid: 5163698717554376720
_DrawBounds: 0
_Version: 0
references:
version: 2
RefIds:
- rid: 5163698717554376720
type: {class: FoamRendererLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 8716336446455610138}
_Renderer: {fileID: 1353571277396455784}
_DisableRenderer: 1

View File

@@ -686,6 +686,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: a4edd034314af4679ba066d79580dc1d, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 1
_Mode: 7
_Weight: 1
_Queue: 2
@@ -697,13 +698,13 @@ MonoBehaviour:
_DrawBounds: 0
_OverrideHeight: 0
_HeightRange: {x: -100, y: 100}
_Version: 1
references:
version: 2
RefIds:
- rid: 5498492912763142557
type: {class: LevelGeometryLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 2040903186261584450}
_Geometry: {fileID: 10206, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1 &4825034609286131583
@@ -892,6 +893,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: a4edd034314af4679ba066d79580dc1d, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 1
_Mode: 7
_Weight: 1
_Queue: 0
@@ -903,13 +905,13 @@ MonoBehaviour:
_DrawBounds: 0
_OverrideHeight: 0
_HeightRange: {x: -100, y: 100}
_Version: 1
references:
version: 2
RefIds:
- rid: 5498492912763142557
type: {class: LevelGeometryLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 7934161365930778394}
_Geometry: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1 &7193244289740569582
@@ -956,6 +958,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 5ba152b967dd345829964814e3b3a4e6, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 1
_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
_Queue: 0
_Mode: 0
@@ -963,7 +966,6 @@ MonoBehaviour:
_UseClipWithDisplacement: 1
_Debug:
_DrawBounds: 0
_Version: 1
--- !u!1 &8801716549099871655
GameObject:
m_ObjectHideFlags: 0

View File

@@ -44,6 +44,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 88bb6e05d83b64105a4d8cbd478f5916, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 3
_Mode: 6
_Weight: 1
_Queue: 1
@@ -56,30 +57,34 @@ MonoBehaviour:
_Spectrum: {fileID: 0}
_EvaluateSpectrumAtRunTimeEveryFrame: 0
_RespectShallowWaterAttenuation: 1
_SeaLevelOnly: 0
_OverrideGlobalWindDirection: 1
_WaveDirectionHeadingAngle: 0
_OverrideGlobalWindSpeed: 1
_WindSpeed: 3
_Resolution: 128
_IncludeInDropDetailHeightBasedOnWaves: 0
_DrawSlicesInEditor: 0
_AlphaSource: 0
_ApplyAdvancedSpectrumControls: 0
_OverrideGlobalWindTurbulence: 1
_WindTurbulence: 0.145
_WindAlignment: 0
_TimeLoopLength: Infinity
_OverrideCulling: 0
_MaximumVerticalDisplacement: 10
_MaximumHorizontalDisplacement: 15
_EnableBakedCollision: 0
_TimeResolution: 4
_SmallestWavelengthRequired: 2
_BakedTimeLoopLength: 32
_Version: 2
references:
version: 2
RefIds:
- rid: 5498492930452619820
type: {class: ShapeWavesTextureLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 5261791568129114886}
_Texture: {fileID: 2800000, guid: b922f588948724e039eadd46288af89d, type: 3}
_Multiplier: {x: 1, y: 1, z: 1, w: 1}

View File

@@ -4902,6 +4902,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 67bc7f0b9724d44ab9f0ddf0b1b5a773, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 0
_Mode: 3
_Weight: 1
_Queue: 0
@@ -4911,13 +4912,13 @@ MonoBehaviour:
_Data:
rid: 9154139389720788993
_DrawBounds: 0
_Version: 0
references:
version: 2
RefIds:
- rid: 9154139389720788993
type: {class: FoamRendererLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 7982559133766518504}
_Renderer: {fileID: 4772028070266665312}
_DisableRenderer: 1

View File

@@ -96,6 +96,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 3d64d1f50f3b548bcbe279507f0e78da, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 1
_Mode: 3
_Weight: 1
_Queue: 0
@@ -111,7 +112,6 @@ MonoBehaviour:
_MaximumDisplacementVertical: 0
_MaximumDisplacementHorizontal: 0
_ReportRendererBounds: 0
_Version: 1
_RenderPostCombine: 1
references:
version: 2
@@ -119,6 +119,7 @@ MonoBehaviour:
- rid: 5498492892080767024
type: {class: AnimatedWavesRendererLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 2878631226503820878}
_Renderer: {fileID: 8797361803737930552}
_DisableRenderer: 1

View File

@@ -96,6 +96,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 3d64d1f50f3b548bcbe279507f0e78da, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 1
_Mode: 3
_Weight: 1
_Queue: 0
@@ -111,7 +112,6 @@ MonoBehaviour:
_MaximumDisplacementVertical: 0
_MaximumDisplacementHorizontal: 0
_ReportRendererBounds: 0
_Version: 1
_RenderPostCombine: 1
references:
version: 2
@@ -119,6 +119,7 @@ MonoBehaviour:
- rid: 5163698717554376716
type: {class: AnimatedWavesRendererLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 684761497578884912}
_Renderer: {fileID: 6400578777511710056}
_DisableRenderer: 1

View File

@@ -96,6 +96,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 3d64d1f50f3b548bcbe279507f0e78da, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 1
_Mode: 3
_Weight: 1
_Queue: 0
@@ -111,7 +112,6 @@ MonoBehaviour:
_MaximumDisplacementVertical: 2
_MaximumDisplacementHorizontal: 0
_ReportRendererBounds: 0
_Version: 1
_RenderPostCombine: 1
references:
version: 2
@@ -119,6 +119,7 @@ MonoBehaviour:
- rid: 5498492930452619757
type: {class: AnimatedWavesRendererLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 4504938849896926721}
_Renderer: {fileID: 5120915862431122677}
_DisableRenderer: 1

View File

@@ -208,6 +208,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 67bc7f0b9724d44ab9f0ddf0b1b5a773, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 0
_Mode: 3
_Weight: 1
_Queue: 0
@@ -217,13 +218,13 @@ MonoBehaviour:
_Data:
rid: 9154139389720788992
_DrawBounds: 0
_Version: 0
references:
version: 2
RefIds:
- rid: 9154139389720788992
type: {class: FoamRendererLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 5188318994818385360}
_Renderer: {fileID: 6477949415211515217}
_DisableRenderer: 1

View File

@@ -44,6 +44,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 002f2642204d348f3a2fab18595c44cd, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 3
_Mode: 5
_Weight: 1
_Queue: 0
@@ -56,11 +57,13 @@ MonoBehaviour:
_Spectrum: {fileID: 11400000, guid: 6b50b5218dbe2488fb5d00db49d15dae, type: 2}
_EvaluateSpectrumAtRunTimeEveryFrame: 0
_RespectShallowWaterAttenuation: 1
_SeaLevelOnly: 0
_OverrideGlobalWindDirection: 1
_WaveDirectionHeadingAngle: 0
_OverrideGlobalWindSpeed: 1
_WindSpeed: 150
_Resolution: 128
_IncludeInDropDetailHeightBasedOnWaves: 0
_DrawSlicesInEditor: 0
_AlphaSource: 0
_Swell: 0
@@ -68,7 +71,6 @@ MonoBehaviour:
_ComponentsPerOctave: 8
_RandomSeed: 0
_ManualGeneration: 0
_Version: 2
references:
version: 2
RefIds:

View File

@@ -44,6 +44,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: a4edd034314af4679ba066d79580dc1d, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 1
_Mode: 7
_Weight: 1
_Queue: 0
@@ -55,13 +56,13 @@ MonoBehaviour:
_DrawBounds: 0
_OverrideHeight: 0
_HeightRange: {x: -100, y: 100}
_Version: 1
references:
version: 2
RefIds:
- rid: 5498492890225574320
type: {class: LevelGeometryLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 6591046838509233045}
_Geometry: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1001 &7308845132527536165

View File

@@ -200,6 +200,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 002f2642204d348f3a2fab18595c44cd, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 3
_Mode: 3
_Weight: 1
_Queue: 0
@@ -212,11 +213,13 @@ MonoBehaviour:
_Spectrum: {fileID: 11400000, guid: e13a1902b10e34e9fb08e1d09e39b5d4, type: 2}
_EvaluateSpectrumAtRunTimeEveryFrame: 0
_RespectShallowWaterAttenuation: 1
_SeaLevelOnly: 0
_OverrideGlobalWindDirection: 1
_WaveDirectionHeadingAngle: -58.00273
_OverrideGlobalWindSpeed: 0
_WindSpeed: 20
_Resolution: 128
_IncludeInDropDetailHeightBasedOnWaves: 0
_DrawSlicesInEditor: 0
_AlphaSource: 0
_Swell: 0
@@ -224,13 +227,13 @@ MonoBehaviour:
_ComponentsPerOctave: 8
_RandomSeed: 0
_ManualGeneration: 0
_Version: 2
references:
version: 2
RefIds:
- rid: 5498492911464218864
type: {class: ShapeWavesRendererLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 2827377323468785439}
_Renderer: {fileID: 5651362053109087375}
_DisableRenderer: 1
@@ -413,6 +416,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 88bb6e05d83b64105a4d8cbd478f5916, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 3
_Mode: 3
_Weight: 1
_Queue: 0
@@ -425,30 +429,34 @@ MonoBehaviour:
_Spectrum: {fileID: 11400000, guid: e13a1902b10e34e9fb08e1d09e39b5d4, type: 2}
_EvaluateSpectrumAtRunTimeEveryFrame: 0
_RespectShallowWaterAttenuation: 1
_SeaLevelOnly: 0
_OverrideGlobalWindDirection: 1
_WaveDirectionHeadingAngle: 0
_OverrideGlobalWindSpeed: 0
_WindSpeed: 20
_Resolution: 128
_IncludeInDropDetailHeightBasedOnWaves: 0
_DrawSlicesInEditor: 0
_AlphaSource: 0
_ApplyAdvancedSpectrumControls: 0
_OverrideGlobalWindTurbulence: 1
_WindTurbulence: 0.145
_WindAlignment: 0
_TimeLoopLength: Infinity
_OverrideCulling: 0
_MaximumVerticalDisplacement: 10
_MaximumHorizontalDisplacement: 15
_EnableBakedCollision: 0
_TimeResolution: 4
_SmallestWavelengthRequired: 2
_BakedTimeLoopLength: 32
_Version: 2
references:
version: 2
RefIds:
- rid: 5498492892080767375
type: {class: ShapeWavesRendererLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 2912691268591623129}
_Renderer: {fileID: 9056547554985079878}
_DisableRenderer: 1

View File

@@ -97,6 +97,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 3d64d1f50f3b548bcbe279507f0e78da, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 1
_Mode: 3
_Weight: 1
_Queue: 0
@@ -112,7 +113,6 @@ MonoBehaviour:
_MaximumDisplacementVertical: 0
_MaximumDisplacementHorizontal: 0
_ReportRendererBounds: 0
_Version: 1
_RenderPostCombine: 1
references:
version: 2
@@ -120,6 +120,7 @@ MonoBehaviour:
- rid: 5498492892080767265
type: {class: AnimatedWavesRendererLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 866027872667867661}
_Renderer: {fileID: 8667131938688432550}
_DisableRenderer: 1
@@ -140,6 +141,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
_Version: 0
_WorldSpace: 0
_Axis: {x: 1, y: 0, z: 1}
_Amplitude: 15
_Frequency: 1

View File

@@ -46,6 +46,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 88bb6e05d83b64105a4d8cbd478f5916, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 3
_Mode: 3
_Weight: 1
_Queue: 0
@@ -58,30 +59,34 @@ MonoBehaviour:
_Spectrum: {fileID: 0}
_EvaluateSpectrumAtRunTimeEveryFrame: 0
_RespectShallowWaterAttenuation: 1
_SeaLevelOnly: 0
_OverrideGlobalWindDirection: 1
_WaveDirectionHeadingAngle: 0
_OverrideGlobalWindSpeed: 0
_WindSpeed: 20
_Resolution: 32
_IncludeInDropDetailHeightBasedOnWaves: 0
_DrawSlicesInEditor: 0
_AlphaSource: 0
_ApplyAdvancedSpectrumControls: 0
_OverrideGlobalWindTurbulence: 1
_WindTurbulence: 0.145
_WindAlignment: 0
_TimeLoopLength: Infinity
_OverrideCulling: 0
_MaximumVerticalDisplacement: 10
_MaximumHorizontalDisplacement: 15
_EnableBakedCollision: 0
_TimeResolution: 4
_SmallestWavelengthRequired: 2
_BakedTimeLoopLength: 32
_Version: 2
references:
version: 2
RefIds:
- rid: 5498492892080767520
type: {class: ShapeWavesRendererLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 7519625472829840564}
_Renderer: {fileID: 446232514223694072}
_DisableRenderer: 1

View File

@@ -546,8 +546,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: c948522afe4014818ad3ab8b5dad00b6, type: 3}
m_Name:
m_EditorClassIdentifier:
_Previous: 110
_Next: 109
_Prefabs:
- {fileID: 7253832949013104934, guid: c991a6f7c7bf14d29a1868ab0ba78d9b, type: 3}
- {fileID: 4743998664470201614, guid: d567dc7b091ab41dca1737015904294c, type: 3}
@@ -748,6 +746,7 @@ GameObject:
- component: {fileID: 1122580655}
- component: {fileID: 1122580654}
- component: {fileID: 1122580653}
- component: {fileID: 1122580657}
m_Layer: 0
m_Name: EventSystem
m_TagString: Untagged
@@ -847,6 +846,18 @@ Transform:
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1122580657
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1122580652}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 539016482e955484bbeb4193a95d3e15, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1131128992
GameObject:
m_ObjectHideFlags: 0

View File

@@ -0,0 +1,4 @@
// Crest Water System
// Copyright © 2024 Wave Harmonic. All rights reserved.
namespace UnityEngine.InputSystem { }

View File

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

View File

@@ -1,9 +1,14 @@
// Crest Water System
// Copyright © 2024 Wave Harmonic. All rights reserved.
#if d_Unity_InputSystem && ENABLE_INPUT_SYSTEM
#define INPUT_SYSTEM_ENABLED
#endif
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using UnityEngine.InputSystem;
namespace WaveHarmonic.Crest.Examples
{
@@ -12,12 +17,6 @@ namespace WaveHarmonic.Crest.Examples
#endif
sealed class ExamplesController : MonoBehaviour
{
[@DecoratedField, SerializeField]
KeyCode _Previous = KeyCode.Comma;
[@DecoratedField, SerializeField]
KeyCode _Next = KeyCode.Period;
[SerializeField]
List<GameObject> _Prefabs = new();
@@ -51,11 +50,19 @@ namespace WaveHarmonic.Crest.Examples
void Update()
{
if (Input.GetKeyUp(_Previous))
#if INPUT_SYSTEM_ENABLED
if (Keyboard.current[Key.N].wasReleasedThisFrame)
#else
if (Input.GetKeyUp(KeyCode.N))
#endif
{
Previous();
}
else if (Input.GetKeyUp(_Next))
#if INPUT_SYSTEM_ENABLED
else if (Keyboard.current[Key.M].wasReleasedThisFrame)
#else
else if (Input.GetKeyUp(KeyCode.M))
#endif
{
Next();
}

View File

@@ -18,3 +18,4 @@ MonoBehaviour:
_HorizontalDisplace: 9.66
_DisplaceClamp: 0.3
_GravityMultiplier: 4
_VerticalDisplacementCullingContributions: 5

View File

@@ -18,3 +18,4 @@ MonoBehaviour:
_HorizontalDisplace: 9.66
_DisplaceClamp: 0.3
_GravityMultiplier: 1
_VerticalDisplacementCullingContributions: 5

View File

@@ -59,6 +59,7 @@ Material:
- _BUILTIN_QueueControl: 0
- _BUILTIN_SrcBlend: 5
- _BUILTIN_ZWrite: 1
- _Crest_NormalMapTurbulenceStrength: 0.5
- _Crest_SSSDirectionalFalloff: 2
- _Crest_SSSEnabled: 1
- _Crest_SSSIntensity: 10

View File

@@ -44,6 +44,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 88bb6e05d83b64105a4d8cbd478f5916, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 3
_Mode: 5
_Weight: 1
_Queue: 0
@@ -56,24 +57,27 @@ MonoBehaviour:
_Spectrum: {fileID: 11400000, guid: ce5a3f1aff978418c90b45d58f574528, type: 2}
_EvaluateSpectrumAtRunTimeEveryFrame: 0
_RespectShallowWaterAttenuation: 1
_SeaLevelOnly: 0
_OverrideGlobalWindDirection: 1
_WaveDirectionHeadingAngle: 180
_OverrideGlobalWindSpeed: 0
_WindSpeed: 20
_Resolution: 128
_IncludeInDropDetailHeightBasedOnWaves: 0
_DrawSlicesInEditor: 0
_AlphaSource: 0
_ApplyAdvancedSpectrumControls: 0
_OverrideGlobalWindTurbulence: 1
_WindTurbulence: 0.145
_WindAlignment: 0
_TimeLoopLength: Infinity
_OverrideCulling: 0
_MaximumVerticalDisplacement: 10
_MaximumHorizontalDisplacement: 15
_EnableBakedCollision: 0
_TimeResolution: 4
_SmallestWavelengthRequired: 2
_BakedTimeLoopLength: 32
_Version: 2
references:
version: 2
RefIds:
@@ -229,7 +233,9 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 70deb49b538e247b9ab1bf7773d16809, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 1
_Type: 0
_Placement: 0
_RefreshMode: 0
_Layers:
serializedVersion: 2
@@ -249,10 +255,8 @@ MonoBehaviour:
_GenerateSignedDistanceField: 1
_AdditionalJumpFloodRounds: 7
_Debug:
_ForceAlwaysUpdateDebug: 0
_ShowHiddenObjects: 0
_ShowSimulationDataInScene: 0
_Version: 1
--- !u!1 &2635084430958343231
GameObject:
m_ObjectHideFlags: 0
@@ -298,6 +302,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: e64c239f69eea46778ded6dcc3427a34, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 2
_Layer: 4
_Material: {fileID: 2100000, guid: d340825b528984c3ea62563460223aa4, type: 2}
_VolumeMaterial: {fileID: 0}
@@ -307,7 +312,6 @@ MonoBehaviour:
_TimeSliceBoundsUpdateFrameCount: 1
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Version: 1
_Camera: {fileID: 0}
_TimeProvider: {fileID: 0}
_WindZone: {fileID: 0}
@@ -335,7 +339,10 @@ MonoBehaviour:
_Resolution: 384
_GeometryDownSampleFactor: 4
_ExtentsSizeMultiplier: 100
_MultipleViewpoints: 0
_Viewpoint: {fileID: 0}
_CameraExclusions: -1
_DataBackgroundMode: 3
_CenterOfDetailDisplacementCorrection: 1
_SampleTerrainHeightForScale: 1
_ForceScaleChangeSmoothing: 0
@@ -371,10 +378,16 @@ MonoBehaviour:
_Portals:
rid: 7000983677634084867
_ShowWaterProxyPlane: 0
_EditModeFrameRate: 30
_FollowSceneCamera: 1
_EditorMultipleViewpoints: 1
_HeightQueries: 1
_Debug:
_VisualizeData: 0
_VisualizeDataType: 0
_VisualizeDataExposure: 0
_VisualizeDataRange: 10
_VisualizeDataSaturate: 1
_SimulatePaused: 0
_AttachDebugGUI: 0
_ShowHiddenObjects: 0
_DisableFollowViewpoint: 0
@@ -384,6 +397,8 @@ MonoBehaviour:
_LogScaleChange: 0
_PauseOnScaleChange: 0
_IgnoreWavesForScaleChange: 0
_OverrideScale: 0
_ScaleOverride: 0
_ForceNoGraphics: 0
_Resources: {fileID: 11400000, guid: 0817af17dea584e5382e6216db162d4a, type: 2}
references:
@@ -392,66 +407,90 @@ MonoBehaviour:
- rid: 1000
type: {class: AnimatedWavesLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 0
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 48
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 4096
_CollisionLayers: -1
_BakedWaveData: {fileID: 0}
_WaveSampling: 0
_WaveResolutionMultiplier: 1
_AttenuationInShallows: 0.85
_ShallowsMaximumDepth: 1000
_CollisionSource: 2
_CollisionLayers: -1
_MaximumQueryCount: 4096
_BakedWaveData: {fileID: 0}
- rid: 1001
type: {class: DepthLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 512
_IncludeTerrainHeight: 0
_EnableSignedDistanceFields: 1
- rid: 1002
type: {class: FoamLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 45
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 30
_Prewarm: 1
_Settings: {fileID: 11400000, guid: e0a56d841e8854da48f505141f729c19, type: 2}
- rid: 1003
type: {class: DynamicWavesLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 0
_Resolution: 512
_TextureFormatMode: 300
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 60
_AttenuationInShallows: 1
_Settings: {fileID: 0}
- rid: 1004
type: {class: FlowLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 128
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 1024
- rid: 1005
type: {class: ShadowLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 6
_Blur: 1
_BlurIterations: 1
_SimulationFrequency: 60
_DynamicSoftShadows: 1
_SoftJitterExtinctionFactor: 0.75
@@ -464,28 +503,37 @@ MonoBehaviour:
- rid: 1006
type: {class: ClipLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 5
_Blur: 0
_BlurIterations: 1
_DefaultClippingState: 0
- rid: 1007
type: {class: AlbedoLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 768
_TextureFormatMode: 100
_TextureFormat: 8
_Blur: 0
_BlurIterations: 1
- rid: 1008
type: {class: AbsorptionLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 7
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 1.026, g: 2.085, b: 2.5500002, a: 0.306}
_ShorelineColorMaximumDistance: 10
@@ -493,11 +541,14 @@ MonoBehaviour:
- rid: 1009
type: {class: ScatteringLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 200
_TextureFormat: 23
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 0, g: 0.588, b: 1.2, a: 6}
_ShorelineColorMaximumDistance: 10
@@ -508,23 +559,29 @@ MonoBehaviour:
_Version: 0
_Enabled: 1
_Layer: 4
_MeshType: 0
_ChunkTemplate: {fileID: 0}
_SupportCustomRenderers: 1
_Material: {fileID: 2100000, guid: d340825b528984c3ea62563460223aa4, type: 2}
_VolumeMaterial: {fileID: 0}
_ChunkTemplate: {fileID: 0}
_CastShadows: 0
_WaterBodyCulling: 1
_TimeSliceBoundsUpdateFrameCount: 1
_CameraExclusions: 6
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Debug:
_UniformTiles: 0
_DisableSkirt: 0
_DrawRendererBounds: 0
- rid: 1011
type: {class: Meniscus, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_Layer: 4
_Material: {fileID: 2100000, guid: 238e45299a5ec46308e9bf99ddf67963, type: 2}
_CameraExclusions: 6
- rid: 1720327093404827648
type: {class: UnderwaterRenderer, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -535,9 +592,10 @@ MonoBehaviour:
_EnvironmentalLightingEnable: 0
_EnvironmentalLightingWeight: 1
_EnvironmentalLightingVolumeProfile: {fileID: 0}
_AllCameras: 0
_CameraExclusions: 6
_CopyWaterMaterialParametersEachFrame: 1
_FarPlaneMultiplier: 0.68
_EnableChunkCulling: 1
_CullLimit: 0.001
_Debug:
_VisualizeMask: 0
@@ -546,6 +604,7 @@ MonoBehaviour:
_DisableHeightAboveWaterOptimization: 0
_DisableArtifactCorrection: 0
_OnlyReflectionCameras: 0
_AllCameras: 0
- rid: 1720327093404827649
type: {class: WaterReflections, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -556,13 +615,12 @@ MonoBehaviour:
serializedVersion: 2
m_Bits: 2147483649
_Resolution: 1024
_RenderOnlySingleCamera: 0
_Overscan: 1.5
_Sky: 1
_DisablePixelLights: 1
_DisableShadows: 0
_HDR: 1
_Stencil: 0
_AllowMSAA: 0
_QualitySettingsOverride:
_OverrideLodBias: 0
_LodBias: 0.5
@@ -578,24 +636,34 @@ MonoBehaviour:
_UseObliqueMatrix: 1
_NonObliqueNearSurface: 0
_NonObliqueNearSurfaceThreshold: 0.05
_RenderOnlySingleCamera: 0
_RendererIndex: 0
_Debug:
_ShowHiddenObjects: 0
_DisableRecursiveRendering: 0
_ForceCompatibility: 0
_AllowMSAA: 0
- rid: 7000983677634084866
type: {class: LevelLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 0
_Resolution: 256
_TextureFormatMode: 300
_TextureFormat: 45
_Blur: 0
_BlurIterations: 4
- rid: 7000983677634084867
type: {class: PortalRenderer, ns: WaveHarmonic.Crest.Portals, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_Mode: 2
_Geometry: {fileID: 0}
_Invert: 0
_MaximumResolution: 1024
_TexelSize: 0.02
--- !u!1 &2945459103226009377
GameObject:
m_ObjectHideFlags: 0

View File

@@ -97,6 +97,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 82638e366ec3c4f5587d1ff63e01d8b2, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 0
_Mode: 3
_Weight: 1
_Queue: 0
@@ -106,13 +107,13 @@ MonoBehaviour:
_Data:
rid: 5130806863891791890
_DrawBounds: 0
_Version: 0
references:
version: 2
RefIds:
- rid: 5130806863891791890
type: {class: DynamicWavesRendererLodInputData, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Input: {fileID: 4365008454756617228}
_Renderer: {fileID: 7469831289853732886}
_DisableRenderer: 1
@@ -133,6 +134,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
_Version: 0
_WarmUp: 1
_OnTime: 0.25
_StartTime: 1
_Period: 4
_Length: 0.25

View File

@@ -638,6 +638,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: e64c239f69eea46778ded6dcc3427a34, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 2
_Layer: 4
_Material: {fileID: 2100000, guid: aa74fe26a90564079a48cdae97645f7b, type: 2}
_VolumeMaterial: {fileID: 0}
@@ -648,7 +649,6 @@ MonoBehaviour:
_TimeSliceBoundsUpdateFrameCount: 1
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Version: 1
_Camera: {fileID: 0}
_TimeProvider: {fileID: 0}
_WindZone: {fileID: 0}
@@ -676,7 +676,10 @@ MonoBehaviour:
_Resolution: 384
_GeometryDownSampleFactor: 2
_ExtentsSizeMultiplier: 100
_MultipleViewpoints: 0
_Viewpoint: {fileID: 0}
_CameraExclusions: -1
_DataBackgroundMode: 3
_CenterOfDetailDisplacementCorrection: 1
_SampleTerrainHeightForScale: 1
_ForceScaleChangeSmoothing: 0
@@ -712,10 +715,16 @@ MonoBehaviour:
_Portals:
rid: 9154139594981113870
_ShowWaterProxyPlane: 0
_EditModeFrameRate: 30
_FollowSceneCamera: 1
_EditorMultipleViewpoints: 1
_HeightQueries: 1
_Debug:
_VisualizeData: 0
_VisualizeDataType: 0
_VisualizeDataExposure: 0
_VisualizeDataRange: 10
_VisualizeDataSaturate: 1
_SimulatePaused: 0
_AttachDebugGUI: 0
_ShowHiddenObjects: 0
_DisableFollowViewpoint: 0
@@ -725,6 +734,8 @@ MonoBehaviour:
_LogScaleChange: 0
_PauseOnScaleChange: 0
_IgnoreWavesForScaleChange: 0
_OverrideScale: 0
_ScaleOverride: 0
_ForceNoGraphics: 0
_Resources: {fileID: 11400000, guid: 0817af17dea584e5382e6216db162d4a, type: 2}
references:
@@ -733,11 +744,14 @@ MonoBehaviour:
- rid: 323759186686771352
type: {class: AbsorptionLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 7
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 1.026, g: 2.085, b: 2.5500002, a: 0.306}
_ShorelineColorMaximumDistance: 10
@@ -745,11 +759,14 @@ MonoBehaviour:
- rid: 323759186686771353
type: {class: ScatteringLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 200
_TextureFormat: 23
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 0, g: 0.588, b: 1.2, a: 6}
_ShorelineColorMaximumDistance: 10
@@ -760,95 +777,128 @@ MonoBehaviour:
_Version: 0
_Enabled: 1
_Layer: 4
_Material: {fileID: 2100000, guid: aa74fe26a90564079a48cdae97645f7b, type: 2}
_VolumeMaterial: {fileID: 0}
_MeshType: 0
_ChunkTemplate: {fileID: 1516456258233481520, guid: 17840562212c147d6bdb5144d35bc442,
type: 3}
_SupportCustomRenderers: 1
_Material: {fileID: 2100000, guid: aa74fe26a90564079a48cdae97645f7b, type: 2}
_VolumeMaterial: {fileID: 0}
_CastShadows: 0
_WaterBodyCulling: 1
_TimeSliceBoundsUpdateFrameCount: 1
_CameraExclusions: 6
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Debug:
_UniformTiles: 0
_DisableSkirt: 0
_DrawRendererBounds: 0
- rid: 9040549687677943810
type: {class: Meniscus, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_Layer: 4
_Material: {fileID: 2100000, guid: 238e45299a5ec46308e9bf99ddf67963, type: 2}
_CameraExclusions: 6
- rid: 9154139594981113859
type: {class: AnimatedWavesLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 0
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 48
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 4096
_CollisionLayers: -1
_BakedWaveData: {fileID: 0}
_WaveSampling: 0
_WaveResolutionMultiplier: 1
_AttenuationInShallows: 0.95
_ShallowsMaximumDepth: 1000
_CollisionSource: 2
_CollisionLayers: -1
_MaximumQueryCount: 4096
_BakedWaveData: {fileID: 0}
- rid: 9154139594981113860
type: {class: DepthLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 512
_IncludeTerrainHeight: 0
_EnableSignedDistanceFields: 1
- rid: 9154139594981113861
type: {class: LevelLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 0
_Resolution: 256
_TextureFormatMode: 300
_TextureFormat: 45
_Blur: 0
_BlurIterations: 4
- rid: 9154139594981113862
type: {class: FoamLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 45
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 30
_Prewarm: 1
_Settings: {fileID: 0}
- rid: 9154139594981113863
type: {class: DynamicWavesLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 0
_Resolution: 512
_TextureFormatMode: 300
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 60
_AttenuationInShallows: 1
_Settings: {fileID: 0}
- rid: 9154139594981113864
type: {class: FlowLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 128
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 1024
- rid: 9154139594981113865
type: {class: ShadowLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 6
_Blur: 1
_BlurIterations: 1
_SimulationFrequency: 60
_DynamicSoftShadows: 1
_SoftJitterExtinctionFactor: 0.75
@@ -861,20 +911,26 @@ MonoBehaviour:
- rid: 9154139594981113866
type: {class: ClipLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 5
_Blur: 0
_BlurIterations: 1
_DefaultClippingState: 0
- rid: 9154139594981113867
type: {class: AlbedoLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 768
_TextureFormatMode: 100
_TextureFormat: 8
_Blur: 0
_BlurIterations: 1
- rid: 9154139594981113868
type: {class: WaterReflections, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -885,13 +941,12 @@ MonoBehaviour:
serializedVersion: 2
m_Bits: 1
_Resolution: 512
_RenderOnlySingleCamera: 0
_Overscan: 1.5
_Sky: 1
_DisablePixelLights: 1
_DisableShadows: 1
_HDR: 1
_Stencil: 0
_AllowMSAA: 0
_QualitySettingsOverride:
_OverrideLodBias: 0
_LodBias: 0.5
@@ -907,9 +962,13 @@ MonoBehaviour:
_UseObliqueMatrix: 1
_NonObliqueNearSurface: 0
_NonObliqueNearSurfaceThreshold: 0.05
_RenderOnlySingleCamera: 0
_RendererIndex: 0
_Debug:
_ShowHiddenObjects: 0
_DisableRecursiveRendering: 0
_ForceCompatibility: 0
_AllowMSAA: 0
- rid: 9154139594981113869
type: {class: UnderwaterRenderer, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -920,9 +979,10 @@ MonoBehaviour:
_EnvironmentalLightingEnable: 0
_EnvironmentalLightingWeight: 1
_EnvironmentalLightingVolumeProfile: {fileID: 0}
_AllCameras: 0
_CameraExclusions: 6
_CopyWaterMaterialParametersEachFrame: 1
_FarPlaneMultiplier: 0.68
_EnableChunkCulling: 1
_CullLimit: 0.001
_Debug:
_VisualizeMask: 0
@@ -931,13 +991,17 @@ MonoBehaviour:
_DisableHeightAboveWaterOptimization: 0
_DisableArtifactCorrection: 0
_OnlyReflectionCameras: 0
_AllCameras: 0
- rid: 9154139594981113870
type: {class: PortalRenderer, ns: WaveHarmonic.Crest.Portals, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_Mode: 2
_Geometry: {fileID: 0}
_Invert: 0
_MaximumResolution: 1024
_TexelSize: 0.02
--- !u!1001 &2904561123747805697
PrefabInstance:
m_ObjectHideFlags: 0

View File

@@ -2,6 +2,7 @@
// Copyright © 2024 Wave Harmonic. All rights reserved.
using UnityEngine;
using UnityEngine.Serialization;
using WaveHarmonic.Crest.Internal;
namespace WaveHarmonic.Crest.Examples
@@ -11,20 +12,20 @@ namespace WaveHarmonic.Crest.Examples
[AddComponentMenu(Constants.k_MenuPrefixSample + "Ripple Generator")]
sealed class RippleGenerator : ManagedBehaviour<WaterRenderer>
{
[SerializeField, HideInInspector]
#pragma warning disable 414
int _Version = 0;
#pragma warning restore 414
[Tooltip("Amount of time before it starts.")]
[FormerlySerializedAs("_WarmUp")]
[SerializeField]
float _WarmUp = 3f;
[SerializeField]
float _OnTime = 0.2f;
float _StartTime = 3f;
[Tooltip("The time interval to inject a ripple.\n\nTime will loop around by this number (in seconds). Increase to make ripples more frequent.")]
[SerializeField]
float _Period = 4f;
[Tooltip("The length of time in the period the input runs for.\n\nFrom the start of the period until this time, the input will continue to render. The longer it is active, the further the water will be pushed/pulled per period. If it is too long for the period, the surface may never return to rest.")]
[FormerlySerializedAs("_OnTime")]
[SerializeField]
float _Length = 0.2f;
DynamicWavesLodInput _DynamicWavesLodInput;
private protected override void Initialize()
@@ -44,15 +45,15 @@ namespace WaveHarmonic.Crest.Examples
var time = water.CurrentTime;
if (time < _WarmUp)
if (time < _StartTime)
{
_DynamicWavesLodInput.ForceRenderingOff = true;
return;
}
time -= _WarmUp;
time -= _StartTime;
time = Mathf.Repeat(time, _Period);
_DynamicWavesLodInput.ForceRenderingOff = time >= _OnTime;
_DynamicWavesLodInput.ForceRenderingOff = time >= _Length;
}
}
}

View File

@@ -13,9 +13,10 @@ MonoBehaviour:
m_Name: Wakes_Waves
m_EditorClassIdentifier:
_Version: 0
_WaveDirectionVariance: 90
_GravityScale: 1
_Multiplier: 1
_Chop: 1.69
_GravityScale: 1
_WaveDirectionVariance: 90
_PowerLogarithmicScales:
- -7.39794
- -7.39794
@@ -62,6 +63,20 @@ MonoBehaviour:
- 1
- 1
- 1
_Chop: 1.69
_Attenuation:
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
_ShowAdvancedControls: 0
_Model: 0

View File

@@ -76,6 +76,8 @@ Material:
- _BUILTIN_SrcBlend: 5
- _BUILTIN_ZWrite: 1
- _Crest_Anisotropy: 0
- _Crest_NormalMapTurbulenceCoverage: 1
- _Crest_NormalMapTurbulenceStrength: 1
- _CullMode: 0
- _CullModeForward: 0
- _DstBlend: 10

View File

@@ -270,6 +270,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: e64c239f69eea46778ded6dcc3427a34, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 2
_Layer: 4
_Material: {fileID: 2100000, guid: d6e4d43be817745be8c654fe12d10077, type: 2}
_VolumeMaterial: {fileID: 0}
@@ -280,7 +281,6 @@ MonoBehaviour:
_TimeSliceBoundsUpdateFrameCount: 1
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Version: 1
_Camera: {fileID: 0}
_TimeProvider: {fileID: 0}
_WindZone: {fileID: 0}
@@ -308,7 +308,10 @@ MonoBehaviour:
_Resolution: 384
_GeometryDownSampleFactor: 2
_ExtentsSizeMultiplier: 100
_MultipleViewpoints: 0
_Viewpoint: {fileID: 0}
_CameraExclusions: -1
_DataBackgroundMode: 3
_CenterOfDetailDisplacementCorrection: 1
_SampleTerrainHeightForScale: 1
_ForceScaleChangeSmoothing: 0
@@ -344,10 +347,16 @@ MonoBehaviour:
_Portals:
rid: 162836781179600935
_ShowWaterProxyPlane: 0
_EditModeFrameRate: 30
_FollowSceneCamera: 1
_EditorMultipleViewpoints: 1
_HeightQueries: 1
_Debug:
_VisualizeData: 0
_VisualizeDataType: 0
_VisualizeDataExposure: 0
_VisualizeDataRange: 10
_VisualizeDataSaturate: 1
_SimulatePaused: 0
_AttachDebugGUI: 0
_ShowHiddenObjects: 0
_DisableFollowViewpoint: 0
@@ -357,6 +366,8 @@ MonoBehaviour:
_LogScaleChange: 0
_PauseOnScaleChange: 0
_IgnoreWavesForScaleChange: 0
_OverrideScale: 0
_ScaleOverride: 0
_ForceNoGraphics: 0
_Resources: {fileID: 11400000, guid: 0817af17dea584e5382e6216db162d4a, type: 2}
references:
@@ -365,11 +376,14 @@ MonoBehaviour:
- rid: 1000
type: {class: AbsorptionLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 7
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 1.026, g: 2.085, b: 2.5500002, a: 0.306}
_ShorelineColorMaximumDistance: 10
@@ -377,11 +391,14 @@ MonoBehaviour:
- rid: 1001
type: {class: ScatteringLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 200
_TextureFormat: 23
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 0, g: 0.588, b: 1.2, a: 6}
_ShorelineColorMaximumDistance: 10
@@ -392,95 +409,128 @@ MonoBehaviour:
_Version: 0
_Enabled: 1
_Layer: 4
_Material: {fileID: 2100000, guid: d6e4d43be817745be8c654fe12d10077, type: 2}
_VolumeMaterial: {fileID: 0}
_MeshType: 0
_ChunkTemplate: {fileID: 1516456258233481520, guid: 17840562212c147d6bdb5144d35bc442,
type: 3}
_SupportCustomRenderers: 1
_Material: {fileID: 2100000, guid: d6e4d43be817745be8c654fe12d10077, type: 2}
_VolumeMaterial: {fileID: 0}
_CastShadows: 0
_WaterBodyCulling: 1
_TimeSliceBoundsUpdateFrameCount: 1
_CameraExclusions: 6
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Debug:
_UniformTiles: 0
_DisableSkirt: 0
_DrawRendererBounds: 0
- rid: 1003
type: {class: Meniscus, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_Layer: 4
_Material: {fileID: 2100000, guid: 238e45299a5ec46308e9bf99ddf67963, type: 2}
_CameraExclusions: 6
- rid: 162836781179600924
type: {class: AnimatedWavesLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 0
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 48
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 4096
_CollisionLayers: -1
_BakedWaveData: {fileID: 0}
_WaveSampling: 0
_WaveResolutionMultiplier: 1
_AttenuationInShallows: 0.95
_ShallowsMaximumDepth: 1000
_CollisionSource: 2
_CollisionLayers: -1
_MaximumQueryCount: 4096
_BakedWaveData: {fileID: 0}
- rid: 162836781179600925
type: {class: DepthLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 512
_IncludeTerrainHeight: 0
_EnableSignedDistanceFields: 1
- rid: 162836781179600926
type: {class: LevelLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 0
_Resolution: 256
_TextureFormatMode: 300
_TextureFormat: 45
_Blur: 0
_BlurIterations: 4
- rid: 162836781179600927
type: {class: FoamLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 45
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 30
_Prewarm: 0
_Settings: {fileID: 11400000, guid: fb1aaea1e5e8d4ba6b718be97218a083, type: 2}
- rid: 162836781179600928
type: {class: DynamicWavesLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_OverrideResolution: 0
_Resolution: 512
_TextureFormatMode: 300
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 60
_AttenuationInShallows: 1
_Settings: {fileID: 11400000, guid: 8dea483b97d254faa99deffab2bbfd05, type: 2}
- rid: 162836781179600929
type: {class: FlowLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 128
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 1024
- rid: 162836781179600930
type: {class: ShadowLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 6
_Blur: 1
_BlurIterations: 1
_SimulationFrequency: 60
_DynamicSoftShadows: 1
_SoftJitterExtinctionFactor: 0.75
@@ -493,20 +543,26 @@ MonoBehaviour:
- rid: 162836781179600931
type: {class: ClipLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 5
_Blur: 0
_BlurIterations: 1
_DefaultClippingState: 0
- rid: 162836781179600932
type: {class: AlbedoLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_OverrideResolution: 1
_Resolution: 768
_TextureFormatMode: 100
_TextureFormat: 8
_Blur: 0
_BlurIterations: 1
- rid: 162836781179600933
type: {class: WaterReflections, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -517,13 +573,12 @@ MonoBehaviour:
serializedVersion: 2
m_Bits: 1
_Resolution: 256
_RenderOnlySingleCamera: 0
_Overscan: 1.5
_Sky: 0
_DisablePixelLights: 1
_DisableShadows: 1
_HDR: 1
_Stencil: 0
_AllowMSAA: 0
_QualitySettingsOverride:
_OverrideLodBias: 0
_LodBias: 0.5
@@ -539,9 +594,13 @@ MonoBehaviour:
_UseObliqueMatrix: 1
_NonObliqueNearSurface: 0
_NonObliqueNearSurfaceThreshold: 0.05
_RenderOnlySingleCamera: 0
_RendererIndex: 0
_Debug:
_ShowHiddenObjects: 0
_DisableRecursiveRendering: 0
_ForceCompatibility: 0
_AllowMSAA: 0
- rid: 162836781179600934
type: {class: UnderwaterRenderer, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -552,9 +611,10 @@ MonoBehaviour:
_EnvironmentalLightingEnable: 0
_EnvironmentalLightingWeight: 1
_EnvironmentalLightingVolumeProfile: {fileID: 0}
_AllCameras: 0
_CameraExclusions: 6
_CopyWaterMaterialParametersEachFrame: 1
_FarPlaneMultiplier: 0.68
_EnableChunkCulling: 1
_CullLimit: 0.001
_Debug:
_VisualizeMask: 0
@@ -563,13 +623,17 @@ MonoBehaviour:
_DisableHeightAboveWaterOptimization: 0
_DisableArtifactCorrection: 0
_OnlyReflectionCameras: 0
_AllCameras: 0
- rid: 162836781179600935
type: {class: PortalRenderer, ns: WaveHarmonic.Crest.Portals, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 0
_Mode: 2
_Geometry: {fileID: 0}
_Invert: 0
_MaximumResolution: 1024
_TexelSize: 0.02
--- !u!1 &2433033423460560345
GameObject:
m_ObjectHideFlags: 0
@@ -669,6 +733,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 88bb6e05d83b64105a4d8cbd478f5916, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 3
_Mode: 5
_Weight: 1
_Queue: 0
@@ -681,24 +746,27 @@ MonoBehaviour:
_Spectrum: {fileID: 11400000, guid: 30151f29a777a41f39698cb262ee599b, type: 2}
_EvaluateSpectrumAtRunTimeEveryFrame: 1
_RespectShallowWaterAttenuation: 1
_SeaLevelOnly: 0
_OverrideGlobalWindDirection: 1
_WaveDirectionHeadingAngle: -90
_OverrideGlobalWindSpeed: 0
_WindSpeed: 20
_Resolution: 128
_IncludeInDropDetailHeightBasedOnWaves: 0
_DrawSlicesInEditor: 0
_AlphaSource: 0
_ApplyAdvancedSpectrumControls: 0
_OverrideGlobalWindTurbulence: 1
_WindTurbulence: 0.145
_WindAlignment: 0
_TimeLoopLength: Infinity
_OverrideCulling: 0
_MaximumVerticalDisplacement: 10
_MaximumHorizontalDisplacement: 15
_EnableBakedCollision: 0
_TimeResolution: 4
_SmallestWavelengthRequired: 2
_BakedTimeLoopLength: 32
_Version: 2
references:
version: 2
RefIds:

View File

@@ -18,3 +18,4 @@ MonoBehaviour:
_HorizontalDisplace: 9.66
_DisplaceClamp: 0.3
_GravityMultiplier: 1
_VerticalDisplacementCullingContributions: 5