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"

[Closed] Tangents only calculated on UV0?

Are there any plans to support tangent calculation for multiple UV sets? As it stands, normal maps linked to other UV sets often don't light correctly.

Product Version: Not Selected
Tags:
more ▼

asked Mar 27 '16 at 02:17 PM in Rendering

avatar image

Answers.Archive STAFF
1.9k 199 306 679

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

The question has been closed Mar 27 '16 at 02:17 PM by AndrewHurley for the following reason:

The question is answered, right answer was accepted


1 answer: sort voted first

Hello, As of 4.11 there is a material function called "Derive Tangent Basis" that you can use to derive a tangent basis based on a specified UV set. Here is some more info copied from an internal email that will hopefully make it over to docs soon:

" A limitation in UE4 is that normal maps have to use UV0 or they will be incorrect because the engine only stores one set of tangent vectors from UV0. This is a material function that can derive new tangent vectors using the specified UVs so that you can use a normal map with any UV channel.

Note that for this node to work, your material must be set to "Tangent Space Normal = FALSE" since the function returns a World Space Normal. If you need to combine this normal with another normal that is using UV0, the UV0 normal needs to be transformed from Tangent to World."

more ▼

answered Mar 27 '16 at 02:17 PM

avatar image

Answers.Archive STAFF
1.9k 199 306 679

avatar image Answers.Archive STAFF Mar 27 '16 at 02:17 PM

That's fantastic news. Thanks!

avatar image Luos Nov 15 '17 at 03:53 PM

I'd like to add (hence unlocking comments) that this still isnt in the docs. (at least, i cant find it) would've been nice to find there as I could have used it many versions ago.

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

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question