A tool for mod creators, decompiles NMS shader “SPV” files into human readable “GLSL” files and can compile back.
Uses spirv-cross and glslc from google/shaderc through shell commands. I’m new to windows coding, I will remake the tool using the C++ API when I understand more.
If the compiler gets stuck, then you have a syntax error. You can use this Visual Studio Extension for GLSL syntax checking inside Visual Studio Community/Pro/Enterprise or this Visual Studio Code Extension for Visual Studio Code.
I don’t feel safe about using shell commands, please report any bugs to me. I will re-release asap using the C++ API which means I can provide logs, settings and stability.
NMS SPIR-V Shaders located in SHADERS\CODE\BIN\PC
Watch video for usage.
Coded in C#, runs on .NET Framework 4.7.2.
Credits:
Eaqz