x

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"

Landscape Material Displacement not Blending

Hi there! My current landscape material has a problem. I've added displacement and tesselation using this setup: alt text

Now this setup itself seems to work fine, as long as it is inside the material and gets applied after the Material blends. However, if I want to add it inside the Material Function that is also controlling every other Material attribute that is getting blended, it does only show up in the preview of the Material correctly, but it does not show up in game whatsoever. alt text See, grass area is flat and rocky area is... rocky. Why does it not show up in the game at all?

Here is what I'm connecting to the displacement lerp of the first screenshot inside the function btw: alt text

Product Version: UE 4.13
Tags:
more ▼

asked Sep 06 '16 at 02:07 PM in Using UE4

avatar image

Blue669
251 29 39 54

avatar image Haflurgaflur Sep 07 '16 at 02:42 PM

By "not showing in Game" is the material just not being tessellated? Or is the grass not working?

Could you perhaps post a screenshot or a explanation on what you mean by "not working in game"

avatar image Blue669 Sep 07 '16 at 03:00 PM

The material itself is working fine, it is just not showing any kind of tesselation (looking at the wireframe) or displacements.

avatar image Haflurgaflur Sep 07 '16 at 03:31 PM

Ok, I'm not familiar with your method so I'll post the one I use.

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

2 answers: sort voted first

Ok thanks, I've found this tutorial on how to do Landscape Tessellation: https://answers.unrealengine.com/questions/210923/how-to-control-landscape-tessellation-with-distanc.html

I'll post a quick image from the post so you don't have to scrounge the full tutorial, alt text

However, use caution. PN triangles Tessellation sometimes causes cracks. The other alternative is using Parallax Occlusion Mapping (POM). You can find examples of this Inside UE4 Content examples.

Hope this Helps!

more ▼

answered Sep 07 '16 at 03:31 PM

avatar image

Haflurgaflur
187 8 58 23

avatar image Blue669 Sep 07 '16 at 04:47 PM

Thanks for the suggestion, but I don't think my method is generally flawed (I found it somewhere in the answerhub as well^^), but instead I have an issue on how to get it to work with blended layers. Getting it to work by injecting it on the whole landscape does work, but if I want to add the method into my material function that I use to distinguish between cliffs and grass, the tesselation and displacement completely vanish!

Here is what I see when I "inject" my tesselation method into the landscape material after the blending: alt text Fade distance on tesselation and displacement seems to work fine!

Also I can see the displacement all over the landscape, so it does work: alt text The rocks on the cliff are bumpy, which is awesome, but so is the grass, which is not so awesome. I only want the rocks to be bumpy and the grass to be flat.

This is how I "inject" this method, which is only for demonstration and it does not allow for blended materials. I need to know what I have to change in order to make this method work with blended materials (cliff = bumpy, grass = flat): alt text

fadedistance.jpg (327.9 kB)
everythingbumpy.jpg (272.5 kB)
injection.jpg (276.3 kB)
avatar image Antonin HS Sep 11 '17 at 04:53 PM

Hi, did you find a solution for this?

avatar image RockBottom Apr 04 '18 at 02:07 AM

bump, having the same issue and it's driving me crazy.

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

Oh ok, And your material is looking quite nice! There is a nice tutorial by Lariet that is very similar to what you want to do, it tessellates snow on a rock to only the z axis. . I'll be honest I don't know if this is going to help you, but hey I try.

https://www.youtube.com/watch?v=-8pv6QLLTjM

more ▼

answered Sep 07 '16 at 05:01 PM

avatar image

Haflurgaflur
187 8 58 23

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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