Where can I add new search paths for the HLSL includes for UE4 shaders?
Answered
It compiles just fine, but I did want for the syntax highlighting and such to show up. Thanks in advance!
Please sign in to leave a comment.
Hello,
I believe you're supposed to use the "/Engine/Public/Platform.ush" virtual path (https://docs.unrealengine.com/en-US/Programming/Rendering/ShaderInPlugin/Overview/index.html#shaderfilepreprocessingandvirtualfilepath). Are you sure your shader compiles with the relative path "Engine/Public/Platform.ush"? What is the absolute path to your shader file?
Thanks!
The missing slash is what did it. Thank you!