mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-03-13 03:33:28 +00:00
skys are no longer brighted with brightness (they saturate way too fast)
This commit is contained in:
parent
73d26a4e32
commit
dd37b164e6
1 changed files with 4 additions and 1 deletions
|
@ -653,8 +653,11 @@ R_DrawSkyDomePoly (glpoly_t *poly)
|
|||
void
|
||||
R_DrawSkyChain (msurface_t *sky_chain)
|
||||
{
|
||||
extern cvar_t *brightness;
|
||||
msurface_t *sc = sky_chain;
|
||||
|
||||
float l = 1 / (256 * brightness->value);
|
||||
|
||||
glColor3f (lighthalf_v[0] * l, lighthalf_v[1] * l, lighthalf_v[2] * l);
|
||||
if (skyloaded) {
|
||||
glDepthRange (gldepthmax, gldepthmax);
|
||||
while (sc) {
|
||||
|
|
Loading…
Reference in a new issue