Using shader from engine in games


I’m currently making a game engine in Monogame. I would like to create a shader in this game engine that can be used by games which utilise this engine (done by writing a ‘using GameEngine’ at the top of each file in the game). How can I do this, since the game engine is simply a class library?



I’m sure there must be a way using the Content pipeline to build a shader and deploy it with the engine, then use it within the engine itself. Obviously the engine itself doesn’t have a content pipeline, so i’m a little confused.

This topic has been discussed here: