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/class3/deferred/shadowAlphaMaskF.glsl | |
parent | f42ac5b94e384c789de0b2c4e865b087589a940e (diff) | |
parent | 296dbb9fd08c3c6e25c4f174159b77d470456a8f (diff) |
Merge
Diffstat (limited to 'indra/newview/app_settings/shaders/class3/deferred/shadowAlphaMaskF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class3/deferred/shadowAlphaMaskF.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class3/deferred/shadowAlphaMaskF.glsl b/indra/newview/app_settings/shaders/class3/deferred/shadowAlphaMaskF.glsl index d6ed5b6bb0..50f1ffd626 100644 --- a/indra/newview/app_settings/shaders/class3/deferred/shadowAlphaMaskF.glsl +++ b/indra/newview/app_settings/shaders/class3/deferred/shadowAlphaMaskF.glsl @@ -33,7 +33,7 @@ out vec4 frag_color; uniform sampler2D diffuseMap; -#if !DEPTH_CLAMP +#if !defined(DEPTH_CLAMP) VARYING float pos_zd2; #endif @@ -67,7 +67,7 @@ void main() frag_color = computeMoments(length(pos.xyz), alpha); -#if !DEPTH_CLAMP +#if !defined(DEPTH_CLAMP) gl_FragDepth = max(pos_zd2/pos_w+0.5, 0.0); #endif |