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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

[Bug] Changes to Material Panners have caused incorrect UV math issues.

I'm not entirely sure where this issue is stemming from, but I hope the following screenshots highlight the problem I'm having. I have re-created a material network that I created in UE3 to UE4, but there are apparently some math differences in the way the panner nodes now work, which is causing it to break/render incorrectly.

The idea is to add a second layer of more interesting UV distortion, this is the material network in UE3, all the nodes are commented with their values and 'live preview' is switched on, so you can see exactly what's happening at each node:

alt text

I then re-created this network in UE4, but as you can see, the panner nodes offer quite a different preview, setting negative panning speeds in the panners actually seems to cause them to preview completely incorrectly, and this is having an effect on the resulting math that follows, the difference between the UE3 and UE4 material is quite substantial and broken.

alt text

A more obvious example is probably here, where I'm using another layer of distortion on top of the original, again, the UE3 preview shows the correct result, whereas the UE4 preview is completely blacked out on some nodes due to the negative values in the panners. This is causing some strange tiling on my resulting material.

alt text alt text

I'm not really sure how to explain the issue further, but you can see the difference in the nodes themselves, and this is causing an issue with my final material.

Product Version: Not Selected
Tags:
ue3_right.jpg (119.9 kB)
ue4incorrect.jpg (174.3 kB)
ue3_correct.jpg (165.4 kB)
distortion2ue4.jpg (207.7 kB)
more ▼

asked Mar 11 '14 at 01:54 AM in Bug Reports

avatar image

ue4-archive ♦♦ STAFF
49.9k 3665 1991 9118

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 01:54 AM

Hi James,

I've been looking into your issue as well. Would it be possible to provide an example image of your final result in-game from UE3 vs. UE4 so that we may see the difference?

Thanks!

-W

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 01:54 AM

Hey guys, hopefully this will help a bit more!

I've attached a .zip which contains some UE4 UAssets and a UE3 UPK which has the materials + textures that I'm using, if you connect the nodes in the UE4 material in the same way as the UE3 one, or if you switch on live node preview, you'll see that the nodes are doing some different things.

I'm fairly sure that the UE3 build I used for this package was Either March or Feb 2013 :) Hope this helps!

You'll notice that the tiling of the material goes a bit funky when the nodes are connected up in UE4 the same way, at the moment I've just omitted those extra steps.

link text

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

2 answers: sort voted first

Hi James,

Thanks for providing the assets and additional information. I was able to load them up and take a look and it appears to be functioning correctly in our internal build. Please look for the adjustments in an upcoming Rocket release.

Regarding the UE4 preview being completely blacked out on some nodes due to the negative values in the panners, our developers have indicated that this is an intended change from UE3 as in this situation they were not accurately representing the preview values correctly. Since there is no good way to visualize negative values, we display them as black instead of display an incorrect preview.

Thanks!

-W

more ▼

answered Mar 11 '14 at 01:54 AM

avatar image

ue4-archive ♦♦ STAFF
49.9k 3665 1991 9118

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

Interesting, I'll have our QA try to reproduce this in house so we can investigate.

more ▼

answered Mar 11 '14 at 01:54 AM

avatar image

ue4-archive ♦♦ STAFF
49.9k 3665 1991 9118

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