diff options
author | Rider Linden <rider@lindenlab.com> | 2019-01-22 09:24:25 -0800 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2019-01-22 09:24:25 -0800 |
commit | 3aed2a4b64bb4bca325d6709607bf8d446bd0ba4 (patch) | |
tree | c22b01949cb93092e46d3345ca1e539828694dbe /indra/newview/app_settings/shaders/class1/windlight/cloudShadowF.glsl | |
parent | f42ac5b94e384c789de0b2c4e865b087589a940e (diff) | |
parent | 296dbb9fd08c3c6e25c4f174159b77d470456a8f (diff) |
Merge
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/windlight/cloudShadowF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/windlight/cloudShadowF.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/windlight/cloudShadowF.glsl b/indra/newview/app_settings/shaders/class1/windlight/cloudShadowF.glsl index fa6926b007..d93baa03c6 100644 --- a/indra/newview/app_settings/shaders/class1/windlight/cloudShadowF.glsl +++ b/indra/newview/app_settings/shaders/class1/windlight/cloudShadowF.glsl @@ -55,7 +55,7 @@ uniform vec3 sun_dir; uniform float sun_size; uniform float far_z; -#if !DEPTH_CLAMP +#if !defined(DEPTH_CLAMP) VARYING vec4 post_pos; #endif @@ -114,7 +114,7 @@ void main() frag_color = vec4(alpha1, alpha1, alpha1, 1); -#if !DEPTH_CLAMP +#if !defined(DEPTH_CLAMP) gl_FragDepth = max(post_pos.z/post_pos.w*0.5+0.5, 0.0); #endif |