setstats

Available for Download: How to Plan Game Environments and Level Designs

Storytelling Level Design/Game Environment Challenge Final Work

View Cart  

Top Tutorial Topics


LevelDesign


UDK©


3D Modeling/
Maya®


CryEngine 3 SDK


L4D2


L4D1


Get Started


Challenges

CryEngine 3 SDK: Terrain Layer Texture Painting

October 24, 2011
Category: CryEngine 3 SDK

<--CryEngine 3 SDK: Import/Create Heightmap

CryEngine 3 SDK: Object Model Placement-->

We continue with CryEngine 3 SDK tutorials. If you are just starting to learn and use CryEngine 3 SDK, start here.

In this tutorial we cover how to paint textures on terrain by using Layer Texture Painter.

Topics covered:

  • How to define textures for your terrain
  • How to paint textures on your terrain
  • Terrain Texture Layer window
  • Importance of layer textures and layer materials
  • Painting textures on specific terrain altitudes and slopes

Make sure to check this page for all the tutorials on CryEngine 3 SDK.

VIDEO TUTORIAL:

 

 

TERRAIN TEXTURE LAYERS

To open up the Terrain Texture Layers window, go up to Terrain -->Texture

 

Terrain Texture Layers window allows you to define textures and material to be applied and painted on the terrain.

Right now, all we have is the default checkered texture on our terrain. We are going to change that.

Basic workflow is you add layers, define each layer's texture and material. Then you are able to paint those textures and materials on the terrain.

 

Layer Tasks allows you to Add/Delete/Move layers and Assign Materials.

 

LAYER TEXTURE AND LAYER MATERIAL

It is very important to understand how Layer Texture and and Layer Material work in CryEngine terrain.

Basically you have far away and color information texture (layer texture) and close up detail texture (layer material).

Depending how far the player is to the terrain area, CryEngine will display either layer texture (color information only) or layer material (detail).

Below is an example of the switch. Detail layer material is in the middle, while the layer texture is around it. Layer Material provides detail only. Not color information.

Color is defined by layer texture.

You can see this shift in the terrain any time you move close or far away from the terrain.

 

You can define the distance at which these two switch by going to RollupBar --> Terrain --> Environment --> DetailLayersViewDistRation

 

DEFINING LAYER TEXTURE AND LAYER MATERIAL

You have to set both, layer texture and layer material for this to work and to be able to paint textures properly.

 

Click on Change Layer Texture to change it.

 

Choose low 4x4 pixel grey.dds texture. You can find it in game/textures/default folder. This is the standard texture that is used in CryEngine Forest map to define layer textures.

 

To change layer material, click on the material and replace it.

 

Material Editor will open and point to the current checkered terrain material. We want to replace it.

 

Navigate into terrain folder and choose another material. Select it but do not close the window just yet.

 

Jump over to Terrain Texture Layers window, with Material window open.

Click on Assign Material.

 

GENERATE SURFACE TEXTURE

To see the changes you will have to go to File --> Generate Surface Texture

 

This will build your surface textures for the terrain. Higher dimensions will give you better quality. Use the defaults for work in progress, but once you are ready to build your final map, you may want to raise the texture dimensions and choose High Quality.

Result:

 

Right now everything is washed out white. That is because we haven't painted our color information in. We only set up our layer texture and materials.

Here below I've added extra layers and defined Layer Textures and Layer Materials.

 

To change layer name, simply double-click on the layer name and change it.

 

LAYER PAINTER

We can now begin to paint our layer textures/material on the terrain.

Go to RollupBar --> Terrain --> Layer Painter

 

Scroll down and you can see the layers we created earlier. By choosing the layer, you can paint the set Layer Texture/Material.

Select the layer you want to paint.

 

Set the color you want to paint. Click on the color and select the color.

 

Make sure you hit Apply so CryEngine remembers the color you set.

 

Set Brush Settings by selecting Radius and Hardness of the brush.

 

In perspective viewport, Left-Click and paint the layer you selected. You will paint the Layer Texture (color information) and Layer Material (detail) on your terrain.

You can also set specific Altitude and Slope for that layer only. This will allow you to paint a lot quicker and at certain altitudes and slopes.

 

© 2008-2011. All articles on World of Level Design™ are copyrighted.
Not to be reproduced without prior written consent.

Preproduction Blueprint - How to Plan Your Game Environments and Level Designs

 

PREPRODUCTION BLUEPRINT

PREPRODUCTION BLUEPRINT

How to Plan Your Game Environments and Level Designs

- Ebooks (235+ pages)

- 18 videos (2+ hours)

- Instant Digital Download

Read More...

Regular Price: $67
(Save $8) Sale: $59

Add to Cart

SPECIAL DEAL: Save $29

Ebook Deal

Preproduction Blueprint + UDK 11 Day Level Design

- Buy Both Guides and Save

- Total: 63 videos and 735 pages

- Instant Digital Download

- Read more about Preproduction Blueprint

- Read more about UDK 11 Day Level Design

Regular Price: $118
(Save $29) Sale: $89

Add to Cart

POPULAR AND RECENT POSTS

LEVEL DESIGN TOPICS

3D Modeling

CryEngine 3 SDK

Game Environment Design

Left 4 Dead Mapping

Left 4 Dead 2 Mapping

Architecture

Level Design Tutorials/Workflow

Level Design Challenges

Productivity & Goal Setting

Source SDK/Authoring Tools

UDK

Interviews

World of Level Design Social Network

3D Environment Design.com

WoLD March Game Env. Challenge:

Free Downloads of Ready-to-Use Game Environments and Models
Jump Over to 3DED