ref: gl: adapt studio lightning to new gamma

* more accurate SHADE_LAMBERT value (extracted from v_lambert1 global variable)
This commit is contained in:
Alibek Omarov
2024-01-06 19:20:19 +03:00
parent be0a241244
commit 64f92003fa
3 changed files with 34 additions and 25 deletions

View File

@@ -66,7 +66,7 @@ extern poolhandle_t r_temppool;
#define MAX_DRAW_STACK 2 // normal view and menu view
#define SHADEDOT_QUANT 16 // precalculated dot products for quantized angles
#define SHADE_LAMBERT 1.495f
#define SHADE_LAMBERT 1.4953241
#define DEFAULT_ALPHATEST 0.0f
// refparams