Menu
Lumberyard
Getting Started Guide (Version 1.10)

Painting the Terrain

To build the terrain environment, you'll use the Terrain Texture Layers editor and the Material Editor.

Terrain Texture Layers Editor

The Terrain Texture Layers editor defines the materials that you use to paint on the level's terrain mesh.

The Terrain Texture Layers editor has the following features:

  1. Layer Tasks – Controls for adding, deleting, and reordering layers in the Layer list

  2. Layer Info – Information about the selected layer, including the layer size and surface type count

  3. Layer Texture – Low-detail texture swatch; displays distant textures and color information for the surface texture

  4. Options – Settings related to the Layer list

  5. Layer list – Layer textures available for painting onto the terrain (such as dirt, grass, rocks, and more)

To open the Terrain Texture Layers editor

Do one of the following:

  • On the editor toolbar, click the Terrain Textures Layers Editor icon.

  • From the main menu, choose Tools, Other, Terrain Texture Layers.

Material Editor

You can use the Material Editor to create and apply materials, map textures, set opacity and lighting effects, set shader parameters, create vertex deformations, tessellation, and more.

The Material Editor has the following features:

  1. Editor toolbar – Tools for applying, deleting, saving, and creating materials

  2. Material preview – Display for the selected material's appearance

  3. Material folder directory – Folder tree to navigate through the materials available for use in the level

  4. Material properties and settings – Options for defining the material's appearance

To open the Material Editor

Do one of the following:

  • On the editor toolbar, click the Material Editor icon.

  • From the main menu, choose Tools, Material Editor.

Building the Surrounding Environment

Use the Terrain Texture Layers editor and the Material Editor to paint textures onto your level terrain. The following procedure shows you how to paint mud and grass textures onto your terrain.

To build the surrounding terrain environment

  1. Open the Terrain Texture Layers editor. In the Layer Tasks area, click Add Layer twice to add two new layers.

  2. In the first new layer, double-click NewLayer and rename it grass.

  3. In the second new layer, double-click NewLayer and rename it mud.

  4. Click the grass layer to select it.

  5. Open the Material Editor and expand materials\natural\terrain. Select the material am_grass_01.

  6. In the Terrain Texture Layers editor, the grass layer should still be selected. In the Layer Tasks area, click Assign Material.

  7. Switch back to the Material Editor and, in the terrain folder, select am_mud1.

  8. Switch to the Terrain Texture Layers editor. Select the mud layer and, in the Layer Tasks area, click Assign Material.

    Note

    Each of the terrain material layers has a small material preview box. This material preview box displays the assigned layer texture, not the material assigned from the Material Editor. For this tutorial, we are using the default grey.dds file, so both the grass and mud layers appear with the gray layer texture.

  9. Close the Material Editor and Terrain Texture Layer editors.

    You are now ready to paint grass and mud textures onto the terrain.

  10. In the Rollup Bar, click the Terrain tab, and then click Layer Painter to display the terrain layer painting tools.

  11. The bottom of the Layer Painter section shows a list of the terrain materials that you have created: grass and mud. Select grass.

  12. Just above the list of terrain materials is Vertex Coloring with a Color box (white is the default). Click the color box and change the RGB color values to 145, 180, 75 for a grass-green color. Click OK.

  13. Click Flood at the bottom of the Layer Painter section to paint grass on the terrain.

  14. You can now paint some mud into the scene.

    Select the mud material at the bottom of the Layer Painter section.

  15. Adjust the Color box to a brown tone: RGB 115, 95, 50. Click OK.

  16. For Brush Settings, set the Radius to 5 and the Hardness to 0.5.

  17. Click in the Perspective viewport. Drag to paint the mud texture on the terrain. Do as little or as much as you like.

    You can paint your terrain so that it looks like similar to the picture below.

  18. Save your level file.