From: lordhavoc Date: Sun, 3 Feb 2002 10:23:09 +0000 (+0000) Subject: made coronas small and intense, much more noticable now X-Git-Tag: RELEASE_0_2_0_RC1~670 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d6b1ea1bb2a2a1641bf5bf492420ea714021bf58;p=xonotic%2Fdarkplaces.git made coronas small and intense, much more noticable now git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1475 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/r_light.c b/r_light.c index 5659ef37..474583fd 100644 --- a/r_light.c +++ b/r_light.c @@ -182,7 +182,8 @@ void R_DrawCoronas(void) VectorSubtract(rd->origin, vpn, diff); if (TraceLine(r_origin, diff, NULL, NULL, 0, true) == 1) { - scale = 1.0f / 65536.0f;//64.0f / (dist * dist + 1024.0f); + //scale = 1.0f / 65536.0f;//64.0f / (dist * dist + 1024.0f); + scale = 1.0f / 4096.0f; m.cr = rd->light[0] * scale; m.cg = rd->light[1] * scale; m.cb = rd->light[2] * scale; @@ -195,7 +196,7 @@ void R_DrawCoronas(void) // make it larger in the distance to keep a consistent size //scale = 0.4f * dist; //scale = 128.0f; - scale = rd->cullradius; + scale = rd->cullradius * 0.25f; tvxyz[0][0] = rd->origin[0] - vright[0] * scale - vup[0] * scale; tvxyz[0][1] = rd->origin[1] - vright[1] * scale - vup[1] * scale; tvxyz[0][2] = rd->origin[2] - vright[2] * scale - vup[2] * scale;