Skip to content

Drawing things onto the terrain (overlay system)

Karl edited this page Feb 24, 2020 · 1 revision

It is sometimes necessary to draw additional detail onto the terrain. This can be done with the render layer "3D Terrain Overlay" (layer 16). Everything within this layer isn't visualized normally, but projected onto the terrain at their position using orthographic cameras.

Note that overlay meshes must still be positioned and rotated accordingly. Only the height (y translation) is irrelevant and can be left at 0.

Also note that only the DetailedTerrainModule renders this overlay data.