diff options
author | Graham Linden <graham@lindenlab.com> | 2018-11-14 19:23:16 -0800 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2018-11-14 19:23:16 -0800 |
commit | c4630a4b15c6297ae669a2030b8fbc4a1490cee4 (patch) | |
tree | 3e4c5dc94983b3ffa96f77958497e18859660335 /indra/newview/app_settings/shaders/class2 | |
parent | aa0115053aaa28de1c472410931c57b3e43b72a7 (diff) |
Work around broken deps on atmospheric vars in the frag-based deferred lighting pipe.
Diffstat (limited to 'indra/newview/app_settings/shaders/class2')
-rw-r--r-- | indra/newview/app_settings/shaders/class2/windlight/gammaF.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class2/windlight/gammaF.glsl b/indra/newview/app_settings/shaders/class2/windlight/gammaF.glsl index 6401845af2..ac7c57747e 100644 --- a/indra/newview/app_settings/shaders/class2/windlight/gammaF.glsl +++ b/indra/newview/app_settings/shaders/class2/windlight/gammaF.glsl @@ -48,11 +48,11 @@ vec3 scaleSoftClip(vec3 light) } vec3 fullbrightScaleSoftClipFrag(vec3 light) { - return mix(scaleSoftClip(light.rgb), light.rgb, getAtmosAttenuation()); + return scaleSoftClipFrag(light.rgb); } vec3 fullbrightScaleSoftClip(vec3 light) { - return fullbrightScaleSoftClipFrag(light); + return scaleSoftClipFrag(light); } |