light: bounce: use both bounce light normal angle, and receiving surface normal angle to scale bounced light
This commit is contained in:
parent
a283a623ae
commit
f446ba1ddf
|
|
@ -1586,7 +1586,7 @@ GetIndirectLighting (const bsp2_t *bsp, const bouncelight_t *vpl, const bsp2_dfa
|
||||||
BounceLight_ColorAtDist(vpl, dist, color);
|
BounceLight_ColorAtDist(vpl, dist, color);
|
||||||
|
|
||||||
// apply angle scale
|
// apply angle scale
|
||||||
VectorScale(color, dp1, color);
|
VectorScale(color, dp1 * dp2, color);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue