Luna Terrain Exporter
Overview
The Luna Terrain Exporter is a tool that allows you to produce .OBJ
format versions of your terrain in Unity. This intern allows the Playable Plugin developers to use this .OBJ
file, along with the textures, to replace the unsupported terrain environment.
The tool is available to all Luna customers as a free Unity package in our Community Github.
How to get started
- Download & then import the Luna Terrain Exporter into your Unity project
- Make sure that the textures used for your terrain have the 'Read/Write Enabled' setting set to true in their import settings
- Open the Terrain Exporter via the Unity Tools tab (the same place where the Playable Plugin is located)
If Terrain Exporter displays "No terrain found" please make sure you have an active terrain in your Scene
4. Configure the [settings](#settings) to suit your needs (we recommend either 'Quarter' or 'Eighth' for the Resolution setting) 5. Hit Export and a `.OBJ`, material, and `.png` will be created in a numbered folder at 'Assets/Luna Terrain Exporter/Exported files'- You can now replace the terrain in your scene with this object (You will need to apply the exported material to the object after dragging it in)
Settings & Options
Resolution
Set the resolution of the terrain vertices by fractions.
- Full
- Half
- Quarter (recommended)
- Eighth (recommended)
- Sixteenth
Terrain texture resolution
Resolution size of the terrain textures in pixels.
- 512x512
- 1024x1024
- 2048x2048
Tiling of the texture
This affects the amount of tiles within the terrain, if set too low the texture will appear stretched, too high and you may begin to lose detail.
- int value (Minimum of 1, no max value)
Limitations
- As of now we currently only support the use of 4 or less textures in conjunction with this tool
- Vertices need to be under 65k, lower the Resolution setting to avoid this preventing exportation
- Currently we cannot export terrain with holes