Monday, November 16, 2026
Building, modding and fragging like it's 1998
142778 visitors

Your #1 source for retro FPS developmentY2K READY

*** func_arena goes live, let the carnage begin! *** ET: Legacy 2.86.0 is out! *** Engine of the Week: qrustyquake by cyanbun96 *** Server admins: read our migration guide before Friday *** Ironwail 0.8.2 is out! ***

NAVIGATION

Wiki » Reference » dhewm3 Cvars » r_gammaInShader

ARTICLE

r_gammaInShader

This is a cvar, also known as console variable on id Tech 4 engines, present on dhewm3. Below you can find its default value and flags for each engine that declares it.

dhewm3

Set gamma and brightness in shaders instead using hardware gamma

Property Value
Type console variable
Default 1
Flags CVAR_RENDERER | CVAR_ARCHIVE | CVAR_BOOL

Last changed Sep 21, 2026