升级水插件

This commit is contained in:
2026-01-08 22:30:55 +08:00
parent febff82d24
commit ca68084264
415 changed files with 18138 additions and 7134 deletions

View File

@@ -83,6 +83,10 @@ namespace WaveHarmonic.Crest.Editor
UnityEditor.Lightmapping.giWorkflowMode = oldWorkflow;
#endif
#if CREST_DEBUG
Debug.Log($"Crest: Baked scene lighting!");
#endif
if (!_Baked)
{
Debug.LogWarning($"Crest: Could not generate scene lighting. Lighting will look incorrect.");

View File

@@ -44,6 +44,7 @@ namespace WaveHarmonic.Crest.Editor
return;
}
#if d_Unity_Terrain
foreach (var terrain in GetComponentsInChildren<Terrain>())
{
terrain.materialTemplate = RenderPipelineHelper.RenderPipeline switch
@@ -54,6 +55,7 @@ namespace WaveHarmonic.Crest.Editor
_ => throw new System.NotImplementedException(),
};
}
#endif // d_Unity_Terrain
}
#endif
}