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!

0
2 comments
Avatar
Permanently deleted user

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!

0

The missing slash is what did it. Thank you!

0

Please sign in to leave a comment.