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"

Combine Multiple UV channel TexCoords

I currently have a mesh which has a few small pieces that have a 3rd UV channel. This 3rd channel has those pieces moved to a different position in the 1-1 UV space, so I have a two different appearances for these small pieces located in two different positions on the same texture. What I thought I could make work by lerping two different TexCoord nodes, turns out it doesn't work that way.

Basically I'm trying to get part of a mesh to use the 3rd UV channel for its texture, rather than the entire object. Is there a way to use multiple UV channels for a single mesh? Preferably within a material?

Product Version: UE 4.16
Tags:
more ▼

asked Jul 10 '17 at 08:38 AM in Using UE4

avatar image

Geosmith Tech.
68 14 18 20

avatar image Geosmith Tech. Jul 10 '17 at 08:45 AM

An image to better illustrate what I want to achieve. I'd like to switch between either UVs within a material, is that possible? alt text

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

1 answer: sort voted first

How are you lerping? In my project I have some stones with x different signs on it. I'm using the lerp node and my lerp alpha is using the alpha channel of the signs. So, it would be great to see your setup, so I can fully understand what you are trying to do and why it might not work. <3

more ▼

answered Jul 10 '17 at 08:44 AM

avatar image

Ninjin
4k 87 38 150

avatar image Geosmith Tech. Jul 10 '17 at 08:48 AM

Here's my setup. It uses a mask for the object I'm trying to switch between UVs. But looking at how the texture coordinates are visualised, there's no difference. The final result just makes all objects that do not have a 3rd UV channel appear completely black, there should be a lot more in that mini-viewport. alt text

avatar image Deathrey Jul 10 '17 at 11:42 AM

Maybe you are just misplacing Channel 2 and 0 in the lerp node? In your screenshot you should have channel 0 in white mask area and channel 2 in black mask area, while from your description, you seem to want the opposite ?

avatar image Geosmith Tech. Jul 10 '17 at 11:54 AM

Jesus christ let's forget this post ever happened. This actually solved the problem. I guess I just got really confused with the amount of texture samples I had. Thanks! If you could submit that as an answer I'd upvote it.

avatar image Ninjin Jul 10 '17 at 11:59 AM

Do it Deathrey, get the free elo :D <3

avatar image Geosmith Tech. Jul 10 '17 at 12:10 PM

Works flawlessly! http://i.imgur.com/By4J84B.gif

(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