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"

Terrain displacement not showing

Hi

I´ve been struggling on getting displacement to show up on my terrain for quite some time and I havent been able to find any answers myself so I though I would post it here and se where it goes.

I can see the displacement happening on my terrain in the shader preview and I can also see the landscape actors outline showing that it has displacement in the shape, but I cannot see any displacement when looking at the terrain.

What could be causing this? I think I have the shader setup correctly, I have my landscape layer node connected to the regular displacement node flow, the texture input then multiplies with the vertexnormal and a displacement factor.

Any help is really appreciated!

Thanks, Simon

Product Version: UE 4.11 Preview
Tags:
more ▼

asked Jan 14 '16 at 11:22 AM in Rendering

avatar image

Fozwroth
6 1 3 5

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Hello Fozwroth,

So tessellation is currently not functioning in the preview release, and this has been reported (UE-25334) which is going to affect the quality of World Displacement since there is no way to increase the Vertex count for your landscape.

With that being said, follow the set up I have provided to get your World Displacement to function correctly. You will always want either a displacement map, heightmap, or pull from the red channel which holds those values of information.

Vertex Displacement

alt text

As you can see I have created an Scalar Parameter to increase/decrease the displacement intensity. Below is an example of this occurring when applied to a landscape actor.

alt text

Let me know if you have further questions.

Thank you,

Andrew Hurley

more ▼

answered Jan 14 '16 at 03:49 PM

(comments are locked)
10|2000 characters needed characters left

Hi!

Thanks for the response. I realize now that I filed it under the wrong engine version, I'm actually on 4.10.2.

I tried following the example but I still get the same results, I can see the displacement in the selection outline but no actuall displacement close to the camera.

Could it be anything with the texture settings that can cause this behaviour? it is all set to the default values

Thanks! -Simon

more ▼

answered Jan 18 '16 at 03:26 PM

avatar image

Fozwroth
6 1 3 5

avatar image AndrewHurley Jan 20 '16 at 02:26 PM

Could you provide me with some screenshots of your material graph and of your tessellated landscape applied in the viewport?

Perhaps you are overlooking a small feature. Be sure you have enabled tessellation within the material itself as well.

Cheers,

Andrew Hurley

avatar image Fozwroth Jan 20 '16 at 08:53 PM

Sure!

I've tried several different setups, different types of displacement, only having one texture and following the example but I still cant seem to get it quite right.

I managed to get something happening after sampling down my landscape actor by half but still it looks kind of odd. even with a high number in the tessellation multiplier(values ranging from 2 to as mush as 128) it still looks the same

alt text

alt text

avatar image AndrewHurley Jan 20 '16 at 09:32 PM

Try removing the Max Displacement option, and using PN Triangles instead to see if that helps.

I am seeing displacement though so that is good. Be sure to view in wireframe to make sure you are not over tessellating your surface and wasting valuable performance resources.

(comments are locked)
10|2000 characters needed characters left
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