SL-9711 modify clamping range on atmospheric additive color to balance between maintaining old look of WL settings and fixing SL1491 lens flare bug

meow-7.2.2
Graham Linden 2018-09-24 19:50:08 +01:00
parent e5a8fb042a
commit 501cd7d902
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ void setAdditiveColor(vec3 v)
{
// SL-1491 clamp additive term to something reasonable to prevent
// lens flares over non-reflective surfaces
v = clamp(v, vec3(0), vec3(0.2));
v = clamp(v, vec3(0), vec3(0.8));
additive_color = v;
vary_AdditiveColor = v;
}