Table of Contents

Terrain


Render Unity Terrain trees and details through BRG Instanced Renderer.

Setup

  1. Add the BRG Terrain Registerer component to your Terrain GameObject
  2. Configure settings — see the BRG Terrain Registerer component reference
  3. Enter Play Mode

That's it. Trees are extracted and uploaded automatically. Details stream in around the camera. The terrain's built-in rendering is disabled by default so BRG takes over.

Detail Overrides

Default Unity terrain detail prototypes are single-mesh prefabs with no LOD support. To use an LOD Group variant instead, add a BRG Terrain Detail Override component to the detail prototype prefab and assign your replacement prefab to the Override Prefab field.

The resolved prefab list is shown read-only in the BRG Terrain Registerer inspector.

Convert To Terrain Prefab

If you already have complex prefabs with LOD Groups, you can generate terrain-compatible versions automatically:

  1. Select one or more prefabs in the Project window
  2. Use Tools > BRG Instanced Renderer > Convert To Terrain Prefab
  3. The tool creates simplified single-mesh prefabs in a TerrainDetailPrefab subfolder next to each source prefab
  4. Each generated prefab contains a BRG Terrain Detail Override pointing back to the original

Assign the generated prefabs to your terrain's detail prototypes. BRG will render the original (with full LODs) at runtime.