git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7022
d7cf8633-e32d-0410-b094-
e92efae38249
lightcolorbase[2] = r_shadow_rtlight->currentcolor[2] * rsurface_entity->colormod[2] * rsurface_texture->currentalpha;
ambientscale = r_shadow_rtlight->ambientscale;
diffusescale = r_shadow_rtlight->diffusescale;
- specularscale = specularscale;
+ specularscale = r_shadow_rtlight->specularscale * rsurface_texture->specularscale;
if (!r_shadow_usenormalmap.integer)
{
ambientscale += 1.0f * diffusescale;