Doom pioneered this model, the Doom engine was open-sourced while the assets remained proprietary. This is where projects like Freedoom exist, to create an entirely free software equivalent.