World Displacement Transform Bug

It looks to me like this is a bug. I certainly can’t make any sense of it:

Here is the problem, Transform with World Displacement makes no sense, I get this 2 spheres out of one mess when it should be the same as it with WPO.

GertdfgdfgIF.gif

As color you can see the infomation that gets into World Displacment is always the same yet the result is wildly different.

229350-grtzfghfgif.gif

A different transform is used, when TransformVector material expression is used in domain shader.
You should be able to get expected functionality using float3 custom node:

return mul(VectorInput,Parameters.TangentToWorld);

Where VectorInput is custom node input.

Overall, I don’t think that this behavior of TransformVector material expression is desirable though.

Thanks! I leave this unanswered for now so that hopefully someone of Epic looks into it.
The reason I need this is so I can deform things in other directions than just Vertex Normal up. For waves, wind effects and also to make procedural generated terrain more interesting. Furthermore this is for planets, so there is no simple up direction terrain.

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1410408-unreal-engine-bug-submission-form

Thanks

Thank you Deathrey and Davision. I also encountered the same problem, using the above code to solve. If someone encounters the same problem, this code is useful!