demiurghg / FusionEngine

Fusion Engine — game and scientific engine
MIT License
3 stars 1 forks source link

Program.Config.cs in project template #70

Open demiurghg opened 8 years ago

demiurghg commented 8 years ago
partial class Program {
    static void SetDefaultConfig ( Game game )
    {
        game.Config.Set("net.Port"          , "28101");

        game.Config.Set("ssao.Enabled"      , "True");
        game.Config.Set("ssao.Method"       , "Hemisphere");
        game.Config.Set("ssao.BlurSigma"    , "5");

        game.Config.Set("ssao.MaxDepthJump"         , "50");
        game.Config.Set("ssao.MaxSamplingRadius"    , "20");

        game.Config.Set("rs.Width"  , "1280");
        game.Config.Set("rs.Height" , "720");

        game.Config.Set("sv.TargetFrameRate", "20");
    }
}