Send to Unreal
Push terrain from Tír onto an Unreal Engine 5.8 Landscape, pull it back, and use your own materials, trees and rocks.
Tír talks to Unreal Engine 5.8 through files in Documents\Tir\Bridge. 1 m in Tír is 1 m in Unreal.
The terrain goes onto its own edit layer, so your own sculpting in Unreal is safe.
What you need
- Unreal Engine 5.8 on the same computer. Tír was tested with 5.8.4 from the Epic launcher.
- A level with a Landscape in it.
- The engine plugins Python Editor Script Plugin, Editor Scripting Utilities and Landscape Patch turned on. The TirBridge plugin turns them on itself.
Two ways to connect
| The TirBridge plugin | The Python line only | |
|---|---|---|
| To set up | Copy a folder into your project, once | Paste one line into Unreal’s Python console, each session |
| Sends terrain, paint layers and materials | Yes | Yes |
| Places trees and rocks | Yes, from your own assets | No |
| Your own materials | Yes | No |
| A Tír tab in Unreal | Yes | No |
The plugin was built and tested on Windows.
Install the plugin
Do this once for each Unreal project. The Tír download has a folder named TirBridge.
- Close Unreal, or at least the project.
- Copy the
TirBridgefolder into your project’sPluginsfolder, so that you have<YourProject>/Plugins/TirBridge/TirBridge.uplugin. Make thePluginsfolder if the project has none. - Open the project. The plugin is on by default.
Set up a session
- Open a level in Unreal 5.8 that has a Landscape.
- In Tír press Unreal in the menu bar. The Send to Unreal window opens.
- With the plugin: there is nothing more to do. Open Window > Tír in Unreal to see the Tír tab.
- Without the plugin: press Copy next to the Python line. In Unreal choose Window > Output Log, switch the box at the bottom from Cmd to Python, paste the line and press Enter. It looks like this:
import sys; sys.path.insert(0, r"<bridge folder>"); import tir_bridge; tir_bridge.start()
Unreal now checks for new terrain every half second.
Push
Choose the Edit layer name and the Landscape size, then press Send now. Tír builds the terrain and Unreal imports it. The window shows Unreal’s answer within a second or so. Large sizes take longer: a 1009² push takes a few seconds.
Tick Send after every change to push each time you stop editing.
Paint layers
Send material layers is on by default. A push sends Grass, Soil, Scree, Rock, Riverbed, Snow and Sand as weightmaps, plus Flow and Deposit when your graph has them. They go onto Tír’s edit layer, so nothing of yours is overwritten.
- If the landscape has no material, Tír assigns a ready-made one.
- If you keep your own material, Unreal’s answer lists the layer names it needs. Use a Landscape Layer Blend with matching names.
- The names are fixed, so a desert’s lowland layer is still called “Grass”.
Saving
The Tír layer survives saving and reopening the level. Its textures are saved as assets under
/Game/Tir/Patches/<layer>/.
Fit the landscape
Tick Fit the landscape to the terrain to move and scale the Landscape actor to match. This changes your landscape, so it is off by default.
- Unreal’s answer warns you if the landscape is not square or has fewer vertices than the push.
- If Fit is off and the landscape cannot hold the heights, the window shows a warning that says what to set.
Pull
Press Pull landscape from Unreal to bring the Unreal landscape back. Add an unreal_landscape_in node to use it. You can sculpt in Unreal, erode in Tír, then push back.
A landscape sent at a smaller Size in Unreal comes back at real size: Unreal remembers the size Tír sent it at.
Pull takes the first Landscape in the level, with all layers merged. A rotated landscape is not handled yet.
Your own materials, trees and rocks
This part needs the plugin. The first push makes a set-up asset in your project,
/Game/Tir/TirSetup. It says which of your own assets Tír’s layers use.
- Materials: slots for Grass, Rock and Snow. Put a material or material instance in a slot and the landscape uses its textures for that layer. An empty slot uses Tír’s own textures.
- Trees and rocks: slots for the layers a Foliage Scatter node plants, for example Conifers, Broadleaves and Rocks. Each slot holds a list of meshes with weights. A mesh can be a static mesh or an animated (skinned) tree. Unreal places them as instances.
- Guesses: each slot can be a guess. A guess is not used until you untick Guess (untick when right). Until then a material layer uses Tír’s textures, and a tree or rock layer is left out.
A push with no Foliage Scatter node in the graph sends the ground only. Most of the wooded Scenes have one. The desert, crater, ice and tundra Scenes (eight in all) have none, and of the Recipes only Start from Shapes has one.
The Tír tab
Open it in Unreal with Window > Tír.
| Button | What it does |
|---|---|
| Search folders | Looks through your project’s folders (/Game/Fab by default) for grass, rock and snow surfaces and for trees, bushes and rocks, and fills empty slots with guesses. It never changes a slot you confirmed. |
| Apply to level | Builds the material and the trees again from the slots as they are now, without a new push. |
| Use a separate set-up for this landscape | Gives the selected landscape its own copy of the set-up. An empty slot there falls back to the project’s. |
| Check settings | Shows whether the project has what animated trees need: Nanite foliage, DirectX 12 and Shader Model 6. Fix writes the missing ones into the project’s Config/DefaultEngine.ini. Restart Unreal afterwards. |
| Rebuild foliage | Places the trees and rocks again. |
| Pull to Tír | Sends the landscape’s heights back now. |
| Use Python bridge instead | Switches back to the Python line. |
After a push, if some layers have no confirmed choice yet, a small window lists them with the guesses filled in. Press Use these to confirm, or Later to close it. The landscape is built either way.
From the command line
tir push <project> --res 1009 --fit
tir pull
tir pull-show
Add --no-layers to tir push to send heights only.
If something fails, see Troubleshooting.
Tír is free and open source under the MIT licence or the Apache License 2.0. Unreal and Unreal Engine are trademarks or registered trademarks of Epic Games, Inc. Tír is not made, endorsed or sponsored by Epic Games.