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

@@ -26,6 +26,8 @@
// C# code to check if any parameters are within the MAX_LOD_COUNT limits
#define MAX_LOD_COUNT 15
#define k_Crest_WaveOctaveCount 14
// How light is attenuated deep in water
#define DEPTH_OUTSCATTER_CONSTANT 0.25
@@ -42,6 +44,9 @@
#define CREST_SSS_MAXIMUM 0.6
#define CREST_SSS_RANGE 0.12
// Rudimentary SSS approximation for additional lights.
#define k_Crest_AdditionalLightLerp 0.25
// Note: Must match k_MaskBelowSurface in UnderwaterRenderer.Mask.cs.
// Fog rendered from below.
#define CREST_MASK_BELOW_SURFACE -1.0