How do I center the Texture Coordinates with a negative constant?

Hi, I have an odd problem in the unreal engine 4 material editor.
when I try to center uv coordinates with a -0.5 constant I don’t get the correct results.
Can someone tell me what’s going on?

5757-uvproblem.jpg

Hey Kamyar1987 -

For reference, what is your expected outcome from this operation?

Eric Ketchum

Hi Eric,

I am expecting to center the texture coordinates when I subtract it by 50% .
here is a picture of what I mean:

Hello,

We have not heard from you in a while and for tracking purposes we have marked this answer as resolved. If you still have a question relating to this post, or are still experiencing this issue, please create a new post on the AnswerHub and we will be glad to assist you!

Thank you

Hi Guys,

I’m also doing a migration from UDK3 to UDK4 and am getting the same issue. Does anyone have an idea how to go about getting the same results as UDK3?

The images shown above in Kamyar1987’s post illustrate that there is a very big difference in the behavior for the same processing logic.

Any help would be greatly appreciated.

Regards

Hello,

It works with multiply node.

XadE

Hello,

Check my answer

XadE

Instead of multiplying itself by itself it would be better to use an abs node. This turns all negatives to a positive (so the black parts will become grey) and doesn’t make it exponential.