升级水插件
This commit is contained in:
@@ -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.");
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user