FXC Preprocessing FXC documentationhttps://docs.microsoft.com/en-us/windows/desktop/direct3dtools/dx-graphics-tools-fxc-syntax Get preprocessed shader codefxc.exe /D MANY_LIGHT=1 /D MACRO_A=1 /D MACRO_B=1 /P "output.txt" "input.fx"