Hello
I’m working on a custom shader for modding Infinity: Battlescape; but I keep running into compilation errors when trying to load it in-game. The shader compiles fine in external editors like ShaderToy, but once integrated into the game engine, it throws unexpected syntax errors.
I suspect there might be differences in how the game’s engine processes GLSL/HLSL shaders, but I haven’t found clear documentation on the exact requirements.
I’ve checked for basic issues like missing semicolons and incompatible data types, but the errors persist. I’m also unsure if the engine has specific predefined macros or limitations that could be causing conflicts.
Has anyone else encountered similar issues when working with custom shaders in Infinity: Battlescape? Any debugging tips or insights into the engine’s shader pipeline would be greatly appreciated.
For reference, I’ve been using the guidelines from the official modding documentation: https://forums.inovaestudios.com/c/development/4mlops course online guide related to this and found it quite informative. If there are additional resources on how the engine handles shaders, I’d love to check them out!
Thank you !!