light: bounce: only scale by sending surface normal, not receiving.. seems to look better

This commit is contained in:
Eric Wasylishen 2016-04-27 21:16:48 -06:00
parent 713b92dcb5
commit 430c4b39b7
1 changed files with 2 additions and 1 deletions

View File

@ -1026,7 +1026,8 @@ void GetIndirectLighting (const bsp2_t *bsp, const bsp2_dface_t *face, const vec
}
const vec_t dist2 = (dist * dist);
const vec_t scale = dp1 * dp2 * (1.0/dist2) * bouncescale;
const vec_t scale = dp1 /* * dp2 */ * (1.0/dist2) * bouncescale;
// dp2 makes things too angle-dependent
// no occlusion
VectorMA(colorout, scale, color, colorout);