From: lordhavoc Date: Sat, 2 Feb 2002 18:58:01 +0000 (+0000) Subject: coronas now scale with the light radius X-Git-Tag: RELEASE_0_2_0_RC1~671 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=6ad5a95ab75ec1821a14ff0764cdb13ab3f2c9ca;hp=ad2db96126e3318e9c4a99a1978cdddab51a94f6 coronas now scale with the light radius git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1469 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/r_light.c b/r_light.c index 26d1de22..5659ef37 100644 --- a/r_light.c +++ b/r_light.c @@ -194,7 +194,8 @@ void R_DrawCoronas(void) } // make it larger in the distance to keep a consistent size //scale = 0.4f * dist; - scale = 128.0f; + //scale = 128.0f; + scale = rd->cullradius; 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;