UDK Landscape Fixes


Hey guys! This is a real quick tutorial on how to fix some of the issues with landscapes in UDK.

Why did part of my landscape become invisible?

Sometimes an error will occur where certain patches of your landscape are not rendering in the viewport or in-game. To fix this try moving the entire landscape up one grid unit and then move it back down. Usually this should fix the problem because the landscape was moved accidentally while in edit mode.

Why did my landscape turn black?

If you have set up your landscape to be painted on with custom materials, the landscape will render black if you have not started the layer painting process. I will cover this in Part 2 of my Landscapes tutorial in the near future.

Why are my static meshes floating above my landscape?

As I stated earlier, sometimes the landscape mesh can be moved accidentally while in edit mode or while moving around other meshes/lights/etc. If you are painting meshes onto your landscape using the foliage editor, make sure that they are touching the landscape. The height displacement for each static mesh on the landscape can be adjusted in the foliage editor.

Why are there dark striped bands across my landscape?

This happens because the lighting has not been built. Be aware that landscapes take awhile to render when building your lights, and will slow down your computer when the lighting has not been built.

Well there you have it! If you have any more issues that weren’t covered above or would like to see more tips, please put them in the comments below.

Have an awesome rest of the day!

Landscapes Part I


Landscape_1

Overview

“Life is like a landscape. You live in the midst of it but can describe it only from the vantage point of distance…”

Charles Lindberg

Landscapes. As far as the eye can see. Visually stunning and inspiring, game engines are getting better at recreating these awesome environments.

This multi-part tutorial will focus on the basics of creating landscapes in UDK. These basics can be applied to any game engine, but some features/techniques may differ.

Essentially there are main parts in creating landscapes:

– Elevation

– Textures

– Foliage

Elevation in game development terms would be considered as a Heightmap. A heightmap controls the elevation of the landscape through a grayscale texture. The grayscale texture can either be created in an photo-editing program such as Photoshop, or can be painted by hand in the game engine. In this tutorial I will show you how to do both!

Heightmap

heightmap

In a grayscale image, the computer reads the information as values between 0 and 1. 0 refers to black and 1 refers to white. 0.5 would be a perfect grey. The black areas will be the lowest points of elevation while white areas will be the highest. Depending on the size of your heightmap, the landscape size will need to be adjusted.

Before we jump in too deep in creating heightmaps, go ahead and take a look at the landscapes page on the Unreal Development Network. Here you will find the landscape dimensions and other tips for getting started. Click the link below.

Unreal Development Network

Look for the section that has this chart.

Landscape Sizes

The overall size is determined in the far left column. Landscape in UDK is broken up into vertices, which should sound familiar if you have ever used a 3d program. The landscape is also split into areas called quads. This chart shows the recommended sizes for your landscape and the number of quads per section.

On the left side of the screen you will see an icon that looks like this. Click it to enter landscape mode.

Landscape_Mode

A window will then popup that looks like this.

Landscape_Create_Section

This window will allow you to either import a heightmap you already created, or create a new landscape from scratch. In the second section of the window you can input values for the size of your heightmap.

Landscape_Heightmap_Size

Refer back to the chart for landscape sizes and input those values.

Landscape_New_Heightmap_Size

Now click Create Landscape.

Landscape_Create_Button

Your landscape is now ready for sculpting!

Painting Heightmap in UDK

These next videos will show you the landscape mode tool and all the sculpting an painting tools that are available to you. You might have to turn up the volume a bit.

Before you start sculpting your own landscapes, pull up Google and search for some reference images. Use environment types as keywords such as forest, plains, desert, tundra, glacier, etc. There are tons of pictures on the internet of landscapes so you should have no problems finding something you like.

https://i0.wp.com/img.photographycourse.net/wp-content/uploads/2010/02/telephoto-landscapes.jpg

Mountain-Landscapes-07

Think about how your landscape was formed and changed over time. Was there a great flood? Nuclear fallout? Excavated by humans? Everything has a story of how it came to be. Tell a story with your landscape, and let the player/audience discover all of its secrets.

Now that you know what tools are available to you, you can start sculpting your own landscape.

Stay tuned for Part II: Textures