From eee5ec200ca4bca35c79e43e766a202c2f4a1e45 Mon Sep 17 00:00:00 2001 From: lordhavoc Date: Sun, 9 Jun 2002 00:26:08 +0000 Subject: [PATCH] made snow smaller and slightly transparent, looks better now git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1932 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_particles.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cl_particles.c b/cl_particles.c index cf0a0c82..533f6541 100644 --- a/cl_particles.c +++ b/cl_particles.c @@ -622,7 +622,7 @@ void CL_ParticleRain (vec3_t mins, vec3_t maxs, vec3_t dir, int count, int color vel[1] = dir[1] + lhrandom(-16, 16); vel[2] = dir[2] + lhrandom(-32, 32); k = particlepalette[colorbase + (rand()&3)]; - particle(pt_snow, PARTICLE_BILLBOARD, k, k, tex_particle, false, true, 2, 2, 255, t, 0, lhrandom(mins[0], maxs[0]), lhrandom(mins[1], maxs[1]), z, vel[0], vel[1], vel[2], 0, vel[0], vel[1], vel[2], 0, 0); + particle(pt_snow, PARTICLE_BILLBOARD, k, k, tex_particle, false, true, 1, 1, lhrandom(64, 128), t, 0, lhrandom(mins[0], maxs[0]), lhrandom(mins[1], maxs[1]), z, vel[0], vel[1], vel[2], 0, vel[0], vel[1], vel[2], 0, 0); } break; default: @@ -1162,7 +1162,7 @@ static rtexture_t *particlefonttexture; static particletexture_t particletexture[MAX_PARTICLETEXTURES][2]; static cvar_t r_drawparticles = {0, "r_drawparticles", "1"}; -static cvar_t r_particles_lighting = {0, "r_particles_lighting", "1"}; +static cvar_t r_particles_lighting = {0, "r_particles_lighting", "0"}; static qbyte shadebubble(float dx, float dy, vec3_t light) { -- 2.39.2