BRG Terrain Detail Override
Substitutes a terrain detail prototype with a different prefab at editor time. Add this component to the detail prototype prefab referenced by your terrain.
Why
Default Unity terrain detail prototypes are single-mesh prefabs with no LOD support. This component lets you swap in a replacement prefab — typically one with an LOD Group — so terrain details benefit from LOD transitions and crossfade.
Setup
- Select the prefab assigned as a terrain detail prototype
- Add the BRG Terrain Detail Override component
- Assign your replacement prefab to the Override Prefab field
| Property | Type | Description |
|---|---|---|
| Override Prefab | GameObject | The replacement prefab to use for rendering. Should have a MeshRenderer or LOD Group. |
How It Works
The BRG Terrain Registerer resolves all overrides at editor time. When it encounters a detail prototype that has a BRG Terrain Detail Override component, it uses the override prefab instead for all rendering. The resolved prefab list is shown read-only in the terrain registerer inspector.