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"

Trying to understand PixelNormalWS and its relation to UV0?

In all the setups I have tried to hide the seams of a sphere, I always ended up seeing the seams from the UV0 channel. I tried doing the following -Hiding the seams using vertex paint to lerp between two different mapped normal textures on different UV coordinates -Applying a world aligned texture

alt text alt text

They disappear only when I use world aligned normal.

alt text

What does this Material Function do to fix this? I can't figure it out.

Product Version: UE 4.20
Tags:
seam.png (532.0 kB)
shaderexample.png (104.6 kB)
more ▼

asked Oct 26 '18 at 09:23 AM in Rendering

avatar image

JohnnyDale
21 1 3

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

1 answer: sort voted first

Hey there,

This is actually not an issue with what is happening with the world aligned, and more of a normals issue. What I mean - If you take your World Aligned Texture and assign that to just your base color or emissive (no normals yet), you will see that there aren't actually seams being created.

The seams you are seeing come from the normals themselves. The understanding of how light interacts with the surface is determined by the normal through the 3 color channels. Depending on the position and direction of the UV compared to the world space position, these values will have to be adjusted. Just like how you get a seem with the World Aligned Texture in the normal slot, the World Aligned Normal will be broken in the base color slot. Use both to create for a material with world aligned color and normals.

more ▼

answered Oct 26 '18 at 06:36 PM

Evan.Doody (suspended)
(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