Skip to content
This repository was archived by the owner on Dec 15, 2019. It is now read-only.

Program.Config.cs in project template #70

Description

@demiurghg
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");
    }
}

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions