World aligned Displacement

Hi, I am just wondering. If you are using a world aliged texture with a displacement map. How do you create the world aligned displacement map, because when I do it the same as a texture, I get the error, “Invalid node used in vertex/hull/domain shader input!”, even though I’ve tried transforming it to local and tangent space. Thanks for any help.

Never mind. It was just my own code, lol :slight_smile:

Regular world aligned texture function works fine.

Hey, im working on it like 40 hours and i couldn’t find any solution to it. Can you explain me how did you world asign a displacement texture? Thanks!

Could anyone please share how they do this how do I multiply the displacement map
going into world position for making the displacement bigger?