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/deferred/attachmentShadowV.glsl | |
parent | f42ac5b94e384c789de0b2c4e865b087589a940e (diff) | |
parent | 296dbb9fd08c3c6e25c4f174159b77d470456a8f (diff) |
Merge
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/attachmentShadowV.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/attachmentShadowV.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/attachmentShadowV.glsl b/indra/newview/app_settings/shaders/class1/deferred/attachmentShadowV.glsl index 3f90600ace..0fa0edfd67 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/attachmentShadowV.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/attachmentShadowV.glsl @@ -41,7 +41,7 @@ void main() vec4 p = projection_matrix * vec4(pos, 1.0); -#if !DEPTH_CLAMP +#if !defined(DEPTH_CLAMP) p.z = max(p.z, -p.w+0.01); gl_Position = p; #else |