mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-31 09:01:54 +00:00
- Add support for linearly desaturating images via r_greyscale
- Use correct luminance values for rendering textures Patch submitted by Forrest Voight.
This commit is contained in:
parent
13836e5f4a
commit
e66abb3237
6 changed files with 61 additions and 8 deletions
|
@ -920,6 +920,7 @@ void R_Register( void )
|
|||
r_stereoEnabled = ri.Cvar_Get( "r_stereoEnabled", "0", CVAR_ARCHIVE | CVAR_LATCH);
|
||||
r_ignoreFastPath = ri.Cvar_Get( "r_ignoreFastPath", "1", CVAR_ARCHIVE | CVAR_LATCH );
|
||||
r_greyscale = ri.Cvar_Get("r_greyscale", "0", CVAR_ARCHIVE | CVAR_LATCH);
|
||||
ri.Cvar_CheckRange(r_greyscale, 0, 1, qfalse);
|
||||
|
||||
//
|
||||
// temporary latched variables that can only change over a restart
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue