Hey y’all. I’m struggling to get global shaders working re this article: Adding Global Shaders to Unreal Engine | Unreal Engine Documentation
I’m unsure of a couple things:
A.) Are the cpp and h files built within the current project?
B.) What is the value generally for the REQUIRED_API parameter in the DECLARE_EXPORTED_SHADER_TYPE macro? I’ve tried my own project’s API (which seems redundant), and I’ve also tried the Renderer_API, neither worked.
C.) Is the shader supposed to go in Engine/Shaders even if it’s specific to the project? If not, where does it go?
Currently, with any value of REQUIRED_API, IMPLEMENT_SHADER_TYPE causes the project dll to fail to load, but it compiles fine.