MonoGame: Shader Compilation on Linux
Recently I started learning how to make games, and I decided to follow MonoGame’s phenomenal guide to making 2D games, on linux, as my daily driver is a thinkpad running NixOS. After I set up .NET 8/9 and neovim / Visual Studio Code, it was smooth sailing until Chapter 24: Shaders. Currently, building shaders with the MGCB (MonoGame Content Builder) tool and loading them with Content.Load<Effect>() requires emulation via wine. There is another way to build shaders without MGCB, so I’ll list both methods below. ...