diff options
author | Graham Linden <graham@lindenlab.com> | 2019-04-25 10:59:00 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-04-25 10:59:00 -0700 |
commit | 4ed05fc84fce0fbee76c583e91feed5aff2dbbfc (patch) | |
tree | 31bfec7a2b09919d9df3a050d2f2ed369d31f0ad /indra/newview/app_settings/shaders/class2 | |
parent | ca16874379bf76dd844d57b2ee59da531d642a8e (diff) |
Fix dark ALM and strangeness at Mid lighting (class 3 but with a darkness about it).
Make a distinct class3/lighting/lightV which boosts to WL levels (* 2.0)
and make lighting without WL atmo enabled use class 2 or below.
Make forward shaders (alpha and materialF with alpha-blend mode on) more consistent with deferred lighting.
Diffstat (limited to 'indra/newview/app_settings/shaders/class2')
-rw-r--r-- | indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl index dd70790fc3..2d5d1c1b50 100644 --- a/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl @@ -120,7 +120,7 @@ void main() vec3 atten; calcAtmosphericVars(pos.xyz, ambocc, sunlit, amblit, additive, atten); - sunlit *= 0.5; + float ambient = da; ambient *= 0.5; ambient *= ambient; |