So I’m following this tutorial
What I am trying to do is to distort the landscape UV a little bit
If I write this line directly into the custom node, it is ok
But if I put it into a usf file under project/shaders, it cannot work
It even does not recognize the #include command
dxxx
[SM5] /Engine/Generated/Material.ush(1819,8): error X3000: syntax error: unexpected token ‘#’
If I write this
float norepeatjit
and then call it
in the custom node directly it still cannot work,becasue it will prompt
[SM5] /Engine/Generated/Material.ush(1819,18): error X3000: syntax error: unexpected token ‘(’
[SM5] /Engine/Generated/Material.ush(1823,1): error X3000: syntax error: unexpected token ‘}’
I mean…How the hell could I do this…
I think I can blueprint it, but it will be a complicated spaghetti noodle that people cannot read; and I cannot pack them and make it portable.