summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/alphaV.glsl
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-05-04 00:45:28 -0500
committerDave Parks <davep@lindenlab.com>2010-05-04 00:45:28 -0500
commiteb283701afc7ecbe3009a9fb75be1dcb222a383b (patch)
treeffd5490ac1ee3706f70884eb3d582ed4bb006505 /indra/newview/app_settings/shaders/class1/deferred/alphaV.glsl
parent58defe76b0eed6f773b961e8ba5cd3aeb856467a (diff)
Deferred pipeline integration of rigged attachments and cleanup.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/alphaV.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/alphaV.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/alphaV.glsl b/indra/newview/app_settings/shaders/class1/deferred/alphaV.glsl
index 04e556c11a..43200f1b07 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/alphaV.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/alphaV.glsl
@@ -36,7 +36,7 @@ void main()
vec4 pos = (gl_ModelViewMatrix * gl_Vertex);
vec3 norm = normalize(gl_NormalMatrix * gl_Normal);
- vary_position = pos.xyz + norm.xyz * (-pos.z/64.0*shadow_offset+shadow_bias);
+ vary_position = pos.xyz;
calcAtmospherics(pos.xyz);