Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How do I texture a landscape made from a heightmap using its corresponding aerial map?

I have a 16-bit greyscale heightmap that represents a real-world location, and the corresponding aerial map of that location, both of which have a ratio of 9x11. In my Unreal Engine 4.11 project, I imported the heightmap and generated a landscape, but now I don't know how to apply the texture. I tried giving the mesh a material using that texture, and using landscapecoords to make sure the material was only applying it as an XY texture, but even after I tried manually scaling it up to about the right size, it's still a little messed up. Is there an easier, more accurate way to apply the texture to the landscape map?

Product Version: UE 4.11
more ▼

asked Apr 05 '16 at 07:28 PM in Using UE4

avatar image

6 1 1

avatar image Quaternion May 09 '16 at 07:25 PM

Have a look at this project:


I think that is close to what you are trying to do.

Also, look at the recommended dimensions of your heightfield:


Try using dimensions for your heightfield that are NOT powers of two. Instead use numbers found in the above list. I find that if you don't, you wind up with a flat border around the terrain.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question