Landscape material looks blocky. How to fix it?

Hey Guys, I’ve created my landscape in WM and exported the heightmap with a resolution of 2017 X 2017. I’ve also exported the heightmaps for snow and ground as .PNG, also with a resolution of 2017 X 2017.

I’ve created my material inside UE4 which looks like this :

and imported the heightmap and also the layers for snow and ground as Weight Blended layer info, but the the snow layer looks pretty blocky

The textures I’m using are 2K. I’m new with this stuff. Tried searching a lot, but couldn’t find a solution.

Please help me fix this.

Thank You.

Hi ,

It looks like your texture may have an exaggerated mip value. Check your mips to make sure they aren’t set too high. If that doesn’t fix the error, make sure your texture isn’t being stretched and scaled up too far.

@ These are the settings for my texture.

No matter what texture I use it still gives me those blocky look.

26482-mat_settings.jpg

The values that will need to be altered have to be changed within the texture file itself.

To test and see if this is the error, please take every texture from within your material and open them in the texture editor. Find the Level of Detail settings located in the details pane. Set the mip gen settings to “NoMipMaps” for all of them, Once you have done this and saved them all, see if your landscape is still showing the same error. If it looks the same the error is located elsewhere and we can continue trying to find it. If it does not look the same the problem is one of (or all of) your mipmaps and this valuemode will need to be adjusted to get the look you want. I am attaching an image of the specific section you are looking for in the texture editor:

26508-lodsettings.png

Did that for all the textures inside the material and it still looks the same. Any other ideas?

What values are you using in your landscape coords for your materials? Additionally did you build the material after making the changes? If not, press apply, this may take some time for the build to complete.

I’m using 25 as a value for Landscape Coords, and yes I did build the material after making the changes.

I can send you the heightmap and the weightmaps for snow and ground layer generated by WM in case you wanna take a look yourself to see whether there is any problem with these files itself.

The textures I’m using is available for free in the marketplace.

Please let me know if you want them.

Cheers.

if it is available on the marketplace I can pull it from my end. Was it the landscape mountains demo?

No, Only the texture is on the marketplace. The Package name is GameTexturesMaterialPack under Material and FX. So, should I send you the rest?

Unfortunately the closest I could come to what you are seeing is a stretched out snow texture from that pack. Try lowering the landscape coordinates down to a very low number (1), see if that fixes the look.

Nope, still the same… Can you tell me step by step what you are doing, if possible?

Absolutely. I created a new material and added 4 texture nodes, the materials I used for each node were at standard settings (nothing changed) and I added in these specific textures:

Ground_ClumpySnow_2k_ao

Ground_Dirt_2k_s

Ground_ClumpySnow_2k_n

Metal_RustedSolid_2k_n

Each of these I plugged into a weight blended layer, the snow and snow_n I set the weight blended layer to layer “snow” through the layer pin, plugged the output of that weight blended layer into the base of the next. The Dirt and RustedSolid_n were plugged into weight blended layer “ground”. I plugged the output of the base materials into the base color and the normals into “normal”. Finally, I added a landscape coords to each with a scale value of 1, I left all of the other values alone to be safe.

After saving and applying my material to my landscape, I set up the weight blended layers (made sure to select weight blended and not non-weight blended, which did not give desired results). At this point I began trying various tool strengths and sizes while painting on the landscape, none of which seemed to produce a similar effect. Is this similar to what you did?

Ya, I did exactly this, and also when I’m painting on to the landscape using those weight layers it seems fine.

I’ve also tried out the textures you suggested, but still no luck.

I think there might be problem with the snow layer I’m exporting from the WM. Is that possible. I’ve tried both 16-bit png and 8-bit RAW, still didn’t work.

Can you send us the generated heightmaps and the WM saved file?

I can’t send it here as it is more than 5 MB in size. Any email address?

Please send it to me on the forums via pm or place it in a … You should be able to upload the . either here or on the forums without problem. My username is the same on the forums as it is here so I should be pretty easy to find!

Send you a PM on the forums. Please Check

Ok, we have a potential solution. Increase the resolution of your R16 file to 4034x4034 to match the textures you are using. It is a good idea to use powers of 2 when creating heightmaps and textures, which would be 4096x4096 for all of the files as this should produce more consistent resolution.