diff options
author | Ptolemy <ptolemy@lindenlab.com> | 2021-04-12 16:58:18 -0700 |
---|---|---|
committer | Ptolemy <ptolemy@lindenlab.com> | 2021-04-12 16:58:18 -0700 |
commit | 01e5caade3d85eb618c1d7f16eb2e3972d1f65f9 (patch) | |
tree | 8f11ac8eb7c3a8101b80a4b219b2e5dec96f894c /indra/newview/app_settings/shaders/class2/windlight/cloudsF.glsl | |
parent | caabb384bdb5d0d78023d1d9fd155838f022c186 (diff) |
SL-14113 Fix moon haze
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/windlight/cloudsF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class2/windlight/cloudsF.glsl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/app_settings/shaders/class2/windlight/cloudsF.glsl b/indra/newview/app_settings/shaders/class2/windlight/cloudsF.glsl index fa928d993e..d89cc69d71 100644 --- a/indra/newview/app_settings/shaders/class2/windlight/cloudsF.glsl +++ b/indra/newview/app_settings/shaders/class2/windlight/cloudsF.glsl @@ -127,5 +127,11 @@ void main() /// Gamma correct for WL (soft clip effect). frag_color = vec4(color.rgb, alpha1); + + // SL-14113 Moon Haze -- When the camera is underwater fix clouds clipping into moon + // camera above water: class1\defered\cloudsF.glsl + // camera below water: class2\windlight\coudsV.glsl + // See: starsV.glsl, cloudsV.glsl, moonF.glsl + gl_FragDepth = 0.999985; } |