Skip to content

Commit

Permalink
add post process ccvar
Browse files Browse the repository at this point in the history
  • Loading branch information
MetalSage committed Dec 15, 2024
1 parent bc6af1c commit c3fbd2f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Content.Shared/CCVar/CCVars.Graphics.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
using Robust.Shared.Configuration;

namespace Content.Shared.CCVar;

public sealed partial class CCVars
{
/// <summary>
/// Toggle for non-gameplay-affecting or otherwise status indicative post-process effects, such additive lighting.
/// In the future, this could probably be turned into an enum that allows only disabling more expensive post-process shaders.
/// However, for now (mid-July of 2024), this only applies specifically to a particularly cheap shader: additive lighting.
/// </summary>
public static readonly CVarDef<bool> PostProcess =
CVarDef.Create("graphics.post_process", true, CVar.CLIENTONLY | CVar.ARCHIVE);
}

0 comments on commit c3fbd2f

Please sign in to comment.