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"

Reverse the direction Bump Offset shifts the UV

I have a texture I am working on and I'm using the Bump Offset node to give the illusion of looking down sniper scope. The problem is the bump offset is shifting the UV's in the opposite direction to how I want them to be shifted. When the camera moves from left to right the UV's also move from left to right and when I move the camera from the top to the bottom, the UV's are also moved from the top to the bottom. I want this to be mirrored, but I can't figure out a way to pull it off.

If there's a way to convert the outputs of the bump offset to a T2D then that would also solve the problem, because I can apply UV modifications to it, but I can't find any way to do that either.

Product Version: UE 4.15
more ▼

asked Mar 30 '17 at 05:14 AM in Rendering

avatar image

15 2 6 7

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

1 answer: sort voted first

Shouldn't you be using the "refraction" effect for that? This requires a normal map as input if I remember correctly.

But an attempt to answer your question:

  • You could try a negative value in the HeightRatioInput.

  • Select the BumpOffset node and adjust the Reference Plane to 1.

  • Or you can invert the UVs by adding a "OneMinus" node after the BumpOffset node, for example:

OneMinus node attached to BumpOffset

  • Or try using the BumpOffset_advanced node and invert the Distortion value before using an Add node to combine it with the Undeformed UVs, for example:

alt text

more ▼

answered Jun 01 '17 at 05:43 PM

avatar image

46 5 9 15

(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