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"

Why is my Landscape Material so edgy?

Hi,

I'm developing a procedural landscape material that blends in grass, rock and snow. But I've run into a problem that my blend between rock and snow or rock and grass turns up looking edgy or like a massive pixelation.

Do note that for blending, I'm not using any texture but rather simple algorithms output in Alpha of the Lerp nodes. I've also tried using landscape coordinates, but no use. Basically the 3 textures come perfect, just the blend is messed up. Also, I've used material functions to clean up the main material and make each texture output modular, where each function simply just combine 2 textures of the same kind and gives variations for grass, rock and snow, each.

Any suggestions or help will be great!

Thanks!alt text

alt text

alt text

alt text

alt text

alt text

Product Version: UE 4.13
Tags:
more ▼

asked Oct 09 '16 at 07:19 PM in Rendering

avatar image

ThePainkiller
1 1 1

avatar image Deathrey Oct 09 '16 at 07:54 PM

There is something strange going on with Grass-Snow Alpha. Whatever you are trying to do there, it can be simplified.

I would assume that your large pixely look comes from the fact that you are blending between rock and grass using vertex normal only. You should probably overlay with some sort of the mask, because now the resolution of your blend is bound by resolution of your terrain.

avatar image ThePainkiller Oct 10 '16 at 01:08 AM

Oh, due to vertex normal?! Mask as in a texture mask? Could you give an example? Thanks!

avatar image Deathrey Oct 10 '16 at 01:27 AM

Multiply one of the channels of your rock texture by your vertex normal dot up vector mask, then add the result to the vertex normal dot up vector mask, clamping the output. Then use the result to lerp between rock and grass.

avatar image ThePainkiller Oct 10 '16 at 02:46 AM

Something like this? Didn't work. No difference at all :\ alt text

try1.jpg (215.3 kB)
(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